Skip to content

Commit

Permalink
add translation data
Browse files Browse the repository at this point in the history
  • Loading branch information
WNomunomu committed Sep 12, 2024
1 parent fea8389 commit 203ddb2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion apps/app/public/static/locales/en_US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@
"display_the_page_when_posting_this_comment": "Display the page when posting this comment",
"no_user_found": "No user found",
"reply": "Reply",
"delete_comment": "Delete comment?"
"delete_comment": "Delete comment?",
"comment_management_is_not_allowed": "Comment management is not allowed."
},
"page_api_error": {
"notfound_or_forbidden": "Original page is not found or forbidden.",
Expand Down
3 changes: 2 additions & 1 deletion apps/app/public/static/locales/fr_FR/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@
"display_the_page_when_posting_this_comment": "Afficher la page en postant le commentaire",
"no_user_found": "Aucun utilisateur trouvé",
"reply": "Répondre",
"delete_comment": "Supprimer?"
"delete_comment": "Supprimer?",
"comment_management_is_not_allowed": "La gestion des commentaires n'est pas autorisée."
},
"page_api_error": {
"notfound_or_forbidden": "Page originale introuvable ou accès restreint.",
Expand Down
3 changes: 2 additions & 1 deletion apps/app/public/static/locales/ja_JP/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@
"display_the_page_when_posting_this_comment": "投稿時のページを表示する",
"no_user_found": "ユーザー名が見つかりません",
"reply": "返信",
"delete_comment": "コメントを削除しますか?"
"delete_comment": "コメントを削除しますか?",
"comment_management_is_not_allowed": "コメントの操作が許可されていません。"
},
"page_api_error": {
"notfound_or_forbidden": "元のページが見つからないか、アクセス権がありません。",
Expand Down
3 changes: 2 additions & 1 deletion apps/app/public/static/locales/zh_CN/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@
"display_the_page_when_posting_this_comment": "Display the page when posting this comment",
"no_user_found": "未找到用户名",
"reply": "Reply",
"delete_comment": "Delete comment?"
"delete_comment": "Delete comment?",
"comment_management_is_not_allowed": "不允许操作评论。"
},
"page_api_error": {
"notfound_or_forbidden": "未找到或禁止原始页。",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const NotAvailableIfReadOnlyUserNotAllowedToComment: React.FC<{
const { data: isRomUserAllowedToComment } = useIsRomUserAllowedToComment();

const isDisabled = !!isReadOnlyUser && !isRomUserAllowedToComment;
const title = t('Not available for read only user if not allowed to comment');
const title = t('page_comment.comment_management_is_not_allowed');

return (
<NotAvailable
Expand Down

0 comments on commit 203ddb2

Please sign in to comment.