Skip to content

Commit

Permalink
Merge pull request #461 from agateau/update-fr-translation
Browse files Browse the repository at this point in the history
update fr translation
  • Loading branch information
agateau authored Aug 26, 2024
2 parents 0873f82 + 15b3cb0 commit 3c4bb7f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 20 deletions.
27 changes: 11 additions & 16 deletions android/assets/po/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2023-08-14 08:11+0200\n"
"PO-Revision-Date: 2024-08-26 18:57+0200\n"
"Last-Translator: Aurélien Gâteau <[email protected]>\n"
"Language-Team: French\n"
"Language: fr_FR\n"
Expand Down Expand Up @@ -72,7 +72,7 @@ msgstr "Tiny sur Mer"
#: android/assets/championships/2.xml:27
msgctxt "track"
msgid "The Island"
msgstr ""
msgstr "L'Île"

#: android/assets/screens/credits.gdxui:6
msgid "Pixel Wheels"
Expand Down Expand Up @@ -226,9 +226,8 @@ msgid "Spanish:"
msgstr "Espagnol :"

#: android/assets/screens/credits.gdxui:69
#, fuzzy
msgid "Victor Hck"
msgstr "Victoire :"
msgstr "Victor Hck"

#: android/assets/screens/credits.gdxui:71
msgid "Basque:"
Expand All @@ -239,13 +238,12 @@ msgid "Josu Igoa"
msgstr "Josu Igoa"

#: android/assets/screens/credits.gdxui:74
#, fuzzy
msgid "Galician:"
msgstr "Italien :"
msgstr "Galicien :"

#: android/assets/screens/credits.gdxui:75
msgid "Un Galego Mais"
msgstr ""
msgstr "Un Galego Mais"

#: android/assets/screens/credits.gdxui:77
msgid "French:"
Expand Down Expand Up @@ -479,7 +477,7 @@ msgstr "CONFIGURATION"

#: android/assets/screens/mainmenu.gdxui:34
msgid "SUPPORT"
msgstr ""
msgstr "SOUTENIR"

#: android/assets/screens/multiplayer.gdxui:10
msgid "Select Your Vehicles"
Expand Down Expand Up @@ -547,23 +545,21 @@ msgstr "Choisissez votre véhicule"

#: android/assets/screens/support.gdxui:5
msgid "Support"
msgstr ""
msgstr "Soutenir"

#: android/assets/screens/support.gdxui:11
msgid "Buy nice Pixel Wheels themed goodies!"
msgstr ""
msgstr "Acheter des accessoires Pixel Wheels !"

#: android/assets/screens/support.gdxui:13
msgid "SHOP"
msgstr ""
msgstr "MAGASIN"

#: android/assets/screens/support.gdxui:19
#, fuzzy
msgid "Support Pixel Wheels development."
msgstr "Pixel Wheels"
msgstr "Soutenir le développement de Pixel Wheels."

#: android/assets/screens/support.gdxui:21
#, fuzzy
msgid "SUPPORT PAGE"
msgstr "PAGE DE SOUTIEN"

Expand Down Expand Up @@ -790,7 +786,6 @@ msgid "CREDITS"
msgstr "CRÉDITS"

#: core/src/com/agateau/pixelwheels/screens/ConfigScreen.java:127
#, fuzzy
msgid "WEB SITE"
msgstr "SITE WEB"

Expand Down Expand Up @@ -863,7 +858,7 @@ msgstr "Plein écran :"

#: core/src/com/agateau/pixelwheels/screens/ConfigScreen.java:272
msgid "Rotate camera:"
msgstr ""
msgstr "Tourner la caméra :"

#: core/src/com/agateau/pixelwheels/screens/ConfigScreen.java:297
msgid "CONFIGURE"
Expand Down
3 changes: 2 additions & 1 deletion android/assets/screens/config.gdxui
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<gdxui>
<AnchorGroup id="root" gridSize="20">
<Menu id="menu" topCenter="root.topCenter 0 0"
width="700"/>
labelColumnWidth="280px"
width="700px"/>
</AnchorGroup>
</gdxui>
1 change: 0 additions & 1 deletion core/src/com/agateau/pixelwheels/screens/ConfigScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ private void setupUi() {
getStage().addActor(root);

mMenu = builder.getActor("menu");
mMenu.setLabelColumnWidth(250);

mTabMenuItem = new TabMenuItem(mMenu);
mMenu.addItem(mTabMenuItem);
Expand Down
5 changes: 3 additions & 2 deletions core/src/com/agateau/ui/uibuilder/UiBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,9 @@ private void initImageFromRegionName(Image image, TextureAtlas atlas, String nam
private Menu createMenu(XmlReader.Element element) throws SyntaxException {
String styleName = element.getAttribute("style", "default");
Menu menu = new Menu(mSkin, styleName);
float width = element.getIntAttribute("labelColumnWidth", 0);
if (width > 0) {
String attr = element.getAttribute("labelColumnWidth", "");
if (!attr.isEmpty()) {
float width = mDimParser.parse(attr, DimensionParser.Unit.PIXEL);
menu.setLabelColumnWidth(width);
}
XmlReader.Element items = element.getChildByName("Items");
Expand Down

0 comments on commit 3c4bb7f

Please sign in to comment.