🌐 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
+40
View File
@@ -0,0 +1,40 @@
export type i18nStruct = {
language: string,
bar: {
apps: {
tooltip: string
}
},
control_center: {
tiles: {
enabled: string,
disabled: string,
more: string,
network: {
network: string,
connected: string,
disconnected: string,
unknown: string,
connecting: string,
wireless: string,
wired: string
},
recording: {
title: string,
disabled_desc: string,
enabled_desc: string,
},
dnd: {
title: string
}
}
},
ask_popup: {
title: string,
options: {
cancel: string,
accept: string
}
}
};