[strings] Rename the "list settings" key to "edit"

Signed-off-by: meenbeese <meenbeese@tutanota.com>
This commit is contained in:
meenbeese 2023-07-13 18:59:22 -04:00 committed by Alexander Borsuk
parent 7654b81bb0
commit f861b2614d
9 changed files with 8 additions and 51 deletions

View file

@ -847,7 +847,7 @@
<activity
android:name="app.organicmaps.bookmarks.BookmarkCategorySettingsActivity"
android:label="@string/list_settings"/>
android:label="@string/edit"/>
<activity
android:name="app.organicmaps.widget.placepage.PlaceDescriptionActivity"
android:label="@string/place_description_title"/>

View file

@ -167,7 +167,7 @@ public class BookmarkCategoriesFragment extends BaseMwmRecyclerFragment<Bookmark
if (mSelectedCategory != null)
{
items.add(new MenuBottomSheetItem(
R.string.list_settings,
R.string.edit,
R.drawable.ic_settings,
() -> onSettingsActionSelected(mSelectedCategory)));
items.add(new MenuBottomSheetItem(

View file

@ -733,7 +733,7 @@ public class BookmarksListFragment extends BaseMwmRecyclerFragment<ConcatAdapter
items.add(new MenuBottomSheetItem(R.string.sort, R.drawable.ic_sort, this::onSortOptionSelected));
items.add(new MenuBottomSheetItem(R.string.export_file, R.drawable.ic_share, this::onShareOptionSelected));
}
items.add(new MenuBottomSheetItem(R.string.list_settings, R.drawable.ic_settings, this::onSettingsOptionSelected));
items.add(new MenuBottomSheetItem(R.string.edit, R.drawable.ic_settings, this::onSettingsOptionSelected));
if (!isLastOwnedCategory())
items.add(new MenuBottomSheetItem(R.string.delete_list, R.drawable.ic_delete, this::onDeleteOptionSelected));
return items;

View file

@ -648,7 +648,7 @@
<string name="bookmarks_empty_list_message">To add a bookmark, tap a place on the map and then tap the star icon</string>
<string name="category_desc_more">…more</string>
<string name="export_file">Export file</string>
<string name="list_settings">List Settings</string>
<string name="list_settings">Edit</string>
<string name="delete_list">Delete list</string>
<string name="public_access">Public access</string>
<string name="limited_access">Limited access</string>

View file

@ -20976,49 +20976,6 @@
zh-Hans = 导出文件
zh-Hant = 導出文件
[list_settings]
tags = android,ios
en = List Settings
af = Lysinstellings
ar = إعدادات القائمة
be = Налады спіса
bg = Настройки на списък
ca = Configuració de la llista
cs = Nastavení seznamu
da = Listeindstillinger
de = Listeneinstellungen
el = Ρυθμίσεις Λίστας
es = Ajustes de la lista
es-MX = Ajustes de lista
et = Loetelu seaded
eu = Zerrendaren ezarpenak
fa = تنظیمات لیست
fi = Luettelon asetukset
fr = Paramètres de la liste
hu = Lista beállításai
id = Pengaturan Daftar
it = Impostazioni elenco
ja = リスト設定
ko = 목록 세팅
lt = Sąrašo nustatymai
mr = यादी सेटिंग
nb = Liste Innstillinger
nl = Lijst Instellingen
pl = Ustawienia listy
pt = Configurações de listas
pt-BR = Configurações de lista
ro = Opțiunile listei
ru = Настройки списка
sk = Nastavenie zoznamu
sv = Listinställningar
sw = Mipangilio ya Orodhesha
th = การตั้งค่ารายการ
tr = Liste Ayarları
uk = Налаштування списку
vi = Cài đặt danh sách
zh-Hans = 列表设置
zh-Hant = 列表設定
[delete_list]
tags = android,ios
en = Delete list

View file

@ -119,7 +119,7 @@ final class BookmarksListPresenter {
moreItems.append(BookmarksListMenuItem(title: L("search_show_on_map"), action: { [weak self] in
self?.viewOnMap()
}))
moreItems.append(BookmarksListMenuItem(title: L("list_settings"), action: { [weak self] in
moreItems.append(BookmarksListMenuItem(title: L("edit"), action: { [weak self] in
guard let self = self else { return }
self.router.listSettings(self.bookmarkGroup, delegate: self)
}))

View file

@ -120,7 +120,7 @@ final class BMCViewController: MWMViewController {
ppc.sourceRect = anchor.bounds
}
let settings = L("list_settings")
let settings = L("edit")
actionSheet.addAction(UIAlertAction(title: settings, style: .default, handler: { _ in
self.openCategorySettings(category: category)
}))

View file

@ -37,7 +37,7 @@ final class CategorySettingsViewController: MWMTableViewController {
override func viewDidLoad() {
super.viewDidLoad()
title = L("list_settings")
title = L("edit")
navigationItem.rightBarButtonItem = UIBarButtonItem(barButtonSystemItem: .save,
target: self,
action: #selector(onSave))

View file

@ -977,7 +977,7 @@
"export_file" = "Export file";
"list_settings" = "List Settings";
"list_settings" = "Edit";
"delete_list" = "Delete list";