Add Combo short name.
This commit is contained in:
parent
30b7697002
commit
ab9908438e
2 changed files with 7 additions and 1 deletions
|
@ -67,7 +67,12 @@ public class ComboPlugin implements PluginBase, PumpInterface {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getNameShort() {
|
public String getNameShort() {
|
||||||
// use long name as fallback (not visible in tabs)
|
String name = MainApp.sResources.getString(R.string.combopump_shortname);
|
||||||
|
if (!name.trim().isEmpty()) {
|
||||||
|
//only if translation exists
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
// use long name as fallback
|
||||||
return getName();
|
return getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -687,4 +687,5 @@
|
||||||
<string name="wear_overviewnotifications_summary">Pass the Overview Notifications through as wear confirmation messages.</string>
|
<string name="wear_overviewnotifications_summary">Pass the Overview Notifications through as wear confirmation messages.</string>
|
||||||
<string name="combopump">Accu-Chek Combo</string>
|
<string name="combopump">Accu-Chek Combo</string>
|
||||||
<string name="combopump_settings">Accu-Chek Combo settings</string>
|
<string name="combopump_settings">Accu-Chek Combo settings</string>
|
||||||
|
<string name="combopump_shortname">COMBO</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue