Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adding new i18n strings for date-range-picker in preparation for month granularity #3228

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/i18n/messages-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export interface I18nFormatArgTypes {
"i18nStrings.relativeModeTitle": never;
"i18nStrings.absoluteModeTitle": never;
"i18nStrings.relativeRangeSelectionHeading": never;
"i18nStrings.relativeRangeSelectionMonthlyDescription": never;
"i18nStrings.cancelButtonLabel": never;
"i18nStrings.clearButtonLabel": never;
"i18nStrings.applyButtonLabel": never;
Expand All @@ -173,13 +174,21 @@ export interface I18nFormatArgTypes {
"i18nStrings.customRelativeRangeUnitLabel": never;
"i18nStrings.customRelativeRangeDurationLabel": never;
"i18nStrings.customRelativeRangeDurationPlaceholder": never;
"i18nStrings.previousMonthAriaLabel": never;
"i18nStrings.nextMonthAriaLabel": never;
"i18nStrings.previousYearAriaLabel": never;
"i18nStrings.nextYearAriaLabel": never;
"i18nStrings.currentMonthAriaLabel": never;
"i18nStrings.todayAriaLabel": never;
"i18nStrings.startMonthLabel": never;
"i18nStrings.startDateLabel": never;
"i18nStrings.startTimeLabel": never;
"i18nStrings.endMonthLabel": never;
"i18nStrings.endDateLabel": never;
"i18nStrings.endTimeLabel": never;
"i18nStrings.dateTimeConstraintText": never;
"i18nStrings.dateConstraintText": never;
"i18nStrings.monthConstraintText": never;
"i18nStrings.errorIconAriaLabel": never;
"i18nStrings.renderSelectedAbsoluteRangeAriaLive": {
"startDate": string | number;
Expand Down
9 changes: 9 additions & 0 deletions src/i18n/messages/all.ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
"i18nStrings.relativeModeTitle": "الوضع النسبي",
"i18nStrings.absoluteModeTitle": "الوضع المُطلق",
"i18nStrings.relativeRangeSelectionHeading": "اختر النطاق",
"i18nStrings.relativeRangeSelectionMonthlyDescription": "كل خيار يمثل الشهر الكامل، بدءًا من اليوم الأول وحتى الأخير.",
"i18nStrings.cancelButtonLabel": "إلغاء",
"i18nStrings.clearButtonLabel": "مسح وإغلاق",
"i18nStrings.applyButtonLabel": "استخدام",
Expand All @@ -137,13 +138,21 @@
"i18nStrings.customRelativeRangeUnitLabel": "الوحدة الزمنية",
"i18nStrings.customRelativeRangeDurationLabel": "المُدَّة",
"i18nStrings.customRelativeRangeDurationPlaceholder": "إدخال المُدَّة",
"i18nStrings.previousMonthAriaLabel": "الشهر السابق",
"i18nStrings.nextMonthAriaLabel": "الشهر التالي",
"i18nStrings.previousYearAriaLabel": "العام السابق",
"i18nStrings.nextYearAriaLabel": "العام المقبل",
"i18nStrings.currentMonthAriaLabel": "هذا الشهر",
"i18nStrings.todayAriaLabel": "اليوم",
"i18nStrings.startMonthLabel": "شهر البداية",
"i18nStrings.startDateLabel": "تاريخ البدء",
"i18nStrings.startTimeLabel": "وقت البدء",
"i18nStrings.endMonthLabel": "نهاية الشهر",
"i18nStrings.endDateLabel": "تاريخ الانتهاء",
"i18nStrings.endTimeLabel": "وقت الانتهاء",
"i18nStrings.dateTimeConstraintText": "استخدم الصيغة YYYY/MM/DD للتاريخ، وصيغة 24 ساعة للوقت.",
"i18nStrings.dateConstraintText": "للحصول على التاريخ، استخدم الصيغة YYYY/MM/DD.",
"i18nStrings.monthConstraintText": "للحصول على الشهر، استخدم الصيغة YYYY/MM.",
"i18nStrings.errorIconAriaLabel": "خطأ",
"i18nStrings.renderSelectedAbsoluteRangeAriaLive": "النطاق المحدد من {startDate} إلى {endDate}",
"i18nStrings.formatRelativeRange": "{unit, select, second {{amount, plural, zero {آخر {amount} ثواني} one {آخر {amount} ثانية} other {آخر {amount} ثواني}}} minute {{amount, plural, zero {آخر {amount} دقائق} one {آخر {amount} دقيقة} other {آخر {amount} دقائق}}} hour {{amount, plural, zero {آخر {amount} ساعات} one {آخر {amount} ساعة} other {آخر {amount} ساعات}}} day {{amount, plural, zero {آخر {amount} أيام} one {آخر {amount} يوم} other {آخر {amount} أيام}}} week {{amount, plural, zero {آخر {amount} أسابيع} one {آخر {amount} أسبوع} other {آخر {amount} أسابيع}}} month {{amount, plural, zero {آخر {amount} أشهر} one {آخر {amount} شهر} other {آخر {amount} أشهر}}} year {{amount, plural, zero {آخر {amount} سنوات} one {آخر {amount} سنة} other {آخر {amount} سنوات}}} other {}}",
Expand Down
9 changes: 9 additions & 0 deletions src/i18n/messages/all.de.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
"i18nStrings.relativeModeTitle": "Relativer Modus",
"i18nStrings.absoluteModeTitle": "Absoluter Modus",
"i18nStrings.relativeRangeSelectionHeading": "Bereich auswählen",
"i18nStrings.relativeRangeSelectionMonthlyDescription": "Jede Option steht für den gesamten Monat, vom ersten bis zum letzten Tag.",
"i18nStrings.cancelButtonLabel": "Abbrechen",
"i18nStrings.clearButtonLabel": "Löschen und Verwerfen",
"i18nStrings.applyButtonLabel": "Anwenden",
Expand All @@ -137,13 +138,21 @@
"i18nStrings.customRelativeRangeUnitLabel": "Zeiteinheit",
"i18nStrings.customRelativeRangeDurationLabel": "Dauer",
"i18nStrings.customRelativeRangeDurationPlaceholder": "Dauer eingeben",
"i18nStrings.previousMonthAriaLabel": "Vorheriger Monat",
"i18nStrings.nextMonthAriaLabel": "Nächster Monat",
"i18nStrings.previousYearAriaLabel": "Vorheriges Jahr",
"i18nStrings.nextYearAriaLabel": "Nächstes Jahr",
"i18nStrings.currentMonthAriaLabel": "Diesen Monat",
"i18nStrings.todayAriaLabel": "Heute",
"i18nStrings.startMonthLabel": "Startmonat",
"i18nStrings.startDateLabel": "Startdatum",
"i18nStrings.startTimeLabel": "Startzeit",
"i18nStrings.endMonthLabel": "Endmonat",
"i18nStrings.endDateLabel": "Enddatum",
"i18nStrings.endTimeLabel": "Endzeit",
"i18nStrings.dateTimeConstraintText": "Verwenden Sie für Datum JJJJ/MM/TT. Verwenden Sie für die Zeit das 24-Stunden-Format.",
"i18nStrings.dateConstraintText": "Verwenden Sie für Datum JJJJ/MM/TT.",
"i18nStrings.monthConstraintText": "Verwenden Sie für Monat JJJJ/MM.",
"i18nStrings.errorIconAriaLabel": "Fehler",
"i18nStrings.renderSelectedAbsoluteRangeAriaLive": "Bereich ausgewählt von {startDate} bis {endDate}",
"i18nStrings.formatRelativeRange": "{unit, select, second {{amount, plural, zero {Letzte {amount} Sekunden} one {Letzte {amount} Sekunde} other {Letzte {amount} Sekunden}}} minute {{amount, plural, zero {Letzte {amount} Minuten} one {Letzte {amount} Minute} other {Letzte {amount} Minuten}}} hour {{amount, plural, zero {Letzte {amount} Stunden} one {Letzte {amount} Stunde} other {Letzte {amount} Stunden}}} day {{amount, plural, zero {Letzte {amount} Tage} one {Letzter {amount} Tag} other {Letzte {amount} Tage}}} week {{amount, plural, zero {Letzte {amount} Wochen} one {Letzte {amount} Woche} other {Letzte {amount} Wochen}}} month {{amount, plural, zero {Letzte {amount} Monate} one {Letzter {amount} Monat} other {Letzte {amount} Monate}}} year {{amount, plural, zero {Letzte {amount} Jahre} one {Letztes {amount} Jahr} other {Letzte {amount} Jahre}}} other {}}",
Expand Down
9 changes: 9 additions & 0 deletions src/i18n/messages/all.en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
"i18nStrings.relativeModeTitle": "Relative mode",
"i18nStrings.absoluteModeTitle": "Absolute mode",
"i18nStrings.relativeRangeSelectionHeading": "Choose a range",
"i18nStrings.relativeRangeSelectionMonthlyDescription": "Each option represents the full month, counting from its first day to its last.",
"i18nStrings.cancelButtonLabel": "Cancel",
"i18nStrings.clearButtonLabel": "Clear and dismiss",
"i18nStrings.applyButtonLabel": "Apply",
Expand All @@ -137,13 +138,21 @@
"i18nStrings.customRelativeRangeUnitLabel": "Unit of time",
"i18nStrings.customRelativeRangeDurationLabel": "Duration",
"i18nStrings.customRelativeRangeDurationPlaceholder": "Enter a duration",
"i18nStrings.previousMonthAriaLabel": "Previous month",
"i18nStrings.nextMonthAriaLabel": "Next month",
"i18nStrings.previousYearAriaLabel": "Previous year",
"i18nStrings.nextYearAriaLabel": "Next year",
"i18nStrings.currentMonthAriaLabel": "This month",
"i18nStrings.todayAriaLabel": "Today",
"i18nStrings.startMonthLabel": "Start month",
"i18nStrings.startDateLabel": "Start date",
"i18nStrings.startTimeLabel": "Start time",
"i18nStrings.endMonthLabel": "End month",
"i18nStrings.endDateLabel": "End date",
"i18nStrings.endTimeLabel": "End time",
"i18nStrings.dateTimeConstraintText": "For date, use DD/MM/YYYY. For time, use 24-hr format.",
"i18nStrings.dateConstraintText": "For date, use YYYY/MM/DD.",
"i18nStrings.monthConstraintText": "For month, use YYYY/MM.",
"i18nStrings.errorIconAriaLabel": "Error",
"i18nStrings.renderSelectedAbsoluteRangeAriaLive": "Range selected from {startDate} to {endDate}",
"i18nStrings.formatRelativeRange": "{unit, select, second {{amount, plural, zero {Last {amount} seconds} one {Last {amount} second} other {Last {amount} seconds}}} minute {{amount, plural, zero {Last {amount} minutes} one {Last {amount} minute} other {Last {amount} minutes}}} hour {{amount, plural, zero {Last {amount} hours} one {Last {amount} hour} other {Last {amount} hours}}} day {{amount, plural, zero {Last {amount} days} one {Last {amount} day} other {Last {amount} days}}} week {{amount, plural, zero {Last {amount} weeks} one {Last {amount} week} other {Last {amount} weeks}}} month {{amount, plural, zero {Last {amount} months} one {Last {amount} month} other {Last {amount} months}}} year {{amount, plural, zero {Last {amount} years} one {Last {amount} year} other {Last {amount} years}}} other {}}",
Expand Down
9 changes: 9 additions & 0 deletions src/i18n/messages/all.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
"i18nStrings.relativeModeTitle": "Relative mode",
"i18nStrings.absoluteModeTitle": "Absolute mode",
"i18nStrings.relativeRangeSelectionHeading": "Choose a range",
"i18nStrings.relativeRangeSelectionMonthlyDescription": "Each option represents the full month, counting from its first day to its last.",
"i18nStrings.cancelButtonLabel": "Cancel",
"i18nStrings.clearButtonLabel": "Clear and dismiss",
"i18nStrings.applyButtonLabel": "Apply",
Expand All @@ -137,13 +138,21 @@
"i18nStrings.customRelativeRangeUnitLabel": "Unit of time",
"i18nStrings.customRelativeRangeDurationLabel": "Duration",
"i18nStrings.customRelativeRangeDurationPlaceholder": "Enter a duration",
"i18nStrings.previousMonthAriaLabel": "Previous month",
"i18nStrings.nextMonthAriaLabel": "Next month",
"i18nStrings.previousYearAriaLabel": "Previous year",
"i18nStrings.nextYearAriaLabel": "Next year",
"i18nStrings.currentMonthAriaLabel": "This month",
"i18nStrings.todayAriaLabel": "Today",
"i18nStrings.startMonthLabel": "Start month",
"i18nStrings.startDateLabel": "Start date",
"i18nStrings.startTimeLabel": "Start time",
"i18nStrings.endMonthLabel": "End month",
"i18nStrings.endDateLabel": "End date",
"i18nStrings.endTimeLabel": "End time",
"i18nStrings.dateTimeConstraintText": "For date, use YYYY/MM/DD. For time, use 24 hr format.",
"i18nStrings.dateConstraintText": "For date, use YYYY/MM/DD.",
"i18nStrings.monthConstraintText": "For month, use YYYY/MM.",
"i18nStrings.errorIconAriaLabel": "Error",
"i18nStrings.renderSelectedAbsoluteRangeAriaLive": "Range selected from {startDate} to {endDate}",
"i18nStrings.formatRelativeRange": "{unit, select, second {{amount, plural, zero {Last {amount} seconds} one {Last {amount} second} other {Last {amount} seconds}}} minute {{amount, plural, zero {Last {amount} minutes} one {Last {amount} minute} other {Last {amount} minutes}}} hour {{amount, plural, zero {Last {amount} hours} one {Last {amount} hour} other {Last {amount} hours}}} day {{amount, plural, zero {Last {amount} days} one {Last {amount} day} other {Last {amount} days}}} week {{amount, plural, zero {Last {amount} weeks} one {Last {amount} week} other {Last {amount} weeks}}} month {{amount, plural, zero {Last {amount} months} one {Last {amount} month} other {Last {amount} months}}} year {{amount, plural, zero {Last {amount} years} one {Last {amount} year} other {Last {amount} years}}} other {}}",
Expand Down
9 changes: 9 additions & 0 deletions src/i18n/messages/all.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
"i18nStrings.relativeModeTitle": "Modo relativo",
"i18nStrings.absoluteModeTitle": "Modo absoluto",
"i18nStrings.relativeRangeSelectionHeading": "Elegir un rango",
"i18nStrings.relativeRangeSelectionMonthlyDescription": "Cada opción representa el mes completo, contando desde el primer día hasta el último.",
"i18nStrings.cancelButtonLabel": "Cancelar",
"i18nStrings.clearButtonLabel": "Borrar y descartar",
"i18nStrings.applyButtonLabel": "Aplicar",
Expand All @@ -137,13 +138,21 @@
"i18nStrings.customRelativeRangeUnitLabel": "Unidad de tiempo",
"i18nStrings.customRelativeRangeDurationLabel": "Duración",
"i18nStrings.customRelativeRangeDurationPlaceholder": "Introduzca una duración",
"i18nStrings.previousMonthAriaLabel": "Mes anterior",
"i18nStrings.nextMonthAriaLabel": "Próximo mes",
"i18nStrings.previousYearAriaLabel": "Año anterior",
"i18nStrings.nextYearAriaLabel": "Próximo año",
"i18nStrings.currentMonthAriaLabel": "Este mes",
"i18nStrings.todayAriaLabel": "Hoy",
"i18nStrings.startMonthLabel": "Mes de inicio",
"i18nStrings.startDateLabel": "Fecha de inicio",
"i18nStrings.startTimeLabel": "Hora de inicio",
"i18nStrings.endMonthLabel": "Mes de finalización",
"i18nStrings.endDateLabel": "Fecha de finalización",
"i18nStrings.endTimeLabel": "Hora de finalización",
"i18nStrings.dateTimeConstraintText": "Para la fecha, utilice AAAA/MM/DD. Para la hora, utilice el formato de 24 horas.",
"i18nStrings.dateConstraintText": "Para la fecha, use el formato AAAA/MM/DD.",
"i18nStrings.monthConstraintText": "Para el mes, use el formato AAAA/MM.",
"i18nStrings.errorIconAriaLabel": "Error",
"i18nStrings.renderSelectedAbsoluteRangeAriaLive": "Rango seleccionado de {startDate} a {endDate}",
"i18nStrings.formatRelativeRange": "{unit, select, second {{amount, plural, zero {Últimos {amount} segundos} one {Último {amount} segundo} other {Últimos {amount} segundos}}} minute {{amount, plural, zero {Últimos {amount} minutos} one {Último {amount} minuto} other {Últimos {amount} minutos}}} hour {{amount, plural, zero {Últimas {amount} horas} one {Última {amount} hora} other {Últimas {amount} horas}}} day {{amount, plural, zero {Últimos {amount} días} one {Último {amount} día} other {Últimos {amount} días}}} week {{amount, plural, zero {Últimas {amount} semanas} one {Última {amount} semana} other {Últimas {amount} semanas}}} month {{amount, plural, zero {Últimos {amount} meses} one {Último {amount} mes} other {Últimos {amount} meses}}} year {{amount, plural, zero {Últimos {amount} años} one {Último {amount} año} other {Últimos {amount} años}}} other {}}",
Expand Down
9 changes: 9 additions & 0 deletions src/i18n/messages/all.fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
"i18nStrings.relativeModeTitle": "Mode relatif",
"i18nStrings.absoluteModeTitle": "Mode absolu",
"i18nStrings.relativeRangeSelectionHeading": "Choisir une plage",
"i18nStrings.relativeRangeSelectionMonthlyDescription": "Chaque option représente le mois complet, du premier au dernier jour.",
"i18nStrings.cancelButtonLabel": "Annuler",
"i18nStrings.clearButtonLabel": "Effacer et ignorer",
"i18nStrings.applyButtonLabel": "Appliquer",
Expand All @@ -137,13 +138,21 @@
"i18nStrings.customRelativeRangeUnitLabel": "Unité de temps",
"i18nStrings.customRelativeRangeDurationLabel": "Durée",
"i18nStrings.customRelativeRangeDurationPlaceholder": "Saisir une durée",
"i18nStrings.previousMonthAriaLabel": "Mois précédent",
"i18nStrings.nextMonthAriaLabel": "Mois suivant",
"i18nStrings.previousYearAriaLabel": "Année précédente",
"i18nStrings.nextYearAriaLabel": "Année suivante",
"i18nStrings.currentMonthAriaLabel": "Ce mois-ci",
"i18nStrings.todayAriaLabel": "Aujourd’hui",
"i18nStrings.startMonthLabel": "Mois de début",
"i18nStrings.startDateLabel": "Date de début",
"i18nStrings.startTimeLabel": "Heure de début",
"i18nStrings.endMonthLabel": "Mois de fin",
"i18nStrings.endDateLabel": "Date de fin",
"i18nStrings.endTimeLabel": "Heure de fin",
"i18nStrings.dateTimeConstraintText": "Pour la date, utilisez le format AAAA/MM/JJ. Pour l'heure, utilisez le format 24 heures.",
"i18nStrings.dateConstraintText": "Pour la date, utilisez le format AAAA/MM/JJ.",
"i18nStrings.monthConstraintText": "Pour le mois, utilisez le format AAAA/MM.",
"i18nStrings.errorIconAriaLabel": "Erreur",
"i18nStrings.renderSelectedAbsoluteRangeAriaLive": "Plage sélectionnée de {startDate} à {endDate}",
"i18nStrings.formatRelativeRange": "{unit, select, second {{amount, plural, zero {Dernières {amount} secondes} one {Dernière {amount} seconde} other {Dernières {amount} secondes}}} minute {{amount, plural, zero {Dernières {amount} minutes} one {Dernière {amount} minute} other {Dernières {amount} minutes}}} hour {{amount, plural, zero {Dernières {amount} heures} one {Dernière {amount} heure} other {Dernières {amount} heures}}} day {{amount, plural, zero {Derniers {amount} jours} one {Dernier {amount} jour} other {Derniers {amount} jours}}} week {{amount, plural, zero {Dernières {amount} semaines} one {Dernière {amount} semaine} other {Dernières {amount} semaines}}} month {{amount, plural, zero {Derniers {amount} mois} one {Dernier {amount} mois} other {Derniers {amount} mois}}} year {{amount, plural, zero {Dernières {amount} années} one {Dernière {amount} année} other {Dernières {amount} années}}} other {}}",
Expand Down
Loading
Loading