Translate dynamic toggle messages

This commit is contained in:
Andres J Ruiz Torres 2020-06-02 23:15:15 -04:00
parent 000de9279b
commit 0e74e89950

View File

@ -978,10 +978,10 @@ define(['loading', 'appRouter', 'layoutManager', 'connectionManager', 'userSetti
if (clampTarget.classList.contains(clampClassName)) {
clampTarget.classList.remove(clampClassName);
expandButton.innerHTML = 'Show Less';
expandButton.innerHTML = globalize.translate('Show Less');
} else {
clampTarget.classList.add(clampClassName);
expandButton.innerHTML = 'Show More';
expandButton.innerHTML = globalize.translate('Show More');
}
}