1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-28 14:58:36 +09:00

fix(frontend): fix missing localization

This commit is contained in:
syuilo 2023-12-14 17:05:29 +09:00
parent b9318d09ee
commit f7eef546a6
3 changed files with 4 additions and 2 deletions

1
locales/index.d.ts vendored
View File

@ -1181,6 +1181,7 @@ export interface Locale {
"code": string;
"reloadRequiredToApplySettings": string;
"remainingN": string;
"overwriteContentConfirm": string;
"_announcement": {
"forExistingUsers": string;
"forExistingUsersDescription": string;

View File

@ -1178,6 +1178,7 @@ doReaction: "リアクションする"
code: "コード"
reloadRequiredToApplySettings: "設定の反映にはリロードが必要です。"
remainingN: "残り: {n}"
overwriteContentConfirm: "現在の内容に上書きされますがよろしいですか?"
_announcement:
forExistingUsers: "既存ユーザーのみ"

View File

@ -167,7 +167,7 @@ function previewEmoji(ev: MouseEvent) {
async function copyFromPinnedEmojis() {
const { canceled } = await os.confirm({
type: 'warning',
text: 'a',
text: i18n.ts.overwriteContentConfirm,
});
if (canceled) {
@ -180,7 +180,7 @@ async function copyFromPinnedEmojis() {
async function copyFromPinnedEmojisForReaction() {
const { canceled } = await os.confirm({
type: 'warning',
text: 'a',
text: i18n.ts.overwriteContentConfirm,
});
if (canceled) {