Enable localization of appmanager tab strip
This commit is contained in:
parent
0f0a7ea925
commit
20e2846d00
|
@ -120,11 +120,11 @@ public class AppManagerActivity extends AbstractGBFragmentActivity {
|
|||
public CharSequence getPageTitle(int position) {
|
||||
switch (position) {
|
||||
case 0:
|
||||
return "Apps in cache";
|
||||
return getString(R.string.appmanager_cached_watchapps_watchfaces);
|
||||
case 1:
|
||||
return "Installed apps";
|
||||
return getString(R.string.appmanager_installed_watchapps);
|
||||
case 2:
|
||||
return "Installed watchfaces";
|
||||
return getString(R.string.appmanager_installed_watchfaces);
|
||||
case 3:
|
||||
}
|
||||
return super.getPageTitle(position);
|
||||
|
|
|
@ -278,4 +278,7 @@
|
|||
<string name="updatefirmwareoperation_firmware_not_sent">Firmware not sent</string>
|
||||
<string name="charts_legend_heartrate">Heart Rate</string>
|
||||
<string name="live_activity_heart_rate">Heart Rate</string>
|
||||
<string name="appmanager_cached_watchapps_watchfaces">Apps in cache</string>
|
||||
<string name="appmanager_installed_watchapps">Installed apps</string>
|
||||
<string name="appmanager_installed_watchfaces">Installed watchfaces</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue