upd: add locales for client settings

This commit is contained in:
Mar0xy 2023-10-15 19:25:21 +02:00
parent 2f1f463009
commit 18f7067103
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
4 changed files with 12 additions and 3 deletions

View File

@ -998,6 +998,8 @@ thisPostMayBeAnnoyingHome: "Post to home timeline"
thisPostMayBeAnnoyingCancel: "Cancel" thisPostMayBeAnnoyingCancel: "Cancel"
thisPostMayBeAnnoyingIgnore: "Post anyway" thisPostMayBeAnnoyingIgnore: "Post anyway"
collapseRenotes: "Collapse renotes you've already seen" collapseRenotes: "Collapse renotes you've already seen"
collapseFiles: "Collapse files"
autoloadConversation: "Load conversation on replies"
internalServerError: "Internal Server Error" internalServerError: "Internal Server Error"
internalServerErrorDescription: "The server has run into an unexpected error." internalServerErrorDescription: "The server has run into an unexpected error."
copyErrorInfo: "Copy error details" copyErrorInfo: "Copy error details"
@ -1121,6 +1123,7 @@ loadReplies: "Show replies"
loadConversation: "Show conversation" loadConversation: "Show conversation"
pinnedList: "Pinned list" pinnedList: "Pinned list"
keepScreenOn: "Keep screen on" keepScreenOn: "Keep screen on"
clickToOpen: "Click to open notes"
verifiedLink: "Link ownership has been verified" verifiedLink: "Link ownership has been verified"
notifyNotes: "Notify about new notes" notifyNotes: "Notify about new notes"
unnotifyNotes: "Stop notifying about new notes" unnotifyNotes: "Stop notifying about new notes"

3
locales/index.d.ts vendored
View File

@ -1001,6 +1001,8 @@ export interface Locale {
"thisPostMayBeAnnoyingCancel": string; "thisPostMayBeAnnoyingCancel": string;
"thisPostMayBeAnnoyingIgnore": string; "thisPostMayBeAnnoyingIgnore": string;
"collapseRenotes": string; "collapseRenotes": string;
"collapseFiles": string;
"autoloadConversation": string;
"internalServerError": string; "internalServerError": string;
"internalServerErrorDescription": string; "internalServerErrorDescription": string;
"copyErrorInfo": string; "copyErrorInfo": string;
@ -1124,6 +1126,7 @@ export interface Locale {
"loadConversation": string; "loadConversation": string;
"pinnedList": string; "pinnedList": string;
"keepScreenOn": string; "keepScreenOn": string;
"clickToOpen": string;
"verifiedLink": string; "verifiedLink": string;
"notifyNotes": string; "notifyNotes": string;
"unnotifyNotes": string; "unnotifyNotes": string;

View File

@ -998,6 +998,8 @@ thisPostMayBeAnnoyingHome: "ホームに投稿"
thisPostMayBeAnnoyingCancel: "やめる" thisPostMayBeAnnoyingCancel: "やめる"
thisPostMayBeAnnoyingIgnore: "このまま投稿" thisPostMayBeAnnoyingIgnore: "このまま投稿"
collapseRenotes: "見たことのあるリノートを省略して表示" collapseRenotes: "見たことのあるリノートを省略して表示"
collapseFiles: "ファイルを折りたたむ"
autoloadConversation: "返信に会話を読み込む"
internalServerError: "サーバー内部エラー" internalServerError: "サーバー内部エラー"
internalServerErrorDescription: "サーバー内部で予期しないエラーが発生しました。" internalServerErrorDescription: "サーバー内部で予期しないエラーが発生しました。"
copyErrorInfo: "エラー情報をコピー" copyErrorInfo: "エラー情報をコピー"
@ -1121,6 +1123,7 @@ loadReplies: "返信を見る"
loadConversation: "会話を見る" loadConversation: "会話を見る"
pinnedList: "ピン留めされたリスト" pinnedList: "ピン留めされたリスト"
keepScreenOn: "デバイスの画面を常にオンにする" keepScreenOn: "デバイスの画面を常にオンにする"
clickToOpen: "クリックしてノートを開く"
verifiedLink: "このリンク先の所有者であることが確認されました" verifiedLink: "このリンク先の所有者であることが確認されました"
notifyNotes: "投稿を通知" notifyNotes: "投稿を通知"
unnotifyNotes: "投稿の通知を解除" unnotifyNotes: "投稿の通知を解除"

View File

@ -46,8 +46,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkSwitch v-model="showNoteActionsOnlyHover">{{ i18n.ts.showNoteActionsOnlyHover }}</MkSwitch> <MkSwitch v-model="showNoteActionsOnlyHover">{{ i18n.ts.showNoteActionsOnlyHover }}</MkSwitch>
<MkSwitch v-model="showClipButtonInNoteFooter">{{ i18n.ts.showClipButtonInNoteFooter }}</MkSwitch> <MkSwitch v-model="showClipButtonInNoteFooter">{{ i18n.ts.showClipButtonInNoteFooter }}</MkSwitch>
<MkSwitch v-model="collapseRenotes">{{ i18n.ts.collapseRenotes }}</MkSwitch> <MkSwitch v-model="collapseRenotes">{{ i18n.ts.collapseRenotes }}</MkSwitch>
<MkSwitch v-model="collapseFiles">Collapse files</MkSwitch> <MkSwitch v-model="collapseFiles">{{ i18n.ts.collapseFiles }}</MkSwitch>
<MkSwitch v-model="autoloadConversation">Load conversation on replies</MkSwitch> <MkSwitch v-model="autoloadConversation">{{ i18n.ts.autoloadConversation }}</MkSwitch>
<MkSwitch v-model="advancedMfm">{{ i18n.ts.enableAdvancedMfm }}</MkSwitch> <MkSwitch v-model="advancedMfm">{{ i18n.ts.enableAdvancedMfm }}</MkSwitch>
<MkSwitch v-if="advancedMfm" v-model="animatedMfm">{{ i18n.ts.enableAnimatedMfm }}</MkSwitch> <MkSwitch v-if="advancedMfm" v-model="animatedMfm">{{ i18n.ts.enableAnimatedMfm }}</MkSwitch>
<MkSwitch v-model="showGapBetweenNotesInTimeline">{{ i18n.ts.showGapBetweenNotesInTimeline }}</MkSwitch> <MkSwitch v-model="showGapBetweenNotesInTimeline">{{ i18n.ts.showGapBetweenNotesInTimeline }}</MkSwitch>
@ -151,7 +151,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkSwitch v-model="imageNewTab">{{ i18n.ts.openImageInNewTab }}</MkSwitch> <MkSwitch v-model="imageNewTab">{{ i18n.ts.openImageInNewTab }}</MkSwitch>
<MkSwitch v-model="enableInfiniteScroll">{{ i18n.ts.enableInfiniteScroll }}</MkSwitch> <MkSwitch v-model="enableInfiniteScroll">{{ i18n.ts.enableInfiniteScroll }}</MkSwitch>
<MkSwitch v-model="keepScreenOn">{{ i18n.ts.keepScreenOn }}</MkSwitch> <MkSwitch v-model="keepScreenOn">{{ i18n.ts.keepScreenOn }}</MkSwitch>
<MkSwitch v-model="clickToOpen">Click to open notes</MkSwitch> <MkSwitch v-model="clickToOpen">{{ i18n.ts.clickToOpen }}</MkSwitch>
</div> </div>
<MkSelect v-model="serverDisconnectedBehavior"> <MkSelect v-model="serverDisconnectedBehavior">
<template #label>{{ i18n.ts.whenServerDisconnected }}</template> <template #label>{{ i18n.ts.whenServerDisconnected }}</template>