diff options
Diffstat (limited to 'src/lib/Locale/layout.ts')
| -rw-r--r-- | src/lib/Locale/layout.ts | 40 |
1 files changed, 37 insertions, 3 deletions
diff --git a/src/lib/Locale/layout.ts b/src/lib/Locale/layout.ts index 45c58a33..3e86fa8d 100644 --- a/src/lib/Locale/layout.ts +++ b/src/lib/Locale/layout.ts @@ -1,4 +1,4 @@ -type LocaleValue = string | LocaleValue[] | { [key: string]: LocaleValue }; +type LocaleValue = string | LocaleValue[]; // | { [key: string]: LocaleValue }; export interface LocaleDictionary { [key: string]: LocaleDictionary | string | Array<string | LocaleDictionary> | null; @@ -32,12 +32,46 @@ export interface Locale { display: { title: LocaleValue; categories: { - media: LocaleValue; + media: { + title: LocaleValue; + fields: { + outboundLinks: LocaleValue; + mediaTitleFormat: { + title: LocaleValue; + options: { + english: LocaleValue; + romaji: LocaleValue; + native: LocaleValue; + }; + fields: { + showFurigana: LocaleValue; + }; + }; + }; + }; date_and_time: LocaleValue; - motion_and_accessibility: LocaleValue; + motionAndAccessibility: { + title: LocaleValue; + fields: { + disablePageTransitionAnimations: LocaleValue; + disableNotifications: LocaleValue; + limitPanelAreaToScreenHeight: LocaleValue; + interfaceLanguage: LocaleValue; + }; + }; collapse_panels_by_default: LocaleValue; hide_panels: LocaleValue; include_additional_media: LocaleValue; + helper: { + title: LocaleValue; + options: { + mai: LocaleValue; + nodoka: LocaleValue; + kaede: LocaleValue; + none: LocaleValue; + }; + hint: LocaleValue; + }; }; tooltips: { beta: LocaleValue; |