mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 14:25:17 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Object.assign(
|
this.localize(lang, Object.fromEntries(parsedTranslations));
|
||||||
(this[localizationSymbol][lang] ??= {}),
|
|
||||||
Object.fromEntries(parsedTranslations),
|
|
||||||
);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user