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:
parent
0f0a7ea925
commit
20e2846d00
@ -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);
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user