diff --git a/de/messages.json b/de/messages.json new file mode 100644 index 0000000..cff3a85 --- /dev/null +++ b/de/messages.json @@ -0,0 +1,23 @@ +{ + "appName": { + "message": "Better Howrse", + "description": "Name of the extension." + }, + "appDesc": { + "message": "This extension displays more informations in the game about horses and competitions to make you feel more comfortable when playing.", + "description": "Description of the extension." + }, + "foodSelect": { + "message": "Auto Food Select", + "description": "Label for the food select checkbox in popup." + }, + "moreInfos": { + "message": "More Infos", + "description": "Label for the more infos checkbox in popup" + }, + "competitionRatio": { + "message": "Competition Ratio", + "description": "Label for the competition ratio checkbox in popup" + } +} + diff --git a/manifest.json b/manifest.json index aa74703..3cc21d2 100644 --- a/manifest.json +++ b/manifest.json @@ -21,7 +21,8 @@ "*://*.howrse.no/*", "*://*.howrse.co.uk/*", "*://*.caballow.com/*", - "*://*.howrse.pl/*" + "*://*.howrse.pl/*", + "*://*.howrse.de/*" ] } ], @@ -39,7 +40,8 @@ "*://*.howrse.no/*", "*://*.howrse.co.uk/*", "*://*.caballow.com/*", - "*://*.howrse.pl/*" + "*://*.howrse.pl/*", + "*://*.howrse.de/*" ], "run_at": "document_end", "js": [ diff --git a/translation.js b/translation.js index 4da8777..3ff2e2c 100644 --- a/translation.js +++ b/translation.js @@ -123,11 +123,11 @@ class Translation { trailClass: 'Trail class', reining: 'Reining', westernPleasure: 'Western pleasure', - disclaimer: 'The higher the coefficient, the greater the chance of winning' + disclaimer: 'Im wyższy współczynnik tym większa szansa na wygraną' }, other: { pet: 'Towarzysz: ', - pg: 'GP: ', + pg: 'PG: ', skills: 'Umiejętności: ' }, sex: { @@ -170,6 +170,40 @@ class Translation { male: ' macho', gelding: ' castrado' } + }, + de: { + stat: { + stamina: 'ausdauer', + speed: 'tempo', + dressage: 'dressur', + gallop: 'galopp', + trot: 'trab', + jumping: 'springen' + }, + competition: { + trot: 'Trab', + gallop: 'Galopp', + dressage: 'Dressur', + crossCountry: 'Cross', + showJumping: 'Springturnier', + barrelRacing: 'Barrel Racing', + cutting: 'Cutting', + trailClass: 'Trail', + reining: 'Reining', + westernPleasure: 'Western Pleasure', + disclaimer: 'Je höher der Koeffizient, desto größer die Gewinnchance' + }, + other: { + pet: 'Kamerad: ', + pg: 'GP: ', + skills: 'Fähigkeiten: ' + }, + sex: { + genderLabel: "Geschlecht:", + female: ' weiblich', + male: ' männlich', + gelding: ' Wallach' + } } } } @@ -181,7 +215,8 @@ class Translation { 'equideow': 'fr', 'howrse.no': 'no', 'howrse.pl': 'pl', - 'caballow.com': 'es' + 'caballow.com': 'es', + 'howrse.de': 'de' }; for (let domain in languageMap) {