Add string resource
This commit is contained in:
parent
08f916b069
commit
a2c5624930
2 changed files with 3 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
|||
Thx - Hardy
|
||||
|
||||
-->
|
||||
<string name="custom_osmand_plugin">Custom OsmAnd plugin</string>
|
||||
<string name="clear_recorded_data_warning">Are you sure you want to clear recorded data?</string>
|
||||
<string name="restore_all_profile_settings_descr">All profile settings will be restored to their original state after creating/importing this profile.</string>
|
||||
<string name="restore_all_profile_settings">Restore all profile settings?</string>
|
||||
|
|
|
@ -57,7 +57,7 @@ public class CustomOsmandPlugin extends OsmandPlugin {
|
|||
names.put(localeKey, name);
|
||||
}
|
||||
}
|
||||
JSONObject descriptionJson = json.getJSONObject("Description");
|
||||
JSONObject descriptionJson = json.getJSONObject("description");
|
||||
if (descriptionJson != null) {
|
||||
for (Iterator<String> it = descriptionJson.keys(); it.hasNext(); ) {
|
||||
String localeKey = it.next();
|
||||
|
@ -137,7 +137,7 @@ public class CustomOsmandPlugin extends OsmandPlugin {
|
|||
for (Map.Entry<String, String> entry : descriptions.entrySet()) {
|
||||
descriptionJson.put(entry.getKey(), entry.getValue());
|
||||
}
|
||||
json.put("Description", descriptionJson);
|
||||
json.put("description", descriptionJson);
|
||||
|
||||
saveAdditionalItemsToJson(json);
|
||||
|
||||
|
|
Loading…
Reference in a new issue