Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update fr translation #461

Merged
merged 3 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading