mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 17:25:21 +00:00
Added localize calling instead of manually assigning on addBuffer
This commit is contained in:
@@ -415,10 +415,7 @@ export default class PKPass extends Bundle {
|
||||
return;
|
||||
}
|
||||
|
||||
Object.assign(
|
||||
(this[localizationSymbol][lang] ??= {}),
|
||||
Object.fromEntries(parsedTranslations),
|
||||
);
|
||||
this.localize(lang, Object.fromEntries(parsedTranslations));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user