- Add translation key 'userDoesNotHavePublicCalendars' to all locale files (en, fr, vi, ru)
- Update ErrorSnackbar to support translation keys in error messages with params
- Update getTempCalendarsListAsync to throw error with translation key format instead of hardcoded message
- Error message now displays user-friendly translated text: '{User Name} does not have public calendars'
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
"browseOtherCalendars": "Browse other calendars",
|
||||
"noPublicCalendarsFor": "No publicly available calendars for %{name}",
|
||||
"noMoreCalendarsFor": "No more calendars for %{name}",
|
||||
"userDoesNotHavePublicCalendars": "%{name} does not have public calendars",
|
||||
"delete": {
|
||||
"title": "Remove %{name}?",
|
||||
"personalWarning": "You will lose all events in this calendar.",
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"browseOtherCalendars": "Parcourir d'autres calendriers",
|
||||
"noPublicCalendarsFor": "Aucun calendrier public disponible pour %{name}",
|
||||
"noMoreCalendarsFor": "Plus de calendriers disponibles pour %{name}",
|
||||
"userDoesNotHavePublicCalendars": "%{name} n'a pas de calendriers publics",
|
||||
"delete": {
|
||||
"title": "Supprimer %{name} ?",
|
||||
"personalWarning": "Vous allez perdre tous les événements de ce calendrier.",
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"browseOtherCalendars": "Просмотреть другие календари",
|
||||
"noPublicCalendarsFor": "Нет общедоступных календарей для %{name}",
|
||||
"noMoreCalendarsFor": "Других календарей для %{name} нет",
|
||||
"userDoesNotHavePublicCalendars": "%{name} не имеет общедоступных календарей",
|
||||
"delete": {
|
||||
"title": "Удалить %{name}?",
|
||||
"personalWarning": "Вы потеряете все события в этом календаре.",
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"browseOtherCalendars": "Xem các lịch khác",
|
||||
"noPublicCalendarsFor": "Không có lịch công khai cho %{name}",
|
||||
"noMoreCalendarsFor": "Không còn lịch nào cho %{name}",
|
||||
"userDoesNotHavePublicCalendars": "%{name} không có lịch công khai",
|
||||
"delete": {
|
||||
"title": "Xóa %{name}?",
|
||||
"personalWarning": "Bạn sẽ mất tất cả sự kiện trong lịch này.",
|
||||
|
||||
Reference in New Issue
Block a user