mirror of
https://github.com/sim1222/misskey.git
synced 2025-04-29 02:37:22 +09:00
fix: i18n
This commit is contained in:
parent
37fdb998c9
commit
7f84edc46e
@ -1812,4 +1812,23 @@ _deck:
|
||||
|
||||
_simkey:
|
||||
reactionList: "リアクション一覧"
|
||||
|
||||
emojiGen: "絵文字を生成"
|
||||
emojiAlign: "文字揃え"
|
||||
emojiSizeSetting: "サイズ調整"
|
||||
emojiSizeFixed: "文字サイズを固定する"
|
||||
emojiStretch: "自動で伸縮しない"
|
||||
emojiGenerate: "生成"
|
||||
emojiColor: "カラーコード"
|
||||
colorPicker: "カラーピッカー"
|
||||
emojiApproval: "絵文字を登録"
|
||||
emojiNormal: "もじもじ"
|
||||
emojiIfilter: "見せてほしい"
|
||||
deckOld: "旧デッキ"
|
||||
pakuruConfirm: "パクりますか?"
|
||||
pakuru: "パクる"
|
||||
duplicateEmoji: "同じ名前の絵文字が存在します。インポートしますか?"
|
||||
experimentalFeatures: "試験機能"
|
||||
ownRisk: "自己責任で使用してください"
|
||||
localMediaProxy: "ローカルメディアプロキシ"
|
||||
localMediaProxyInfo: "クライアント側でメディアプロキシを指定します"
|
||||
confirmReset: "リセットしてもよろしいですか?"
|
||||
|
@ -20,21 +20,21 @@
|
||||
</FormTextarea>
|
||||
|
||||
<FormRadios v-model="emojiAlign" class="_formBlock">
|
||||
<template #label>{{ $ts.emojiAlign }}</template>
|
||||
<template #label>{{ $ts._simkey.emojiAlign }}</template>
|
||||
<option value="left"><i class="fas fa-align-left"/></option>
|
||||
<option value="center"><i class="fas fa-align-center"></i></option>
|
||||
<option value="right"><i class="fas fa-align-right"/></option>
|
||||
</FormRadios>
|
||||
|
||||
<FormFolder :default-open="false" class="_formBlock">
|
||||
<template #label>{{ $ts.emojiSizeSetting }}</template>
|
||||
<template #label>{{ $ts._simkey.emojiSizeSetting }}</template>
|
||||
<FormSection>
|
||||
<FormSwitch v-model="emojiSizeFixed" class="_formBlock">
|
||||
<template #label>{{ $ts.emojiSizeFixed }}</template>
|
||||
<template #label>{{ $ts._simkey.emojiSizeFixed }}</template>
|
||||
</FormSwitch>
|
||||
|
||||
<FormSwitch v-model="emojiStretch" class="_formBlock">
|
||||
<template #label>{{ $ts.emojiStretch }}</template>
|
||||
<template #label>{{ $ts._simkey.emojiStretch }}</template>
|
||||
</FormSwitch>
|
||||
</FormSection>
|
||||
</FormFolder>
|
||||
@ -53,7 +53,7 @@
|
||||
|
||||
|
||||
<FormFolder :default-open="false" class="_formBlock">
|
||||
<template #label>{{ $ts.emojiColor }}</template>
|
||||
<template #label>{{ $ts._simkey.emojiColor }}</template>
|
||||
<FormSection>
|
||||
<div class="cwepdizn-colors">
|
||||
<div class="row">
|
||||
@ -65,10 +65,10 @@
|
||||
|
||||
<FormInput v-model="emojiColor" class="_formBlock" :style="{ color: '#' + emojiColor }">
|
||||
<template #prefix><i class="fas fa-palette"></i></template>
|
||||
<template #label @click="colorPick()">{{ $ts.emojiColor }}</template>
|
||||
<template #label @click="colorPick()">{{ $ts._simkey.emojiColor }}</template>
|
||||
<template #caption>#RRGGBB</template>
|
||||
</FormInput>
|
||||
<FormButton @click="colorPick()">{{ $ts.colorPicker }}</FormButton>
|
||||
<FormButton @click="colorPick()">{{ $ts._simkey.colorPicker }}</FormButton>
|
||||
</FormSection>
|
||||
</FormFolder>
|
||||
</FormSection>
|
||||
@ -79,7 +79,7 @@
|
||||
<template #label>{{ $ts.preview }}</template>
|
||||
<canvas class="preview__content" ref="canvas" width="64" height="30" />
|
||||
</FormSection>
|
||||
<FormButton primary class="_formBlock" @click="uploadEmoji('')">{{ $ts.emojiApproval }}</FormButton>
|
||||
<FormButton primary class="_formBlock" @click="uploadEmoji('')">{{ $ts._simkey.emojiApproval }}</FormButton>
|
||||
<FormSection>
|
||||
<template #label>{{ $ts.settings }}</template>
|
||||
<FormInput v-model="emojiName" class="_formBlock">
|
||||
@ -129,17 +129,17 @@ import { buttonImages } from "misetehoshii/src/assets";
|
||||
import { draw } from "misetehoshii/src/canvas"
|
||||
|
||||
definePageMetadata(computed(() => ({
|
||||
title: i18n.ts.emojiGen,
|
||||
title: i18n.ts._simkey.emojiGen,
|
||||
icon: 'fas fa-kiss-wink-heart',
|
||||
})));
|
||||
|
||||
const tab = ref('string');
|
||||
const headerTabs = $computed(() => [{
|
||||
key: 'string',
|
||||
title: 'もじもじ',
|
||||
title: i18n.ts._simkey.emojiNormal,
|
||||
}, {
|
||||
key: 'misetehoshii',
|
||||
title: '見せてほしい',
|
||||
title: i18n.ts._simkey.emojiIfilter,
|
||||
}]);
|
||||
|
||||
const font = ref('rounded-x-mplus-1p-black');
|
||||
|
@ -103,8 +103,8 @@ const menuDef = $computed(() => [{
|
||||
to: '/admin/emojis',
|
||||
active: currentPage?.route.name === 'emojis',
|
||||
}, {
|
||||
icon: 'fas fa-laugh',
|
||||
text: i18n.ts.emojiGen,
|
||||
icon: 'fas fa-kiss-wink-heart',
|
||||
text: i18n.ts._simkey.emojiGen,
|
||||
to: '/admin/emojigen',
|
||||
active: currentPage?.route.name === 'emojigen',
|
||||
}, {
|
||||
|
@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<div class="_formRoot">
|
||||
<div class="yellowBorder"/>
|
||||
<div style="text-align: center;">自己責任で使用してください</div>
|
||||
<div style="text-align: center;">{{ i18n.ts._simkey.ownRisk }}</div>
|
||||
<MkSpacer></MkSpacer>
|
||||
|
||||
<FormInput v-model="mediaProxy">
|
||||
<template #label>{{ "ローカルメディアプロキシ" }}</template>
|
||||
<template #caption>{{ "クライアント側でメディアプロキシを指定します" }}</template>
|
||||
<template #label>{{ i18n.ts._simkey.localMediaProxy }}</template>
|
||||
<template #caption>{{ i18n.ts._simkey.localMediaProxyInfo }}</template>
|
||||
</FormInput>
|
||||
|
||||
<FormButton danger class="_formBlock" @click="reset()"><i class="fas fa-redo"></i> {{ i18n.ts.default }}</FormButton>
|
||||
@ -27,7 +27,7 @@ const mediaProxy = computed(defaultStore.makeGetterSetter('mediaProxy'));
|
||||
const reset = ():void => {
|
||||
os.confirm({
|
||||
type: 'warning',
|
||||
text: 'リセットしてもよろしいですか?',
|
||||
text: i18n.ts._simkey.confirmReset,
|
||||
}).then(res => {
|
||||
if (res.canceled) return;
|
||||
mediaProxy.value = '';
|
||||
@ -39,7 +39,7 @@ const headerActions = $computed(() => []);
|
||||
const headerTabs = $computed(() => []);
|
||||
|
||||
definePageMetadata({
|
||||
title: 'Experimental Features',
|
||||
title: i18n.ts._simkey.experimentalFeatures,
|
||||
icon: 'fas fa-music',
|
||||
});
|
||||
</script>
|
||||
|
@ -170,7 +170,7 @@ const menuDef = computed(() => [{
|
||||
active: currentPage?.route.name === 'other',
|
||||
}, {
|
||||
icon: 'fas fa-flask',
|
||||
text: 'Experimental Features',
|
||||
text: i18n.ts._simkey.experimentalFeatures,
|
||||
to: '/settings/experimental-features',
|
||||
active: currentPage?.route.name === 'experimental-features',
|
||||
}],
|
||||
|
@ -36,7 +36,7 @@ export function getNoteMenu(props: {
|
||||
function pakuru(): void {
|
||||
os.confirm({
|
||||
type: 'question',
|
||||
text: i18n.ts.pakuruConfirm,
|
||||
text: i18n.ts._simkey.pakuruConfirm,
|
||||
}).then(({ canceled }) => {
|
||||
if (canceled) return;
|
||||
const postData = {
|
||||
@ -224,7 +224,7 @@ export function getNoteMenu(props: {
|
||||
),
|
||||
{
|
||||
icon: 'fas fa-copy',
|
||||
text: i18n.ts.pakuru,
|
||||
text: i18n.ts._simkey.pakuru,
|
||||
action: pakuru,
|
||||
},
|
||||
{
|
||||
|
@ -133,7 +133,7 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string, n
|
||||
if (await duplication) {
|
||||
os.confirm({
|
||||
type: 'warning',
|
||||
text: i18n.ts.duplicateEmoji,
|
||||
text: i18n.ts._simkey.duplicateEmoji,
|
||||
}).then(res => {
|
||||
if (res.canceled) return;
|
||||
importEmoji(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user