Merge pull request #695 from jotomo/g5-shortname

Add shortname for G5.
This commit is contained in:
Milos Kozak 2018-02-18 12:34:56 +01:00 committed by GitHub
commit f4f4e2dfd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -39,8 +39,7 @@ public class SourceDexcomG5Plugin implements PluginBase, BgSourceInterface {
@Override
public String getNameShort() {
// use long name as fallback (no tabs)
return getName();
return MainApp.gs(R.string.dexcomG5_shortname);
}
@Override

View file

@ -932,5 +932,6 @@
<string name="key_ns_create_announcements_from_errors">ns_create_announcements_from_errors</string>
<string name="ns_create_announcements_from_errors_title">Create announcements from errors</string>
<string name="ns_create_announcements_from_errors_summary">Create Nightscout announcement for error dialogs and local alerts (also viewable in Careportal under Treatments)</string>
<string name="dexcomG5_shortname" translatable="false">G5</string>
</resources>