@tilde-nlp/ngx-translate 9.0.24 → 9.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -106,3 +106,6 @@ defult value *en*
|
|
|
106
106
|
|
|
107
107
|
**support-email** - Set support email appearing in notifications.
|
|
108
108
|
defult value *support@tilde.com*
|
|
109
|
+
|
|
110
|
+
**filter-collections-by-language-direction** - Set this to true to display only the collections for the current language direction. By default, collections containing any language from the current language direction will be shown.
|
|
111
|
+
defult value *false*
|
|
@@ -5486,7 +5486,7 @@ class TldLangListComponent {
|
|
|
5486
5486
|
if (visibleLanguages.length < this.maxDisplayedLanguages) {
|
|
5487
5487
|
visibleLanguages.push(languageWithTranslation);
|
|
5488
5488
|
}
|
|
5489
|
-
if (this.maxDisplayedLanguages === 1 || visibleLanguages.length >= this.maxDisplayedLanguages) {
|
|
5489
|
+
else if (this.maxDisplayedLanguages === 1 || visibleLanguages.length >= this.maxDisplayedLanguages) {
|
|
5490
5490
|
menuLanguages.push(languageWithTranslation);
|
|
5491
5491
|
}
|
|
5492
5492
|
}
|