add: locales for toggles

This commit is contained in:
Mar0xy 2023-10-18 19:01:50 +02:00
parent 1e3e50ae0f
commit 5ddf7e008d
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
5 changed files with 20 additions and 5 deletions

View file

@ -1101,6 +1101,10 @@ additionalEmojiDictionary: "Additional emoji dictionaries"
installed: "Installed" installed: "Installed"
branding: "Branding" branding: "Branding"
enableServerMachineStats: "Publish server hardware stats" enableServerMachineStats: "Publish server hardware stats"
enableAchievements: "Enable Achievements"
turnOffAchievements: "Turning this off will disable the achievement system"
enableBotTrending: "Populate Hashtags with Bots"
turnOffBotTrending: "Turning this off will stop Bots from populating Hashtags"
enableIdenticonGeneration: "Enable user identicon generation" enableIdenticonGeneration: "Enable user identicon generation"
turnOffToImprovePerformance: "Turning this off can increase performance." turnOffToImprovePerformance: "Turning this off can increase performance."
createInviteCode: "Generate invite" createInviteCode: "Generate invite"
@ -1137,6 +1141,7 @@ loadConversation: "Show conversation"
pinnedList: "Pinned list" pinnedList: "Pinned list"
keepScreenOn: "Keep screen on" keepScreenOn: "Keep screen on"
clickToOpen: "Click to open notes" clickToOpen: "Click to open notes"
showBots: "Show bots in timeline"
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"

5
locales/index.d.ts vendored
View file

@ -1099,6 +1099,10 @@ export interface Locale {
"installed": string; "installed": string;
"branding": string; "branding": string;
"enableServerMachineStats": string; "enableServerMachineStats": string;
"enableAchievements": string;
"turnOffAchievements": string;
"enableBotTrending": string;
"turnOffBotTrending": string;
"enableIdenticonGeneration": string; "enableIdenticonGeneration": string;
"turnOffToImprovePerformance": string; "turnOffToImprovePerformance": string;
"createInviteCode": string; "createInviteCode": string;
@ -1135,6 +1139,7 @@ export interface Locale {
"pinnedList": string; "pinnedList": string;
"keepScreenOn": string; "keepScreenOn": string;
"clickToOpen": string; "clickToOpen": string;
"showBots": string;
"verifiedLink": string; "verifiedLink": string;
"notifyNotes": string; "notifyNotes": string;
"unnotifyNotes": string; "unnotifyNotes": string;

View file

@ -1096,6 +1096,10 @@ additionalEmojiDictionary: "絵文字の追加辞書"
installed: "インストール済み" installed: "インストール済み"
branding: "ブランディング" branding: "ブランディング"
enableServerMachineStats: "サーバーのマシン情報を公開する" enableServerMachineStats: "サーバーのマシン情報を公開する"
enableAchievements: "実績を有効にする"
turnOffAchievements: "これをオフにすると、達成システムは無効になります。"
enableBotTrending: "ハッシュタグにボットを追加する"
turnOffBotTrending: "これをオフにすると、ボットがハッシュタグを入力しなくなります。"
enableIdenticonGeneration: "ユーザーごとのIdenticon生成を有効にする" enableIdenticonGeneration: "ユーザーごとのIdenticon生成を有効にする"
turnOffToImprovePerformance: "オフにするとパフォーマンスが向上します。" turnOffToImprovePerformance: "オフにするとパフォーマンスが向上します。"
createInviteCode: "招待コードを作成" createInviteCode: "招待コードを作成"
@ -1132,6 +1136,7 @@ loadConversation: "会話を見る"
pinnedList: "ピン留めされたリスト" pinnedList: "ピン留めされたリスト"
keepScreenOn: "デバイスの画面を常にオンにする" keepScreenOn: "デバイスの画面を常にオンにする"
clickToOpen: "クリックしてノートを開く" clickToOpen: "クリックしてノートを開く"
showBots: "ボットをタイムラインに表示"
verifiedLink: "このリンク先の所有者であることが確認されました" verifiedLink: "このリンク先の所有者であることが確認されました"
notifyNotes: "投稿を通知" notifyNotes: "投稿を通知"
unnotifyNotes: "投稿の通知を解除" unnotifyNotes: "投稿の通知を解除"

View file

@ -18,15 +18,15 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_panel" style="padding: 16px;"> <div class="_panel" style="padding: 16px;">
<MkSwitch v-model="enableAchievements"> <MkSwitch v-model="enableAchievements">
<template #label>Enable Achievements</template> <template #label>{{ i18n.ts.enableAchievements }}</template>
<template #caption>Turning this off will disable the achievement system</template> <template #caption>{{ i18n.ts.turnOffAchievements}}</template>
</MkSwitch> </MkSwitch>
</div> </div>
<div class="_panel" style="padding: 16px;"> <div class="_panel" style="padding: 16px;">
<MkSwitch v-model="enableBotTrending"> <MkSwitch v-model="enableBotTrending">
<template #label>Populate Hashtags with Bots</template> <template #label>{{ i18n.ts.enableBotTrending }}</template>
<template #caption>Turning this off will stop Bots from populating Hashtags</template> <template #caption>{{ i18n.ts.turnOffBotTrending }}</template>
</MkSwitch> </MkSwitch>
</div> </div>

View file

@ -152,7 +152,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<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">{{ i18n.ts.clickToOpen }}</MkSwitch> <MkSwitch v-model="clickToOpen">{{ i18n.ts.clickToOpen }}</MkSwitch>
<MkSwitch v-model="showBots">Show bots in timeline</MkSwitch> <MkSwitch v-model="showBots">{{ i18n.ts.showBots }}</MkSwitch>
</div> </div>
<MkSelect v-model="serverDisconnectedBehavior"> <MkSelect v-model="serverDisconnectedBehavior">
<template #label>{{ i18n.ts.whenServerDisconnected }}</template> <template #label>{{ i18n.ts.whenServerDisconnected }}</template>