Added french translation
This commit is contained in:
parent
e0ed947d30
commit
d6aadb57af
@ -26,7 +26,7 @@ public class DiceActivity extends Activity implements View.OnClickListener {
|
||||
max = getIntent().getIntExtra("max", 0);
|
||||
|
||||
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.setText("");
|
||||
|
9
app/src/main/res/values-fr/strings.xml
Normal file
9
app/src/main/res/values-fr/strings.xml
Normal 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>
|
@ -2,7 +2,7 @@
|
||||
<string name="app_name">DiceRoller</string>
|
||||
<string name="_6_sided_dice">6-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="roll_dice">Roll dice !</string>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user