Enable localization of appmanager tab strip

This commit is contained in:
Daniele Gobbetti 2016-06-25 11:27:56 +02:00
parent 0f0a7ea925
commit 20e2846d00
2 changed files with 6 additions and 3 deletions

View File

@ -120,11 +120,11 @@ public class AppManagerActivity extends AbstractGBFragmentActivity {
public CharSequence getPageTitle(int position) { public CharSequence getPageTitle(int position) {
switch (position) { switch (position) {
case 0: case 0:
return "Apps in cache"; return getString(R.string.appmanager_cached_watchapps_watchfaces);
case 1: case 1:
return "Installed apps"; return getString(R.string.appmanager_installed_watchapps);
case 2: case 2:
return "Installed watchfaces"; return getString(R.string.appmanager_installed_watchfaces);
case 3: case 3:
} }
return super.getPageTitle(position); return super.getPageTitle(position);

View File

@ -278,4 +278,7 @@
<string name="updatefirmwareoperation_firmware_not_sent">Firmware not sent</string> <string name="updatefirmwareoperation_firmware_not_sent">Firmware not sent</string>
<string name="charts_legend_heartrate">Heart Rate</string> <string name="charts_legend_heartrate">Heart Rate</string>
<string name="live_activity_heart_rate">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> </resources>