1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-20 07:49:57 +00:00

i18n: rename keys

This commit is contained in:
Anthony Fu 2022-12-27 18:49:15 +01:00
parent 841959b51f
commit cf5e6ed5b5
28 changed files with 127 additions and 154 deletions

View file

@ -92,7 +92,7 @@ onBeforeUnmount(() => {
@click.stop @click.stop
> >
<span class="i-ri:earth-line flex-shrink-0 text-xl mr-4 !align-middle" /> <span class="i-ri:earth-line flex-shrink-0 text-xl mr-4 !align-middle" />
{{ $t('nav_footer.select_language') }} {{ $t('nav.select_language') }}
</button> </button>
</NavSelectLanguage> </NavSelectLanguage>
<!-- Switch font size --> <!-- Switch font size -->
@ -106,7 +106,7 @@ onBeforeUnmount(() => {
@click.stop @click.stop
> >
<span class="i-ri:font-size flex-shrink-0 text-xl mr-4 !align-middle" /> <span class="i-ri:font-size flex-shrink-0 text-xl mr-4 !align-middle" />
{{ $t('nav_footer.select_font_size') }} {{ $t('nav.select_font_size') }}
</button> </button>
</NavSelectFontSize> </NavSelectFontSize>
<!-- Toggle Feature Flags --> <!-- Toggle Feature Flags -->
@ -120,7 +120,7 @@ onBeforeUnmount(() => {
@click.stop @click.stop
> >
<span class="i-ri:flag-line flex-shrink-0 text-xl mr-4 !align-middle" /> <span class="i-ri:flag-line flex-shrink-0 text-xl mr-4 !align-middle" />
{{ $t('nav_footer.select_feature_flags') }} {{ $t('nav.select_feature_flags') }}
</button> </button>
</NavSelectFeatureFlags> </NavSelectFeatureFlags>
</div> </div>

View file

@ -10,37 +10,37 @@ const buildTimeAgo = useTimeAgo(buildTimeDate, timeAgoOptions)
<template> <template>
<footer p4 text-sm text-secondary-light flex="~ col"> <footer p4 text-sm text-secondary-light flex="~ col">
<div flex="~ gap2" items-center mb4> <div flex="~ gap2" items-center mb4>
<CommonTooltip :content="$t('nav_footer.toggle_theme')"> <CommonTooltip :content="$t('nav.toggle_theme')">
<button flex i-ri:sun-line dark:i-ri:moon-line text-lg :aria-label="$t('nav_footer.toggle_theme')" @click="toggleDark()" /> <button flex i-ri:sun-line dark:i-ri:moon-line text-lg :aria-label="$t('nav.toggle_theme')" @click="toggleDark()" />
</CommonTooltip> </CommonTooltip>
<CommonTooltip :content="$t('nav_footer.zen_mode')"> <CommonTooltip :content="$t('nav.zen_mode')">
<button <button
flex flex
text-lg text-lg
:class="isZenMode ? 'i-ri:layout-right-2-line' : 'i-ri:layout-right-line'" :class="isZenMode ? 'i-ri:layout-right-2-line' : 'i-ri:layout-right-line'"
:aria-label="$t('nav_footer.zen_mode')" :aria-label="$t('nav.zen_mode')"
@click="toggleZenMode()" @click="toggleZenMode()"
/> />
</CommonTooltip> </CommonTooltip>
<CommonTooltip :content="$t('nav_side.settings')"> <CommonTooltip :content="$t('nav.settings')">
<NuxtLink <NuxtLink
flex flex
text-lg text-lg
to="/settings" to="/settings"
i-ri:settings-4-line i-ri:settings-4-line
:aria-label="$t('nav_side.settings')" :aria-label="$t('nav.settings')"
/> />
</CommonTooltip> </CommonTooltip>
<NavSelectLanguage> <NavSelectLanguage>
<CommonTooltip :content="$t('nav_footer.select_language')"> <CommonTooltip :content="$t('nav.select_language')">
<button flex :aria-label="$t('nav_footer.select_language')"> <button flex :aria-label="$t('nav.select_language')">
<div i-ri:earth-line text-lg /> <div i-ri:earth-line text-lg />
</button> </button>
</CommonTooltip> </CommonTooltip>
</NavSelectLanguage> </NavSelectLanguage>
<NavSelectFontSize> <NavSelectFontSize>
<CommonTooltip :content="$t('nav_footer.select_font_size')"> <CommonTooltip :content="$t('nav.select_font_size')">
<button flex :aria-label="$t('nav_footer.select_font_size')"> <button flex :aria-label="$t('nav.select_font_size')">
<div i-ri:font-size text-lg /> <div i-ri:font-size text-lg />
</button> </button>
</CommonTooltip> </CommonTooltip>
@ -48,12 +48,12 @@ const buildTimeAgo = useTimeAgo(buildTimeDate, timeAgoOptions)
</div> </div>
<div> <div>
<button cursor-pointer hover:underline @click="openPreviewHelp"> <button cursor-pointer hover:underline @click="openPreviewHelp">
{{ $t('nav_footer.show_intro') }} {{ $t('nav.show_intro') }}
</button> </button>
</div> </div>
<div>{{ $t('app_desc_short') }}</div> <div>{{ $t('app_desc_short') }}</div>
<div> <div>
<i18n-t keypath="nav_footer.built_at"> <i18n-t keypath="nav.built_at">
<time :datetime="String(buildTimeDate)" :title="$d(buildTimeDate, 'long')">{{ buildTimeAgo }}</time> <time :datetime="String(buildTimeDate)" :title="$d(buildTimeDate, 'long')">{{ buildTimeAgo }}</time>
</i18n-t> </i18n-t>
<template v-if="buildInfo.version"> <template v-if="buildInfo.version">

View file

@ -4,8 +4,8 @@ const { notifications } = useNotifications()
<template> <template>
<nav sm:px3 sm:py4 flex="~ col gap2" text-size-base leading-normal md:text-lg> <nav sm:px3 sm:py4 flex="~ col gap2" text-size-base leading-normal md:text-lg>
<NavSideItem :text="$t('nav_side.home')" to="/home" icon="i-ri:home-5-line" user-only /> <NavSideItem :text="$t('nav.home')" to="/home" icon="i-ri:home-5-line" user-only />
<NavSideItem :text="$t('nav_side.notifications')" to="/notifications" icon="i-ri:notification-4-line" user-only> <NavSideItem :text="$t('nav.notifications')" to="/notifications" icon="i-ri:notification-4-line" user-only>
<template #icon> <template #icon>
<div flex relative> <div flex relative>
<div class="i-ri:notification-4-line" md:text-size-inherit text-xl /> <div class="i-ri:notification-4-line" md:text-size-inherit text-xl />
@ -15,11 +15,11 @@ const { notifications } = useNotifications()
</div> </div>
</template> </template>
</NavSideItem> </NavSideItem>
<NavSideItem :text="$t('nav_side.explore')" :to="`/${currentServer}/explore`" icon="i-ri:hashtag" /> <NavSideItem :text="$t('nav.explore')" :to="`/${currentServer}/explore`" icon="i-ri:hashtag" />
<NavSideItem :text="$t('nav_side.local')" :to="`/${currentServer}/public/local`" icon="i-ri:group-2-line " /> <NavSideItem :text="$t('nav.local')" :to="`/${currentServer}/public/local`" icon="i-ri:group-2-line " />
<NavSideItem :text="$t('nav_side.federated')" :to="`/${currentServer}/public`" icon="i-ri:earth-line" /> <NavSideItem :text="$t('nav.federated')" :to="`/${currentServer}/public`" icon="i-ri:earth-line" />
<NavSideItem :text="$t('nav_side.conversations')" to="/conversations" icon="i-ri:at-line" user-only /> <NavSideItem :text="$t('nav.conversations')" to="/conversations" icon="i-ri:at-line" user-only />
<NavSideItem :text="$t('nav_side.favourites')" to="/favourites" icon="i-ri:heart-3-line" user-only /> <NavSideItem :text="$t('nav.favourites')" to="/favourites" icon="i-ri:heart-3-line" user-only />
<NavSideItem :text="$t('nav_side.bookmarks')" to="/bookmarks" icon="i-ri:bookmark-line " user-only /> <NavSideItem :text="$t('nav.bookmarks')" to="/bookmarks" icon="i-ri:bookmark-line " user-only />
</nav> </nav>
</template> </template>

View file

@ -66,7 +66,7 @@ const activate = () => {
outline="focus:none" outline="focus:none"
pr-4 pr-4
rtl-pl-4 rtl-pl-4
:placeholder="t('nav_side.search', ['Elk'])" :placeholder="t('nav.search', ['Elk'])"
pb="1px" pb="1px"
placeholder-text-secondary placeholder-text-secondary
@keydown.down.prevent="shift(1)" @keydown.down.prevent="shift(1)"

View file

@ -1,12 +1,14 @@
<template> <template>
<div p8 flex="~ col gap4" hidden lg:block> <div p8 lg:flex="~ col gap2" hidden>
<p v-if="isMastoInitialised" text-sm> <p v-if="isMastoInitialised" text-sm>
Viewing <strong>{{ currentServer }}</strong> public data <i18n-t keypath="user.sign_in_notice_title">
<strong>{{ currentServer }}</strong>
</i18n-t>
</p> </p>
<p text-sm text-secondary> <p text-sm text-secondary>
{{ $t('nav_user.sign_in_desc') }} {{ $t('user.sign_in_desc') }}
</p> </p>
<button class="btn-solid text-center" @click="openSigninDialog()"> <button btn-solid text-center mt-2 @click="openSigninDialog()">
{{ $t('action.sign_in') }} {{ $t('action.sign_in') }}
</button> </button>
</div> </div>

View file

@ -46,7 +46,7 @@ const switchUser = (user: UserLogin) => {
/> />
<NuxtLink to="/settings"> <NuxtLink to="/settings">
<CommonDropdownItem <CommonDropdownItem
:text="$t('nav_side.settings')" :text="$t('nav.settings')"
icon="i-ri:settings-4-line" icon="i-ri:settings-4-line"
/> />
</NuxtLink> </NuxtLink>

View file

@ -113,16 +113,9 @@
"unmute_account": "إلغاء كتم الحساب {0}", "unmute_account": "إلغاء كتم الحساب {0}",
"unpin_on_profile": "إلغاء التثبيت من الملف الشخصي" "unpin_on_profile": "إلغاء التثبيت من الملف الشخصي"
}, },
"nav_footer": { "nav": {
"built_at": "Built {0}",
"select_feature_flags": "تبديل علامات الميزات",
"select_language": "اختار اللغة",
"show_intro": "عرض المقدمة",
"toggle_theme": "تبديل المظهر",
"zen_mode": "الوضع الهادئ"
},
"nav_side": {
"bookmarks": "الفواصل المرجعية", "bookmarks": "الفواصل المرجعية",
"built_at": "Built {0}",
"conversations": "المحادثات", "conversations": "المحادثات",
"explore": "استكشف", "explore": "استكشف",
"favourites": "المفضلة", "favourites": "المفضلة",
@ -131,10 +124,12 @@
"local": "المحلي", "local": "المحلي",
"notifications": "الإشعارات", "notifications": "الإشعارات",
"profile": "الصفحة التعريفية", "profile": "الصفحة التعريفية",
"search": "البحث" "search": "البحث",
}, "select_feature_flags": "تبديل علامات الميزات",
"nav_user": { "select_language": "اختار اللغة",
"sign_in_desc": "قم بتسجيل الدخول لمتابعة الملفات الشخصية والمشاركة والرد على المنشورات أو التفاعل من حسابك على خادم مختلف" "show_intro": "عرض المقدمة",
"toggle_theme": "تبديل المظهر",
"zen_mode": "الوضع الهادئ"
}, },
"notification": { "notification": {
"favourited_post": "أُعجِب بمنشورك", "favourited_post": "أُعجِب بمنشورك",
@ -293,6 +288,7 @@
"user": { "user": {
"add_existing": "إضافة حساب قائم", "add_existing": "إضافة حساب قائم",
"server_address_label": "عنوان خادم ماستودون", "server_address_label": "عنوان خادم ماستودون",
"sign_in_desc": "قم بتسجيل الدخول لمتابعة الملفات الشخصية والمشاركة والرد على المنشورات أو التفاعل من حسابك على خادم مختلف",
"sign_out_account": "تسجيل الخروج من {0}", "sign_out_account": "تسجيل الخروج من {0}",
"tip_no_account": "إذا ليس لديك حساب ماستودون ، {0}", "tip_no_account": "إذا ليس لديك حساب ماستودون ، {0}",
"tip_register_account": "اختر خادم ماستودون الخاص بك وقم بتسجيل حساب" "tip_register_account": "اختر خادم ماستودون الخاص بك وقم بتسجيل حساب"

View file

@ -109,16 +109,9 @@
"unmute_account": "Odmlčet {0}", "unmute_account": "Odmlčet {0}",
"unpin_on_profile": "Odepnout z profilu" "unpin_on_profile": "Odepnout z profilu"
}, },
"nav_footer": { "nav": {
"built_at": "Zprovozněno {0}",
"select_feature_flags": "Zapnout funkce",
"select_language": "Vybrat jazyk",
"show_intro": "Zobrazit více informací o aplikaci",
"toggle_theme": "Přepnout vzhled",
"zen_mode": "Tichý režim"
},
"nav_side": {
"bookmarks": "Záložky", "bookmarks": "Záložky",
"built_at": "Zprovozněno {0}",
"conversations": "Pošta", "conversations": "Pošta",
"explore": "Zajímavé", "explore": "Zajímavé",
"favourites": "Oblíbené", "favourites": "Oblíbené",
@ -126,10 +119,12 @@
"home": "Hlavní stránka", "home": "Hlavní stránka",
"local": "Lokální", "local": "Lokální",
"notifications": "Upozornění", "notifications": "Upozornění",
"profile": "Profil" "profile": "Profil",
}, "select_feature_flags": "Zapnout funkce",
"nav_user": { "select_language": "Vybrat jazyk",
"sign_in_desc": "Přihlaste se, abyste mohli sledovat profily nebo hashtagy, psát a sdílet příspěvky a odpovídat na ně na tomto nebo jiných serverech." "show_intro": "Zobrazit více informací o aplikaci",
"toggle_theme": "Přepnout vzhled",
"zen_mode": "Tichý režim"
}, },
"notification": { "notification": {
"favourited_post": "si oblíbil váš příspěvek", "favourited_post": "si oblíbil váš příspěvek",
@ -246,6 +241,7 @@
"user": { "user": {
"add_existing": "Přidat existující účet", "add_existing": "Přidat existující účet",
"server_address_label": "Adresa Mastodon serveru:", "server_address_label": "Adresa Mastodon serveru:",
"sign_in_desc": "Přihlaste se, abyste mohli sledovat profily nebo hashtagy, psát a sdílet příspěvky a odpovídat na ně na tomto nebo jiných serverech.",
"sign_out_account": "Odhlásit {0}", "sign_out_account": "Odhlásit {0}",
"tip_no_account": "Pokud nemáte účet na Mastodonu, {0}.", "tip_no_account": "Pokud nemáte účet na Mastodonu, {0}.",
"tip_register_account": "vyberte server a zaregistrujte se" "tip_register_account": "vyberte server a zaregistrujte se"

View file

@ -109,16 +109,9 @@
"unmute_account": "Stummschaltung von {0} aufheben", "unmute_account": "Stummschaltung von {0} aufheben",
"unpin_on_profile": "Von Profil lösen" "unpin_on_profile": "Von Profil lösen"
}, },
"nav_footer": { "nav": {
"built_at": "Letzter Build: {0}",
"select_feature_flags": "Feature-Flags aktivieren",
"select_language": "Sprache auswählen",
"show_intro": "Intro anzeigen",
"toggle_theme": "Farbschema wechseln",
"zen_mode": "Zen-Modus"
},
"nav_side": {
"bookmarks": "Lesezeichen", "bookmarks": "Lesezeichen",
"built_at": "Letzter Build: {0}",
"conversations": "Direktnachrichten", "conversations": "Direktnachrichten",
"explore": "Entdecken", "explore": "Entdecken",
"favourites": "Favoriten", "favourites": "Favoriten",
@ -127,10 +120,12 @@
"local": "Lokal", "local": "Lokal",
"notifications": "Mitteilungen", "notifications": "Mitteilungen",
"profile": "Profil", "profile": "Profil",
"search": "Durchsuche {0}" "search": "Durchsuche {0}",
}, "select_feature_flags": "Feature-Flags aktivieren",
"nav_user": { "select_language": "Sprache auswählen",
"sign_in_desc": "Melde dich an, um Profilen oder Hashtags zu folgen, Beiträge zu favorisieren, zu teilen und zu beantworten oder von deinem Konto auf einem anderen Server aus zu interagieren." "show_intro": "Intro anzeigen",
"toggle_theme": "Farbschema wechseln",
"zen_mode": "Zen-Modus"
}, },
"notification": { "notification": {
"favourited_post": "hat deinen Beitrag favorisiert", "favourited_post": "hat deinen Beitrag favorisiert",
@ -252,6 +247,7 @@
"user": { "user": {
"add_existing": "Bestehendes Konto hinzufügen", "add_existing": "Bestehendes Konto hinzufügen",
"server_address_label": "Mastodon Server Adresse", "server_address_label": "Mastodon Server Adresse",
"sign_in_desc": "Melde dich an, um Profilen oder Hashtags zu folgen, Beiträge zu favorisieren, zu teilen und zu beantworten oder von deinem Konto auf einem anderen Server aus zu interagieren.",
"sign_out_account": "{0} abmelden", "sign_out_account": "{0} abmelden",
"tip_no_account": "Wenn du noch kein Mastodon-Konto hast, {0}.", "tip_no_account": "Wenn du noch kein Mastodon-Konto hast, {0}.",
"tip_register_account": "wähle einen Server aus und registriere eines" "tip_register_account": "wähle einen Server aus und registriere eines"

View file

@ -132,17 +132,9 @@
"unmute_account": "Unmute {0}", "unmute_account": "Unmute {0}",
"unpin_on_profile": "Unpin on profile" "unpin_on_profile": "Unpin on profile"
}, },
"nav_footer": { "nav": {
"built_at": "Built {0}",
"select_feature_flags": "Toggle Feature Flags",
"select_font_size": "Select Font Size",
"select_language": "Select Language",
"show_intro": "Show intro",
"toggle_theme": "Toggle Theme",
"zen_mode": "Zen Mode"
},
"nav_side": {
"bookmarks": "Bookmarks", "bookmarks": "Bookmarks",
"built_at": "Built {0}",
"conversations": "Conversations", "conversations": "Conversations",
"explore": "Explore", "explore": "Explore",
"favourites": "Favourites", "favourites": "Favourites",
@ -152,10 +144,13 @@
"notifications": "Notifications", "notifications": "Notifications",
"profile": "Profile", "profile": "Profile",
"search": "Search {0}", "search": "Search {0}",
"settings": "Settings" "select_feature_flags": "Toggle Feature Flags",
}, "select_font_size": "Select Font Size",
"nav_user": { "select_language": "Select Language",
"sign_in_desc": "Sign in to follow profiles or hashtags, favourite, share and reply to posts, or interact from your account on a different server." "settings": "Settings",
"show_intro": "Show intro",
"toggle_theme": "Toggle Theme",
"zen_mode": "Zen Mode"
}, },
"notification": { "notification": {
"favourited_post": "favourited your post", "favourited_post": "favourited your post",
@ -225,7 +220,7 @@
"feature_flags": { "feature_flags": {
"avatar_on_avatar": "Avatar on Avatar", "avatar_on_avatar": "Avatar on Avatar",
"github_cards": "GitHub Cards", "github_cards": "GitHub Cards",
"title": "Experimental Feature Flags", "title": "Experimental Features",
"user_switcher_sidebar": "User Switcher Sidebar", "user_switcher_sidebar": "User Switcher Sidebar",
"virtual_scroll": "Virtual Scrolling" "virtual_scroll": "Virtual Scrolling"
}, },
@ -348,6 +343,8 @@
"user": { "user": {
"add_existing": "Add an existing account", "add_existing": "Add an existing account",
"server_address_label": "Mastodon Server Address", "server_address_label": "Mastodon Server Address",
"sign_in_desc": "Sign in to follow profiles or hashtags, favourite, share and reply to posts, or interact from your account on a different server.",
"sign_in_notice_title": "Viewing {0} public data",
"sign_out_account": "Sign out {0}", "sign_out_account": "Sign out {0}",
"tip_no_account": "If you don't have a Mastodon account yet, {0}.", "tip_no_account": "If you don't have a Mastodon account yet, {0}.",
"tip_register_account": "pick your server and register one" "tip_register_account": "pick your server and register one"

View file

@ -128,17 +128,9 @@
"unmute_account": "Dejar de silenciar a {0}", "unmute_account": "Dejar de silenciar a {0}",
"unpin_on_profile": "Desfijar del perfil" "unpin_on_profile": "Desfijar del perfil"
}, },
"nav_footer": { "nav": {
"built_at": "Compilado {0}",
"select_feature_flags": "Cambiar marcadores de funcionalidades",
"select_font_size": "Cambiar tamaño de letra",
"select_language": "Cambiar idioma",
"show_intro": "Mostrar intro",
"toggle_theme": "Cambiar tema",
"zen_mode": "Modo Zen"
},
"nav_side": {
"bookmarks": "Marcadores", "bookmarks": "Marcadores",
"built_at": "Compilado {0}",
"conversations": "Conversaciones", "conversations": "Conversaciones",
"explore": "Explorar", "explore": "Explorar",
"favourites": "Favoritos", "favourites": "Favoritos",
@ -147,10 +139,13 @@
"local": "Local", "local": "Local",
"notifications": "Notificaciones", "notifications": "Notificaciones",
"profile": "Perfil", "profile": "Perfil",
"search": "Buscar {0}" "search": "Buscar {0}",
}, "select_feature_flags": "Cambiar marcadores de funcionalidades",
"nav_user": { "select_font_size": "Cambiar tamaño de letra",
"sign_in_desc": "Inicia sesión para seguir perfiles o hashtags, marcar como favorito, compartir and responder a publicaciones, o interactuar desde tu usuario con un servidor diferente." "select_language": "Cambiar idioma",
"show_intro": "Mostrar intro",
"toggle_theme": "Cambiar tema",
"zen_mode": "Modo Zen"
}, },
"notification": { "notification": {
"favourited_post": "marcó tu publicación como favorito", "favourited_post": "marcó tu publicación como favorito",
@ -311,6 +306,7 @@
"user": { "user": {
"add_existing": "Agregar una cuenta existente", "add_existing": "Agregar una cuenta existente",
"server_address_label": "Dirección de Servidor de Mastodon", "server_address_label": "Dirección de Servidor de Mastodon",
"sign_in_desc": "Inicia sesión para seguir perfiles o hashtags, marcar como favorito, compartir and responder a publicaciones, o interactuar desde tu usuario con un servidor diferente.",
"sign_out_account": "Cerrar sesión {0}", "sign_out_account": "Cerrar sesión {0}",
"tip_no_account": "Si aún no tienes una cuenta Mastodon, {0}.", "tip_no_account": "Si aún no tienes una cuenta Mastodon, {0}.",
"tip_register_account": "selecciona tu servidor y registrate" "tip_register_account": "selecciona tu servidor y registrate"

View file

@ -127,16 +127,9 @@
"unmute_account": "Enlever la sourdine à {0}", "unmute_account": "Enlever la sourdine à {0}",
"unpin_on_profile": "Désépingler du profil" "unpin_on_profile": "Désépingler du profil"
}, },
"nav_footer": { "nav": {
"built_at": "Dernier build {0}",
"select_feature_flags": "Activer/Désactiver Feature Flags",
"select_language": "Selectionner langue",
"show_intro": "Ré-afficher l'introduction",
"toggle_theme": "Changer de thème",
"zen_mode": "Mode Zen"
},
"nav_side": {
"bookmarks": "Marque-pages", "bookmarks": "Marque-pages",
"built_at": "Dernier build {0}",
"conversations": "Conversations", "conversations": "Conversations",
"explore": "Explorer", "explore": "Explorer",
"favourites": "Favoris", "favourites": "Favoris",
@ -145,10 +138,12 @@
"local": "Local", "local": "Local",
"notifications": "Notifications", "notifications": "Notifications",
"profile": "Profil", "profile": "Profil",
"search": "Rechercher {0}" "search": "Rechercher {0}",
}, "select_feature_flags": "Activer/Désactiver Feature Flags",
"nav_user": { "select_language": "Selectionner langue",
"sign_in_desc": "Connectez-vous pour suivre des profils ou des hashtags, mettre en favoris, partager et répondre à des messages, ou interagir à partir de votre compte sur un autre serveur..." "show_intro": "Ré-afficher l'introduction",
"toggle_theme": "Changer de thème",
"zen_mode": "Mode Zen"
}, },
"notification": { "notification": {
"favourited_post": "aime votre message", "favourited_post": "aime votre message",
@ -311,6 +306,7 @@
"user": { "user": {
"add_existing": "Ajouter un compte existant", "add_existing": "Ajouter un compte existant",
"server_address_label": "Adresse du serveur mastodon", "server_address_label": "Adresse du serveur mastodon",
"sign_in_desc": "Connectez-vous pour suivre des profils ou des hashtags, mettre en favoris, partager et répondre à des messages, ou interagir à partir de votre compte sur un autre serveur...",
"sign_out_account": "Se déconnecter de {0}", "sign_out_account": "Se déconnecter de {0}",
"tip_no_account": "Si vous n'avez pas encore de compte Mastodon, {0}.", "tip_no_account": "Si vous n'avez pas encore de compte Mastodon, {0}.",
"tip_register_account": "choisissez votre serveur et enregistrez-en un" "tip_register_account": "choisissez votre serveur et enregistrez-en un"

View file

@ -42,13 +42,7 @@
"unblock_domain": "{0}のドメインブロックを解除", "unblock_domain": "{0}のドメインブロックを解除",
"unmute_account": "{0}さんのミュートを解除" "unmute_account": "{0}さんのミュートを解除"
}, },
"nav_footer": { "nav": {
"select_feature_flags": "実験的機能を切り替え",
"select_language": "言語を選択",
"toggle_theme": "テーマを切り替え",
"zen_mode": "禅モード"
},
"nav_side": {
"bookmarks": "ブックマーク", "bookmarks": "ブックマーク",
"conversations": "会話", "conversations": "会話",
"explore": "話題の投稿", "explore": "話題の投稿",
@ -58,10 +52,11 @@
"local": "ローカル", "local": "ローカル",
"notifications": "通知", "notifications": "通知",
"profile": "プロフィール", "profile": "プロフィール",
"search": "検索 {0}" "search": "検索 {0}",
}, "select_feature_flags": "実験的機能を切り替え",
"nav_user": { "select_language": "言語を選択",
"sign_in_desc": "サインインすると、アカウントやハッシュタグをフォローしたり、お気に入りしたり、投稿を共有したり返信するほか、異なるサーバー上のあなたのアカウントから交流できます。" "toggle_theme": "テーマを切り替え",
"zen_mode": "禅モード"
}, },
"notification": { "notification": {
"favourited_post": "さんがあなたの投稿お気に入り登録しました", "favourited_post": "さんがあなたの投稿お気に入り登録しました",
@ -101,5 +96,8 @@
"add_media": "画像、動画、音声ファイルを追加", "add_media": "画像、動画、音声ファイルを追加",
"change_content_visibility": "公開範囲を変更", "change_content_visibility": "公開範囲を変更",
"toggle_code_block": "コードブロックを切り替え" "toggle_code_block": "コードブロックを切り替え"
},
"user": {
"sign_in_desc": "サインインすると、アカウントやハッシュタグをフォローしたり、お気に入りしたり、投稿を共有したり返信するほか、異なるサーバー上のあなたのアカウントから交流できます。"
} }
} }

View file

@ -89,7 +89,6 @@
"status_not_found": "未找到帖文", "status_not_found": "未找到帖文",
"unsupported_file_format": "不支持的文件格式" "unsupported_file_format": "不支持的文件格式"
}, },
"help": { "help": {
"desc_highlight": "可能会在某些地方出现一些 bug 或缺失的功能。", "desc_highlight": "可能会在某些地方出现一些 bug 或缺失的功能。",
"desc_para1": "感谢你有兴趣尝试鹿鸣,一个我们正在积极开发的通用 Mastodon 客户端。", "desc_para1": "感谢你有兴趣尝试鹿鸣,一个我们正在积极开发的通用 Mastodon 客户端。",
@ -120,17 +119,9 @@
"unmute_account": "解除屏蔽 {0}", "unmute_account": "解除屏蔽 {0}",
"unpin_on_profile": "取消置顶" "unpin_on_profile": "取消置顶"
}, },
"nav_footer": { "nav": {
"built_at": "于 {0} 构建",
"select_feature_flags": "功能开关",
"select_font_size": "字体大小",
"select_language": "选择语言",
"show_intro": "应用介绍",
"toggle_theme": "切换主题",
"zen_mode": "禅模式"
},
"nav_side": {
"bookmarks": "书签", "bookmarks": "书签",
"built_at": "于 {0} 构建",
"conversations": "私信", "conversations": "私信",
"explore": "探索", "explore": "探索",
"favourites": "喜欢", "favourites": "喜欢",
@ -140,10 +131,13 @@
"notifications": "通知", "notifications": "通知",
"profile": "个人资料", "profile": "个人资料",
"search": "搜索 {0}", "search": "搜索 {0}",
"settings": "设置" "select_feature_flags": "功能开关",
}, "select_font_size": "字体大小",
"nav_user": { "select_language": "选择语言",
"sign_in_desc": "登录后可关注其他人或标签、点赞、分享和回复帖文,或与不同服务器上的账号交互。" "settings": "设置",
"show_intro": "应用介绍",
"toggle_theme": "切换主题",
"zen_mode": "禅模式"
}, },
"notification": { "notification": {
"favourited_post": "点赞了你的帖文", "favourited_post": "点赞了你的帖文",
@ -320,6 +314,8 @@
"user": { "user": {
"add_existing": "添加现有帐户", "add_existing": "添加现有帐户",
"server_address_label": "Mastodon 服务器地址", "server_address_label": "Mastodon 服务器地址",
"sign_in_desc": "登录后可关注其他人或标签、点赞、分享和回复帖文,或与不同服务器上的账号交互。",
"sign_in_notice_title": "正在查看 {0} 的公共数据",
"sign_out_account": "登出 {0}", "sign_out_account": "登出 {0}",
"tip_no_account": "如果您还没有 Mastodon 账户,{0}。", "tip_no_account": "如果您还没有 Mastodon 账户,{0}。",
"tip_register_account": "选择您的服务器并注册一个" "tip_register_account": "选择您的服务器并注册一个"

View file

@ -21,7 +21,7 @@ onReactivated(() => {
<template> <template>
<MainContent back> <MainContent back>
<template #title> <template #title>
<span text-lg font-bold>{{ account ? getDisplayName(account) : t('nav_side.profile') }}</span> <span text-lg font-bold>{{ account ? getDisplayName(account) : t('nav.profile') }}</span>
</template> </template>
<template v-if="pending" /> <template v-if="pending" />

View file

@ -30,7 +30,7 @@ const tabs = $computed(() => [
<template #title> <template #title>
<span text-lg font-bold flex items-center gap-2 cursor-pointer @click="$scrollToTop"> <span text-lg font-bold flex items-center gap-2 cursor-pointer @click="$scrollToTop">
<div i-ri:hashtag /> <div i-ri:hashtag />
<span>{{ t('nav_side.explore') }}</span> <span>{{ t('nav.explore') }}</span>
</span> </span>
</template> </template>

View file

@ -8,7 +8,7 @@ const paginator = useMasto().trends.iterateStatuses()
const hideNewsTips = useLocalStorage(STORAGE_KEY_HIDE_EXPLORE_POSTS_TIPS, false) const hideNewsTips = useLocalStorage(STORAGE_KEY_HIDE_EXPLORE_POSTS_TIPS, false)
useHeadFixed({ useHeadFixed({
title: () => `${t('tab.posts')} | ${t('nav_side.explore')}`, title: () => `${t('tab.posts')} | ${t('nav.explore')}`,
}) })
</script> </script>

View file

@ -10,7 +10,7 @@ const paginator = useMasto().trends.links
const hideNewsTips = useLocalStorage(STORAGE_KEY_HIDE_EXPLORE_NEWS_TIPS, false) const hideNewsTips = useLocalStorage(STORAGE_KEY_HIDE_EXPLORE_NEWS_TIPS, false)
useHeadFixed({ useHeadFixed({
title: () => `${t('tab.news')} | ${t('nav_side.explore')}`, title: () => `${t('tab.news')} | ${t('nav.explore')}`,
}) })
</script> </script>

View file

@ -17,7 +17,7 @@ function getTagUrl(tag: Tag) {
} }
useHeadFixed({ useHeadFixed({
title: () => `${t('tab.hashtags')} | ${t('nav_side.explore')}`, title: () => `${t('tab.hashtags')} | ${t('nav.explore')}`,
}) })
</script> </script>

View file

@ -9,7 +9,7 @@ const { data, pending, error } = useLazyAsyncData(
) )
useHeadFixed({ useHeadFixed({
title: () => `${t('tab.for_you')} | ${t('nav_side.explore')}`, title: () => `${t('tab.for_you')} | ${t('nav.explore')}`,
}) })
</script> </script>

View file

@ -6,7 +6,7 @@ definePageMeta({
const { t } = useI18n() const { t } = useI18n()
useHeadFixed({ useHeadFixed({
title: () => t('nav_side.bookmarks'), title: () => t('nav.bookmarks'),
}) })
</script> </script>
@ -15,7 +15,7 @@ useHeadFixed({
<template #title> <template #title>
<NuxtLink to="/bookmarks" text-lg font-bold flex items-center gap-2 @click="$scrollToTop"> <NuxtLink to="/bookmarks" text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
<div i-ri:bookmark-line /> <div i-ri:bookmark-line />
<span>{{ t('nav_side.bookmarks') }}</span> <span>{{ t('nav.bookmarks') }}</span>
</NuxtLink> </NuxtLink>
</template> </template>

View file

@ -6,7 +6,7 @@ definePageMeta({
const { t } = useI18n() const { t } = useI18n()
useHeadFixed({ useHeadFixed({
title: () => t('nav_side.conversations'), title: () => t('nav.conversations'),
}) })
</script> </script>
@ -15,7 +15,7 @@ useHeadFixed({
<template #title> <template #title>
<NuxtLink to="/conversations" text-lg font-bold flex items-center gap-2 @click="$scrollToTop"> <NuxtLink to="/conversations" text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
<div i-ri:at-line /> <div i-ri:at-line />
<span>{{ t('nav_side.conversations') }}</span> <span>{{ t('nav.conversations') }}</span>
</NuxtLink> </NuxtLink>
</template> </template>

View file

@ -6,7 +6,7 @@ definePageMeta({
const { t } = useI18n() const { t } = useI18n()
useHeadFixed({ useHeadFixed({
title: () => t('nav_side.favourites'), title: () => t('nav.favourites'),
}) })
</script> </script>
@ -15,7 +15,7 @@ useHeadFixed({
<template #title> <template #title>
<NuxtLink to="/favourites" text-lg font-bold flex items-center gap-2 @click="$scrollToTop"> <NuxtLink to="/favourites" text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
<div i-ri:heart-3-line /> <div i-ri:heart-3-line />
<span>{{ t('nav_side.favourites') }}</span> <span>{{ t('nav.favourites') }}</span>
</NuxtLink> </NuxtLink>
</template> </template>

View file

@ -8,7 +8,7 @@ definePageMeta({
const { t } = useI18n() const { t } = useI18n()
useHeadFixed({ useHeadFixed({
title: () => t('nav_side.home'), title: () => t('nav.home'),
}) })
</script> </script>
@ -17,7 +17,7 @@ useHeadFixed({
<template #title> <template #title>
<NuxtLink to="/home" text-lg font-bold flex items-center gap-2 @click="$scrollToTop"> <NuxtLink to="/home" text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
<div i-ri:home-5-line /> <div i-ri:home-5-line />
<span>{{ $t('nav_side.home') }}</span> <span>{{ $t('nav.home') }}</span>
</NuxtLink> </NuxtLink>
</template> </template>

View file

@ -30,7 +30,7 @@ onActivated(() => {
<template #title> <template #title>
<NuxtLink to="/notifications" text-lg font-bold flex items-center gap-2 @click="$scrollToTop"> <NuxtLink to="/notifications" text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
<div i-ri:notification-4-line /> <div i-ri:notification-4-line />
<span>{{ t('nav_side.notifications') }}</span> <span>{{ t('nav.notifications') }}</span>
</NuxtLink> </NuxtLink>
</template> </template>

View file

@ -1,7 +1,7 @@
<script setup lang="ts"> <script setup lang="ts">
const { t } = useI18n() const { t } = useI18n()
useHeadFixed({ useHeadFixed({
title: () => `${t('tab.notifications_all')} | ${t('nav_side.notifications')}`, title: () => `${t('tab.notifications_all')} | ${t('nav.notifications')}`,
}) })
</script> </script>

View file

@ -1,7 +1,7 @@
<script setup lang="ts"> <script setup lang="ts">
const { t } = useI18n() const { t } = useI18n()
useHeadFixed({ useHeadFixed({
title: () => `${t('tab.notifications_mention')} | ${t('nav_side.notifications')}`, title: () => `${t('tab.notifications_mention')} | ${t('nav.notifications')}`,
}) })
</script> </script>

View file

@ -15,7 +15,7 @@ const isRootPath = computedEager(() => route.name === 'settings')
<template #title> <template #title>
<div text-lg font-bold flex items-center gap-2 @click="$scrollToTop"> <div text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
<div i-ri:settings-4-line /> <div i-ri:settings-4-line />
<span>{{ $t('nav_side.settings') }}</span> <span>{{ $t('nav.settings') }}</span>
</div> </div>
</template> </template>
<div xl:w-97 lg:w-78 w-full> <div xl:w-97 lg:w-78 w-full>