[strings] Rename resource because Android does not support resources starting from number.

This commit is contained in:
tatiana-yan 2020-08-06 10:58:45 +03:00 committed by Aleksandr Zatsepin
parent 6e6ec99503
commit f2f7b4d6cd
2 changed files with 2 additions and 2 deletions

View file

@ -48531,7 +48531,7 @@
zh-Hant = 设置
fa = تنظیمات
[30_days_limit_dialog]
[thirty_days_limit_dialog]
en = You can book for a maximum of 30 nights
ru = Забронировать можно максимум на 30 ночей
ar = يمكنك الحجز لـ 30 ليلة كحد أقصى

View file

@ -74,7 +74,7 @@ extension DatePickerViewController: DatePickerViewDelegate {
if date > startDate && view.endDate == nil {
guard Calendar.current.dateComponents([.day], from: startDate, to: date).day! <= 30 else {
MWMAlertViewController.activeAlert().presentDefaultAlert(withTitle: L("30_days_limit_dialog"),
MWMAlertViewController.activeAlert().presentDefaultAlert(withTitle: L("thirty_days_limit_dialog"),
message: nil, rightButtonTitle: L("ok"),
leftButtonTitle: nil,
rightButtonAction: nil)