Improve: #368 error message when user has no public calendars (#412)

- 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:
lenhanphung
2025-12-12 23:32:36 +07:00
committed by GitHub
parent aa7d032aef
commit 6161e295ce
6 changed files with 45 additions and 2 deletions
+1
View File
@@ -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.",