Fix i18n issues reported on Crowdin (#10925)

* Pluralize `discourse_narrative_bot.dice.not_enough_dice`
  The number of dice requires a pluralized string.
  Fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/278/en-ar#51346

* Always use "two-factor" instead of "second factor" or "two factor"
  Using different terms for the same thing is quite confusing.
  Fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-nl#40096

* Remove whitespace before ellipsis for consistency
  Fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-nl#53978

* Remove unused strings from locale file

* Correct grammar in `site_settings.review_media_unless_trust_level`
  Fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/248/en-nl#54018

* Correct grammar in `reviewables.reasons.contains_media`
  Fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/248/en-nl#54020

* Correct grammar in user notifications
  It also adds a link to the /about page in order to give the user a clue who the site admins are.
  This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/248/en-nl#54084

* Use "log in" instead of "login" when it's a verb
  This fixes multiple issues:
  * https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-nl#40940
  * https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/248/en-nl#47858
  * https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/248/en-nl#49458

* Replace "Github" with "GitHub"

* Remove "discourse.org" from title of 503 error page

* Replace weirdly formatted multi line string

* Pluralize `js.composer.group_mentioned_limit`
  This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#41158

* Remove unused string and pluralize `js.topic.feature_topic.confirm_pin_globally`
  This kinda fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#42114 as `js.topic.feature_topic.confirm_pin` wasn't used anymore.

* Pluralize `js.user.second_factor_backup.remaining_codes`
  This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#40054

* Pluralize `js.composer.error.tags_missing`
  This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#41184

* Pluralize `js.post.errors.too_many_dragged_and_dropped_files`
  This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#42408

* Remove unused `js.posts_long` and `js.likes_long`
  This fixes the following issues in an unexpected way:
  * https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#42974
  * https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#42994

* Pluralize `js.bootstrap_mode_enabled`
  This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#38726

* Remove unused `long_form` from `post_action_types`
  This more or less fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/248/en-ar#47158

* Pluralize `js.presence.replying` and `js.presence.replying`
  This fixes the following issues:
  * https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/282/en-ar#51588
  * https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/282/en-ar#51590

* Pluralize `js.user.second_factor_backup.manage`
  This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#40044

* Stop using concatenated strings for "Recently Used Devices"
  This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#40308

* Pluralize `js.category_row.topic_count`
  This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#41056

* Pluralize `js.select_kit.invalid_selection_length`
  This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#41072

* Pluralize `js.notifications.membership_request_consolidated`
  This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-ar#41416
This commit is contained in:
Gerhard Schlager 2020-10-16 15:24:58 +02:00 committed by GitHub
parent d5ef6188ed
commit 7adf71a203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 124 additions and 118 deletions

View File

@ -651,7 +651,9 @@ export default Component.extend({
// Limit the number of simultaneous uploads // Limit the number of simultaneous uploads
if (max > 0 && data.files.length > max) { if (max > 0 && data.files.length > max) {
bootbox.alert( bootbox.alert(
I18n.t("post.errors.too_many_dragged_and_dropped_files", { max }) I18n.t("post.errors.too_many_dragged_and_dropped_files", {
count: max,
})
); );
return false; return false;
} }

View File

@ -120,7 +120,7 @@ export default Component.extend({
notices.push( notices.push(
Notice.create({ Notice.create({
text: I18n.t("bootstrap_mode_enabled", { text: I18n.t("bootstrap_mode_enabled", {
min_users: this.siteSettings.bootstrap_mode_min_users, count: this.siteSettings.bootstrap_mode_min_users,
}), }),
id: "alert-bootstrap-mode", id: "alert-bootstrap-mode",
}) })

View File

@ -584,7 +584,7 @@ export default Controller.extend({
if (group.max_mentions < group.user_count) { if (group.max_mentions < group.user_count) {
body = I18n.t("composer.group_mentioned_limit", { body = I18n.t("composer.group_mentioned_limit", {
group: `@${group.name}`, group: `@${group.name}`,
max: group.max_mentions, count: group.max_mentions,
group_link: groupLink, group_link: groupLink,
}); });
} else if (group.user_count > 0) { } else if (group.user_count > 0) {

View File

@ -133,17 +133,20 @@ export default Controller.extend(ModalFunctionality, {
this.send("closeModal"); this.send("closeModal");
}, },
_confirmBeforePinning(count, name, action) { _confirmBeforePinningGlobally() {
const count = this.pinnedGloballyCount;
if (count < 4) { if (count < 4) {
this._forwardAction(action); this._forwardAction("pinGlobally");
} else { } else {
this.send("hideModal"); this.send("hideModal");
bootbox.confirm( bootbox.confirm(
I18n.t("topic.feature_topic.confirm_" + name, { count }), I18n.t("topic.feature_topic.confirm_pin_globally", { count }),
I18n.t("no_value"), I18n.t("no_value"),
I18n.t("yes_value"), I18n.t("yes_value"),
(confirmed) => (confirmed) =>
confirmed ? this._forwardAction(action) : this.send("reopenModal") confirmed
? this._forwardAction("pinGlobally")
: this.send("reopenModal")
); );
} }
}, },
@ -161,11 +164,7 @@ export default Controller.extend(ModalFunctionality, {
if (this.pinGloballyDisabled) { if (this.pinGloballyDisabled) {
this.set("pinGloballyTipShownAt", Date.now()); this.set("pinGloballyTipShownAt", Date.now());
} else { } else {
this._confirmBeforePinning( this._confirmBeforePinningGlobally();
this.pinnedGloballyCount,
"pin_globally",
"pinGlobally"
);
} }
}, },

View File

@ -73,7 +73,7 @@ export default Mixin.create({
if (maxFiles > 0 && data.files.length > maxFiles) { if (maxFiles > 0 && data.files.length > maxFiles) {
bootbox.alert( bootbox.alert(
I18n.t("post.errors.too_many_dragged_and_dropped_files", { I18n.t("post.errors.too_many_dragged_and_dropped_files", {
max: maxFiles, count: maxFiles,
}) })
); );
return false; return false;

View File

@ -221,14 +221,13 @@
showToken=(action "showToken")}} showToken=(action "showToken")}}
{{/unless}} {{/unless}}
<div class="auth-token-first"> <div class="auth-token-first">
<span class="auth-token-device">{{token.device}}</span> &ndash; <span title="{{i18n "user.auth_tokens.ip"}}: {{token.client_ip}}">{{token.location}}</span> {{html-safe (i18n "user.auth_tokens.device_location" device=token.device ip=token.client_ip location=token.location)}}
</div> </div>
<div class="auth-token-second"> <div class="auth-token-second">
{{token.browser}} |
{{#if token.is_active}} {{#if token.is_active}}
<span class="active">{{i18n "user.auth_tokens.active"}}</span> {{html-safe (i18n "user.auth_tokens.browser_active" browser=token.browser)}}
{{else}} {{else}}
{{format-date token.seen_at}} {{html-safe (i18n "user.auth_tokens.browser_last_seen" browser=token.browser date=(format-date token.seen_at))}}
{{/if}} {{/if}}
</div> </div>
</div> </div>

View File

@ -420,7 +420,6 @@ export default {
name: "Bookmark", name: "Bookmark",
description: "Bookmark this post", description: "Bookmark this post",
short_description: "Bookmark this post", short_description: "Bookmark this post",
long_form: "bookmarked this post",
is_flag: false, is_flag: false,
icon: null, icon: null,
id: 1, id: 1,
@ -431,7 +430,6 @@ export default {
name: "Like", name: "Like",
description: "Like this post", description: "Like this post",
short_description: "Like this post", short_description: "Like this post",
long_form: "liked this",
is_flag: false, is_flag: false,
icon: "heart", icon: "heart",
id: 2, id: 2,
@ -443,7 +441,6 @@ export default {
description: description:
"This post is radically off-topic in the current topic, and should probably be moved. If this is a topic, perhaps it does not belong here.", "This post is radically off-topic in the current topic, and should probably be moved. If this is a topic, perhaps it does not belong here.",
short_description: "Not relevant to the discussion", short_description: "Not relevant to the discussion",
long_form: "flagged this as off-topic",
is_flag: true, is_flag: true,
icon: null, icon: null,
id: 3, id: 3,
@ -456,7 +453,6 @@ export default {
'This post contains content that a reasonable person would consider offensive, abusive, or a violation of <a href="/guidelines">our community guidelines</a>.', 'This post contains content that a reasonable person would consider offensive, abusive, or a violation of <a href="/guidelines">our community guidelines</a>.',
short_description: short_description:
'A violation of <a href="/guidelines">our community guidelines</a>', 'A violation of <a href="/guidelines">our community guidelines</a>',
long_form: "flagged this as inappropriate",
is_flag: true, is_flag: true,
icon: null, icon: null,
id: 4, id: 4,
@ -467,7 +463,6 @@ export default {
name: "Vote", name: "Vote",
description: "Vote for this post", description: "Vote for this post",
short_description: "Vote for this post", short_description: "Vote for this post",
long_form: "voted for this post",
is_flag: false, is_flag: false,
icon: null, icon: null,
id: 5, id: 5,
@ -479,7 +474,6 @@ export default {
description: description:
"This post is an advertisement. It is not useful or relevant to the current topic, but promotional in nature.", "This post is an advertisement. It is not useful or relevant to the current topic, but promotional in nature.",
short_description: "This is an advertisement", short_description: "This is an advertisement",
long_form: "flagged this as spam",
is_flag: true, is_flag: true,
icon: null, icon: null,
id: 8, id: 8,
@ -492,7 +486,6 @@ export default {
"This post contains something I want to talk to this person directly and privately about. Does not cast a flag.", "This post contains something I want to talk to this person directly and privately about. Does not cast a flag.",
short_description: short_description:
"I want to talk to this person directly and privately about their post.", "I want to talk to this person directly and privately about their post.",
long_form: "notified user",
is_flag: true, is_flag: true,
icon: null, icon: null,
id: 6, id: 6,
@ -504,7 +497,6 @@ export default {
description: description:
'This post requires general moderator attention based on the <a href="/guidelines">guidelines</a>, <a href="/tos">TOS</a>, or for another reason not listed above.', 'This post requires general moderator attention based on the <a href="/guidelines">guidelines</a>, <a href="/tos">TOS</a>, or for another reason not listed above.',
short_description: "Requires staff attention for another reason", short_description: "Requires staff attention for another reason",
long_form: "notified moderators",
is_flag: true, is_flag: true,
icon: null, icon: null,
id: 7, id: 7,
@ -517,7 +509,6 @@ export default {
name: "Inappropriate", name: "Inappropriate",
description: description:
'This topic contains content that a reasonable person would consider offensive, abusive, or a violation of <a href="/guidelines">our community guidelines</a>.', 'This topic contains content that a reasonable person would consider offensive, abusive, or a violation of <a href="/guidelines">our community guidelines</a>.',
long_form: "flagged this as inappropriate",
is_flag: true, is_flag: true,
icon: null, icon: null,
id: 4, id: 4,
@ -528,7 +519,6 @@ export default {
name: "Spam", name: "Spam",
description: description:
"This topic is an advertisement. It is not useful or relevant to this site, but promotional in nature.", "This topic is an advertisement. It is not useful or relevant to this site, but promotional in nature.",
long_form: "flagged this as spam",
is_flag: true, is_flag: true,
icon: null, icon: null,
id: 8, id: 8,
@ -539,7 +529,6 @@ export default {
name: "Notify moderators", name: "Notify moderators",
description: description:
'This topic requires general moderator attention based on the <a href="/guidelines">guidelines</a>, <a href="/tos">TOS</a>, or for another reason not listed above.', 'This topic requires general moderator attention based on the <a href="/guidelines">guidelines</a>, <a href="/tos">TOS</a>, or for another reason not listed above.',
long_form: "notified moderators",
is_flag: true, is_flag: true,
icon: null, icon: null,
id: 7, id: 7,

View File

@ -8,7 +8,6 @@ class PostActionTypeSerializer < ApplicationSerializer
:name, :name,
:description, :description,
:short_description, :short_description,
:long_form,
:is_flag, :is_flag,
:is_custom_flag :is_custom_flag
) )
@ -27,10 +26,6 @@ class PostActionTypeSerializer < ApplicationSerializer
i18n('title') i18n('title')
end end
def long_form
i18n('long_form')
end
def description def description
i18n('description', tos_url: tos_path, base_path: Discourse.base_path) i18n('description', tos_url: tos_path, base_path: Discourse.base_path)
end end

View File

@ -178,7 +178,9 @@ en:
wizard_required: "Welcome to your new Discourse! Lets get started with <a href='%{url}' data-auto-route='true'>the setup wizard</a> ✨" wizard_required: "Welcome to your new Discourse! Lets get started with <a href='%{url}' data-auto-route='true'>the setup wizard</a> ✨"
emails_are_disabled: "All outgoing email has been globally disabled by an administrator. No email notifications of any kind will be sent." emails_are_disabled: "All outgoing email has been globally disabled by an administrator. No email notifications of any kind will be sent."
bootstrap_mode_enabled: "To make launching your new site easier, you are in bootstrap mode. All new users will be granted trust level 1 and have daily email summary emails enabled. This will be automatically turned off when %{min_users} users have joined." bootstrap_mode_enabled:
one: "To make launching your new site easier, you are in bootstrap mode. All new users will be granted trust level 1 and have daily email summary emails enabled. This will be automatically turned off when %{count} user has joined."
other: "To make launching your new site easier, you are in bootstrap mode. All new users will be granted trust level 1 and have daily email summary emails enabled. This will be automatically turned off when %{count} users have joined."
bootstrap_mode_disabled: "Bootstrap mode will be disabled within 24 hours." bootstrap_mode_disabled: "Bootstrap mode will be disabled within 24 hours."
themes: themes:
@ -963,7 +965,7 @@ en:
suspended_notice: "This user is suspended until %{date}." suspended_notice: "This user is suspended until %{date}."
suspended_permanently: "This user is suspended." suspended_permanently: "This user is suspended."
suspended_reason: "Reason: " suspended_reason: "Reason: "
github_profile: "Github" github_profile: "GitHub"
email_activity_summary: "Activity Summary" email_activity_summary: "Activity Summary"
mailing_list_mode: mailing_list_mode:
label: "Mailing list mode" label: "Mailing list mode"
@ -1067,26 +1069,30 @@ en:
choose: "Choose a password" choose: "Choose a password"
second_factor_backup: second_factor_backup:
title: "Two Factor Backup Codes" title: "Two-Factor Backup Codes"
regenerate: "Regenerate" regenerate: "Regenerate"
disable: "Disable" disable: "Disable"
enable: "Enable" enable: "Enable"
enable_long: "Enable backup codes" enable_long: "Enable backup codes"
manage: "Manage backup codes. You have <strong>%{count}</strong> backup codes remaining." manage:
one: "Manage backup codes. You have <strong>%{count}</strong> backup code remaining."
other: "Manage backup codes. You have <strong>%{count}</strong> backup codes remaining."
copy_to_clipboard: "Copy to Clipboard" copy_to_clipboard: "Copy to Clipboard"
copy_to_clipboard_error: "Error copying data to Clipboard" copy_to_clipboard_error: "Error copying data to Clipboard"
copied_to_clipboard: "Copied to Clipboard" copied_to_clipboard: "Copied to Clipboard"
download_backup_codes: "Download backup codes" download_backup_codes: "Download backup codes"
remaining_codes: "You have <strong>%{count}</strong> backup codes remaining." remaining_codes:
one: "You have <strong>%{count}</strong> backup code remaining."
other: "You have <strong>%{count}</strong> backup codes remaining."
use: "Use a backup code" use: "Use a backup code"
enable_prerequisites: "You must enable a primary second factor before generating backup codes." enable_prerequisites: "You must enable a primary two-factor method before generating backup codes."
codes: codes:
title: "Backup Codes Generated" title: "Backup Codes Generated"
description: "Each of these backup codes can only be used once. Keep them somewhere safe but accessible." description: "Each of these backup codes can only be used once. Keep them somewhere safe but accessible."
second_factor: second_factor:
title: "Two Factor Authentication" title: "Two-Factor Authentication"
enable: "Manage Two Factor Authentication" enable: "Manage Two-Factor Authentication"
disable_all: "Disable All" disable_all: "Disable All"
forgot_password: "Forgot password?" forgot_password: "Forgot password?"
confirm_password_description: "Please confirm your password to continue" confirm_password_description: "Please confirm your password to continue"
@ -1100,16 +1106,16 @@ en:
short_description: | short_description: |
Protect your account with one-time use security codes. Protect your account with one-time use security codes.
extended_description: | extended_description: |
Two factor authentication adds extra security to your account by requiring a one-time token in addition to your password. Tokens can be generated on <a href="https://www.google.com/search?q=authenticator+apps+for+android" target='_blank'>Android</a> and <a href="https://www.google.com/search?q=authenticator+apps+for+ios">iOS</a> devices. Two-factor authentication adds extra security to your account by requiring a one-time token in addition to your password. Tokens can be generated on <a href="https://www.google.com/search?q=authenticator+apps+for+android" target='_blank'>Android</a> and <a href="https://www.google.com/search?q=authenticator+apps+for+ios">iOS</a> devices.
oauth_enabled_warning: "Please note that social logins will be disabled once two factor authentication has been enabled on your account." oauth_enabled_warning: "Please note that social logins will be disabled once two-factor authentication has been enabled on your account."
use: "Use Authenticator app" use: "Use Authenticator app"
enforced_notice: "You are required to enable two factor authentication before accessing this site." enforced_notice: "You are required to enable two-factor authentication before accessing this site."
disable: "Disable" disable: "Disable"
disable_confirm: "Are you sure you want to disable all second factor methods?" disable_confirm: "Are you sure you want to disable all two-factor methods?"
save: "Save" save: "Save"
edit: "Edit" edit: "Edit"
edit_title: "Edit Second Factor" edit_title: "Edit Authenticator"
edit_description: "Second Factor Name" edit_description: "Authenticator Name"
enable_security_key_description: | enable_security_key_description: |
When you have your <a href="https://www.google.com/search?q=hardware+security+key" target="_blank">hardware security key</a> prepared, press the Register button below. When you have your <a href="https://www.google.com/search?q=hardware+security+key" target="_blank">hardware security key</a> prepared, press the Register button below.
totp: totp:
@ -1247,10 +1253,8 @@ en:
auth_tokens: auth_tokens:
title: "Recently Used Devices" title: "Recently Used Devices"
ip: "IP"
details: "Details" details: "Details"
log_out_all: "Log out all" log_out_all: "Log out all"
active: "active now"
not_you: "Not you?" not_you: "Not you?"
show_all: "Show all (%{count})" show_all: "Show all (%{count})"
show_few: "Show fewer" show_few: "Show fewer"
@ -1259,6 +1263,9 @@ en:
browser_and_device: "%{browser} on %{device}" browser_and_device: "%{browser} on %{device}"
secure_account: "Secure my Account" secure_account: "Secure my Account"
latest_post: "You last posted…" latest_post: "You last posted…"
device_location: '<span class="auth-token-device">%{device}</span> &ndash; <span title="IP: %{ip}">%{location}</span>'
browser_active: '%{browser} | <span class="active">active now</span>'
browser_last_seen: "%{browser} | %{date}"
last_posted: "Last Post" last_posted: "Last Post"
last_emailed: "Last Emailed" last_emailed: "Last Emailed"
@ -1642,10 +1649,10 @@ en:
title: "Log In" title: "Log In"
username: "User" username: "User"
password: "Password" password: "Password"
second_factor_title: "Two Factor Authentication" second_factor_title: "Two-Factor Authentication"
second_factor_description: "Please enter the authentication code from your app:" second_factor_description: "Please enter the authentication code from your app:"
second_factor_backup: "Log in using a backup code" second_factor_backup: "Log in using a backup code"
second_factor_backup_title: "Two Factor Backup" second_factor_backup_title: "Two-Factor Backup"
second_factor_backup_description: "Please enter one of your backup codes:" second_factor_backup_description: "Please enter one of your backup codes:"
second_factor: "Log in using Authenticator app" second_factor: "Log in using Authenticator app"
security_key_description: "When you have your physical security key prepared press the Authenticate with Security Key button below." security_key_description: "When you have your physical security key prepared press the Authenticate with Security Key button below."
@ -1672,7 +1679,7 @@ en:
not_allowed_from_ip_address: "You can't log in from that IP address." not_allowed_from_ip_address: "You can't log in from that IP address."
admin_not_allowed_from_ip_address: "You can't log in as admin from that IP address." admin_not_allowed_from_ip_address: "You can't log in as admin from that IP address."
resend_activation_email: "Click here to send the activation email again." resend_activation_email: "Click here to send the activation email again."
omniauth_disallow_totp: "Your account has two factor authentication enabled. Please log in with your password." omniauth_disallow_totp: "Your account has two-factor authentication enabled. Please log in with your password."
resend_title: "Resend Activation Email" resend_title: "Resend Activation Email"
change_email: "Change Email Address" change_email: "Change Email Address"
@ -1749,7 +1756,9 @@ en:
loading: Loading... loading: Loading...
category_row: category_row:
topic_count: "%{count} topics in this category" topic_count:
one: "%{count} topic in this category"
other: "%{count} topics in this category"
select_kit: select_kit:
default_header_text: Select... default_header_text: Select...
@ -1763,7 +1772,9 @@ en:
min_content_not_reached: min_content_not_reached:
one: "Select at least %{count} item." one: "Select at least %{count} item."
other: "Select at least %{count} items." other: "Select at least %{count} items."
invalid_selection_length: "Selection must be at least %{count} characters." invalid_selection_length:
one: "Selection must be at least %{count} character."
other: "Selection must be at least %{count} characters."
components: components:
categories_admin_dropdown: categories_admin_dropdown:
title: "Manage categories" title: "Manage categories"
@ -1819,7 +1830,9 @@ en:
drafts_offline: "drafts offline" drafts_offline: "drafts offline"
edit_conflict: "edit conflict" edit_conflict: "edit conflict"
group_mentioned_limit: "<b>Warning!</b> You mentioned <a href='%{group_link}'>%{group}</a>, however this group has more members than the administrator configured mention limit of %{max} users. Nobody will be notified." group_mentioned_limit:
one: "<b>Warning!</b> You mentioned <a href='%{group_link}'>%{group}</a>, however this group has more members than the administrator configured mention limit of %{count} user. Nobody will be notified."
other: "<b>Warning!</b> You mentioned <a href='%{group_link}'>%{group}</a>, however this group has more members than the administrator configured mention limit of %{count} users. Nobody will be notified."
group_mentioned: group_mentioned:
one: "By mentioning %{group}, you are about to notify <a href='%{group_link}'>%{count} person</a> are you sure?" one: "By mentioning %{group}, you are about to notify <a href='%{group_link}'>%{count} person</a> are you sure?"
other: "By mentioning %{group}, you are about to notify <a href='%{group_link}'>%{count} people</a> are you sure?" other: "By mentioning %{group}, you are about to notify <a href='%{group_link}'>%{count} people</a> are you sure?"
@ -1837,7 +1850,9 @@ en:
post_length: "Post must be at least %{min} characters" post_length: "Post must be at least %{min} characters"
try_like: "Have you tried the %{heart} button?" try_like: "Have you tried the %{heart} button?"
category_missing: "You must choose a category" category_missing: "You must choose a category"
tags_missing: "You must choose at least %{count} tags" tags_missing:
one: "You must choose at least %{count} tag"
other: "You must choose at least %{count} tags"
topic_template_not_modified: "Please add details and specifics to your topic by editing the topic template." topic_template_not_modified: "Please add details and specifics to your topic by editing the topic template."
save_edit: "Save Edit" save_edit: "Save Edit"
@ -1987,7 +2002,9 @@ en:
topic_reminder: "<span>%{username}</span> %{description}" topic_reminder: "<span>%{username}</span> %{description}"
watching_first_post: "<span>New Topic</span> %{description}" watching_first_post: "<span>New Topic</span> %{description}"
membership_request_accepted: "Membership accepted in '%{group_name}'" membership_request_accepted: "Membership accepted in '%{group_name}'"
membership_request_consolidated: "%{count} open membership requests for '%{group_name}'" membership_request_consolidated:
one: "%{count} open membership request for '%{group_name}'"
other: "%{count} open membership requests for '%{group_name}'"
reaction: "<span>%{username}</span> %{description}" reaction: "<span>%{username}</span> %{description}"
reaction_2: "<span>%{username}, %{username2}</span> %{description}" reaction_2: "<span>%{username}, %{username2}</span> %{description}"
votes_released: "%{description} - completed" votes_released: "%{description} - completed"
@ -2067,7 +2084,6 @@ en:
full_page_title: "search topics or posts" full_page_title: "search topics or posts"
no_results: "No results found." no_results: "No results found."
no_more_results: "No more results found." no_more_results: "No more results found."
searching: "Searching ..."
post_format: "#%{post_number} by %{username}" post_format: "#%{post_number} by %{username}"
results_page: "Search results for '%{term}'" results_page: "Search results for '%{term}'"
more_results: "There are more results. Please narrow your search criteria." more_results: "There are more results. Please narrow your search criteria."
@ -2076,7 +2092,6 @@ en:
or_search_google: "Or try searching with Google instead:" or_search_google: "Or try searching with Google instead:"
search_google: "Try searching with Google instead:" search_google: "Try searching with Google instead:"
search_google_button: "Google" search_google_button: "Google"
search_google_title: "Search this site"
context: context:
user: "Search posts by @%{username}" user: "Search posts by @%{username}"
@ -2479,7 +2494,6 @@ en:
feature_topic: feature_topic:
title: "Feature this topic" title: "Feature this topic"
pin: "Make this topic appear at the top of the %{categoryLink} category until" pin: "Make this topic appear at the top of the %{categoryLink} category until"
confirm_pin: "You already have %{count} pinned topics. Too many pinned topics may be a burden for new and anonymous users. Are you sure you want to pin another topic in this category?"
unpin: "Remove this topic from the top of the %{categoryLink} category." unpin: "Remove this topic from the top of the %{categoryLink} category."
unpin_until: "Remove this topic from the top of the %{categoryLink} category or wait until <strong>%{until}</strong>." unpin_until: "Remove this topic from the top of the %{categoryLink} category or wait until <strong>%{until}</strong>."
pin_note: "Users can unpin the topic individually for themselves." pin_note: "Users can unpin the topic individually for themselves."
@ -2489,7 +2503,9 @@ en:
one: "Topics currently pinned in %{categoryLink}: <strong class='badge badge-notification unread'>%{count}</strong>" one: "Topics currently pinned in %{categoryLink}: <strong class='badge badge-notification unread'>%{count}</strong>"
other: "Topics currently pinned in %{categoryLink}: <strong class='badge badge-notification unread'>%{count}</strong>" other: "Topics currently pinned in %{categoryLink}: <strong class='badge badge-notification unread'>%{count}</strong>"
pin_globally: "Make this topic appear at the top of all topic lists until" pin_globally: "Make this topic appear at the top of all topic lists until"
confirm_pin_globally: "You already have %{count} globally pinned topics. Too many pinned topics may be a burden for new and anonymous users. Are you sure you want to pin another topic globally?" confirm_pin_globally:
one: "You already have %{count} globally pinned topic. Too many pinned topics may be a burden for new and anonymous users. Are you sure you want to pin another topic globally?"
other: "You already have %{count} globally pinned topics. Too many pinned topics may be a burden for new and anonymous users. Are you sure you want to pin another topic globally?"
unpin_globally: "Remove this topic from the top of all topic lists." unpin_globally: "Remove this topic from the top of all topic lists."
unpin_globally_until: "Remove this topic from the top of all topic lists or wait until <strong>%{until}</strong>." unpin_globally_until: "Remove this topic from the top of all topic lists or wait until <strong>%{until}</strong>."
global_pin_note: "Users can unpin the topic individually for themselves." global_pin_note: "Users can unpin the topic individually for themselves."
@ -2703,7 +2719,9 @@ en:
upload: "Sorry, there was an error uploading that file. Please try again." upload: "Sorry, there was an error uploading that file. Please try again."
file_too_large: "Sorry, that file is too big (maximum size is %{max_size_kb}kb). Why not upload your large file to a cloud sharing service, then paste the link?" file_too_large: "Sorry, that file is too big (maximum size is %{max_size_kb}kb). Why not upload your large file to a cloud sharing service, then paste the link?"
too_many_uploads: "Sorry, you can only upload one file at a time." too_many_uploads: "Sorry, you can only upload one file at a time."
too_many_dragged_and_dropped_files: "Sorry, you can only upload %{max} files at a time." too_many_dragged_and_dropped_files:
one: "Sorry, you can only upload %{count} file at a time."
other: "Sorry, you can only upload %{count} files at a time."
upload_not_authorized: "Sorry, the file you are trying to upload is not authorized (authorized extensions: %{authorized_extensions})." upload_not_authorized: "Sorry, the file you are trying to upload is not authorized (authorized extensions: %{authorized_extensions})."
image_upload_not_allowed_for_new_user: "Sorry, new users can not upload images." image_upload_not_allowed_for_new_user: "Sorry, new users can not upload images."
attachment_upload_not_allowed_for_new_user: "Sorry, new users can not upload attachments." attachment_upload_not_allowed_for_new_user: "Sorry, new users can not upload attachments."
@ -3083,7 +3101,6 @@ en:
title: "This topic is a personal message" title: "This topic is a personal message"
help: "This topic is a personal message" help: "This topic is a personal message"
posts: "Posts" posts: "Posts"
posts_long: "there are %{number} posts in this topic"
# keys ending with _MF use message format, see https://meta.discourse.org/t/message-format-support-for-localization/7035 for details # keys ending with _MF use message format, see https://meta.discourse.org/t/message-format-support-for-localization/7035 for details
posts_likes_MF: | posts_likes_MF: |
@ -3106,7 +3123,6 @@ en:
likes_lowercase: likes_lowercase:
one: "like" one: "like"
other: "likes" other: "likes"
likes_long: "there are %{number} likes in this topic"
users: "Users" users: "Users"
users_lowercase: users_lowercase:
one: "user" one: "user"
@ -3191,7 +3207,7 @@ en:
today: "Today" today: "Today"
other_periods: "see top:" other_periods: "see top:"
browser_update: 'Unfortunately, <a href="https://www.discourse.org/faq/#browser">your browser is too old to work on this site</a>. Please <a href="https://browsehappy.com">upgrade your browser</a> to view rich content, login, and reply.' browser_update: 'Unfortunately, <a href="https://www.discourse.org/faq/#browser">your browser is too old to work on this site</a>. Please <a href="https://browsehappy.com">upgrade your browser</a> to view rich content, log in and reply.'
permission_types: permission_types:
full: "Create / Reply / See" full: "Create / Reply / See"
@ -4030,7 +4046,17 @@ en:
color_definitions: color_definitions:
text: "Color Definitions" text: "Color Definitions"
title: "Enter custom color definitions (advanced users only)" title: "Enter custom color definitions (advanced users only)"
placeholder: "\r\nUse this stylesheet to add custom colors to the list of CSS custom properties.\r\n\r\nExample: \r\n\r\n:root {\r\n --mytheme-tertiary-or-quaternary: #{dark-light-choose($tertiary, $quaternary)};\r\n}\r\n\r\nPrefixing the property names is highly recommended to avoid conflicts with plugins and/or core." placeholder: |2-
Use this stylesheet to add custom colors to the list of CSS custom properties.
Example:
:root {
--mytheme-tertiary-or-quaternary: #{dark-light-choose($tertiary, $quaternary)};
}
Prefixing the property names is highly recommended to avoid conflicts with plugins and/or core.
head_tag: head_tag:
text: "</head>" text: "</head>"
title: "HTML that will be inserted before the </head> tag" title: "HTML that will be inserted before the </head> tag"
@ -4280,7 +4306,7 @@ en:
post_edit: "post edit" post_edit: "post edit"
post_unlocked: "post unlocked" post_unlocked: "post unlocked"
check_personal_message: "check personal message" check_personal_message: "check personal message"
disabled_second_factor: "disable Two Factor Authentication" disabled_second_factor: "disable Two-Factor Authentication"
topic_published: "topic published" topic_published: "topic published"
post_approved: "post approved" post_approved: "post approved"
post_rejected: "post rejected" post_rejected: "post rejected"
@ -4515,7 +4541,7 @@ en:
private_topics_count: Private Topics private_topics_count: Private Topics
posts_read_count: Posts Read posts_read_count: Posts Read
post_count: Posts Created post_count: Posts Created
second_factor_enabled: Two Factor Authentication Enabled second_factor_enabled: Two-Factor Authentication Enabled
topics_entered: Topics Viewed topics_entered: Topics Viewed
flags_given_count: Flags Given flags_given_count: Flags Given
flags_received_count: Flags Received flags_received_count: Flags Received

View File

@ -212,7 +212,7 @@ en:
not_found_template: | not_found_template: |
<p>Your invite to <a href="%{base_url}">%{site_name}</a> has already been redeemed.</p> <p>Your invite to <a href="%{base_url}">%{site_name}</a> has already been redeemed.</p>
<p>If you remember your password you can <a href="%{base_url}/login">Login</a>.</p> <p>If you remember your password you can <a href="%{base_url}/login">Log In</a>.</p>
<p>Otherwise please <a href="%{base_url}/password-reset">Reset Password</a>.</p> <p>Otherwise please <a href="%{base_url}/password-reset">Reset Password</a>.</p>
error_message: "There was an error accepting invite. Please contact the site's administrator." error_message: "There was an error accepting invite. Please contact the site's administrator."
@ -888,43 +888,36 @@ en:
title: "Off-Topic" title: "Off-Topic"
description: "This post is not relevant to the current discussion as defined by the title and first post, and should probably be moved elsewhere." description: "This post is not relevant to the current discussion as defined by the title and first post, and should probably be moved elsewhere."
short_description: "Not relevant to the discussion" short_description: "Not relevant to the discussion"
long_form: "flagged this as off-topic"
spam: spam:
title: "Spam" title: "Spam"
description: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic." description: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
short_description: "This is an advertisement or vandalism" short_description: "This is an advertisement or vandalism"
long_form: "flagged this as spam"
email_title: '"%{title}" was flagged as spam' email_title: '"%{title}" was flagged as spam'
email_body: "%{link}\n\n%{message}" email_body: "%{link}\n\n%{message}"
inappropriate: inappropriate:
title: "Inappropriate" title: "Inappropriate"
description: 'This post contains content that a reasonable person would consider offensive, abusive, or a violation of <a href="%{base_path}/guidelines">our community guidelines</a>.' description: 'This post contains content that a reasonable person would consider offensive, abusive, or a violation of <a href="%{base_path}/guidelines">our community guidelines</a>.'
short_description: 'A violation of <a href="%{base_path}/guidelines">our community guidelines</a>' short_description: 'A violation of <a href="%{base_path}/guidelines">our community guidelines</a>'
long_form: "flagged this as inappropriate"
notify_user: notify_user:
title: "Send @%{username} a message" title: "Send @%{username} a message"
description: "I want to talk to this person directly and personally about their post." description: "I want to talk to this person directly and personally about their post."
short_description: "I want to talk to this person directly and personally about their post." short_description: "I want to talk to this person directly and personally about their post."
long_form: "messaged user"
email_title: 'Your post in "%{title}"' email_title: 'Your post in "%{title}"'
email_body: "%{link}\n\n%{message}" email_body: "%{link}\n\n%{message}"
notify_moderators: notify_moderators:
title: "Something Else" title: "Something Else"
description: "This post requires staff attention for another reason not listed above." description: "This post requires staff attention for another reason not listed above."
short_description: "Requires staff attention for another reason" short_description: "Requires staff attention for another reason"
long_form: "flagged this for staff attention"
email_title: 'A post in "%{title}" requires staff attention' email_title: 'A post in "%{title}" requires staff attention'
email_body: "%{link}\n\n%{message}" email_body: "%{link}\n\n%{message}"
bookmark: bookmark:
title: "Bookmark" title: "Bookmark"
description: "Bookmark this post" description: "Bookmark this post"
short_description: "Bookmark this post" short_description: "Bookmark this post"
long_form: "bookmarked this post"
like: like:
title: "Like" title: "Like"
description: "Like this post" description: "Like this post"
short_description: "Like this post" short_description: "Like this post"
long_form: "liked this"
draft: draft:
sequence_conflict_error: sequence_conflict_error:
@ -1503,7 +1496,7 @@ en:
email_custom_headers: "A pipe-delimited list of custom email headers" email_custom_headers: "A pipe-delimited list of custom email headers"
email_subject: "Customizable subject format for standard emails. See <a href='https://meta.discourse.org/t/customize-subject-format-for-standard-emails/20801' target='_blank'>https://meta.discourse.org/t/customize-subject-format-for-standard-emails/20801</a>" email_subject: "Customizable subject format for standard emails. See <a href='https://meta.discourse.org/t/customize-subject-format-for-standard-emails/20801' target='_blank'>https://meta.discourse.org/t/customize-subject-format-for-standard-emails/20801</a>"
detailed_404: "Provides more details to users about why they cant access a particular topic. Note: This is less secure because users will know if a URL links to a valid topic." detailed_404: "Provides more details to users about why they cant access a particular topic. Note: This is less secure because users will know if a URL links to a valid topic."
enforce_second_factor: "Forces users to enable second factor authentication. Select 'all' to enforce it to all users. Select 'staff' to enforce it to staff users only." enforce_second_factor: "Forces users to enable two-factor authentication. Select 'all' to enforce it to all users. Select 'staff' to enforce it to staff users only."
force_https: "Force your site to use HTTPS only. WARNING: do NOT enable this until you verify HTTPS is fully set up and working absolutely everywhere! Did you check your CDN, all social logins, and any external logos / dependencies to make sure they are all HTTPS compatible, too?" force_https: "Force your site to use HTTPS only. WARNING: do NOT enable this until you verify HTTPS is fully set up and working absolutely everywhere! Did you check your CDN, all social logins, and any external logos / dependencies to make sure they are all HTTPS compatible, too?"
same_site_cookies: "Use same site cookies, they eliminate all vectors Cross Site Request Forgery on supported browsers (Lax or Strict). Warning: Strict will only work on sites that force login and use SSO." same_site_cookies: "Use same site cookies, they eliminate all vectors Cross Site Request Forgery on supported browsers (Lax or Strict). Warning: Strict will only work on sites that force login and use SSO."
summary_score_threshold: "The minimum score required for a post to be included in 'Summarize This Topic'" summary_score_threshold: "The minimum score required for a post to be included in 'Summarize This Topic'"
@ -1672,9 +1665,9 @@ en:
facebook_app_id: "App id for Facebook authentication and sharing, registered at <a href='https://developers.facebook.com/apps/' target='_blank'>https://developers.facebook.com/apps</a>" facebook_app_id: "App id for Facebook authentication and sharing, registered at <a href='https://developers.facebook.com/apps/' target='_blank'>https://developers.facebook.com/apps</a>"
facebook_app_secret: "App secret for Facebook authentication, registered at <a href='https://developers.facebook.com/apps/' target='_blank'>https://developers.facebook.com/apps</a>" facebook_app_secret: "App secret for Facebook authentication, registered at <a href='https://developers.facebook.com/apps/' target='_blank'>https://developers.facebook.com/apps</a>"
enable_github_logins: "Enable Github authentication, requires github_client_id and github_client_secret. See <a href='https://meta.discourse.org/t/13745' target='_blank'>Configuring GitHub login for Discourse</a>." enable_github_logins: "Enable GitHub authentication, requires github_client_id and github_client_secret. See <a href='https://meta.discourse.org/t/13745' target='_blank'>Configuring GitHub login for Discourse</a>."
github_client_id: "Client id for Github authentication, registered at <a href='https://github.com/settings/developers/' target='_blank'>https://github.com/settings/developers</a>" github_client_id: "Client id for GitHub authentication, registered at <a href='https://github.com/settings/developers/' target='_blank'>https://github.com/settings/developers</a>"
github_client_secret: "Client secret for Github authentication, registered at <a href='https://github.com/settings/developers/' target='_blank'>https://github.com/settings/developers</a>" github_client_secret: "Client secret for GitHub authentication, registered at <a href='https://github.com/settings/developers/' target='_blank'>https://github.com/settings/developers</a>"
enable_discord_logins: "Allow users to authenticate using Discord?" enable_discord_logins: "Allow users to authenticate using Discord?"
discord_client_id: 'Discord Client ID (need one? visit <a href="https://discordapp.com/developers/applications/me">the Discord developer portal</a>)' discord_client_id: 'Discord Client ID (need one? visit <a href="https://discordapp.com/developers/applications/me">the Discord developer portal</a>)'
@ -2152,7 +2145,7 @@ en:
new_user_notice_tl: "Minimum trust level required to see new user post notices." new_user_notice_tl: "Minimum trust level required to see new user post notices."
returning_user_notice_tl: "Minimum trust level required to see returning user post notices." returning_user_notice_tl: "Minimum trust level required to see returning user post notices."
returning_users_days: "How many days should pass before a user is considered to be returning." returning_users_days: "How many days should pass before a user is considered to be returning."
review_media_unless_trust_level: "Staff will review posts of users with lower trust levels if it contains embedded media." review_media_unless_trust_level: "Staff will review posts of users with lower trust levels if they contain embedded media."
enable_page_publishing: "Allow staff members to publish topics to new URLs with their own styling." enable_page_publishing: "Allow staff members to publish topics to new URLs with their own styling."
show_published_pages_login_required: "Anonymous users can see published pages, even when login is required." show_published_pages_login_required: "Anonymous users can see published pages, even when login is required."
@ -2413,8 +2406,8 @@ en:
auto_deleted_by_timer: "Automatically deleted by timer." auto_deleted_by_timer: "Automatically deleted by timer."
login: login:
invalid_second_factor_method: "The selected second factor method is invalid." invalid_second_factor_method: "The selected two-factor method is invalid."
not_enabled_second_factor_method: "The selected second factor method is not enabled for your account." not_enabled_second_factor_method: "The selected two-factor method is not enabled for your account."
security_key_description: "When you have your physical security key prepared press the Authenticate with Security Key button below." security_key_description: "When you have your physical security key prepared press the Authenticate with Security Key button below."
security_key_alternative: "Try another way" security_key_alternative: "Try another way"
security_key_authenticate: "Authenticate with Security Key" security_key_authenticate: "Authenticate with Security Key"
@ -2455,10 +2448,10 @@ en:
auth_complete: "Authentication is complete." auth_complete: "Authentication is complete."
click_to_continue: "Click here to continue." click_to_continue: "Click here to continue."
already_logged_in: "Oops, looks like you are attempting to accept an invitation for another user. If you are not %{current_user}, please log out and try again." already_logged_in: "Oops, looks like you are attempting to accept an invitation for another user. If you are not %{current_user}, please log out and try again."
second_factor_title: "Two Factor Authentication" second_factor_title: "Two-Factor Authentication"
second_factor_description: "Please enter the required authentication code from your app:" second_factor_description: "Please enter the required authentication code from your app:"
second_factor_backup_description: "Please enter one of your backup codes:" second_factor_backup_description: "Please enter one of your backup codes:"
second_factor_backup_title: "Two Factor Backup Code" second_factor_backup_title: "Two-Factor Backup Code"
invalid_second_factor_code: "Invalid authentication code. Each code can only be used once." invalid_second_factor_code: "Invalid authentication code. Each code can only be used once."
invalid_security_key: "Invalid security key." invalid_security_key: "Invalid security key."
missing_second_factor_name: "Please provide a name." missing_second_factor_name: "Please provide a name."
@ -3603,12 +3596,12 @@ en:
If you have any questions, [contact our friendly staff](%{base_url}/about). If you have any questions, [contact our friendly staff](%{base_url}/about).
account_second_factor_disabled: account_second_factor_disabled:
title: "Two Factor Authentication disabled" title: "Two-Factor Authentication disabled"
subject_template: "[%{email_prefix}] Two Factor Authentication disabled" subject_template: "[%{email_prefix}] Two-Factor Authentication disabled"
text_body_template: | text_body_template: |
Two factor authentication has been disabled on your account at %{site_name}. You can now log in with only your password; an additional authentication code is no longer required. Two-factor authentication has been disabled on your account at %{site_name}. You can now log in with only your password; an additional authentication code is no longer required.
If you did not choose to disable two factor authentication, someone may have compromised your account. If you did not choose to disable two-factor authentication, someone may have compromised your account.
If you have any questions, [contact our friendly staff](%{base_url}/about). If you have any questions, [contact our friendly staff](%{base_url}/about).
@ -3715,7 +3708,7 @@ en:
%{base_url}/u/confirm-new-email/%{email_token} %{base_url}/u/confirm-new-email/%{email_token}
If you did not request this change, please contact %{site_name} admin. If you did not request this change, please contact a [site admin](%{base_url}/about).
confirm_new_email_via_admin: confirm_new_email_via_admin:
title: "Confirm New Email" title: "Confirm New Email"
@ -3725,7 +3718,7 @@ en:
%{base_url}/u/confirm-new-email/%{email_token} %{base_url}/u/confirm-new-email/%{email_token}
This email change was requested by a site admin. If you did not request this change, please contact %{site_name} admin. This email change was requested by a site admin. If you did not request this change, please contact a [site admin](%{base_url}/about).
confirm_old_email: confirm_old_email:
title: "Confirm Old Email" title: "Confirm Old Email"
@ -4842,7 +4835,7 @@ en:
email_auth_res_enqueue: "This email failed a DMARC check, it most likely isn't from whom it seems to be from. Check the raw email headers for more information." email_auth_res_enqueue: "This email failed a DMARC check, it most likely isn't from whom it seems to be from. Check the raw email headers for more information."
email_spam: "This email was flagged as spam by the header defined in `email_in_spam_header`." email_spam: "This email was flagged as spam by the header defined in `email_in_spam_header`."
suspect_user: "This new user entered profile information without reading any topics or posts, which strongly suggests they may be a spammer. See `approve_suspect_users`." suspect_user: "This new user entered profile information without reading any topics or posts, which strongly suggests they may be a spammer. See `approve_suspect_users`."
contains_media: "This posts includes embedded media. See `review_media_unless_trust_level`." contains_media: "This post includes embedded media. See `review_media_unless_trust_level`."
actions: actions:
agree: agree:

View File

@ -44,8 +44,9 @@ en:
trigger: "roll" trigger: "roll"
invalid: |- invalid: |-
Im sorry, it is mathematically impossible to roll that combination of dice. :confounded: Im sorry, it is mathematically impossible to roll that combination of dice. :confounded:
not_enough_dice: |- not_enough_dice:
I only have %{num_of_dice} dice. [Shameful](http://www.therobotsvoice.com/2009/04/the_10_most_shameful_rpg_dice.php), I know! one: "I only have %{count} die. [Shameful](https://www.toplessrobot.com/2009/04/the_10_most_shameful_rpg_dice.php), I know!"
other: "I only have %{count} dice. [Shameful](https://www.toplessrobot.com/2009/04/the_10_most_shameful_rpg_dice.php), I know!"
out_of_range: |- out_of_range: |-
Did you know that [the maximum number of sides](https://www.wired.com/2016/05/mathematical-challenge-of-designing-the-worlds-most-complex-120-sided-dice) for a mathematically fair die is 120? Did you know that [the maximum number of sides](https://www.wired.com/2016/05/mathematical-challenge-of-designing-the-worlds-most-complex-120-sided-dice) for a mathematically fair die is 120?
results: |- results: |-

View File

@ -13,9 +13,7 @@ module DiscourseNarrativeBot
output = +'' output = +''
if num_of_dice > MAXIMUM_NUM_OF_DICE if num_of_dice > MAXIMUM_NUM_OF_DICE
output << I18n.t('discourse_narrative_bot.dice.not_enough_dice', output << I18n.t('discourse_narrative_bot.dice.not_enough_dice', count: MAXIMUM_NUM_OF_DICE)
num_of_dice: MAXIMUM_NUM_OF_DICE
)
output << "\n\n" output << "\n\n"
num_of_dice = MAXIMUM_NUM_OF_DICE num_of_dice = MAXIMUM_NUM_OF_DICE
end end

View File

@ -382,7 +382,7 @@ describe DiscourseNarrativeBot::TrackSelector do
new_post = Post.last new_post = Post.last
expected_raw = <<~RAW expected_raw = <<~RAW
#{I18n.t('discourse_narrative_bot.dice.not_enough_dice', num_of_dice: DiscourseNarrativeBot::Dice::MAXIMUM_NUM_OF_DICE)} #{I18n.t('discourse_narrative_bot.dice.not_enough_dice', count: DiscourseNarrativeBot::Dice::MAXIMUM_NUM_OF_DICE)}
#{I18n.t('discourse_narrative_bot.dice.results', results: '1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1')} #{I18n.t('discourse_narrative_bot.dice.results', results: '1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1')}
RAW RAW

View File

@ -8,9 +8,9 @@
<span class="presence-text"> <span class="presence-text">
<span class="description"> <span class="description">
{{#if isReply ~}} {{#if isReply ~}}
{{i18n "presence.replying"}} {{i18n "presence.replying" count=presenceUsers.length}}
{{~else~}} {{~else~}}
{{i18n "presence.editing"}} {{i18n "presence.editing" count=presenceUsers.length}}
{{~/if}} {{~/if}}
</span>{{!-- (using comment to stop whitespace) </span>{{!-- (using comment to stop whitespace)
--}}</span>{{!-- --}}</span>{{!--

View File

@ -1,8 +1,12 @@
en: en:
js: js:
presence: presence:
replying: "replying" replying:
editing: "editing" one: "replying"
other: "replying"
editing:
one: "editing"
other: "editing"
replying_to_topic: replying_to_topic:
one: "replying" one: "replying"
other: "replying" other: "replying"

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Site Is Undergoing Maintenance - Discourse.org</title> <title>Site Is Undergoing Maintenance</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head> </head>
<body> <body>