Skip to content

Commit

Permalink
feat: add the English translation (#13)
Browse files Browse the repository at this point in the history
* feat: add english localisation

* chore: add entry to changelog
  • Loading branch information
florianvazelle authored Jan 13, 2024
1 parent fccead9 commit eb3e753
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ GODOT_VERSION=4.2.1-stable
# Game

GAME_NAME=HazyRoad
GAME_VERSION=1.0.0
GAME_VERSION=1.0.1
GAME_ITCHIO_KEY=hazy-road
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
source_md5="ba7417270d91124ed1365d6ea5fd32f0"
dest_md5="721c75660b7c79894f4a76ffb9c3cf6b"
source_md5="54ac736ec1deaf597f4b48477dcdd392"
dest_md5="4df0c03404c59a23b340b667315f3c39"
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Security
### Dependencies

## [1.0.1]
### Added
### Changed
### Deprecated
### Removed
### Fixed
- Add the English translation [#13](https://github.com/MechanicalFlower/HazyRoad/pull/13)
### Security
### Dependencies

## [1.0.0]
### Added
### Changed
Expand All @@ -22,5 +32,6 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Security
### Dependencies

[Unreleased]: https://github.com/MechanicalFlower/HazyRoad/compare/1.0.0...HEAD
[Unreleased]: https://github.com/MechanicalFlower/HazyRoad/compare/1.0.1...HEAD
[1.0.1]: https://github.com/MechanicalFlower/HazyRoad/compare/1.0.0...1.0.1
[1.0.0]: https://github.com/MechanicalFlower/HazyRoad/commits/1.0.0
24 changes: 12 additions & 12 deletions assets/i18n/locale.csv
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
keys,fr
BARRIER,La [sparkle c1=red c2=dark_red]barrière[/sparkle] bloque le passage. Il faut que je trouve un moyen de la soulever.
CAR_FLAT,"Merde, la [sparkle c1=green c2=lime]voiture[/sparkle] a un [sparkle c1=green c2=lime]pneu[/sparkle] crevé!"
CAR,Je ne vais pas pouvoir avancer avec la [sparkle c1=red c2=dark_red]barrière[/sparkle] qui bloque le passage.
DARK_ROAD,Il fait beaucoup trop [sparkle c1=red c2=dark_red]sombre[/sparkle] pour que je m'aventure dans ce chemin.
DIRECTION_PANEL,Il semble y avoir une [sparkle c1=yellow c2=gold]cabane[/sparkle] et un [sparkle c1=yellow c2=gold]générateur[/sparkle] pas loin. Il faut que j'explore un peu pour voir ce que je peux y trouver.
DOOR_HOUSE,Fermé! Il faut que je trouve quelque chose pour l'ouvrir.
DOOR_SECURITY_POST,Fermé! Il faut que je trouve un moyen de l'ouvrir.
FUSE_BOX,Quelque chose semble pouvoir s'insérer dedans.
GRID,C'est très lourd. Il doit y avoir un moyen de les faire bouger.
LIMIT,Il faut que je parte avec ma [sparkle c1=green c2=lime]voiture[/sparkle].
WINDOW_HOUSE,Il semble y avoir des [sparkle c1=green c2=lime]pneus[/sparkle] dans cette [sparkle c1=yellow c2=gold]cabane[/sparkle].
keys,fr,en
BARRIER,La [sparkle c1=red c2=dark_red]barrière[/sparkle] bloque le passage. Il faut que je trouve un moyen de la soulever.,The [sparkle c1=red c2=dark_red]barrier[/sparkle] is blocking the way. I have to find a way to lift it.
CAR_FLAT,"Merde, la [sparkle c1=green c2=lime]voiture[/sparkle] a un [sparkle c1=green c2=lime]pneu[/sparkle] crevé!","Shit, the [sparkle c1=green c2=lime]car[/sparkle] has a [sparkle c1=green c2=lime]flat tire[/sparkle]!"
CAR,Je ne vais pas pouvoir avancer avec la [sparkle c1=red c2=dark_red]barrière[/sparkle] qui bloque le passage.,I won't be able to move forward with the [sparkle c1=red c2=dark_red]barrier[/sparkle] blocking the way.
DARK_ROAD,Il fait beaucoup trop [sparkle c1=red c2=dark_red]sombre[/sparkle] pour que je m'aventure dans ce chemin.,It's far too [sparkle c1=red c2=dark_red]dark[/sparkle] for me to venture down this path.
DIRECTION_PANEL,Il semble y avoir une [sparkle c1=yellow c2=gold]cabane[/sparkle] et un [sparkle c1=yellow c2=gold]générateur[/sparkle] pas loin. Il faut que j'explore un peu pour voir ce que je peux y trouver.,There seems to be a [sparkle c1=yellow c2=gold]cabin[/sparkle] and a [sparkle c1=yellow c2=gold]generator[/sparkle] nearby. I'll have to explore a bit to see what I can find.
DOOR_HOUSE,Fermé! Il faut que je trouve quelque chose pour l'ouvrir.,Closed! I have to find something to open it.
DOOR_SECURITY_POST,Fermé! Il faut que je trouve un moyen de l'ouvrir.,Closed! I have to find a way to open it.
FUSE_BOX,Quelque chose semble pouvoir s'insérer dedans.,Something seems to fit inside.
GRID,C'est très lourd. Il doit y avoir un moyen de les faire bouger.,They're very heavy. There must be some way to move them.
LIMIT,Il faut que je parte avec ma [sparkle c1=green c2=lime]voiture[/sparkle].,I have to take my [sparkle c1=green c2=lime]car[/sparkle] with me.
WINDOW_HOUSE,Il semble y avoir des [sparkle c1=green c2=lime]pneus[/sparkle] dans cette [sparkle c1=yellow c2=gold]cabane[/sparkle].,There seem to be [sparkle c1=green c2=lime]tires[/sparkle] in this [sparkle c1=yellow c2=gold]cabin[/sparkle].
4 changes: 2 additions & 2 deletions assets/i18n/locale.csv.import
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ uid="uid://cypt1lytqcodw"

[deps]

files=["res://assets/i18n/locale.fr.translation"]
files=["res://assets/i18n/locale.fr.translation", "res://assets/i18n/locale.en.translation"]

source_file="res://assets/i18n/locale.csv"
dest_files=["res://assets/i18n/locale.fr.translation"]
dest_files=["res://assets/i18n/locale.fr.translation", "res://assets/i18n/locale.en.translation"]

[params]

Expand Down
2 changes: 1 addition & 1 deletion project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ interact={

[internationalization]

locale/translations=PackedStringArray("res://assets/i18n/locale.fr.translation")
locale/translations=PackedStringArray("res://assets/i18n/locale.fr.translation", "res://assets/i18n/locale.en.translation")

[layer_names]

Expand Down

0 comments on commit eb3e753

Please sign in to comment.