From f19d687f01c6538ef523122695523c96d515fde7 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Tue, 13 Dec 2022 13:30:07 +0100 Subject: [PATCH] REFACTOR: Update Message Format strings to make them easier to read on Crowdin (#19443) @discourse-translator-bot keep_translations_and_approvals --- config/locales/client.en.yml | 173 +++++++++++++++-------------------- 1 file changed, 73 insertions(+), 100 deletions(-) diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 19db84a7723..1139ac2723a 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -1303,25 +1303,25 @@ en: true { { UNREAD, plural, =0 {} - one { There is # unread } - other { There are # unread } + one {There is # unread} + other {There are # unread} } { NEW, plural, =0 {} - one { and # new message remaining, or browse other messages in {groupLink} } - other { and # new messages remaining, or browse other messages in {groupLink} } + one { and # new message remaining, or browse other messages in {groupLink}} + other { and # new messages remaining, or browse other messages in {groupLink}} } } false { { UNREAD, plural, =0 {} - one { There is # unread message remaining, or browse other messages in {groupLink} } - other { There are # unread messages remaining, or browse other messages in {groupLink} } + one {There is # unread message remaining, or browse other messages in {groupLink}} + other {There are # unread messages remaining, or browse other messages in {groupLink}} } { NEW, plural, =0 {} - one { There is # new message remaining, or browse other messages in {groupLink} } - other { There are # new messages remaining, or browse other messages in {groupLink} } + one {There is # new message remaining, or browse other messages in {groupLink}} + other {There are # new messages remaining, or browse other messages in {groupLink}} } } other {} @@ -1334,29 +1334,29 @@ en: read_more_personal_pm_MF: | { HAS_UNREAD_AND_NEW, select, true { - { UNREAD, plural, - =0 {} - one { There is # unread } - other { There are # unread } + { UNREAD, plural, + =0 {} + one {There is # unread} + other {There are # unread} + } + { NEW, plural, + =0 {} + one { and # new message remaining, or browse other personal messages} + other { and # new messages remaining, or browse other personal messages} + } } - { NEW, plural, - =0 {} - one { and # new message remaining, or browse other personal messages } - other { and # new messages remaining, or browse other personal messages } - } - } false { - { UNREAD, plural, - =0 {} - one { There is # unread message remaining, or browse other personal messages } - other { There are # unread messages remaining, or browse other personal messages } + { UNREAD, plural, + =0 {} + one {There is # unread message remaining, or browse other personal messages} + other {There are # unread messages remaining, or browse other personal messages} + } + { NEW, plural, + =0 {} + one {There is # new message remaining, or browse other personal messages} + other {There are # new messages remaining, or browse other personal messages} + } } - { NEW, plural, - =0 {} - one { There is # new message remaining, or browse other personal messages } - other { There are # new messages remaining, or browse other personal messages } - } - } other {} } @@ -1930,97 +1930,78 @@ en: enabled: "This site is in staff only mode. Please continue to browse, but replying, likes, and other actions are limited to staff members only." # This string uses the ICU Message Format. See https://meta.discourse.org/t/7035 for translation guidelines. - too_few_topics_and_posts_notice_MF: >- - Let's start the discussion! - There - { currentTopics, plural, + too_few_topics_and_posts_notice_MF: | + Let's start the discussion! There { currentTopics, plural, one {is # topic} other {are # topics} - } and - { currentPosts, plural, + } and { currentPosts, plural, one {# post} other {# posts} - }. Visitors need more to read and reply to – we recommend at least - { requiredTopics, plural, + }. Visitors need more to read and reply to – we recommend at least { requiredTopics, plural, one {# topic} other {# topics} - } and - { requiredPosts, plural, + } and { requiredPosts, plural, one {# post} other {# posts} }. Only staff can see this message. # This string uses the ICU Message Format. See https://meta.discourse.org/t/7035 for translation guidelines. - too_few_topics_notice_MF: >- - Let's start the discussion! - There - { currentTopics, plural, + too_few_topics_notice_MF: | + Let's start the discussion! There { currentTopics, plural, one {is # topic} other {are # topics} - }. Visitors need more to read and reply to – we recommend at least - { requiredTopics, plural, + }. Visitors need more to read and reply to – we recommend at least { requiredTopics, plural, one {# topic} other {# topics} }. Only staff can see this message. # This string uses the ICU Message Format. See https://meta.discourse.org/t/7035 for translation guidelines. - too_few_posts_notice_MF: >- - Let's start the discussion! - There - { currentPosts, plural, + too_few_posts_notice_MF: | + Let's start the discussion! There { currentPosts, plural, one {is # post} other {are # posts} - }. Visitors need more to read and reply to – we recommend at least - { requiredPosts, plural, + }. Visitors need more to read and reply to – we recommend at least { requiredPosts, plural, one {# post} other {# posts} }. Only staff can see this message. logs_error_rate_notice: # This string uses the ICU Message Format. See https://meta.discourse.org/t/7035 for translation guidelines. - reached_hour_MF: >- - {relativeAge} - { rate, plural, + reached_hour_MF: | + {relativeAge}{ rate, plural, one {# error/hour} other {# errors/hour} - } reached site setting limit of - { limit, plural, + } reached site setting limit of {limit, plural, one {# error/hour} other {# errors/hour} }. # This string uses the ICU Message Format. See https://meta.discourse.org/t/7035 for translation guidelines. - reached_minute_MF: >- - {relativeAge} - { rate, plural, + reached_minute_MF: | + {relativeAge}{ rate, plural, one {# error/minute} other {# errors/minute} - } reached site setting limit of - { limit, plural, + } reached site setting limit of { limit, plural, one {# error/minute} other {# errors/minute} }. # This string uses the ICU Message Format. See https://meta.discourse.org/t/7035 for translation guidelines. - exceeded_hour_MF: >- - {relativeAge} - { rate, plural, + exceeded_hour_MF: | + {relativeAge}{ rate, plural, one {# error/hour} other {# errors/hour} - } exceeded site setting limit of - { limit, plural, + } exceeded site setting limit of { limit, plural, one {# error/hour} other {# errors/hour} }. # This string uses the ICU Message Format. See https://meta.discourse.org/t/7035 for translation guidelines. - exceeded_minute_MF: >- - {relativeAge} - { rate, plural, + exceeded_minute_MF: | + {relativeAge}{ rate, plural, one {# error/minute} other {# errors/minute} - } exceeded site setting limit of - { limit, plural, + } exceeded site setting limit of { limit, plural, one {# error/minute} other {# errors/minute} }. @@ -2055,13 +2036,11 @@ en: other: "There are %{count} replies." # This string uses the ICU Message Format. See https://meta.discourse.org/t/7035 for translation guidelines. - description_time_MF: >- - There - { replyCount, plural, + description_time_MF: | + There { replyCount, plural, one {is # reply} other {are # replies} - } with an estimated read time of - { readingTime, plural, + } with an estimated read time of { readingTime, plural, one {# minute} other {# minutes} }. @@ -2950,32 +2929,32 @@ en: true { { UNREAD, plural, =0 {} - one { There is # unread } - other { There are # unread } + one {There is # unread} + other {There are # unread} } { NEW, plural, =0 {} - one { and # new topic remaining, } - other { and # new topics remaining, } + one { and # new topic remaining,} + other { and # new topics remaining,} } } false { { UNREAD, plural, =0 {} - one { There is # unread topic remaining, } - other { There are # unread topics remaining, } + one {There is # unread topic remaining,} + other {There are # unread topics remaining,} } { NEW, plural, =0 {} - one { There is # new topic remaining, } - other { There are # new topics remaining, } + one {There is # new topic remaining,} + other {There are # new topics remaining,} } } other {} } { HAS_CATEGORY, select, - true { or browse other topics in {categoryLink} } - false { or view latest topics } + true { or browse other topics in {categoryLink}} + false { or view latest topics} other {} } @@ -3798,13 +3777,11 @@ en: flag_for_review: "Queue For Review" # This string uses the ICU Message Format. See https://meta.discourse.org/t/7035 for translation guidelines. - delete_confirm_MF: >- - You are about to delete - { POSTS, plural, + delete_confirm_MF: | + You are about to delete { POSTS, plural, one {# post} other {# posts} - } and - { TOPICS, plural, + } and { TOPICS, plural, one {# topic} other {# topics} } from this user, remove their account, block signups from their IP address {ip_address}, and add their email address {email} to a permanent block list. Are you sure this user is really a spammer? @@ -3883,13 +3860,11 @@ en: label_with_count: "Pending (%{count})" # This string uses the ICU Message Format. See https://meta.discourse.org/t/7035 for translation guidelines. - posts_likes_MF: >- - This topic has - { count, plural, + posts_likes_MF: | + This topic has { count, plural, one {# reply} other {# replies} - } - { ratio, select, + } { ratio, select, low {with a high like to post ratio} med {with a very high like to post ratio} high {with an extremely high like to post ratio} @@ -5578,13 +5553,11 @@ en: description: "users with penalties cannot reach TL3" # This string uses the ICU Message Format. See https://meta.discourse.org/t/7035 for translation guidelines. - delete_all_posts_confirm_MF: >- - You are about to delete - { POSTS, plural, + delete_all_posts_confirm_MF: | + You are about to delete { POSTS, plural, one {# post} other {# posts} - } and - { TOPICS, plural, + } and { TOPICS, plural, one {# topic} other {# topics} }. Are you sure?