main init

This commit is contained in:
2026-11-13 00:38:47 +01:00
commit e377873a85
124 changed files with 12320 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
/* {{NAME}} - all visible texts, English + German. Used via L.t('key') in game.js and
data-i18n="key" in index.html (kit-i18n.js). A new text always gets BOTH languages.
Values may contain simple HTML (<b>, <br>) and {placeholders}. */
window.LANG = {
en: {
lang_self: 'English',
hud_score: 'Score', hud_time: 'Time', hud_best: 'Best',
sound_on: 'Sound on', sound_off: 'Sound off', pause: 'Pause',
win_min: 'Minimise', win_full: 'Fullscreen (F11)', win_close: 'Close',
menu_text: 'Collect the blue orbs, avoid the red ones.<br>Arrows / WASD or tap to move.',
name_placeholder: 'Your name',
play: 'Play',
loading: 'loading…',
no_scores: 'No scores yet - be the first!',
scores_offline: 'Highscores offline',
time_up: 'Time!',
score_line: 'Score <b>{score}</b>',
new_best: ' - new best!',
again: 'Again',
menu: 'Menu',
continue: 'Continue',
},
de: {
lang_self: 'Deutsch',
hud_score: 'Punkte', hud_time: 'Zeit', hud_best: 'Rekord',
sound_on: 'Sound an', sound_off: 'Sound aus', pause: 'Pause',
win_min: 'Minimieren', win_full: 'Vollbild (F11)', win_close: 'Schließen',
menu_text: 'Sammle die blauen Kugeln, weiche den roten aus.<br>Pfeile / WASD oder tippen zum Bewegen.',
name_placeholder: 'Dein Name',
play: 'Spielen',
loading: 'lädt…',
no_scores: 'Noch keine Punkte – sei der Erste!',
scores_offline: 'Bestenliste offline',
time_up: 'Zeit um!',
score_line: 'Punkte <b>{score}</b>',
new_best: ' – neuer Rekord!',
again: 'Nochmal',
menu: 'Menü',
continue: 'Weiter',
},
};