Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Jun 2, 2024
1 parent 2c9944c commit 0c2ce87
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ export class Utils {
return Utils.addon.getDependencyHint(module);
}

public loadLocalization = (xml: string): void => {
public static loadLocalization = (xml: string): void => {
Utils.initialize();
return Utils.addon.loadLocalization(xml);
}
public setLanguage = (language: string): void => {
public static setLanguage = (language: string): void => {
Utils.initialize();
return Utils.addon.setLanguage(language);
}
public localizeString = (template: string, values: { [value: string]: string }): string => {
public static localizeString = (template: string, values: { [value: string]: string }): string => {
Utils.initialize();
return Utils.addon.localizeString(template, values);
}
Expand Down

0 comments on commit 0c2ce87

Please sign in to comment.