forked from organicmaps/organicmaps
[strings][editor][android] Localize opening hours picker
Signed-off-by: Michał Brzozowski <www.haxor@gmail.com>
This commit is contained in:
parent
caf45c4677
commit
c45184cbf1
2 changed files with 82 additions and 3 deletions
|
@ -140,15 +140,14 @@ public class HoursMinutesPickerFragment extends BaseMwmDialogFragment
|
|||
|
||||
mTabs = root.findViewById(R.id.tabs);
|
||||
TextView tabView = (TextView) inflater.inflate(R.layout.tab_timepicker, mTabs, false);
|
||||
// TODO @yunik add translations
|
||||
tabView.setText("From");
|
||||
tabView.setText(getResources().getString(R.string.editor_time_from));
|
||||
final ColorStateList textColor = AppCompatResources.getColorStateList(requireContext(),
|
||||
ThemeUtils.isNightTheme(requireContext()) ? R.color.accent_color_selector_night
|
||||
: R.color.accent_color_selector);
|
||||
tabView.setTextColor(textColor);
|
||||
mTabs.addTab(mTabs.newTab().setCustomView(tabView), true);
|
||||
tabView = (TextView) inflater.inflate(R.layout.tab_timepicker, mTabs, false);
|
||||
tabView.setText("To");
|
||||
tabView.setText(getResources().getString(R.string.editor_time_to));
|
||||
tabView.setTextColor(textColor);
|
||||
mTabs.addTab(mTabs.newTab().setCustomView(tabView), true);
|
||||
mTabs.setOnTabSelectedListener(new TabLayout.OnTabSelectedListener()
|
||||
|
|
|
@ -9843,6 +9843,86 @@
|
|||
zh-Hans = 下一页
|
||||
zh-Hant = 下一頁
|
||||
|
||||
[editor_time_from]
|
||||
comment = Tab title in the Edit Opening Hours time picker
|
||||
tags = android
|
||||
en = From
|
||||
ar = من الساعة
|
||||
be = З
|
||||
bg = От
|
||||
ca = De
|
||||
cs = Od
|
||||
da = Fra
|
||||
de = Von
|
||||
el = Από τις
|
||||
es = De
|
||||
et = Kell
|
||||
eu = etatik
|
||||
fa = از ساعت
|
||||
fi = alkaen
|
||||
fr = De
|
||||
he = משעה
|
||||
hu = tól
|
||||
id = Dari pukul
|
||||
it = Dalle
|
||||
ja = から
|
||||
ko = 부터
|
||||
mr = ते
|
||||
nb = Fra
|
||||
nl = Van
|
||||
pl = Od
|
||||
pt = Das
|
||||
ro = De la
|
||||
ru = С
|
||||
sk = Od
|
||||
sv = Från
|
||||
th = เวลา
|
||||
tr = Den itibaren
|
||||
uk = З
|
||||
vi = Từ
|
||||
zh-Hans = 从
|
||||
zh-Hant = 從
|
||||
|
||||
[editor_time_to]
|
||||
comment = Tab title in the Edit Opening Hours time picker
|
||||
tags = android
|
||||
en = To
|
||||
ar = إلى
|
||||
be = Да
|
||||
bg = До
|
||||
ca = A
|
||||
cs = Do
|
||||
da = Til
|
||||
de = Bis
|
||||
el = Έως Τις
|
||||
es = A
|
||||
et = Kuni
|
||||
eu = Etara
|
||||
fa = الی
|
||||
fi = Asti
|
||||
fr = À
|
||||
he = עד
|
||||
hu = Ig
|
||||
id = Hingga
|
||||
it = Alle
|
||||
ja = まで
|
||||
ko = 까지
|
||||
mr = पर्यंत
|
||||
nb = Til
|
||||
nl = Tot
|
||||
pl = Do
|
||||
pt = Às
|
||||
ro = La
|
||||
ru = До
|
||||
sk = Do
|
||||
sv = Till
|
||||
th = น
|
||||
tr = A
|
||||
uk = До
|
||||
vi = Đến
|
||||
zh-Hans = 到
|
||||
zh-Hant = 到
|
||||
|
||||
[editor_time_add]
|
||||
tags = android,ios
|
||||
en = Add Schedule
|
||||
|
|
Loading…
Add table
Reference in a new issue