Skip to content

Commit

Permalink
l10n, make test script error when they don't match.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsage committed Oct 28, 2022
1 parent 4ab7655 commit 7754848
Show file tree
Hide file tree
Showing 8 changed files with 267 additions and 232 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"translations/es.json",
"translations/fr.json",
"translations/nl.json",
"translations/pl.json"
"translations/pl.json",
"translations/ru.json",
],
"cSpell.words": [
"asar",
Expand Down
4 changes: 3 additions & 1 deletion test/translate-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,12 @@ folderContents.forEach((thisFile) => {
if ( noneFound ) {
console.log(' --Keys Match!')
console.log('\n')
} else {
exitCode += 1
}
} catch (e) {
console.log(`Issue with file ${thisFile.name} :: ${e}`)
exitCode = 1
exitCode += 1
}
})

Expand Down
17 changes: 11 additions & 6 deletions translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,15 @@
"version_same": "Version Match",
"mod_badge_nonmh": "nonModHub",
"mod_badge_nonmh__title": "Diese Mod ist nicht im Modhub des Spiels verfügbar",
"user_pref_title_game_path" : "Spielverlauf",
"user_pref_blurb_game_path" : "Legen Sie hier den Pfad zum Spiel fest, um die Schaltfläche \"FS22 starten\" zu aktivieren",
"user_pref_button_game_path" : "Spielpfad festlegen",
"launch_fs22" : "FS2022 starten",
"minimize_message_title" : "Minimieren in die Taskleiste",
"minimize_message" : "Die Anwendung wurde in die Taskleiste minimiert"
"user_pref_title_game_path": "Spielverlauf",
"user_pref_blurb_game_path": "Legen Sie hier den Pfad zum Spiel fest, um die Schaltfläche \"FS22 starten\" zu aktivieren",
"user_pref_button_game_path": "Spielpfad festlegen",
"launch_fs22": "FS2022 starten",
"minimize_message_title": "Minimieren in die Taskleiste",
"minimize_message": "Die Anwendung wurde in die Taskleiste minimiert",
"savegame_unused": "Unbenutzt",
"savegame_unused__title": "Diese Mod wurde nicht im Spiel gekauft",
"savegame_error": "Fehler im Speicherspiel gefunden",
"savegame_unreadable": "Datei konnte nicht gelesen werden:",
"savegame_parse_error": "Datei konnte nicht geparst werden:"
}
17 changes: 11 additions & 6 deletions translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,15 @@
"version_same": "Versión de la partida",
"mod_badge_nonmh": "nonModHub",
"mod_badge_nonmh__title": "Este mod no está disponible en el modhub del juego",
"user_pref_title_game_path" : "Ruta de juego",
"user_pref_blurb_game_path" : "Establezca aquí la ruta del juego para activar el botón de lanzamiento de FS22",
"user_pref_button_game_path" : "Establecer ruta de juego",
"launch_fs22" : "Lanzar FS2022",
"minimize_message_title" : "Minimizar a la bandeja del sistema",
"minimize_message" : "La aplicación se ha minimizado a la bandeja del sistema"
"user_pref_title_game_path": "Ruta de juego",
"user_pref_blurb_game_path": "Establezca aquí la ruta del juego para activar el botón de lanzamiento de FS22",
"user_pref_button_game_path": "Establecer ruta de juego",
"launch_fs22": "Lanzar FS2022",
"minimize_message_title": "Minimizar a la bandeja del sistema",
"minimize_message": "La aplicación se ha minimizado a la bandeja del sistema",
"savegame_unused": "Sin usar",
"savegame_unused__title": "Este mod no ha sido comprado en el juego",
"savegame_error": "Errores encontrados en la partida guardada",
"savegame_unreadable": "No se pudo leer el archivo:",
"savegame_parse_error": "No se pudo analizar el archivo:"
}
17 changes: 11 additions & 6 deletions translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,15 @@
"version_same": "Version Match",
"mod_badge_nonmh": "nonModHub",
"mod_badge_nonmh__title": "Ce mod n'est pas disponible sur le modhub du jeu.",
"user_pref_title_game_path" : "Chemin du jeu",
"user_pref_blurb_game_path" : "Définissez ici le chemin du jeu pour activer le bouton de lancement de FS22",
"user_pref_button_game_path" : "Définir le chemin du jeu",
"launch_fs22" : "Lancer FS2022",
"minimize_message_title" : "Minimiser dans la barre d'état système",
"minimize_message" : "L'application a été réduite à la barre d'état système"
"user_pref_title_game_path": "Chemin du jeu",
"user_pref_blurb_game_path": "Définissez ici le chemin du jeu pour activer le bouton de lancement de FS22",
"user_pref_button_game_path": "Définir le chemin du jeu",
"launch_fs22": "Lancer FS2022",
"minimize_message_title": "Minimiser dans la barre d'état système",
"minimize_message": "L'application a été réduite à la barre d'état système",
"savegame_unused": "Non utilisé",
"savegame_unused__title": "Ce mod n'a pas été acheté dans le jeu",
"savegame_error": "Erreurs trouvées avec le jeu de sauvegarde",
"savegame_unreadable": "Impossible de lire le fichier :",
"savegame_parse_error": "Impossible d'analyser le fichier :"
}
17 changes: 11 additions & 6 deletions translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,15 @@
"version_same": "Versie wedstrijd",
"mod_badge_nonmh": "nonModHub",
"mod_badge_nonmh__title": "Deze mod is niet beschikbaar op de in-game modhub",
"user_pref_title_game_path" : "Game Path",
"user_pref_blurb_game_path" : "Stel hier het pad naar het spel in om de Lanceer FS22 knop in te schakelen.",
"user_pref_button_game_path" : "Set Game Path",
"launch_fs22" : "Start FS2022",
"minimize_message_title" : "Minimaliseren naar systeemvak",
"minimize_message" : "Toepassing is geminimaliseerd naar het systeemvak"
"user_pref_title_game_path": "Game Path",
"user_pref_blurb_game_path": "Stel hier het pad naar het spel in om de Lanceer FS22 knop in te schakelen.",
"user_pref_button_game_path": "Set Game Path",
"launch_fs22": "Start FS2022",
"minimize_message_title": "Minimaliseren naar systeemvak",
"minimize_message": "Toepassing is geminimaliseerd naar het systeemvak",
"savegame_unused": "Ongebruikt",
"savegame_unused__title": "Deze mod is niet gekocht in het spel",
"savegame_error": "Fouten gevonden met savegame",
"savegame_unreadable": "Kon bestand niet lezen:",
"savegame_parse_error": "Kon bestand niet parsen:"
}
19 changes: 12 additions & 7 deletions translations/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,15 @@
"version_same": "Ta sama wersja",
"mod_badge_nonmh": "nonModHub",
"mod_badge_nonmh__title": "Ten mod nie jest dostępny na ModHubie",
"user_pref_title_game_path" : "Ścieżka gry",
"user_pref_blurb_game_path" : "Ustaw tutaj ścieżkę do gry, aby włączyć przycisk Launch FS22",
"user_pref_button_game_path" : "Set Game Path",
"launch_fs22" : "Launch FS2022",
"minimize_message_title" : "Minimalizacja do zasobnika systemowego",
"minimize_message" : "Aplikacja została zminimalizowana do zasobnika systemowego"
}
"user_pref_title_game_path": "Ścieżka gry",
"user_pref_blurb_game_path": "Ustaw tutaj ścieżkę do gry, aby włączyć przycisk Launch FS22",
"user_pref_button_game_path": "Set Game Path",
"launch_fs22": "Launch FS2022",
"minimize_message_title": "Minimalizacja do zasobnika systemowego",
"minimize_message": "Aplikacja została zminimalizowana do zasobnika systemowego",
"savegame_unused": "Niewykorzystane",
"savegame_unused__title": "Ten mod nie został zakupiony w grze",
"savegame_error": "Błędy znalezione przy zapisie gry",
"savegame_unreadable": "Nie można odczytać pliku:",
"savegame_parse_error": "Nie można przetworzyć pliku:"
}
Loading

0 comments on commit 7754848

Please sign in to comment.