mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Join with empty string to mirror what l10n-dev does (#171125)
This should have been the case all along, but I missed it and probably thought not passing anything joins with empty string. fixes https://github.com/microsoft/vscode-l10n/issues/77
This commit is contained in:
parent
87d1de6a45
commit
6d40104789
|
@ -40,7 +40,7 @@ export class ExtHostLocalizationService implements ExtHostLocalizationShape {
|
|||
|
||||
let key = message;
|
||||
if (comment && comment.length > 0) {
|
||||
key += `/${Array.isArray(comment) ? comment.join() : comment}`;
|
||||
key += `/${Array.isArray(comment) ? comment.join('') : comment}`;
|
||||
}
|
||||
const str = this.bundleCache.get(extensionId)?.contents[key];
|
||||
if (!str) {
|
||||
|
|
Loading…
Reference in a new issue