🌐 ags(i18n): use a type for structure

This commit is contained in:
retrozinndev
2025-03-23 10:33:53 -03:00
parent 31955b2c3b
commit 9365da0d42
4 changed files with 43 additions and 5 deletions
+1 -3
View File
@@ -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