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"
branding: "Branding"
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"
turnOffToImprovePerformance: "Turning this off can increase performance."
createInviteCode: "Generate invite"
@ -1137,6 +1141,7 @@ loadConversation: "Show conversation"
pinnedList: "Pinned list"
keepScreenOn: "Keep screen on"
clickToOpen: "Click to open notes"
showBots: "Show bots in timeline"
verifiedLink: "Link ownership has been verified"
notifyNotes: "Notify 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;
"branding": string;
"enableServerMachineStats": string;
"enableAchievements": string;
"turnOffAchievements": string;
"enableBotTrending": string;
"turnOffBotTrending": string;
"enableIdenticonGeneration": string;
"turnOffToImprovePerformance": string;
"createInviteCode": string;
@ -1135,6 +1139,7 @@ export interface Locale {
"pinnedList": string;
"keepScreenOn": string;
"clickToOpen": string;
"showBots": string;
"verifiedLink": string;
"notifyNotes": string;
"unnotifyNotes": string;

View file

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

View file

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