From 899ab87bfe0bf06ea2640665e25c2981f41dcc3b Mon Sep 17 00:00:00 2001 From: Jean-BaptisteC Date: Sat, 16 Mar 2024 21:30:59 +0100 Subject: [PATCH 1/2] [android] Improve bookmark description Signed-off-by: Jean-BaptisteC --- .../bookmarks/BookmarkListAdapter.java | 9 ++------- .../java/app/organicmaps/bookmarks/Holders.java | 4 ---- .../main/res/layout/edit_bookmark_common.xml | 4 ++-- .../main/res/layout/fragment_edit_bookmark.xml | 1 - .../res/layout/item_category_description.xml | 17 +++++------------ .../src/main/res/layout/item_category_title.xml | 3 ++- 6 files changed, 11 insertions(+), 27 deletions(-) diff --git a/android/app/src/main/java/app/organicmaps/bookmarks/BookmarkListAdapter.java b/android/app/src/main/java/app/organicmaps/bookmarks/BookmarkListAdapter.java index a690997658..41009879b2 100644 --- a/android/app/src/main/java/app/organicmaps/bookmarks/BookmarkListAdapter.java +++ b/android/app/src/main/java/app/organicmaps/bookmarks/BookmarkListAdapter.java @@ -429,14 +429,9 @@ public class BookmarkListAdapter extends RecyclerView.Adapter onMoreButtonClicked(text, moreBtn)); moreBtn.setOnClickListener(v -> onMoreButtonClicked(text, moreBtn)); - title.setOnClickListener(v -> onMoreButtonClicked(text, moreBtn)); - author.setOnClickListener(v -> onMoreButtonClicked(text, moreBtn)); break; } @@ -542,12 +537,12 @@ public class BookmarkListAdapter extends RecyclerView.Adapter diff --git a/android/app/src/main/res/layout/item_category_description.xml b/android/app/src/main/res/layout/item_category_description.xml index 67b6ed55bc..0534a3a204 100644 --- a/android/app/src/main/res/layout/item_category_description.xml +++ b/android/app/src/main/res/layout/item_category_description.xml @@ -3,21 +3,14 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="@dimen/margin_base"> - - + android:padding="@dimen/margin_half"> + app:layout_constraintTop_toTopOf="parent" /> diff --git a/android/app/src/main/res/layout/item_category_title.xml b/android/app/src/main/res/layout/item_category_title.xml index 876ebc074a..18decb4838 100644 --- a/android/app/src/main/res/layout/item_category_title.xml +++ b/android/app/src/main/res/layout/item_category_title.xml @@ -7,8 +7,9 @@ android:layout_height="wrap_content" android:background="?windowBackgroundForced" android:gravity="start|center_vertical" + android:textSize="18sp" android:paddingStart="@dimen/margin_base" - android:paddingTop="@dimen/margin_base_plus" + android:paddingTop="@dimen/margin_half_plus" android:paddingEnd="@dimen/margin_base" android:paddingBottom="@dimen/margin_half_plus" android:text="@string/bookmarks" /> -- 2.45.3 From 5c96c4bd110dc10c092cae3eb2c90b92a3619e73 Mon Sep 17 00:00:00 2001 From: Jean-BaptisteC Date: Thu, 15 Aug 2024 22:03:22 +0200 Subject: [PATCH 2/2] [strings] Improve and add new strings Signed-off-by: Jean-BaptisteC --- data/strings/strings.txt | 126 ++++++++++++++++++++++++++------------- 1 file changed, 85 insertions(+), 41 deletions(-) diff --git a/data/strings/strings.txt b/data/strings/strings.txt index 6a1627a2cb..40867c1718 100644 --- a/data/strings/strings.txt +++ b/data/strings/strings.txt @@ -3960,48 +3960,48 @@ [description] comment = Notes field in Bookmarks view tags = android - en = Notes - af = Notas - ar = ملاحظات - az = Qeydlər - be = Нататкі - bg = Бележки - ca = Notes - cs = Poznámky - da = Noter - de = Notizen - el = Σημειώσεις - es = Notas - et = Märkmed - eu = Oharrak - fa = یادداشت‌ها - fi = Muistiinpanot - fr = Notes - he = הערות - hi = टिप्पणियाँ + en = Description + af = Beskrywing + ar = وصف + az = Təsvir + be = Апісанне + bg = Описание + ca = Descripció + cs = Popis + da = Beskrivelse + de = Beschreibung + el = Περιγραφή + es = Descripción + et = Kirjeldus + eu = Deskribapena + fa = شرح + fi = Kuvaus + fr = Description + he = תיאור + hi = विवरण hu = Jegyzetek - id = Catatan - it = Informazioni - ja = メモ - ko = 메모 - lt = Užrašai - mr = चिठ्ठया - mt = Noti - nb = Merknader - nl = Notities - pl = Notatki - pt = Notas - pt-BR = Anotações - ro = Detalii - ru = Примечание - sk = Poznámky - sv = Anteckningar - th = บันทึก - tr = Notlar - uk = Примітка - vi = Ghi chú - zh-Hans = 注释 - zh-Hant = 註釋 + id = Deskripsi + it = Descrizione + ja = 説明 + ko = 설명 + lt = Aprašymas + mr = वर्णन + nb = Beskrivelse + nl = Beschrijving + pl = Opis + pt = Descrição + pt-BR = Descrição + ro = Descriere + ru = Описание + sk = Popis + sv = Beskrivning + sw = Maelezo + th = คำอธิบาย + tr = Açıklama + uk = Опис + vi = Sự miêu tả + zh-Hans = 说明 + zh-Hant = 描述 [share_bookmarks_email_subject] comment = Email Subject when sharing bookmark list @@ -31478,3 +31478,47 @@ vi = Khôi phục tất cả zh-Hans = 全部恢复 zh-Hant = 全部恢復 + +[placepage_less_button] + tags = android + en = Less + af = Minder + ar = أقل + az = Daha az + be = Менш + bg = По-малко + ca = Menys + cs = Méně + da = Mindre + de = Weniger + el = Λιγότερο + es = Menos + et = Vähem + eu = Gutxiago + fa = کمتر + fi = Vähemmän + fr = Moins + he = פחות + hi = कम + hu = Kevesebb + id = Kurang + it = Meno + ja = より少ない + ko = 더 적은 + lt = Mažiau + mr = कमी + nb = Mindre + nl = Minder + pl = Mniej + pt = Menos + ro = Mai puțin + ru = Меньше + sk = Menej + sv = Mindre + sw = Chini + th = น้อย + tr = Daha az + uk = Менше + vi = Ít hơn + zh-Hans = 更少 + zh-Hant = 較少的 -- 2.45.3