1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-11 20:49:25 +01:00

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) {
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);

View File

@ -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>