Initial commit: Premier Gunner tracker + StartOS 0.4.0 s9pk package
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
export const DEFAULT_LANG = 'en_US'
|
||||
|
||||
const dict = {
|
||||
// main.ts
|
||||
'Starting Premier Gunner!': 0,
|
||||
'Web Interface': 1,
|
||||
'The web interface is ready': 2,
|
||||
'The web interface is not ready': 3,
|
||||
|
||||
// interfaces.ts
|
||||
'Premier Gunner': 4,
|
||||
'The Premier Gunner training tracker web app': 5,
|
||||
|
||||
// actions
|
||||
'Set Login Password': 6,
|
||||
'Set the password Gunner uses to log in to Premier Gunner': 7,
|
||||
'Password': 8,
|
||||
'The password Gunner types on the login screen (at least 4 characters)': 9,
|
||||
} as const
|
||||
|
||||
/**
|
||||
* Plumbing. DO NOT EDIT.
|
||||
*/
|
||||
export type I18nKey = keyof typeof dict
|
||||
export type LangDict = Record<(typeof dict)[I18nKey], string>
|
||||
export default dict
|
||||
@@ -0,0 +1,52 @@
|
||||
import { LangDict } from './default'
|
||||
|
||||
export default {
|
||||
es_ES: {
|
||||
0: '¡Iniciando Premier Gunner!',
|
||||
1: 'Interfaz web',
|
||||
2: 'La interfaz web está lista',
|
||||
3: 'La interfaz web no está lista',
|
||||
4: 'Premier Gunner',
|
||||
5: 'La aplicación web de seguimiento de entrenamiento Premier Gunner',
|
||||
6: 'Establecer contraseña de acceso',
|
||||
7: 'Establece la contraseña que Gunner usa para iniciar sesión en Premier Gunner',
|
||||
8: 'Contraseña',
|
||||
9: 'La contraseña que Gunner escribe en la pantalla de inicio de sesión (al menos 4 caracteres)',
|
||||
},
|
||||
de_DE: {
|
||||
0: 'Starte Premier Gunner!',
|
||||
1: 'Weboberfläche',
|
||||
2: 'Die Weboberfläche ist bereit',
|
||||
3: 'Die Weboberfläche ist nicht bereit',
|
||||
4: 'Premier Gunner',
|
||||
5: 'Die Premier Gunner Trainings-Tracker-Web-App',
|
||||
6: 'Anmeldepasswort festlegen',
|
||||
7: 'Lege das Passwort fest, mit dem Gunner sich bei Premier Gunner anmeldet',
|
||||
8: 'Passwort',
|
||||
9: 'Das Passwort, das Gunner auf dem Anmeldebildschirm eingibt (mindestens 4 Zeichen)',
|
||||
},
|
||||
pl_PL: {
|
||||
0: 'Uruchamianie Premier Gunner!',
|
||||
1: 'Interfejs webowy',
|
||||
2: 'Interfejs webowy jest gotowy',
|
||||
3: 'Interfejs webowy nie jest gotowy',
|
||||
4: 'Premier Gunner',
|
||||
5: 'Aplikacja webowa do śledzenia treningów Premier Gunner',
|
||||
6: 'Ustaw hasło logowania',
|
||||
7: 'Ustaw hasło, którego Gunner używa do logowania w Premier Gunner',
|
||||
8: 'Hasło',
|
||||
9: 'Hasło, które Gunner wpisuje na ekranie logowania (co najmniej 4 znaki)',
|
||||
},
|
||||
fr_FR: {
|
||||
0: 'Démarrage de Premier Gunner !',
|
||||
1: 'Interface web',
|
||||
2: "L'interface web est prête",
|
||||
3: "L'interface web n'est pas prête",
|
||||
4: 'Premier Gunner',
|
||||
5: "L'application web de suivi d'entraînement Premier Gunner",
|
||||
6: 'Définir le mot de passe de connexion',
|
||||
7: 'Définissez le mot de passe que Gunner utilise pour se connecter à Premier Gunner',
|
||||
8: 'Mot de passe',
|
||||
9: "Le mot de passe que Gunner saisit sur l'écran de connexion (au moins 4 caractères)",
|
||||
},
|
||||
} satisfies Record<string, LangDict>
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Plumbing. DO NOT EDIT this file.
|
||||
*/
|
||||
import { setupI18n } from '@start9labs/start-sdk'
|
||||
import defaultDict, { DEFAULT_LANG } from './dictionaries/default'
|
||||
import translations from './dictionaries/translations'
|
||||
|
||||
export const i18n = setupI18n(defaultDict, translations, DEFAULT_LANG)
|
||||
Reference in New Issue
Block a user