[CORL-487] Update Spanish translations for v5 (#2444)

* WIP add missing Spanish translations

* Add more stream translations

* More stream translations

* Add rest of translations for stream

* fix: accessing undefined message
This commit is contained in:
Kim Gardner
2019-08-07 02:58:59 +07:00
committed by Vinh
parent 1f07c23dea
commit c979dfd7d5
8 changed files with 1102 additions and 1 deletions
@@ -15,7 +15,7 @@ export default function getMessage<T extends {}>(
if (!args) {
return val || message;
}
return val || bundle.format(message, args);
return val || (message && bundle.format(message, args));
}, "");
if (res && Array.isArray(res)) {
return res.join("");