generated from dave/wails-template
Implement localization
This commit is contained in:
4
frontend/wailsjs/go/main/App.d.ts
vendored
4
frontend/wailsjs/go/main/App.d.ts
vendored
@@ -14,10 +14,14 @@ export function GetAddons():Promise<main.AddonsResponse>;
|
||||
|
||||
export function GetGamePath():Promise<main.StringResponse>;
|
||||
|
||||
export function GetLocale():Promise<string>;
|
||||
|
||||
export function IsGamePathValid():Promise<main.BoolResponse>;
|
||||
|
||||
export function SelectDirectory():Promise<main.StringResponse>;
|
||||
|
||||
export function SetGamePath(arg1:string):Promise<main.StringResponse>;
|
||||
|
||||
export function SetLocale(arg1:string):Promise<void>;
|
||||
|
||||
export function UpdateAddon(arg1:string):Promise<main.BoolResponse>;
|
||||
|
||||
@@ -26,6 +26,10 @@ export function GetGamePath() {
|
||||
return window['go']['main']['App']['GetGamePath']();
|
||||
}
|
||||
|
||||
export function GetLocale() {
|
||||
return window['go']['main']['App']['GetLocale']();
|
||||
}
|
||||
|
||||
export function IsGamePathValid() {
|
||||
return window['go']['main']['App']['IsGamePathValid']();
|
||||
}
|
||||
@@ -38,6 +42,10 @@ export function SetGamePath(arg1) {
|
||||
return window['go']['main']['App']['SetGamePath'](arg1);
|
||||
}
|
||||
|
||||
export function SetLocale(arg1) {
|
||||
return window['go']['main']['App']['SetLocale'](arg1);
|
||||
}
|
||||
|
||||
export function UpdateAddon(arg1) {
|
||||
return window['go']['main']['App']['UpdateAddon'](arg1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user