mirror of
https://github.com/wassname/talk.git
synced 2026-08-09 12:30:42 +08:00
[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:
@@ -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("");
|
||||
|
||||
Reference in New Issue
Block a user