Added french translation

This commit is contained in:
thibaud 2017-04-20 14:37:47 +02:00
parent e0ed947d30
commit d6aadb57af
3 changed files with 11 additions and 2 deletions

View File

@ -26,7 +26,7 @@ public class DiceActivity extends Activity implements View.OnClickListener {
max = getIntent().getIntExtra("max", 0); max = getIntent().getIntExtra("max", 0);
TextView textTitle = (TextView)findViewById(R.id.textTitle); TextView textTitle = (TextView)findViewById(R.id.textTitle);
textTitle.setText(String.valueOf(max) + "-sided dice"); textTitle.setText(String.valueOf(max) + " " + getString(R.string.x_sided_dice));
textResult = (TextView)findViewById(R.id.textResult); textResult = (TextView)findViewById(R.id.textResult);
textResult.setText(""); textResult.setText("");

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">DiceRoller</string>
<string name="_6_sided_dice">Dé à 6 faces</string>
<string name="_20_sided_dice">Dé à 20 faces</string>
<string name="x_sided_dice">faces</string>
<string name="x">X</string>
<string name="roll_dice">Lancer le dé !</string>
</resources>

View File

@ -2,7 +2,7 @@
<string name="app_name">DiceRoller</string> <string name="app_name">DiceRoller</string>
<string name="_6_sided_dice">6-sided dice</string> <string name="_6_sided_dice">6-sided dice</string>
<string name="_20_sided_dice">20-sided dice</string> <string name="_20_sided_dice">20-sided dice</string>
<string name="x_sided_dice">X sided dice</string> <string name="x_sided_dice">sided dice</string>
<string name="x">X</string> <string name="x">X</string>
<string name="roll_dice">Roll dice !</string> <string name="roll_dice">Roll dice !</string>
</resources> </resources>