FIX: remove extra periods (#6998)
Periods are belong in the translation files not in our templates, if we have them in the templates sentences can not be localized properly.
This commit is contained in:
parent
47fe34d794
commit
467cfc9e08
|
@ -80,10 +80,10 @@
|
||||||
{{#if latest}}
|
{{#if latest}}
|
||||||
{{#if canCreateTopicOnCategory}}<a href {{action "createTopic"}}>{{i18n 'topic.suggest_create_topic'}}</a>{{/if}}
|
{{#if canCreateTopicOnCategory}}<a href {{action "createTopic"}}>{{i18n 'topic.suggest_create_topic'}}</a>{{/if}}
|
||||||
{{else if top}}
|
{{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'}}.
|
{{#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")}}
|
{{top-period-buttons period=period action=(action "changePeriod")}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#link-to "discovery.categories"}} {{i18n 'topic.browse_all_categories'}}{{/link-to}} {{i18n 'or'}} {{#link-to 'discovery.latest'}}{{i18n 'topic.view_latest_topics'}}{{/link-to}}.
|
{{#link-to "discovery.categories"}} {{i18n 'topic.browse_all_categories'}}{{/link-to}} {{i18n 'or'}} {{#link-to 'discovery.latest'}}{{i18n 'topic.view_latest_topics'}}{{/link-to}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/footer-message}}
|
{{/footer-message}}
|
||||||
|
|
||||||
|
|
|
@ -40,12 +40,12 @@
|
||||||
|
|
||||||
{{#footer-message education=footerEducation message=footerMessage}}
|
{{#footer-message education=footerEducation message=footerMessage}}
|
||||||
{{#if latest}}
|
{{#if latest}}
|
||||||
{{#if canCreateTopicOnCategory}}<a href {{action "createTopic"}}>{{i18n 'topic.suggest_create_topic'}}</a>.{{/if}}
|
{{#if canCreateTopicOnCategory}}<a href {{action "createTopic"}}>{{i18n 'topic.suggest_create_topic'}}</a>{{/if}}
|
||||||
{{else if top}}
|
{{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'}}.
|
{{#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")}}
|
{{top-period-buttons period=period action=(action "changePeriod")}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#link-to "discovery.categories"}} {{i18n 'topic.browse_all_categories'}}{{/link-to}} {{i18n 'or'}} {{#link-to 'discovery.latest'}}{{i18n 'topic.view_latest_topics'}}{{/link-to}}.
|
{{#link-to "discovery.categories"}} {{i18n 'topic.browse_all_categories'}}{{/link-to}} {{i18n 'or'}} {{#link-to 'discovery.latest'}}{{i18n 'topic.view_latest_topics'}}{{/link-to}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/footer-message}}
|
{{/footer-message}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -56,7 +56,6 @@ createWidget("small-user-list", {
|
||||||
let buffer = [icons];
|
let buffer = [icons];
|
||||||
if (description) {
|
if (description) {
|
||||||
buffer.push(description);
|
buffer.push(description);
|
||||||
buffer.push(".");
|
|
||||||
}
|
}
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue