Commit 1ec8d688 authored by djamel's avatar djamel

utilise ressource pour afficher le text

parent 649672ef
......@@ -47,7 +47,7 @@ public class Login extends ActionBarActivity implements View.OnClickListener {
public void onClick(View vue) {
final Button button = (Button)findViewById(R.id.button_ipAddress);
button.setEnabled(false);
button.setText("Connection en cours ...");
button.setText(getText(R.string.connection));
String myIpString = _ipAddress.getText().toString();
String myPortString = _portNumber.getText().toString();
......
......@@ -14,6 +14,7 @@
<string name="label_ipAddress">Adresse IP</string>
<string name="label_port">Numéro de Port</string>
<string name="validate">Valider</string>
<string name="connection">Connection en cours ...</string>
<string name="nbPlace">Nombre de place</string>
<string name="nbPlaceOversize">Le nombre de place selectionné excéde le nombre de place
disponible</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment