Use correct string for translation, add ShowLess

Use the right string form for the string translation for the dynamic strings, add the `ShowLess` version.

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
Andres Ruiz
2020-06-03 23:28:26 -04:00
committed by GitHub
parent 0e74e89950
commit 68762d8012
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -978,10 +978,10 @@ define(['loading', 'appRouter', 'layoutManager', 'connectionManager', 'userSetti
if (clampTarget.classList.contains(clampClassName)) {
clampTarget.classList.remove(clampClassName);
expandButton.innerHTML = globalize.translate('Show Less');
expandButton.innerHTML = globalize.translate('ShowLess');
} else {
clampTarget.classList.add(clampClassName);
expandButton.innerHTML = globalize.translate('Show More');
expandButton.innerHTML = globalize.translate('ShowMore');
}
}
+1
View File
@@ -1373,6 +1373,7 @@
"Share": "Share",
"ShowAdvancedSettings": "Show advanced settings",
"ShowIndicatorsFor": "Show indicators for:",
"ShowLess": "Show less",
"ShowMore": "Show more",
"ShowTitle": "Show title",
"ShowYear": "Show year",