locale: separate nouns and verbs (close #10862)
This commit is contained in:
parent
9b6a061022
commit
40293a73c0
12 changed files with 25 additions and 13 deletions
|
@ -59,6 +59,7 @@ copyUsername: "Copy username"
|
|||
searchUser: "Search for a user"
|
||||
reply: "Reply"
|
||||
replies: "Replies"
|
||||
toReply: "Reply"
|
||||
jumpToPrevious: "Jump to previous"
|
||||
loadMore: "Load more"
|
||||
showMore: "Show more"
|
||||
|
@ -89,6 +90,7 @@ listsDesc: "Lists let you create timelines with specified users. They can be acc
|
|||
noLists: "You don't have any lists"
|
||||
note: "Post"
|
||||
notes: "Posts"
|
||||
toPost: "Post"
|
||||
following: "Following"
|
||||
followers: "Followers"
|
||||
followsYou: "Follows you"
|
||||
|
@ -121,6 +123,7 @@ cantRenote: "This post can't be boosted."
|
|||
cantReRenote: "A boost can't be boosted."
|
||||
quote: "Quote"
|
||||
quotes: "Quotes"
|
||||
toQuote: "Quote"
|
||||
pinnedNote: "Pinned post"
|
||||
pinned: "Pin to profile"
|
||||
you: "You"
|
||||
|
|
|
@ -53,6 +53,7 @@ copyUsername: "ユーザー名をコピー"
|
|||
searchUser: "ユーザーを検索"
|
||||
reply: "返信"
|
||||
replies: "返信"
|
||||
toReply: "返信"
|
||||
loadMore: "もっと読み込む"
|
||||
showMore: "もっと見る"
|
||||
showLess: "閉じる"
|
||||
|
@ -75,6 +76,7 @@ lists: "リスト"
|
|||
noLists: "リストはありません"
|
||||
note: "投稿"
|
||||
notes: "投稿"
|
||||
toPost: "投稿"
|
||||
following: "フォロー"
|
||||
followers: "フォロワー"
|
||||
followsYou: "フォローされています"
|
||||
|
@ -105,6 +107,7 @@ cantRenote: "この投稿はブーストできません。"
|
|||
cantReRenote: "ブーストをブーストすることはできません。"
|
||||
quote: "引用"
|
||||
quotes: "引用"
|
||||
toQuote: "引用"
|
||||
pinnedNote: "ピン留めされた投稿"
|
||||
pinned: "ピン留め"
|
||||
you: "あなた"
|
||||
|
|
|
@ -50,6 +50,7 @@ copyUsername: "复制用户名"
|
|||
searchUser: "搜索用户"
|
||||
reply: "回复"
|
||||
replies: "回复"
|
||||
toReply: "回复"
|
||||
loadMore: "加载更多"
|
||||
showMore: "查看更多"
|
||||
showLess: "关闭"
|
||||
|
@ -70,8 +71,9 @@ exportRequested: "导出请求已提交,这可能需要花一些时间,导
|
|||
importRequested: "导入请求已提交,这可能需要花一点时间。"
|
||||
lists: "列表"
|
||||
noLists: "列表为空"
|
||||
note: "发帖"
|
||||
note: "帖子"
|
||||
notes: "帖子"
|
||||
toPost: "发帖"
|
||||
following: "关注中"
|
||||
followers: "关注者"
|
||||
followsYou: "关注了您"
|
||||
|
@ -103,6 +105,7 @@ cantRenote: "此帖子无法被转发。"
|
|||
cantReRenote: "转发无法被再次转发。"
|
||||
quote: "引用"
|
||||
quotes: "引用"
|
||||
toQuote: "引用"
|
||||
pinnedNote: "已置顶的帖子"
|
||||
pinned: "置顶"
|
||||
you: "您"
|
||||
|
|
|
@ -50,6 +50,7 @@ copyUsername: "複製使用者名稱"
|
|||
searchUser: "搜尋使用者"
|
||||
reply: "回覆"
|
||||
replies: "回覆"
|
||||
toReply: "回覆"
|
||||
loadMore: "載入更多"
|
||||
showMore: "載入更多"
|
||||
showLess: "關閉"
|
||||
|
@ -72,6 +73,7 @@ lists: "清單"
|
|||
noLists: "你沒有任何清單"
|
||||
note: "貼文"
|
||||
notes: "貼文"
|
||||
toPost: "貼文"
|
||||
following: "追隨中"
|
||||
followers: "追隨者"
|
||||
followsYou: "追隨你的人"
|
||||
|
@ -103,6 +105,7 @@ cantRenote: "無法轉發此貼文。"
|
|||
cantReRenote: "無法轉發之前已經轉發過的內容。"
|
||||
quote: "引用"
|
||||
quotes: "引用"
|
||||
toQuote: "引用"
|
||||
pinnedNote: "已置頂的貼文"
|
||||
pinned: "置頂"
|
||||
you: "您"
|
||||
|
|
|
@ -461,12 +461,12 @@ const placeholder = computed((): string => {
|
|||
|
||||
const submitText = computed((): string => {
|
||||
return props.editId
|
||||
? i18n.ts.edit
|
||||
? i18n.ts.toEdit
|
||||
: props.renote
|
||||
? i18n.ts.quote
|
||||
? i18n.ts.toQuote
|
||||
: props.reply
|
||||
? i18n.ts.reply
|
||||
: i18n.ts.note;
|
||||
? i18n.ts.toReply
|
||||
: i18n.ts.toPost;
|
||||
});
|
||||
|
||||
const textLength = computed((): number => {
|
||||
|
|
|
@ -136,7 +136,7 @@ const headerActions = computed(() => [
|
|||
? [
|
||||
{
|
||||
icon: `${icon("ph-gear-six")}`,
|
||||
text: i18n.ts.edit,
|
||||
text: i18n.ts.toEdit,
|
||||
handler: edit,
|
||||
},
|
||||
]
|
||||
|
|
|
@ -73,7 +73,7 @@ const headerActions = computed(() =>
|
|||
? [
|
||||
{
|
||||
icon: `${icon("ph-pencil")}`,
|
||||
text: i18n.ts.edit,
|
||||
text: i18n.ts.toEdit,
|
||||
handler: async (): Promise<void> => {
|
||||
const { canceled, result } = await os.form(
|
||||
clip.value.name,
|
||||
|
|
|
@ -159,7 +159,7 @@ definePageMetadata(
|
|||
computed(() =>
|
||||
props.postId
|
||||
? {
|
||||
title: i18n.ts.edit,
|
||||
title: i18n.ts.toEdit,
|
||||
icon: `${icon("ph-pencil")}`,
|
||||
}
|
||||
: {
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
v-if="
|
||||
isSignedIn && $i.id === post.user.id
|
||||
"
|
||||
v-tooltip="i18n.ts.edit"
|
||||
v-tooltip="i18n.ts.toEdit"
|
||||
v-click-anime
|
||||
class="_button"
|
||||
@click="edit"
|
||||
|
|
|
@ -445,7 +445,7 @@ export function getNoteMenu(props: {
|
|||
isAppearAuthor
|
||||
? {
|
||||
icon: `${icon("ph-pencil-line")}`,
|
||||
text: i18n.ts.edit,
|
||||
text: i18n.ts.toEdit,
|
||||
accent: true,
|
||||
action: edit,
|
||||
}
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
@click="os.post"
|
||||
>
|
||||
<i :class="icon('ph-pencil icon ph-fw')"></i
|
||||
><span class="text">{{ i18n.ts.note }}</span>
|
||||
><span class="text">{{ i18n.ts.toPost }}</span>
|
||||
</button>
|
||||
<button
|
||||
v-tooltip.noDelay.right="i18n.ts.help"
|
||||
|
|
|
@ -128,13 +128,13 @@
|
|||
</nav>
|
||||
<div class="bottom">
|
||||
<button
|
||||
v-tooltip.noDelay.right="i18n.ts.note"
|
||||
v-tooltip.noDelay.right="i18n.ts.toPost"
|
||||
class="item _button post"
|
||||
data-cy-open-post-form
|
||||
@click="os.post"
|
||||
>
|
||||
<i :class="icon('icon ph-pencil ph-fw ph-lg')"></i
|
||||
><span class="text">{{ i18n.ts.note }}</span>
|
||||
><span class="text">{{ i18n.ts.toPost }}</span>
|
||||
</button>
|
||||
<button
|
||||
v-tooltip.noDelay.right="i18n.ts.help"
|
||||
|
|
Loading…
Reference in a new issue