Trim whitespace from localized string ids

This commit is contained in:
Quincy Morgan
2021-02-15 11:09:26 -05:00
parent 6f66032237
commit d0754a9256
+1 -1
View File
@@ -240,7 +240,7 @@ export function coreLocalizer() {
* @return {string?} localized string
*/
localizer.tInfo = function(origStringId, replacements, locale) {
let stringId = origStringId;
let stringId = origStringId.trim();
let scopeId = 'general';