Commit d5ce452d authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Makes maps translatable

parent 6866ac55
Pipeline #187893 passed with stage
in 3 minutes and 4 seconds
......@@ -34,6 +34,7 @@ import java.util.List;
import java.util.Map;
import foundation.e.blisslauncher.BlissLauncher;
import foundation.e.blisslauncher.R;
import foundation.e.blisslauncher.core.IconsHandler;
import foundation.e.blisslauncher.core.database.model.ApplicationItem;
import foundation.e.blisslauncher.features.launcher.AppProvider;
......@@ -80,7 +81,7 @@ public class AppUtils {
applicationItem.title = activityInfo.getLabel().toString();
applicationItem.container = Constants.CONTAINER_DESKTOP;
if (appInfo.packageName.equalsIgnoreCase("com.generalmagic.magicearth")) {
applicationItem.title = "Maps";
applicationItem.title = context.getString(R.string.app_name_maps);
}
applicationItem.packageName = appInfo.packageName;
appArrayMap.put(applicationItem.id, applicationItem);
......@@ -132,7 +133,7 @@ public class AppUtils {
applicationItem.title = launcherActivityInfo.getLabel().toString();
applicationItem.container = Constants.CONTAINER_DESKTOP;
if (appInfo.packageName.equalsIgnoreCase("com.generalmagic.magicearth")) {
applicationItem.title = "Maps";
applicationItem.title = context.getString(R.string.app_name_maps);
}
applicationItem.packageName = appInfo.packageName;
return applicationItem;
......
......@@ -187,4 +187,6 @@
<string name="toast_cannot_uninstall">Can not uninstall this app</string>
<string name="toast_dock_full">Dock is already full</string>
<string name="toast_no_room">No more room in page</string>
<string name="app_name_maps">Maps</string>
</resources>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment