mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 12:08:12 -05:00
Fix i18n issues reported on Crowdin (#13191)
* Pluralize `js.topics.bulk.dismiss_new_with_selected` This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-fr#57320 * Pluralize `js.topics.bulk.dismiss_read_with_selected` This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-fr#57316 * Pluralize `js.topics.bulk.dismiss_button_with_selected` * Replaces concatenated string used by `js.topic.suggest_create_topic` This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-fr#41834 * Less confusing `admin_js.admin.watched_words.test.modal_title` This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-sv#44992 * Delete unused `backup.location.*` keys This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/248/en-fr#46330 * Replace "reviewable" with "reviewable items" This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/248/en-fr#56952 * Remove "ago" from `emails.incoming.missing_attachment` This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/248/en-sv#46038 * Remove "/Posts" from `js.keyboard_shortcuts_help.application.dismiss_new_posts` Because the shortcut doesn't do anything to posts anymore. This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/246/en-de#43180 * Pluralize `user.cannot_delete_has_posts` This fixes https://discourse.crowdin.com/translate/f3230e7607a36bb0a2f97fd90605a44e/248/en-he#57490
This commit is contained in:
@@ -114,7 +114,7 @@ export default Controller.extend(ModalFunctionality, {
|
||||
keysDelimiter: PLUS,
|
||||
}),
|
||||
help: buildShortcut("application.help", { keys1: ["?"] }),
|
||||
dismiss_new_posts: buildShortcut("application.dismiss_new_posts", {
|
||||
dismiss_new: buildShortcut("application.dismiss_new", {
|
||||
keys1: ["x", "r"],
|
||||
}),
|
||||
dismiss_topics: buildShortcut("application.dismiss_topics", {
|
||||
|
||||
@@ -77,8 +77,7 @@ model=model showResetNew=showResetNew showDismissRead=showDismissRead resetNew=(
|
||||
{{#footer-message education=footerEducation message=footerMessage}}
|
||||
{{#if latest}}
|
||||
{{#if canCreateTopicOnCategory}}
|
||||
{{i18n "topics.none.ready_to_create"}}
|
||||
<a href {{action "createTopic"}}>{{i18n "topic.suggest_create_topic"}}</a>
|
||||
{{discourse-linked-text action=(route-action "createTopic") text="topic.suggest_create_topic"}}
|
||||
{{/if}}
|
||||
{{else if top}}
|
||||
{{#link-to "discovery.categories"}}{{i18n "topic.browse_all_categories"}}{{/link-to}}, {{#link-to "discovery.latest"}}{{i18n "topic.view_latest_topics"}}{{/link-to}} {{i18n "or"}} {{i18n "filters.top.other_periods"}}
|
||||
|
||||
@@ -38,7 +38,9 @@ model=model showResetNew=showResetNew showDismissRead=showDismissRead resetNew=(
|
||||
|
||||
{{#footer-message education=footerEducation message=footerMessage}}
|
||||
{{#if latest}}
|
||||
{{#if canCreateTopicOnCategory}}<a href {{action "createTopic"}}>{{i18n "topic.suggest_create_topic"}}</a>{{/if}}
|
||||
{{#if canCreateTopicOnCategory}}
|
||||
{{discourse-linked-text action=(route-action "createTopic") text="topic.suggest_create_topic"}}
|
||||
{{/if}}
|
||||
{{else if top}}
|
||||
{{#link-to "discovery.categories"}}{{i18n "topic.browse_all_categories"}}{{/link-to}}, {{#link-to "discovery.latest"}}{{i18n "topic.view_latest_topics"}}{{/link-to}} {{i18n "or"}} {{i18n "filters.top.other_periods"}}
|
||||
{{top-period-buttons period=period action=(action "changePeriod")}}
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<li>{{html-safe shortcuts.application.show_incoming_updated_topics}}</li>
|
||||
<li>{{html-safe shortcuts.application.search}}</li>
|
||||
<li>{{html-safe shortcuts.application.help}}</li>
|
||||
<li>{{html-safe shortcuts.application.dismiss_new_posts}}</li>
|
||||
<li>{{html-safe shortcuts.application.dismiss_new}}</li>
|
||||
<li>{{html-safe shortcuts.application.dismiss_topics}}</li>
|
||||
<li>{{html-safe shortcuts.application.log_out}}</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user