diff --git a/.vscode/settings.json b/.vscode/settings.json
index c3b518dc..2d7c6e2e 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -9,11 +9,14 @@
"editor.formatOnSave": false,
"cSpell.words": [
"masto",
- "Nuxtodon"
+ "Nuxtodon",
+ "unmute"
],
"i18n-ally.localesPaths": [
"locales"
],
"i18n-ally.keystyle": "nested",
- "i18n-ally.sourceLanguage": "en-US"
+ "i18n-ally.sourceLanguage": "en-US",
+ "i18n-ally.preferredDelimiter": "_",
+ "i18n-ally.sortKeys": true
}
diff --git a/components/account/AccountFollowButton.vue b/components/account/AccountFollowButton.vue
index f8d3bbb6..ab08e043 100644
--- a/components/account/AccountFollowButton.vue
+++ b/components/account/AccountFollowButton.vue
@@ -30,17 +30,17 @@ async function toggleFollow() {
{{ relationship?.followedBy ? 'Mutuals' : 'Following' }}
- Unfollow
+ {{ $t('account.unfollow') }}
- Requested
+ {{ $t('account.follow_requested') }}
- Follows you
- Follow back
+ {{ $t('account.follows_you') }}
+ {{ $t('account.follow_back') }}
- Follow
+ {{ $t('account.follow') }}
diff --git a/components/account/AccountMoreButton.vue b/components/account/AccountMoreButton.vue
index 3e94ce57..8f2a5a26 100644
--- a/components/account/AccountMoreButton.vue
+++ b/components/account/AccountMoreButton.vue
@@ -45,31 +45,31 @@ const toggleBlockDomain = async () => {
- Open in original site
+ {{ $t('menu.open_in_original_site') }}
- Mention @{{ account.acct }}
+ {{ $t('menu.mention_account', [account.acct]) }}
- Direct message @{{ account.acct }}
+ {{ $t('menu.direct_message_account', [account.acct]) }}
- Mute @{{ account.acct }}
+ {{ $t('menu.mute_account', [account.acct]) }}
- Unmute @{{ account.acct }}
+ {{ $t('menu.unmute_account', [account.acct]) }}
- Block @{{ account.acct }}
+ {{ $t('menu.block_account', [account.acct]) }}
- Unblock @{{ account.acct }}
+ {{ $t('menu.unblock_account', [account.acct]) }}
@@ -78,10 +78,10 @@ const toggleBlockDomain = async () => {
icon="i-ri:shut-down-line"
@click="toggleBlockDomain"
>
- Block domain {{ getServerName(account) }}
+ {{ $t('menu.block_domain', [getServerName(account)]) }}
- Unblock domain {{ getServerName(account) }}
+ {{ $t('menu.unblock_domain', [getServerName(account)]) }}
diff --git a/components/account/AccountPostsFollowers.vue b/components/account/AccountPostsFollowers.vue
index 9fbae170..450b6da1 100644
--- a/components/account/AccountPostsFollowers.vue
+++ b/components/account/AccountPostsFollowers.vue
@@ -10,21 +10,21 @@ defineProps<{
-
+
{{ formattedNumber(account.statusesCount) }}
-
+
{{ humanReadableNumber(account.followingCount) }}
-
+
{{ humanReadableNumber(account.followersCount) }}
diff --git a/components/publish/PublishButton.vue b/components/publish/PublishButton.vue
index 8d6f438c..ad253a98 100644
--- a/components/publish/PublishButton.vue
+++ b/components/publish/PublishButton.vue
@@ -7,6 +7,6 @@ function openDialog() {
diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue
index 92206864..6e2aee9e 100644
--- a/components/publish/PublishWidget.vue
+++ b/components/publish/PublishWidget.vue
@@ -146,7 +146,7 @@ const { isOverDropZone } = useDropZone(dropZoneRef, onDrop)
- Editing
+ {{ $t('state.editing') }}
@@ -186,7 +186,7 @@ const { isOverDropZone } = useDropZone(dropZoneRef, onDrop)
- Uploading...
+ {{ $t('state.uploading') }}
@@ -201,14 +201,14 @@ const { isOverDropZone } = useDropZone(dropZoneRef, onDrop)
v-if="isExpanded" flex="~ gap-2" m="l--1" pt-2
border="t base"
>
-
+
-
+
-
+
-
+
diff --git a/locales/de-DE.json b/locales/de-DE.json
index 281f287e..e89de629 100644
--- a/locales/de-DE.json
+++ b/locales/de-DE.json
@@ -1,32 +1,32 @@
{
- "nav_side": {
- "home": "Startseite",
- "notifications": "Mitteilungen",
- "explore": "Entdecken",
- "local": "Lokale Timeline",
- "federated": "Förderierte Timeline",
- "conversations": "Direktnachrichten",
- "favourites": "Favoriten",
- "bookmarks": "Lesezeichen",
- "profile": "Profil"
- },
- "nav_footer": {
- "select_language": "Sprache auswählen",
- "select_feature_flags": "Feature-Flags umschalten",
- "toggle_theme": "Thema umschalten",
- "zen_mode": "Zen mode"
- },
- "timeline": "Timeline",
- "title": {
- "local_timeline": "@:nav_side.local @:timeline",
- "federated_timeline": "@:nav_side.federated @:timeline"
- },
"account": {
- "posts": "{0} Beiträge",
- "following": "{0} Folge ich",
- "followers": "{0} Follower"
+ "followers_count": "{0} Follower",
+ "following_count": "{0} Folge ich",
+ "posts_count": "{0} Beiträge"
},
"feature_flag": {
"virtual_scroll": "Virtuelles Scrollen"
+ },
+ "nav_footer": {
+ "select_feature_flags": "Feature-Flags umschalten",
+ "select_language": "Sprache auswählen",
+ "toggle_theme": "Thema umschalten",
+ "zen_mode": "Zen mode"
+ },
+ "nav_side": {
+ "bookmarks": "Lesezeichen",
+ "conversations": "Direktnachrichten",
+ "explore": "Entdecken",
+ "favourites": "Favoriten",
+ "federated": "Förderierte Timeline",
+ "home": "Startseite",
+ "local": "Lokale Timeline",
+ "notifications": "Mitteilungen",
+ "profile": "Profil"
+ },
+ "timeline": "Timeline",
+ "title": {
+ "federated_timeline": "@:nav_side.federated @:timeline",
+ "local_timeline": "@:nav_side.local @:timeline"
}
}
diff --git a/locales/en-US.json b/locales/en-US.json
index 3d618fe8..7b345aed 100644
--- a/locales/en-US.json
+++ b/locales/en-US.json
@@ -1,32 +1,63 @@
{
- "nav_side": {
- "home": "Home",
- "notifications": "Notifications",
- "explore": "Explore",
- "local": "Local",
- "federated": "Federated",
- "conversations": "Conversations",
- "favourites": "Favourites",
- "bookmarks": "Bookmarks",
- "profile": "Profile"
- },
- "nav_footer": {
- "select_language": "Select Language",
- "select_feature_flags": "Toggle Feature Flags",
- "toggle_theme": "Toggle Theme",
- "zen_mode": "Zen Mode"
- },
- "timeline": "Timeline",
- "title": {
- "local_timeline": "@:nav_side.local @:timeline",
- "federated_timeline": "@:nav_side.federated @:timeline"
- },
"account": {
- "posts": "{0} Posts",
- "following": "{0} Following",
- "followers": "{0} Followers"
+ "follow": "Follow",
+ "follow_back": "Follow back",
+ "follow_requested": "Requested",
+ "followers_count": "{0} Followers",
+ "following_count": "{0} Following",
+ "follows_you": "Follows you",
+ "posts_count": "{0} Posts",
+ "unfollow": "Unfollow"
+ },
+ "action": {
+ "compose": "Compose",
+ "publish": "Publish!",
+ "save_changes": "Save changes"
},
"feature_flag": {
"virtual_scroll": "Virtual Scrolling"
+ },
+ "menu": {
+ "block_account": "Block @{0}",
+ "block_domain": "Block domain {0}",
+ "direct_message_account": "Direct message @{0}",
+ "mention_account": "Mention @{0}",
+ "mute_account": "Mute @{0}",
+ "open_in_original_site": "Open in original site",
+ "unblock_account": "Unblock @{0}",
+ "unblock_domain": "Unblock domain {0}",
+ "unmute_account": "Unmute @{0}"
+ },
+ "nav_footer": {
+ "select_feature_flags": "Toggle Feature Flags",
+ "select_language": "Select Language",
+ "toggle_theme": "Toggle Theme",
+ "zen_mode": "Zen Mode"
+ },
+ "nav_side": {
+ "bookmarks": "Bookmarks",
+ "conversations": "Conversations",
+ "explore": "Explore",
+ "favourites": "Favourites",
+ "federated": "Federated",
+ "home": "Home",
+ "local": "Local",
+ "notifications": "Notifications",
+ "profile": "Profile"
+ },
+ "state": {
+ "editing": "Editing",
+ "uploading": "Uploading..."
+ },
+ "timeline": "Timeline",
+ "title": {
+ "federated_timeline": "@:nav_side.federated @:timeline",
+ "local_timeline": "@:nav_side.local @:timeline"
+ },
+ "tooltip": {
+ "add_content_warning": "Add content warning",
+ "add_media": "Add images, a video or an audio file",
+ "change_content_visibility": "Change content visibility",
+ "toggle_code_block": "Toggle code block"
}
}
diff --git a/locales/zh-CN.json b/locales/zh-CN.json
index f35c84f7..da516f8e 100644
--- a/locales/zh-CN.json
+++ b/locales/zh-CN.json
@@ -1,4 +1,18 @@
{
+ "account": {
+ "followers_count": "被 {0} 人关注",
+ "following_count": "正在关注 {0} 人",
+ "posts_count": "{0} 条帖文"
+ },
+ "feature_flag": {
+ "virtual_scroll": "虚拟滚动"
+ },
+ "nav_footer": {
+ "select_feature_flags": "功能开关",
+ "select_language": "选择语言",
+ "toggle_theme": "切换主题",
+ "zen_mode": "禅模式"
+ },
"nav_side": {
"bookmarks": "书签",
"conversations": "私信",
@@ -10,23 +24,9 @@
"notifications": "通知",
"profile": "个人资料"
},
- "nav_footer": {
- "select_language": "选择语言",
- "select_feature_flags": "功能开关",
- "toggle_theme": "切换主题",
- "zen_mode": "禅模式"
- },
"timeline": "时间轴",
"title": {
- "local_timeline": "@:nav_side.local@:timeline",
- "federated_timeline": "@:nav_side.federated@:timeline"
- },
- "account": {
- "followers": "被 {0} 人关注",
- "following": "正在关注 {0} 人",
- "posts": "{0} 条帖文"
- },
- "feature_flag": {
- "virtual_scroll": "虚拟滚动"
+ "federated_timeline": "@:nav_side.federated@:timeline",
+ "local_timeline": "@:nav_side.local@:timeline"
}
}