main init
This commit is contained in:
168
game/lang.js
Normal file
168
game/lang.js
Normal file
@@ -0,0 +1,168 @@
|
||||
/* Robot Clash - all visible texts, English + German. Used via L.t('key') in game.js / garage.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}. Part names (parts.js) are brand
|
||||
names and stay the same in every language; their descriptions are the pd_<id> keys. */
|
||||
window.LANG = {
|
||||
en: {
|
||||
lang_self: 'English',
|
||||
hud_money: 'Credits', hud_fame: 'Fame', hud_league: 'League',
|
||||
league_chip: 'S{s} · {n}/{m}',
|
||||
sound_on: 'Sound on', sound_off: 'Sound off', pause: 'Pause',
|
||||
win_min: 'Minimise', win_full: 'Fullscreen (F11)', win_close: 'Close',
|
||||
no_webgl: 'This game needs WebGL (3D graphics). Please use a current browser or update the graphics driver.',
|
||||
menu_text: 'Build your combat robot from parts, fight your way up the league<br>and send your opponents into the pit.',
|
||||
name_placeholder: 'Your name',
|
||||
play: 'Start career', continue_career: 'Continue',
|
||||
how_to: 'How to play', reset: 'New career',
|
||||
reset_text: 'Delete your robot, credits and league progress and start again?',
|
||||
reset_yes: 'Yes, start over', cancel: 'Cancel', ok: 'OK', back: 'Back', menu: 'Menu',
|
||||
help_text: 'In the <b>workshop</b> you fit one chassis, motor, wheels and battery, plus armour, a weapon and a tower. Keep under <b>100 kg</b>, and the battery must supply enough power. Win fights for credits and buy better parts.',
|
||||
key_drive: 'drive (tank steering)', key_space: 'Space', key_weapon: 'main weapon', key_tower: 'tower weapon',
|
||||
key_pad: 'Gamepad', key_pad_text: 'stick, A = weapon, B = tower',
|
||||
help_arena: 'You win by <b>knockout</b>, by pushing the enemy into the <b>pit</b> (it opens at half time) or on damage when the time runs out. Watch the floor saws, flame grilles, spike walls, the <b>forge press</b> and the <b>magnet crane</b> in the corners!',
|
||||
loading: 'loading…', ranking: 'Fame ranking',
|
||||
no_scores: 'No entries yet - be the first!', scores_offline: 'Ranking offline',
|
||||
// workshop
|
||||
to_league: 'League', training: 'Training', unarmed: 'unarmed',
|
||||
slot_chassis: 'Chassis', slot_motor: 'Motor', slot_wheels: 'Wheels', slot_battery: 'Battery',
|
||||
slot_armour: 'Armour', slot_weapon: 'Weapon', slot_tower: 'Tower',
|
||||
none: 'None', none_armour: 'Bare chassis - light but fragile.', none_weapon: 'No weapon - only ramming.', none_tower: 'No tower weapon.',
|
||||
equipped: 'fitted', equip: 'Fit', sell: 'Sell {n}', buy: 'Buy {n}',
|
||||
st_hp: '{n} HP', st_speed: '{n} m/s', st_force: '{n} N', st_grip: 'grip {n}', st_turn: 'turn {n}', st_invert: 'drives upside down',
|
||||
st_reduce: '-{n}% damage', st_dmg: '{n} dmg', st_dps: '{n} dmg/s', st_range: 'range {n} m', st_weight: '{n} kg',
|
||||
st_supply: 'supplies {n} power', st_power: 'needs {n} power',
|
||||
m_weight: 'Weight', m_power: 'Power', m_hp: 'Hit points', m_armour: 'Armour', m_speed: 'Speed', m_accel: 'Accel.', m_turn: 'Turning',
|
||||
paint_body: 'Paint', paint_accent: 'Accent',
|
||||
err_need: '{slot} missing', err_bad: '{slot} invalid', err_overweight: 'Too heavy (max 100 kg)', err_no_power: 'Battery too weak',
|
||||
pd_crate: 'Simple steel box. Cheap and honest.',
|
||||
pd_doorstop: 'Low wedge shape - hard to flip.',
|
||||
pd_bulwark: 'Heavy frame with lots of hit points.',
|
||||
pd_scarab: 'Domed shell, strong front armour.',
|
||||
pd_sparky: 'Starter motor. Gets you moving.',
|
||||
pd_hornet: 'Faster all-rounder.',
|
||||
pd_bulldog: 'Huge torque for pushing.',
|
||||
pd_comet: 'Top speed for hit and run.',
|
||||
pd_rubber: 'Four small wheels, nimble.',
|
||||
pd_bigtyre: 'Taller than the robot: keeps driving when flipped.',
|
||||
pd_tracks: 'Massive grip, wins every shoving match.',
|
||||
pd_lead: 'Heavy, but it works.',
|
||||
pd_nicd: 'More power, less weight.',
|
||||
pd_lipo: 'Light and powerful.',
|
||||
pd_steel: 'Basic plates, absorb some damage.',
|
||||
pd_titan: 'Light and tough.',
|
||||
pd_hardox: 'Wear plate - the toughest skin money can buy.',
|
||||
pd_wedge: 'Ramming plate. Space = turbo boost.',
|
||||
pd_flipper: 'Launches robots into the air and onto their backs.',
|
||||
pd_hammer: 'Overhead axe, ignores half the armour.',
|
||||
pd_saw: 'Hold Space to cut through anything in front.',
|
||||
pd_crusher: 'Grabs and crushes - drag them into the hazards!',
|
||||
pd_spinner: 'Hold Space to spin up, release the energy on contact.',
|
||||
pd_flamer: 'Short-range fire, burns through armour.',
|
||||
pd_minigun: 'Steady rivet fire from range.',
|
||||
pd_rockets: 'Homing rockets every few seconds.',
|
||||
// league
|
||||
league_title: 'League - season {s}',
|
||||
league_text: 'Beat the opponents one after another. Each season they get tougher and pay more.',
|
||||
fight_vs: 'Fight {name}',
|
||||
style_brawler: 'Brawler - straight at you', style_flanker: 'Flanker - goes for your back', style_pusher: 'Pusher - loves the pit',
|
||||
style_gunner: 'Gunner - keeps its distance', style_dummy: 'Training dummy',
|
||||
// fight
|
||||
pad_weapon: 'Weapon', pad_tower: 'Tower',
|
||||
fight_go: 'ACTIVATE!', pit_open: 'PIT OPEN!', into_pit: 'INTO THE PIT!', knockout: 'KNOCKOUT!',
|
||||
fight_hint: 'W A S D drive · Space weapon · Shift / E tower · P pause',
|
||||
st_lifted: 'MAGNET!', st_grabbed: 'GRABBED!', st_flipped: 'UPSIDE DOWN!', st_stunned: 'STUNNED', pit_is_open: 'PIT IS OPEN', pit_soon: 'pit opens soon',
|
||||
continue: 'Continue', give_up: 'Give up',
|
||||
// result
|
||||
victory: 'VICTORY', defeat: 'DEFEAT', draw: 'DRAW',
|
||||
why_ko_win: '{name} is knocked out.', why_ko_lose: 'Your robot was knocked out by {name}.',
|
||||
why_pit_win: '{name} went into the pit!', why_pit_lose: 'Your robot fell into the pit.',
|
||||
why_time_win: 'Time! You dealt more damage than {name}.', why_time_lose: 'Time! {name} dealt more damage.', why_time_draw: 'Time! Nobody was better.',
|
||||
r_prize: 'Prize money', r_bonus_ko: 'Knockout bonus', r_bonus_pit: 'Pit bonus', r_appearance: 'Appearance fee', r_repair: 'Repairs',
|
||||
r_champion: 'Champion bonus', r_dealt: 'Damage dealt', r_taken: 'Damage taken',
|
||||
champion_title: 'Champion of season {s}!',
|
||||
champion_text: 'The league starts again - harder opponents, higher prizes.',
|
||||
training_note: 'Training: no prize money, free repairs.',
|
||||
to_garage: 'Workshop', retry: 'Rematch',
|
||||
},
|
||||
de: {
|
||||
lang_self: 'Deutsch',
|
||||
hud_money: 'Credits', hud_fame: 'Ruhm', hud_league: 'Liga',
|
||||
league_chip: 'S{s} · {n}/{m}',
|
||||
sound_on: 'Sound an', sound_off: 'Sound aus', pause: 'Pause',
|
||||
win_min: 'Minimieren', win_full: 'Vollbild (F11)', win_close: 'Schließen',
|
||||
no_webgl: 'Dieses Spiel braucht WebGL (3D-Grafik). Bitte einen aktuellen Browser nutzen oder den Grafiktreiber aktualisieren.',
|
||||
menu_text: 'Bau deinen Kampfroboter aus Teilen, kämpf dich durch die Liga<br>und schick deine Gegner in die Grube.',
|
||||
name_placeholder: 'Dein Name',
|
||||
play: 'Karriere starten', continue_career: 'Weiter',
|
||||
how_to: 'Anleitung', reset: 'Neue Karriere',
|
||||
reset_text: 'Roboter, Credits und Liga-Fortschritt löschen und neu anfangen?',
|
||||
reset_yes: 'Ja, neu anfangen', cancel: 'Abbrechen', ok: 'OK', back: 'Zurück', menu: 'Menü',
|
||||
help_text: 'In der <b>Werkstatt</b> baust du je ein Chassis, einen Motor, Räder und eine Batterie ein, dazu Panzerung, Waffe und Turm. Bleib unter <b>100 kg</b>, und die Batterie muss genug Strom liefern. Siege bringen Credits für bessere Teile.',
|
||||
key_drive: 'fahren (Panzersteuerung)', key_space: 'Leertaste', key_weapon: 'Hauptwaffe', key_tower: 'Turmwaffe',
|
||||
key_pad: 'Gamepad', key_pad_text: 'Stick, A = Waffe, B = Turm',
|
||||
help_arena: 'Du gewinnst durch <b>K.o.</b>, indem du den Gegner in die <b>Grube</b> schiebst (öffnet zur Halbzeit) oder nach Schaden, wenn die Zeit abläuft. Achtung vor Bodensägen, Flammengittern, Stachelwänden, der <b>Schmiedepresse</b> und dem <b>Magnetkran</b> in den Ecken!',
|
||||
loading: 'lädt…', ranking: 'Ruhmesliste',
|
||||
no_scores: 'Noch keine Einträge – sei der Erste!', scores_offline: 'Rangliste offline',
|
||||
// workshop
|
||||
to_league: 'Liga', training: 'Training', unarmed: 'unbewaffnet',
|
||||
slot_chassis: 'Chassis', slot_motor: 'Motor', slot_wheels: 'Räder', slot_battery: 'Batterie',
|
||||
slot_armour: 'Panzer', slot_weapon: 'Waffe', slot_tower: 'Turm',
|
||||
none: 'Keine', none_armour: 'Nacktes Chassis – leicht, aber empfindlich.', none_weapon: 'Keine Waffe – nur rammen.', none_tower: 'Keine Turmwaffe.',
|
||||
equipped: 'eingebaut', equip: 'Einbauen', sell: 'Verkaufen {n}', buy: 'Kaufen {n}',
|
||||
st_hp: '{n} LP', st_speed: '{n} m/s', st_force: '{n} N', st_grip: 'Grip {n}', st_turn: 'Wendig {n}', st_invert: 'fährt auch auf dem Kopf',
|
||||
st_reduce: '-{n}% Schaden', st_dmg: '{n} Schaden', st_dps: '{n} Schaden/s', st_range: 'Reichweite {n} m', st_weight: '{n} kg',
|
||||
st_supply: 'liefert {n} Strom', st_power: 'braucht {n} Strom',
|
||||
m_weight: 'Gewicht', m_power: 'Strom', m_hp: 'Lebenspunkte', m_armour: 'Panzerung', m_speed: 'Tempo', m_accel: 'Beschl.', m_turn: 'Wendigkeit',
|
||||
paint_body: 'Lack', paint_accent: 'Akzent',
|
||||
err_need: '{slot} fehlt', err_bad: '{slot} ungültig', err_overweight: 'Zu schwer (max. 100 kg)', err_no_power: 'Batterie zu schwach',
|
||||
pd_crate: 'Einfache Stahlkiste. Billig und ehrlich.',
|
||||
pd_doorstop: 'Flacher Keil – schwer umzudrehen.',
|
||||
pd_bulwark: 'Schwerer Rahmen mit vielen Lebenspunkten.',
|
||||
pd_scarab: 'Kuppelpanzer, starke Front.',
|
||||
pd_sparky: 'Startmotor. Bringt dich in Bewegung.',
|
||||
pd_hornet: 'Schnellerer Allrounder.',
|
||||
pd_bulldog: 'Riesiges Drehmoment zum Schieben.',
|
||||
pd_comet: 'Höchsttempo für Angriff und Rückzug.',
|
||||
pd_rubber: 'Vier kleine Räder, wendig.',
|
||||
pd_bigtyre: 'Höher als der Roboter: fährt auch umgedreht weiter.',
|
||||
pd_tracks: 'Enormer Grip, gewinnt jedes Schiebeduell.',
|
||||
pd_lead: 'Schwer, aber sie tut es.',
|
||||
pd_nicd: 'Mehr Strom, weniger Gewicht.',
|
||||
pd_lipo: 'Leicht und stark.',
|
||||
pd_steel: 'Einfache Platten, schlucken etwas Schaden.',
|
||||
pd_titan: 'Leicht und zäh.',
|
||||
pd_hardox: 'Verschleißblech – die härteste Haut, die es zu kaufen gibt.',
|
||||
pd_wedge: 'Rammkeil. Leertaste = Turbo.',
|
||||
pd_flipper: 'Schleudert Roboter in die Luft und auf den Rücken.',
|
||||
pd_hammer: 'Axt von oben, ignoriert die halbe Panzerung.',
|
||||
pd_saw: 'Leertaste halten und alles vor dir zersägen.',
|
||||
pd_crusher: 'Packt zu und quetscht – zieh sie in die Fallen!',
|
||||
pd_spinner: 'Leertaste halten zum Hochdrehen, die Energie entlädt sich beim Treffer.',
|
||||
pd_flamer: 'Feuer auf kurze Distanz, brennt durch Panzerung.',
|
||||
pd_minigun: 'Stetiges Nietenfeuer aus der Ferne.',
|
||||
pd_rockets: 'Zielsuchende Raketen alle paar Sekunden.',
|
||||
// league
|
||||
league_title: 'Liga – Saison {s}',
|
||||
league_text: 'Besiege die Gegner nacheinander. Jede Saison werden sie härter und zahlen mehr.',
|
||||
fight_vs: 'Kampf gegen {name}',
|
||||
style_brawler: 'Raufbold – kommt direkt auf dich zu', style_flanker: 'Flankierer – will an dein Heck', style_pusher: 'Schieber – liebt die Grube',
|
||||
style_gunner: 'Schütze – hält Abstand', style_dummy: 'Trainingsroboter',
|
||||
// fight
|
||||
pad_weapon: 'Waffe', pad_tower: 'Turm',
|
||||
fight_go: 'AKTIVIEREN!', pit_open: 'GRUBE OFFEN!', into_pit: 'IN DIE GRUBE!', knockout: 'K.O.!',
|
||||
fight_hint: 'W A S D fahren · Leertaste Waffe · Shift / E Turm · P Pause',
|
||||
st_lifted: 'MAGNET!', st_grabbed: 'GEPACKT!', st_flipped: 'AUF DEM KOPF!', st_stunned: 'BETÄUBT', pit_is_open: 'GRUBE IST OFFEN', pit_soon: 'Grube öffnet gleich',
|
||||
continue: 'Weiter', give_up: 'Aufgeben',
|
||||
// result
|
||||
victory: 'SIEG', defeat: 'NIEDERLAGE', draw: 'UNENTSCHIEDEN',
|
||||
why_ko_win: '{name} ist k.o.', why_ko_lose: 'Dein Roboter wurde von {name} ausgeschaltet.',
|
||||
why_pit_win: '{name} ist in der Grube gelandet!', why_pit_lose: 'Dein Roboter ist in die Grube gefallen.',
|
||||
why_time_win: 'Zeit! Du hast mehr Schaden gemacht als {name}.', why_time_lose: 'Zeit! {name} hat mehr Schaden gemacht.', why_time_draw: 'Zeit! Keiner war besser.',
|
||||
r_prize: 'Preisgeld', r_bonus_ko: 'K.o.-Bonus', r_bonus_pit: 'Gruben-Bonus', r_appearance: 'Antrittsgeld', r_repair: 'Reparatur',
|
||||
r_champion: 'Meister-Bonus', r_dealt: 'Schaden ausgeteilt', r_taken: 'Schaden eingesteckt',
|
||||
champion_title: 'Meister der Saison {s}!',
|
||||
champion_text: 'Die Liga beginnt von vorn – härtere Gegner, höhere Preise.',
|
||||
training_note: 'Training: kein Preisgeld, Reparatur gratis.',
|
||||
to_garage: 'Werkstatt', retry: 'Revanche',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user