🌐 ags(i18n): use a type for structure
This commit is contained in:
+1
-3
@@ -1,11 +1,9 @@
|
||||
import { Binding, GLib } from "astal";
|
||||
import { GLib } from "astal";
|
||||
|
||||
import en_US from "./lang/en_US";
|
||||
import pt_BR from "./lang/pt_BR";
|
||||
|
||||
|
||||
export type i18nStruct = Record<string, string|object|Binding<string| undefined>>;
|
||||
|
||||
const i18nKeys = {
|
||||
"en_US": en_US,
|
||||
"pt_BR": pt_BR
|
||||
|
||||
Reference in New Issue
Block a user