From c6f018091e10aa28bd93d6439aaa571e71f99bea Mon Sep 17 00:00:00 2001 From: mayaeh <mayaeh@marimo-net.org> Date: Wed, 13 Mar 2019 22:56:40 +0900 Subject: [PATCH] i18n: Add Japanese translations for new landing page (#10254) * yarn manage:translations && i18n-tasks add-missing * Update Japanese translations for new landing page. I don't change the tagline from English yet. I think that translating a tagline is difficult and requires time-consuming discussions. Some translations related about the poll are already done in Weblate, so I will leave it as it is. --- .../mastodon/locales/defaultMessages.json | 72 ++++++++++++++----- app/javascript/mastodon/locales/en.json | 11 ++- app/javascript/mastodon/locales/ja.json | 12 +++- config/locales/ja.yml | 29 ++++++++ 4 files changed, 104 insertions(+), 20 deletions(-) diff --git a/app/javascript/mastodon/locales/defaultMessages.json b/app/javascript/mastodon/locales/defaultMessages.json index 0afe3955b..c4f32891f 100644 --- a/app/javascript/mastodon/locales/defaultMessages.json +++ b/app/javascript/mastodon/locales/defaultMessages.json @@ -17,6 +17,10 @@ { "defaultMessage": "File upload limit exceeded.", "id": "upload_error.limit" + }, + { + "defaultMessage": "File upload not allowed with polls.", + "id": "upload_error.poll" } ], "path": "app/javascript/mastodon/actions/compose.json" @@ -907,6 +911,52 @@ ], "path": "app/javascript/mastodon/features/compose/components/navigation_bar.json" }, + { + "descriptors": [ + { + "defaultMessage": "Add a poll", + "id": "poll_button.add_poll" + }, + { + "defaultMessage": "Remove poll", + "id": "poll_button.remove_poll" + } + ], + "path": "app/javascript/mastodon/features/compose/components/poll_button.json" + }, + { + "descriptors": [ + { + "defaultMessage": "Choice {number}", + "id": "compose_form.poll.option_placeholder" + }, + { + "defaultMessage": "Add a choice", + "id": "compose_form.poll.add_option" + }, + { + "defaultMessage": "Remove this choice", + "id": "compose_form.poll.remove_option" + }, + { + "defaultMessage": "Poll duration", + "id": "compose_form.poll.duration" + }, + { + "defaultMessage": "{number, plural, one {# minute} other {# minutes}}", + "id": "intervals.full.minutes" + }, + { + "defaultMessage": "{number, plural, one {# hour} other {# hours}}", + "id": "intervals.full.hours" + }, + { + "defaultMessage": "{number, plural, one {# day} other {# days}}", + "id": "intervals.full.days" + } + ], + "path": "app/javascript/mastodon/features/compose/components/poll_form.json" + }, { "descriptors": [ { @@ -1853,6 +1903,10 @@ { "defaultMessage": "{name} boosted your status", "id": "notification.reblog" + }, + { + "defaultMessage": "Your poll has ended", + "id": "notification.poll" } ], "path": "app/javascript/mastodon/features/notifications/components/notification.json" @@ -1914,24 +1968,6 @@ ], "path": "app/javascript/mastodon/features/reblogs/index.json" }, - { - "descriptors": [ - { - "defaultMessage": "A look inside...", - "id": "standalone.public_title" - } - ], - "path": "app/javascript/mastodon/features/standalone/community_timeline/index.json" - }, - { - "descriptors": [ - { - "defaultMessage": "A look inside...", - "id": "standalone.public_title" - } - ], - "path": "app/javascript/mastodon/features/standalone/public_timeline/index.json" - }, { "descriptors": [ { diff --git a/app/javascript/mastodon/locales/en.json b/app/javascript/mastodon/locales/en.json index d20bc47bc..01a7faaba 100644 --- a/app/javascript/mastodon/locales/en.json +++ b/app/javascript/mastodon/locales/en.json @@ -73,6 +73,10 @@ "compose_form.lock_disclaimer": "Your account is not {locked}. Anyone can follow you to view your follower-only posts.", "compose_form.lock_disclaimer.lock": "locked", "compose_form.placeholder": "What's on your mind?", + "compose_form.poll.add_option": "Add a choice", + "compose_form.poll.duration": "Poll duration", + "compose_form.poll.option_placeholder": "Choice {number}", + "compose_form.poll.remove_option": "Remove this choice", "compose_form.publish": "Toot", "compose_form.publish_loud": "{publish}!", "compose_form.sensitive.marked": "Media is marked as sensitive", @@ -151,6 +155,9 @@ "home.column_settings.basic": "Basic", "home.column_settings.show_reblogs": "Show boosts", "home.column_settings.show_replies": "Show replies", + "intervals.full.days": "{number, plural, one {# day} other {# days}}", + "intervals.full.hours": "{number, plural, one {# hour} other {# hours}}", + "intervals.full.minutes": "{number, plural, one {# minute} other {# minutes}}", "introduction.federation.action": "Next", "introduction.federation.federated.headline": "Federated", "introduction.federation.federated.text": "Public posts from other servers of the fediverse will appear in the federated timeline.", @@ -265,6 +272,8 @@ "poll.refresh": "Refresh", "poll.total_votes": "{count, plural, one {# vote} other {# votes}}", "poll.vote": "Vote", + "poll_button.add_poll": "Add a poll", + "poll_button.remove_poll": "Remove poll", "privacy.change": "Adjust status privacy", "privacy.direct.long": "Post to mentioned users only", "privacy.direct.short": "Direct", @@ -299,7 +308,6 @@ "search_results.hashtags": "Hashtags", "search_results.statuses": "Toots", "search_results.total": "{count, number} {count, plural, one {result} other {results}}", - "standalone.public_title": "A look inside...", "status.admin_account": "Open moderation interface for @{name}", "status.admin_status": "Open this status in the moderation interface", "status.block": "Block @{name}", @@ -357,6 +365,7 @@ "upload_area.title": "Drag & drop to upload", "upload_button.label": "Add media (JPEG, PNG, GIF, WebM, MP4, MOV)", "upload_error.limit": "File upload limit exceeded.", + "upload_error.poll": "File upload not allowed with polls.", "upload_form.description": "Describe for the visually impaired", "upload_form.focus": "Change preview", "upload_form.undo": "Delete", diff --git a/app/javascript/mastodon/locales/ja.json b/app/javascript/mastodon/locales/ja.json index b7c38738c..adf93cae0 100644 --- a/app/javascript/mastodon/locales/ja.json +++ b/app/javascript/mastodon/locales/ja.json @@ -73,6 +73,10 @@ "compose_form.lock_disclaimer": "ã‚ãªãŸã®ã‚¢ã‚«ã‚¦ãƒ³ãƒˆã¯{locked}ã«ãªã£ã¦ã„ã¾ã›ã‚“。誰ã§ã‚‚ã‚ãªãŸã‚’フォãƒãƒ¼ã™ã‚‹ã“ã¨ãŒã§ãã€ãƒ•ã‚©ãƒãƒ¯ãƒ¼é™å®šã®æŠ•ç¨¿ã‚’見るã“ã¨ãŒã§ãã¾ã™ã€‚", "compose_form.lock_disclaimer.lock": "承èªåˆ¶", "compose_form.placeholder": "今ãªã«ã—ã¦ã‚‹ï¼Ÿ", + "compose_form.poll.add_option": "Add a choice", + "compose_form.poll.duration": "Poll duration", + "compose_form.poll.option_placeholder": "Choice {number}", + "compose_form.poll.remove_option": "Remove this choice", "compose_form.publish": "トゥート", "compose_form.publish_loud": "{publish}ï¼", "compose_form.sensitive.marked": "メディアã«é–²è¦§æ³¨æ„ãŒè¨å®šã•ã‚Œã¦ã„ã¾ã™", @@ -151,6 +155,9 @@ "home.column_settings.basic": "基本è¨å®š", "home.column_settings.show_reblogs": "ブースト表示", "home.column_settings.show_replies": "返信表示", + "intervals.full.days": "{number, plural, one {# day} other {# days}}", + "intervals.full.hours": "{number, plural, one {# hour} other {# hours}}", + "intervals.full.minutes": "{number, plural, one {# minute} other {# minutes}}", "introduction.federation.action": "次ã¸", "introduction.federation.federated.headline": "連åˆã‚¿ã‚¤ãƒ ライン", "introduction.federation.federated.text": "Fediverseã®ä»–ã®ã‚µãƒ¼ãƒãƒ¼ã‹ã‚‰ã®å…¬é–‹æŠ•ç¨¿ã¯é€£åˆã‚¿ã‚¤ãƒ ラインã«è¡¨ç¤ºã•ã‚Œã¾ã™ã€‚", @@ -240,6 +247,7 @@ "notification.favourite": "{name}ã•ã‚“ãŒã‚ãªãŸã®ãƒˆã‚¥ãƒ¼ãƒˆã‚’ãŠæ°—ã«å…¥ã‚Šã«ç™»éŒ²ã—ã¾ã—ãŸ", "notification.follow": "{name}ã•ã‚“ã«ãƒ•ã‚©ãƒãƒ¼ã•ã‚Œã¾ã—ãŸ", "notification.mention": "{name}ã•ã‚“ãŒã‚ãªãŸã«è¿”ä¿¡ã—ã¾ã—ãŸ", + "notification.poll": "Your poll has ended", "notification.reblog": "{name}ã•ã‚“ãŒã‚ãªãŸã®ãƒˆã‚¥ãƒ¼ãƒˆã‚’ブーストã—ã¾ã—ãŸ", "notifications.clear": "通知を消去", "notifications.clear_confirmation": "本当ã«é€šçŸ¥ã‚’消去ã—ã¾ã™ã‹ï¼Ÿ", @@ -264,6 +272,8 @@ "poll.refresh": "Refresh", "poll.total_votes": "{count, plural, one {# vote} other {# votes}}", "poll.vote": "Vote", + "poll_button.add_poll": "Add a poll", + "poll_button.remove_poll": "Remove poll", "privacy.change": "公開範囲を変更", "privacy.direct.long": "メンションã—ãŸãƒ¦ãƒ¼ã‚¶ãƒ¼ã ã‘ã«å…¬é–‹", "privacy.direct.short": "ダイレクト", @@ -298,7 +308,6 @@ "search_results.hashtags": "ãƒãƒƒã‚·ãƒ¥ã‚¿ã‚°", "search_results.statuses": "トゥート", "search_results.total": "{count, number}件ã®çµæžœ", - "standalone.public_title": "今ã“ã‚“ãªè©±ã‚’ã—ã¦ã„ã¾ã™...", "status.admin_account": "@{name} ã®ãƒ¢ãƒ‡ãƒ¬ãƒ¼ã‚·ãƒ§ãƒ³ç”»é¢ã‚’é–‹ã", "status.admin_status": "ã“ã®ãƒˆã‚¥ãƒ¼ãƒˆã‚’モデレーション画é¢ã§é–‹ã", "status.block": "@{name}ã•ã‚“をブãƒãƒƒã‚¯", @@ -356,6 +365,7 @@ "upload_area.title": "ドラッグ&ドãƒãƒƒãƒ—ã§ã‚¢ãƒƒãƒ—ãƒãƒ¼ãƒ‰", "upload_button.label": "ãƒ¡ãƒ‡ã‚£ã‚¢ã‚’è¿½åŠ (JPEG, PNG, GIF, WebM, MP4, MOV)", "upload_error.limit": "アップãƒãƒ¼ãƒ‰ã§ãる上é™ã‚’超ãˆã¦ã„ã¾ã™ã€‚", + "upload_error.poll": "File upload not allowed with polls.", "upload_form.description": "視覚障害者ã®ãŸã‚ã®èª¬æ˜Ž", "upload_form.focus": "焦点", "upload_form.undo": "削除", diff --git a/config/locales/ja.yml b/config/locales/ja.yml index 6d5574ba1..2bc665426 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -4,25 +4,36 @@ ja: about_hashtag_html: ãƒãƒƒã‚·ãƒ¥ã‚¿ã‚° <strong>#%{hashtag}</strong> ã®ä»˜ã„ãŸå…¬é–‹ãƒˆã‚¥ãƒ¼ãƒˆã§ã™ã€‚ã©ã“ã§ã‚‚ã„ã„ã®ã§ã€é€£åˆã«å‚åŠ ã—ã¦ã„ã‚‹SNS上ã«ã‚¢ã‚«ã‚¦ãƒ³ãƒˆã‚’作れã°ä¼šè©±ã«å‚åŠ ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ about_mastodon_html: Mastodon ã¯ã€ã‚ªãƒ¼ãƒ—ンãªã‚¦ã‚§ãƒ–プãƒãƒˆã‚³ãƒ«ã‚’採用ã—ãŸã€è‡ªç”±ã§ã‚ªãƒ¼ãƒ—ンソースãªã‚½ãƒ¼ã‚·ãƒ£ãƒ«ãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ã§ã™ã€‚é›»åメールã®ã‚ˆã†ãªåˆ†æ•£åž‹ã®ä»•çµ„ã¿ã‚’採ã£ã¦ã„ã¾ã™ã€‚ about_this: è©³ç´°æƒ…å ± + active_count_after: 人アクティブ + active_footnote: 月間アクティブユーザー数 (MAU) administered_by: '管ç†è€…:' api: API apps: アプリ + apps_platforms: iOSã‚„Androidã€ãã®ä»–プラットフォームã‹ã‚‰ä½¿ç”¨ã™ã‚‹ + browse_directory: ディレクトリã§é–¢å¿ƒã‚’軸ã«è¦‹ã¤ã‘ã‚‹ + browse_public_posts: Mastodonã®å…¬é–‹ãƒ©ã‚¤ãƒ–ストリームを見ã¦ã¿ã‚‹ contact: 連絡先 contact_missing: 未è¨å®š contact_unavailable: N/A + discover_users: ユーザーを見ã¤ã‘ã‚‹ documentation: ドã‚ュメント extended_description_html: | <h3>ルールを書ãã®ã«é©ã—ãŸå ´æ‰€</h3> <p>詳細説明ãŒè¨å®šã•ã‚Œã¦ã„ã¾ã›ã‚“。</p> + federation_hint_html: "%{instance} ã«ã‚¢ã‚«ã‚¦ãƒ³ãƒˆã‚’作れã°ã©ã“ã®Mastodonや互æ›æ€§ã®ã‚るサーãƒãƒ¼ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ã§ã‚‚フォãƒãƒ¼ã§ãã¾ã™ã€‚" generic_description: "%{domain} ã¯ã€Mastodon サーãƒãƒ¼ã®ä¸€ã¤ã§ã™" + get_apps: モãƒã‚¤ãƒ«ã‚¢ãƒ—リを試㙠hosted_on: Mastodon hosted on %{domain} learn_more: ã‚‚ã£ã¨è©³ã—ã privacy_policy: プライãƒã‚·ãƒ¼ãƒãƒªã‚·ãƒ¼ + see_whats_happening: 何ãŒèµ·ãã¦ã„ã‚‹ã®ã‹è¦‹ã¦ã¿ã‚‹ + server_stats: 'サーãƒãƒ¼çµ±è¨ˆ:' source_code: ソースコード status_count_after: one: トゥート other: トゥート status_count_before: トゥート数 + tagline: Follow friends and discover new ones terms: 利用è¦ç´„ user_count_after: one: 人 @@ -487,6 +498,7 @@ ja: auth: agreement_html: 登録ã™ã‚‹ã‚’クリックã™ã‚‹ã¨ <a href="%{rules_path}">サーãƒãƒ¼ã®ãƒ«ãƒ¼ãƒ«</a> 㨠<a href="%{terms_path}">プライãƒã‚·ãƒ¼ãƒãƒªã‚·ãƒ¼</a> ã«å¾“ã†ã“ã¨ã«åŒæ„ã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã€‚ change_password: パスワード + checkbox_agreement_html: <a href="%{rules_path}" target="_blank">サーãƒãƒ¼ã®ãƒ«ãƒ¼ãƒ«</a> 㨠<a href="%{terms_path}" target="_blank">プライãƒã‚·ãƒ¼ãƒãƒªã‚·ãƒ¼</a> ã«åŒæ„ã—ã¾ã™ confirm_email: メールアドレスã®ç¢ºèª delete_account: アカウントã®å‰Šé™¤ delete_account_html: アカウントを削除ã—ãŸã„å ´åˆã€<a href="%{path}">ã“ã¡ã‚‰</a> ã‹ã‚‰æ‰‹ç¶šããŒè¡Œãˆã¾ã™ã€‚削除ã™ã‚‹å‰ã«ã€ç¢ºèªç”»é¢ãŒã‚ã‚Šã¾ã™ã€‚ @@ -502,10 +514,12 @@ ja: cas: CAS saml: SAML register: 登録ã™ã‚‹ + registration_closed: "%{instance} ã¯ç¾åœ¨æ–°ã—ã„メンãƒãƒ¼ã‚’å—ã‘入れã¦ã„ã¾ã›ã‚“" resend_confirmation: 確èªãƒ¡ãƒ¼ãƒ«ã‚’å†é€ã™ã‚‹ reset_password: パスワードをå†ç™ºè¡Œ security: ã‚»ã‚ュリティ set_new_password: æ–°ã—ã„パスワード + trouble_logging_in: ãƒã‚°ã‚¤ãƒ³ã§ãã¾ã›ã‚“ã‹ï¼Ÿ authorize_follow: already_following: ã‚ãªãŸã¯æ—¢ã«ã“ã®ã‚¢ã‚«ã‚¦ãƒ³ãƒˆã‚’フォãƒãƒ¼ã—ã¦ã„ã¾ã™ error: 残念ãªãŒã‚‰ã€ãƒªãƒ¢ãƒ¼ãƒˆã‚¢ã‚«ã‚¦ãƒ³ãƒˆæƒ…å ±ã®å–å¾—ä¸ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—㟠@@ -720,6 +734,16 @@ ja: older: 以å‰ã®ãƒˆã‚¥ãƒ¼ãƒˆ prev: å‰ truncate: "…" + polls: + errors: + already_voted: You have already voted on this poll + duplicate_options: contain duplicate items + duration_too_long: is too far into the future + duration_too_short: is too soon + expired: The poll has already ended + over_character_limit: cannot be longer than %{max} characters each + too_few_options: must have more than one item + too_many_options: can't contain more than %{max} items preferences: languages: 言語 other: ãã®ä»– @@ -829,6 +853,11 @@ ja: ownership: 他人ã®ãƒˆã‚¥ãƒ¼ãƒˆã‚’固定ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“ private: éžå…¬é–‹ã®ãƒˆã‚¥ãƒ¼ãƒˆã‚’固定ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“ reblog: ブーストã•ã‚ŒãŸãƒˆã‚¥ãƒ¼ãƒˆã‚’固定ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“ + poll: + total_votes: + one: "%{count} vote" + other: "%{count} votes" + vote: Vote show_more: ã‚‚ã£ã¨è¦‹ã‚‹ sign_in_to_participate: ãƒã‚°ã‚¤ãƒ³ã—ã¦ä¼šè©±ã«å‚åŠ title: '%{name}: "%{quote}"' -- GitLab