Skip to content

Commit e049179

Browse files
mayaehGargron
authored andcommitted
Fix returned translations. (mastodon#10298)
Add Japanese translations for the admission-based registrations.
1 parent 5cc6def commit e049179

5 files changed

Lines changed: 33 additions & 31 deletions

File tree

app/javascript/mastodon/locales/defaultMessages.json

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,6 @@
131131
],
132132
"path": "app/javascript/mastodon/components/domain.json"
133133
},
134-
{
135-
"descriptors": [
136-
{
137-
"defaultMessage": "It crashed!",
138-
"id": "error_boundary.it_crashed"
139-
}
140-
],
141-
"path": "app/javascript/mastodon/components/error_boundary.json"
142-
},
143134
{
144135
"descriptors": [
145136
{
@@ -1870,6 +1861,10 @@
18701861
{
18711862
"defaultMessage": "Boosts:",
18721863
"id": "notifications.column_settings.reblog"
1864+
},
1865+
{
1866+
"defaultMessage": "Poll results:",
1867+
"id": "notifications.column_settings.poll"
18731868
}
18741869
],
18751870
"path": "app/javascript/mastodon/features/notifications/components/column_settings.json"
@@ -1888,6 +1883,10 @@
18881883
"defaultMessage": "Boosts",
18891884
"id": "notifications.filter.boosts"
18901885
},
1886+
{
1887+
"defaultMessage": "Poll results",
1888+
"id": "notifications.filter.polls"
1889+
},
18911890
{
18921891
"defaultMessage": "Follows",
18931892
"id": "notifications.filter.follows"
@@ -1912,6 +1911,10 @@
19121911
{
19131912
"defaultMessage": "{name} boosted your status",
19141913
"id": "notification.reblog"
1914+
},
1915+
{
1916+
"defaultMessage": "A poll you have voted in has ended",
1917+
"id": "notification.poll"
19151918
}
19161919
],
19171920
"path": "app/javascript/mastodon/features/notifications/components/notification.json"
@@ -1973,24 +1976,6 @@
19731976
],
19741977
"path": "app/javascript/mastodon/features/reblogs/index.json"
19751978
},
1976-
{
1977-
"descriptors": [
1978-
{
1979-
"defaultMessage": "A look inside...",
1980-
"id": "standalone.public_title"
1981-
}
1982-
],
1983-
"path": "app/javascript/mastodon/features/standalone/community_timeline/index.json"
1984-
},
1985-
{
1986-
"descriptors": [
1987-
{
1988-
"defaultMessage": "A look inside...",
1989-
"id": "standalone.public_title"
1990-
}
1991-
],
1992-
"path": "app/javascript/mastodon/features/standalone/public_timeline/index.json"
1993-
},
19941979
{
19951980
"descriptors": [
19961981
{

app/javascript/mastodon/locales/en.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@
133133
"empty_column.mutes": "You haven't muted any users yet.",
134134
"empty_column.notifications": "You don't have any notifications yet. Interact with others to start the conversation.",
135135
"empty_column.public": "There is nothing here! Write something publicly, or manually follow users from other servers to fill it up",
136-
"error_boundary.it_crashed": "It crashed!",
137136
"follow_request.authorize": "Authorize",
138137
"follow_request.reject": "Reject",
139138
"getting_started.developers": "Developers",
@@ -248,6 +247,7 @@
248247
"notification.favourite": "{name} favourited your status",
249248
"notification.follow": "{name} followed you",
250249
"notification.mention": "{name} mentioned you",
250+
"notification.poll": "A poll you have voted in has ended",
251251
"notification.reblog": "{name} boosted your status",
252252
"notifications.clear": "Clear notifications",
253253
"notifications.clear_confirmation": "Are you sure you want to permanently clear all your notifications?",
@@ -258,6 +258,7 @@
258258
"notifications.column_settings.filter_bar.show": "Show",
259259
"notifications.column_settings.follow": "New followers:",
260260
"notifications.column_settings.mention": "Mentions:",
261+
"notifications.column_settings.poll": "Poll results:",
261262
"notifications.column_settings.push": "Push notifications",
262263
"notifications.column_settings.reblog": "Boosts:",
263264
"notifications.column_settings.show": "Show in column",
@@ -267,6 +268,7 @@
267268
"notifications.filter.favourites": "Favourites",
268269
"notifications.filter.follows": "Follows",
269270
"notifications.filter.mentions": "Mentions",
271+
"notifications.filter.polls": "Poll results",
270272
"notifications.group": "{count} notifications",
271273
"poll.closed": "Closed",
272274
"poll.refresh": "Refresh",
@@ -308,7 +310,6 @@
308310
"search_results.hashtags": "Hashtags",
309311
"search_results.statuses": "Toots",
310312
"search_results.total": "{count, number} {count, plural, one {result} other {results}}",
311-
"standalone.public_title": "A look inside...",
312313
"status.admin_account": "Open moderation interface for @{name}",
313314
"status.admin_status": "Open this status in the moderation interface",
314315
"status.block": "Block @{name}",

app/javascript/mastodon/locales/ja.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@
133133
"empty_column.mutes": "まだ誰もミュートしていません。",
134134
"empty_column.notifications": "まだ通知がありません。他の人とふれ合って会話を始めましょう。",
135135
"empty_column.public": "ここにはまだ何もありません! 公開で何かを投稿したり、他のサーバーのユーザーをフォローしたりしていっぱいにしましょう",
136-
"error_boundary.it_crashed": "It crashed!",
137136
"follow_request.authorize": "許可",
138137
"follow_request.reject": "拒否",
139138
"getting_started.developers": "開発",
@@ -308,7 +307,6 @@
308307
"search_results.hashtags": "ハッシュタグ",
309308
"search_results.statuses": "トゥート",
310309
"search_results.total": "{count, number}件の結果",
311-
"standalone.public_title": "A look inside...",
312310
"status.admin_account": "@{name} のモデレーション画面を開く",
313311
"status.admin_status": "このトゥートをモデレーション画面で開く",
314312
"status.block": "@{name}さんをブロック",

config/locales/devise.ja.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ ja:
1212
last_attempt: あと1回失敗するとアカウントがロックされます。
1313
locked: アカウントはロックされました。
1414
not_found_in_database: "%{authentication_keys}かパスワードが誤っています。"
15+
pending: あなたのアカウントはまだ審査中です。
1516
timeout: セッションの有効期限が切れました。続行するには再度ログインしてください。
1617
unauthenticated: 続行するにはログインするか、アカウントを作成してください。
1718
unconfirmed: 続行するにはメールアドレスを確認する必要があります。
@@ -20,6 +21,7 @@ ja:
2021
action: メールアドレスの確認
2122
action_with_app: 確認し %{app} に戻る
2223
explanation: このメールアドレスで%{host}にアカウントを作成しました。有効にするまであと一歩です。もし心当たりがない場合、申し訳ありませんがこのメールを無視してください。
24+
explanation_when_pending: このメールアドレスで%{host}への招待を申請しました。メールアドレスを確認したら、サーバー管理者が申請を審査します。それまでログインできません。申請が却下された場合、あなたのデータは削除されますので以降の操作は必要ありません。もし心当たりがない場合、申し訳ありませんがこのメールを無視してください。
2325
extra_html: また <a href="%{terms_path}">サーバーのルール</a> と <a href="%{policy_path}">利用規約</a> もお読みください。
2426
subject: 'Mastodon: メールアドレスの確認 %{instance}'
2527
title: メールアドレスの確認
@@ -60,6 +62,7 @@ ja:
6062
signed_up: アカウントの作成が完了しました。Mastodonへようこそ。
6163
signed_up_but_inactive: アカウントの作成が完了しました。しかし、アカウントが有効化されていないためログインできませんでした。
6264
signed_up_but_locked: アカウントの作成が完了しました。しかし、アカウントがロックされているためログインできませんでした。
65+
signed_up_but_pending: メールアドレスの確認用のリンクが入力したメールアドレスに送信されました。リンクをクリックした後、あなたの申請を審査します。承認されると通知されます。
6366
signed_up_but_unconfirmed: メールアドレスの確認用のリンクが入力したメールアドレスに送信されました。メール内のリンクをクリックしてアカウントを有効化してください。
6467
update_needs_confirmation: アカウント情報の更新に成功しました。しかし、メールアドレスの確認が必要です。送信されたメール内のリンクをクリックしてメールアドレスを確認してください。
6568
updated: アカウント情報の更新に成功しました。

config/locales/ja.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ ja:
7979
delete: 削除
8080
destroyed_msg: モデレーションメモを削除しました!
8181
accounts:
82+
approve: 承認
8283
are_you_sure: 本当に実行しますか?
8384
avatar: アイコン
8485
by_domain: ドメイン
@@ -124,6 +125,7 @@ ja:
124125
moderation:
125126
active: アクティブ
126127
all: すべて
128+
pending: 保留中
127129
silenced: サイレンス済み
128130
suspended: 停止済み
129131
title: モデレーション
@@ -133,13 +135,15 @@ ja:
133135
no_limits_imposed: 制限なし
134136
not_subscribed: 購読していない
135137
outbox_url: Outbox URL
138+
pending: 審査待ち
136139
perform_full_suspension: 活動を完全に停止させる
137140
profile_url: プロフィールURL
138141
promote: 昇格
139142
protocol: プロトコル
140143
public: パブリック
141144
push_subscription_expires: PuSH購読期限
142145
redownload: プロフィールを更新
146+
reject: 却下
143147
remove_avatar: アイコンを削除
144148
remove_header: ヘッダーを削除
145149
resend_confirmation:
@@ -411,6 +415,12 @@ ja:
411415
min_invite_role:
412416
disabled: 誰も許可しない
413417
title: 招待の作成を許可
418+
registrations_mode:
419+
modes:
420+
approved: 登録には承認が必要
421+
none: 誰も許可しない
422+
open: 誰でも登録可
423+
title: 新規登録
414424
show_known_fediverse_at_about_page:
415425
desc_html: チェックを入れるとプレビュー欄に既知の連合先全てのトゥートを表示します。外すとローカルのトゥートだけ表示します。
416426
title: タイムラインプレビューに連合タイムラインを表示する
@@ -473,6 +483,9 @@ ja:
473483
edit_preset: プリセット警告文を編集
474484
title: プリセット警告文を管理
475485
admin_mailer:
486+
new_pending_account:
487+
body: 新しいアカウントの詳細は以下の通りです。この申請を承認または却下することができます。
488+
subject: "%{instance} で新しいアカウント (%{username}) が審査待ちです"
476489
new_report:
477490
body: "%{reporter} が %{target} を通報しました"
478491
body_remote: "%{domain} の誰かが %{target} を通報しました"
@@ -494,6 +507,7 @@ ja:
494507
your_token: アクセストークン
495508
auth:
496509
agreement_html: 登録するをクリックすると <a href="%{rules_path}">サーバーのルール</a> と <a href="%{terms_path}">プライバシーポリシー</a> に従うことに同意したことになります。
510+
apply_for_account: 登録を申請する
497511
change_password: パスワード
498512
checkbox_agreement_html: <a href="%{rules_path}" target="_blank">サーバーのルール</a> と <a href="%{terms_path}" target="_blank">プライバシーポリシー</a> に同意します
499513
confirm_email: メールアドレスの確認
@@ -612,6 +626,7 @@ ja:
612626
more: さらに…
613627
resources: リソース
614628
generic:
629+
all: すべて
615630
changes_saved_msg: 正常に変更されました!
616631
copy: コピー
617632
save_changes: 変更を保存

0 commit comments

Comments
 (0)