locale: separate nouns and verbs (close #10862)

This commit is contained in:
naskya 2024-03-06 12:51:30 +09:00
parent 9b6a061022
commit 40293a73c0
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
12 changed files with 25 additions and 13 deletions

View file

@ -59,6 +59,7 @@ copyUsername: "Copy username"
searchUser: "Search for a user" searchUser: "Search for a user"
reply: "Reply" reply: "Reply"
replies: "Replies" replies: "Replies"
toReply: "Reply"
jumpToPrevious: "Jump to previous" jumpToPrevious: "Jump to previous"
loadMore: "Load more" loadMore: "Load more"
showMore: "Show 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" noLists: "You don't have any lists"
note: "Post" note: "Post"
notes: "Posts" notes: "Posts"
toPost: "Post"
following: "Following" following: "Following"
followers: "Followers" followers: "Followers"
followsYou: "Follows you" followsYou: "Follows you"
@ -121,6 +123,7 @@ cantRenote: "This post can't be boosted."
cantReRenote: "A boost can't be boosted." cantReRenote: "A boost can't be boosted."
quote: "Quote" quote: "Quote"
quotes: "Quotes" quotes: "Quotes"
toQuote: "Quote"
pinnedNote: "Pinned post" pinnedNote: "Pinned post"
pinned: "Pin to profile" pinned: "Pin to profile"
you: "You" you: "You"

View file

@ -53,6 +53,7 @@ copyUsername: "ユーザー名をコピー"
searchUser: "ユーザーを検索" searchUser: "ユーザーを検索"
reply: "返信" reply: "返信"
replies: "返信" replies: "返信"
toReply: "返信"
loadMore: "もっと読み込む" loadMore: "もっと読み込む"
showMore: "もっと見る" showMore: "もっと見る"
showLess: "閉じる" showLess: "閉じる"
@ -75,6 +76,7 @@ lists: "リスト"
noLists: "リストはありません" noLists: "リストはありません"
note: "投稿" note: "投稿"
notes: "投稿" notes: "投稿"
toPost: "投稿"
following: "フォロー" following: "フォロー"
followers: "フォロワー" followers: "フォロワー"
followsYou: "フォローされています" followsYou: "フォローされています"
@ -105,6 +107,7 @@ cantRenote: "この投稿はブーストできません。"
cantReRenote: "ブーストをブーストすることはできません。" cantReRenote: "ブーストをブーストすることはできません。"
quote: "引用" quote: "引用"
quotes: "引用" quotes: "引用"
toQuote: "引用"
pinnedNote: "ピン留めされた投稿" pinnedNote: "ピン留めされた投稿"
pinned: "ピン留め" pinned: "ピン留め"
you: "あなた" you: "あなた"

View file

@ -50,6 +50,7 @@ copyUsername: "复制用户名"
searchUser: "搜索用户" searchUser: "搜索用户"
reply: "回复" reply: "回复"
replies: "回复" replies: "回复"
toReply: "回复"
loadMore: "加载更多" loadMore: "加载更多"
showMore: "查看更多" showMore: "查看更多"
showLess: "关闭" showLess: "关闭"
@ -70,8 +71,9 @@ exportRequested: "导出请求已提交,这可能需要花一些时间,导
importRequested: "导入请求已提交,这可能需要花一点时间。" importRequested: "导入请求已提交,这可能需要花一点时间。"
lists: "列表" lists: "列表"
noLists: "列表为空" noLists: "列表为空"
note: "帖" note: ""
notes: "帖子" notes: "帖子"
toPost: "发帖"
following: "关注中" following: "关注中"
followers: "关注者" followers: "关注者"
followsYou: "关注了您" followsYou: "关注了您"
@ -103,6 +105,7 @@ cantRenote: "此帖子无法被转发。"
cantReRenote: "转发无法被再次转发。" cantReRenote: "转发无法被再次转发。"
quote: "引用" quote: "引用"
quotes: "引用" quotes: "引用"
toQuote: "引用"
pinnedNote: "已置顶的帖子" pinnedNote: "已置顶的帖子"
pinned: "置顶" pinned: "置顶"
you: "您" you: "您"

View file

@ -50,6 +50,7 @@ copyUsername: "複製使用者名稱"
searchUser: "搜尋使用者" searchUser: "搜尋使用者"
reply: "回覆" reply: "回覆"
replies: "回覆" replies: "回覆"
toReply: "回覆"
loadMore: "載入更多" loadMore: "載入更多"
showMore: "載入更多" showMore: "載入更多"
showLess: "關閉" showLess: "關閉"
@ -72,6 +73,7 @@ lists: "清單"
noLists: "你沒有任何清單" noLists: "你沒有任何清單"
note: "貼文" note: "貼文"
notes: "貼文" notes: "貼文"
toPost: "貼文"
following: "追隨中" following: "追隨中"
followers: "追隨者" followers: "追隨者"
followsYou: "追隨你的人" followsYou: "追隨你的人"
@ -103,6 +105,7 @@ cantRenote: "無法轉發此貼文。"
cantReRenote: "無法轉發之前已經轉發過的內容。" cantReRenote: "無法轉發之前已經轉發過的內容。"
quote: "引用" quote: "引用"
quotes: "引用" quotes: "引用"
toQuote: "引用"
pinnedNote: "已置頂的貼文" pinnedNote: "已置頂的貼文"
pinned: "置頂" pinned: "置頂"
you: "您" you: "您"

View file

@ -461,12 +461,12 @@ const placeholder = computed((): string => {
const submitText = computed((): string => { const submitText = computed((): string => {
return props.editId return props.editId
? i18n.ts.edit ? i18n.ts.toEdit
: props.renote : props.renote
? i18n.ts.quote ? i18n.ts.toQuote
: props.reply : props.reply
? i18n.ts.reply ? i18n.ts.toReply
: i18n.ts.note; : i18n.ts.toPost;
}); });
const textLength = computed((): number => { const textLength = computed((): number => {

View file

@ -136,7 +136,7 @@ const headerActions = computed(() => [
? [ ? [
{ {
icon: `${icon("ph-gear-six")}`, icon: `${icon("ph-gear-six")}`,
text: i18n.ts.edit, text: i18n.ts.toEdit,
handler: edit, handler: edit,
}, },
] ]

View file

@ -73,7 +73,7 @@ const headerActions = computed(() =>
? [ ? [
{ {
icon: `${icon("ph-pencil")}`, icon: `${icon("ph-pencil")}`,
text: i18n.ts.edit, text: i18n.ts.toEdit,
handler: async (): Promise<void> => { handler: async (): Promise<void> => {
const { canceled, result } = await os.form( const { canceled, result } = await os.form(
clip.value.name, clip.value.name,

View file

@ -159,7 +159,7 @@ definePageMetadata(
computed(() => computed(() =>
props.postId props.postId
? { ? {
title: i18n.ts.edit, title: i18n.ts.toEdit,
icon: `${icon("ph-pencil")}`, icon: `${icon("ph-pencil")}`,
} }
: { : {

View file

@ -61,7 +61,7 @@
v-if=" v-if="
isSignedIn && $i.id === post.user.id isSignedIn && $i.id === post.user.id
" "
v-tooltip="i18n.ts.edit" v-tooltip="i18n.ts.toEdit"
v-click-anime v-click-anime
class="_button" class="_button"
@click="edit" @click="edit"

View file

@ -445,7 +445,7 @@ export function getNoteMenu(props: {
isAppearAuthor isAppearAuthor
? { ? {
icon: `${icon("ph-pencil-line")}`, icon: `${icon("ph-pencil-line")}`,
text: i18n.ts.edit, text: i18n.ts.toEdit,
accent: true, accent: true,
action: edit, action: edit,
} }

View file

@ -120,7 +120,7 @@
@click="os.post" @click="os.post"
> >
<i :class="icon('ph-pencil icon ph-fw')"></i <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>
<button <button
v-tooltip.noDelay.right="i18n.ts.help" v-tooltip.noDelay.right="i18n.ts.help"

View file

@ -128,13 +128,13 @@
</nav> </nav>
<div class="bottom"> <div class="bottom">
<button <button
v-tooltip.noDelay.right="i18n.ts.note" v-tooltip.noDelay.right="i18n.ts.toPost"
class="item _button post" class="item _button post"
data-cy-open-post-form data-cy-open-post-form
@click="os.post" @click="os.post"
> >
<i :class="icon('icon ph-pencil ph-fw ph-lg')"></i <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>
<button <button
v-tooltip.noDelay.right="i18n.ts.help" v-tooltip.noDelay.right="i18n.ts.help"