Merge pull request #618 from jotomo/format-specifier-fixes
Fix format specifices in Spanish translation, add MainApp.gs(id, args).
This commit is contained in:
commit
26852e1ed3
|
@ -233,6 +233,10 @@ public class MainApp extends Application {
|
||||||
return sResources.getString(id);
|
return sResources.getString(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static String gs(int id, Object... args) {
|
||||||
|
return sResources.getString(id, args);
|
||||||
|
}
|
||||||
|
|
||||||
public static MainApp instance() {
|
public static MainApp instance() {
|
||||||
return sInstance;
|
return sInstance;
|
||||||
}
|
}
|
||||||
|
|
|
@ -231,8 +231,8 @@
|
||||||
<string name="smscommunicator_allowednumbers_summary">XXXXXXXXXX +; + YYYYYYYYYY</string>
|
<string name="smscommunicator_allowednumbers_summary">XXXXXXXXXX +; + YYYYYYYYYY</string>
|
||||||
<string formatted="false" name="smscommunicator_bolusreplywithcode">Para entregar bolo% .2fU responder con código% s</string>
|
<string formatted="false" name="smscommunicator_bolusreplywithcode">Para entregar bolo% .2fU responder con código% s</string>
|
||||||
<string name="smscommunicator_bolusfailed">Bolo falló</string>
|
<string name="smscommunicator_bolusfailed">Bolo falló</string>
|
||||||
<string formatted="false" name="bolusdelivered">Bolo% .2fU entregado con éxito</string>
|
<string formatted="false" name="bolusdelivered">Bolo %.2fU entregado con éxito</string>
|
||||||
<string formatted="false" name="bolusdelivering">Entregando% .2fU</string>
|
<string formatted="false" name="bolusdelivering">Entregando %.2fU</string>
|
||||||
<string name="smscommunicator_remotebolusnotallowed">Bolo remoto no permitido</string>
|
<string name="smscommunicator_remotebolusnotallowed">Bolo remoto no permitido</string>
|
||||||
<string name="glucosetype_finger">Dedo</string>
|
<string name="glucosetype_finger">Dedo</string>
|
||||||
<string name="glucosetype_sensor">Sensor</string>
|
<string name="glucosetype_sensor">Sensor</string>
|
||||||
|
|
Loading…
Reference in a new issue