🌐 ags(i18n): translate control-center pages

This commit is contained in:
retrozinndev
2025-04-23 19:30:37 -03:00
parent cd96236878
commit e28e2c7c2f
9 changed files with 139 additions and 46 deletions
+2 -5
View File
@@ -1,12 +1,9 @@
import { GLib } from "astal";
import en_US from "./lang/en_US";
import pt_BR from "./lang/pt_BR";
const i18nKeys = {
"en_US": en_US,
"pt_BR": pt_BR
"en_US": (await import("./lang/en_US")).default,
"pt_BR": (await import("./lang/pt_BR")).default
};
const languages: Array<string> = Object.keys(i18nKeys);