This commit is contained in:
veliymolfar 2020-03-04 10:20:55 +02:00
parent 0849d736b9
commit 3951393834
2 changed files with 6 additions and 2 deletions

View file

@ -14,7 +14,7 @@
<string name="importing_from">Importing data from %1$s</string>
<string name="shared_string_importing">Importing</string>
<string name="checking_for_duplicate_description">OsmAnd check %1$s for duplicates with existing items in the application.\n\nIt may take some time.</string>
<string name="items_added">Items added: %1$s</string>
<string name="items_added">Items added</string>
<string name="shared_string_quick_action">Quick action</string>
<string name="shared_string_import_complete">Import complete</string>
<string name="import_complete_description">All data from the %1$s is imported, you can use buttons below to open needed part of the application to manage it.</string>

View file

@ -60,7 +60,11 @@ public class ImportedSettingsItemsAdapter extends
listener.onItemClick(currentItem.getType());
}
});
holder.subTitle.setText(String.format(app.getString(R.string.items_added), String.valueOf(currentItem.getItems().size())));
holder.subTitle.setText(String.format(
app.getString(R.string.ltr_or_rtl_combine_via_colon),
app.getString(R.string.items_added),
String.valueOf(currentItem.getItems().size()))
);
switch (currentItem.getType()) {
case PROFILE: