From 1b75aa71c6a8048dabdcd85fa259d274e1a3f4a6 Mon Sep 17 00:00:00 2001 From: Diego Date: Sat, 23 Nov 2024 11:56:27 +0100 Subject: [PATCH 1/4] [l10n] Improve Spanish(es-ES) locale (#15559) Co-authored-by: Olivier Tassinari --- docs/data/data-grid/localization/data.json | 2 +- packages/x-data-grid/src/locales/esES.ts | 23 +++++++++++----------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/data/data-grid/localization/data.json b/docs/data/data-grid/localization/data.json index f7718fbf0daf..67a24d282726 100644 --- a/docs/data/data-grid/localization/data.json +++ b/docs/data/data-grid/localization/data.json @@ -235,7 +235,7 @@ "languageTag": "es-ES", "importName": "esES", "localeName": "Spanish", - "missingKeysCount": 11, + "missingKeysCount": 0, "totalKeysCount": 133, "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-data-grid/src/locales/esES.ts" }, diff --git a/packages/x-data-grid/src/locales/esES.ts b/packages/x-data-grid/src/locales/esES.ts index 25ee23998fba..f4cecbda13d3 100644 --- a/packages/x-data-grid/src/locales/esES.ts +++ b/packages/x-data-grid/src/locales/esES.ts @@ -32,16 +32,17 @@ const esESGrid: Partial = { toolbarQuickFilterDeleteIconLabel: 'Limpiar', // Prompt toolbar field - // toolbarPromptControlPlaceholder: 'Type a prompt…', - // toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…', - // toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…', - // toolbarPromptControlLabel: 'Prompt input', - // toolbarPromptControlDeleteIconLabel: 'Clear', - // toolbarPromptControlRecordButtonDefaultLabel: 'Record', - // toolbarPromptControlRecordButtonActiveLabel: 'Stop recording', - // toolbarPromptControlSendActionLabel: 'Send', - // toolbarPromptControlSendActionAriaLabel: 'Send prompt', - // toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.', + toolbarPromptControlPlaceholder: 'Escriba un prompt…', + toolbarPromptControlWithRecordingPlaceholder: 'Escriba o grabe un prompt…', + toolbarPromptControlRecordingPlaceholder: 'Esperando por un prompt…', + toolbarPromptControlLabel: 'Introduzca un prompt', + toolbarPromptControlDeleteIconLabel: 'Limpiar', + toolbarPromptControlRecordButtonDefaultLabel: 'Grabar', + toolbarPromptControlRecordButtonActiveLabel: 'Parar de grabar', + toolbarPromptControlSendActionLabel: 'Enviar', + toolbarPromptControlSendActionAriaLabel: 'Enviar prompt', + toolbarPromptControlErrorMessage: + 'Ocurrió un error mientras se procesaba la petición. Por favor, intente de nuevo con otro prompt.', // Export selector toolbar button text toolbarExport: 'Exportar', @@ -55,7 +56,7 @@ const esESGrid: Partial = { columnsManagementNoColumns: 'Sin columnas', columnsManagementShowHideAllText: 'Mostrar/Ocultar todas', columnsManagementReset: 'Restablecer', - // columnsManagementDeleteIconLabel: 'Clear', + columnsManagementDeleteIconLabel: 'Limpiar', // Filter panel text filterPanelAddFilter: 'Agregar filtro', From 58656445b76fee5f389cd655bf035fcc7aad094b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20L=C3=BAcio?= Date: Sat, 23 Nov 2024 08:01:12 -0300 Subject: [PATCH 2/4] [l10n] Improve Portuguese (Brazil) (pt-BR) locale (#15562) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matheus Lúcio Co-authored-by: Olivier Tassinari --- docs/data/data-grid/localization/data.json | 2 +- packages/x-data-grid/src/locales/ptBR.ts | 23 +++++++++++----------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/data/data-grid/localization/data.json b/docs/data/data-grid/localization/data.json index 67a24d282726..67b19812642c 100644 --- a/docs/data/data-grid/localization/data.json +++ b/docs/data/data-grid/localization/data.json @@ -203,7 +203,7 @@ "languageTag": "pt-BR", "importName": "ptBR", "localeName": "Portuguese (Brazil)", - "missingKeysCount": 11, + "missingKeysCount": 0, "totalKeysCount": 133, "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-data-grid/src/locales/ptBR.ts" }, diff --git a/packages/x-data-grid/src/locales/ptBR.ts b/packages/x-data-grid/src/locales/ptBR.ts index df742838bff8..d514af7e0460 100644 --- a/packages/x-data-grid/src/locales/ptBR.ts +++ b/packages/x-data-grid/src/locales/ptBR.ts @@ -32,16 +32,17 @@ const ptBRGrid: Partial = { toolbarQuickFilterDeleteIconLabel: 'Limpar', // Prompt toolbar field - // toolbarPromptControlPlaceholder: 'Type a prompt…', - // toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…', - // toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…', - // toolbarPromptControlLabel: 'Prompt input', - // toolbarPromptControlDeleteIconLabel: 'Clear', - // toolbarPromptControlRecordButtonDefaultLabel: 'Record', - // toolbarPromptControlRecordButtonActiveLabel: 'Stop recording', - // toolbarPromptControlSendActionLabel: 'Send', - // toolbarPromptControlSendActionAriaLabel: 'Send prompt', - // toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.', + toolbarPromptControlPlaceholder: 'Digite um prompt…', + toolbarPromptControlWithRecordingPlaceholder: 'Digite ou grave um prompt…', + toolbarPromptControlRecordingPlaceholder: 'Ouvindo o prompt…', + toolbarPromptControlLabel: 'Entrada de prompt', + toolbarPromptControlDeleteIconLabel: 'Limpar', + toolbarPromptControlRecordButtonDefaultLabel: 'Gravar', + toolbarPromptControlRecordButtonActiveLabel: 'Parar gravação', + toolbarPromptControlSendActionLabel: 'Enviar', + toolbarPromptControlSendActionAriaLabel: 'Enviar prompt', + toolbarPromptControlErrorMessage: + 'Ocorreu um erro ao processar a solicitação. Por favor, tente novamente com um prompt diferente.', // Export selector toolbar button text toolbarExport: 'Exportar', @@ -55,7 +56,7 @@ const ptBRGrid: Partial = { columnsManagementNoColumns: 'Nenhuma coluna', columnsManagementShowHideAllText: 'Mostrar/Ocultar Todas', columnsManagementReset: 'Redefinir', - // columnsManagementDeleteIconLabel: 'Clear', + columnsManagementDeleteIconLabel: 'Limpar', // Filter panel text filterPanelAddFilter: 'Adicionar filtro', From 483fc6a466116c339ecbce300ee9a967ac086d85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20L=C3=BAcio?= Date: Sat, 23 Nov 2024 08:25:43 -0300 Subject: [PATCH 3/4] [l10n] Improve Portuguese (pt-PT) locale (#15561) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matheus Lúcio Co-authored-by: Olivier Tassinari --- docs/data/data-grid/localization/data.json | 2 +- packages/x-data-grid/src/locales/ptPT.ts | 23 +++++++++++----------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/data/data-grid/localization/data.json b/docs/data/data-grid/localization/data.json index 67b19812642c..8ce145a0b640 100644 --- a/docs/data/data-grid/localization/data.json +++ b/docs/data/data-grid/localization/data.json @@ -195,7 +195,7 @@ "languageTag": "pt-PT", "importName": "ptPT", "localeName": "Portuguese", - "missingKeysCount": 11, + "missingKeysCount": 0, "totalKeysCount": 133, "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-data-grid/src/locales/ptPT.ts" }, diff --git a/packages/x-data-grid/src/locales/ptPT.ts b/packages/x-data-grid/src/locales/ptPT.ts index ee6f9ae387f3..af84bf334302 100644 --- a/packages/x-data-grid/src/locales/ptPT.ts +++ b/packages/x-data-grid/src/locales/ptPT.ts @@ -32,16 +32,17 @@ const ptPTGrid: Partial = { toolbarQuickFilterDeleteIconLabel: 'Claro', // Prompt toolbar field - // toolbarPromptControlPlaceholder: 'Type a prompt…', - // toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…', - // toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…', - // toolbarPromptControlLabel: 'Prompt input', - // toolbarPromptControlDeleteIconLabel: 'Clear', - // toolbarPromptControlRecordButtonDefaultLabel: 'Record', - // toolbarPromptControlRecordButtonActiveLabel: 'Stop recording', - // toolbarPromptControlSendActionLabel: 'Send', - // toolbarPromptControlSendActionAriaLabel: 'Send prompt', - // toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.', + toolbarPromptControlPlaceholder: 'Digite um prompt…', + toolbarPromptControlWithRecordingPlaceholder: 'Digite ou grave um prompt…', + toolbarPromptControlRecordingPlaceholder: 'Ouvindo o prompt…', + toolbarPromptControlLabel: 'Entrada de prompt', + toolbarPromptControlDeleteIconLabel: 'Limpar', + toolbarPromptControlRecordButtonDefaultLabel: 'Gravar', + toolbarPromptControlRecordButtonActiveLabel: 'Parar gravação', + toolbarPromptControlSendActionLabel: 'Enviar', + toolbarPromptControlSendActionAriaLabel: 'Enviar prompt', + toolbarPromptControlErrorMessage: + 'Ocorreu um erro ao processar a solicitação. Por favor, tente novamente com um prompt diferente.', // Export selector toolbar button text toolbarExport: 'Exportar', @@ -55,7 +56,7 @@ const ptPTGrid: Partial = { columnsManagementNoColumns: 'Sem colunas', columnsManagementShowHideAllText: 'Mostrar/Ocultar Todas', columnsManagementReset: 'Repor', - // columnsManagementDeleteIconLabel: 'Clear', + columnsManagementDeleteIconLabel: 'Limpar', // Filter panel text filterPanelAddFilter: 'Adicionar filtro', From 419eb67edbf6db293ad491d3398440a497898bee Mon Sep 17 00:00:00 2001 From: Nick Muller <3781551+nphmuller@users.noreply.github.com> Date: Sat, 23 Nov 2024 12:33:08 +0100 Subject: [PATCH 4/4] [l10n] Improve Dutch (nl-NL) locale (#15564) Signed-off-by: Nick Muller <3781551+nphmuller@users.noreply.github.com> --- packages/x-date-pickers/src/locales/nlNL.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/x-date-pickers/src/locales/nlNL.ts b/packages/x-date-pickers/src/locales/nlNL.ts index a8f167718b2c..18de679b02f4 100644 --- a/packages/x-date-pickers/src/locales/nlNL.ts +++ b/packages/x-date-pickers/src/locales/nlNL.ts @@ -25,10 +25,10 @@ const nlNLPickers: Partial = { // DateRange labels start: 'Start', end: 'Einde', - startDate: 'Start datum', - startTime: 'Start tijd', - endDate: 'Eind datum', - endTime: 'Eind tijd', + startDate: 'Startdatum', + startTime: 'Starttijd', + endDate: 'Einddatum', + endTime: 'Eindtijd', // Action bar cancelButtonLabel: 'Annuleren', @@ -70,11 +70,11 @@ const nlNLPickers: Partial = { dateTableLabel: 'kies datum', // Field section placeholders - fieldYearPlaceholder: (params) => 'Y'.repeat(params.digitAmount), + fieldYearPlaceholder: (params) => 'J'.repeat(params.digitAmount), fieldMonthPlaceholder: (params) => (params.contentType === 'letter' ? 'MMMM' : 'MM'), fieldDayPlaceholder: () => 'DD', fieldWeekDayPlaceholder: (params) => (params.contentType === 'letter' ? 'EEEE' : 'EE'), - fieldHoursPlaceholder: () => 'hh', + fieldHoursPlaceholder: () => 'uu', fieldMinutesPlaceholder: () => 'mm', fieldSecondsPlaceholder: () => 'ss', fieldMeridiemPlaceholder: () => 'aa', @@ -90,7 +90,7 @@ const nlNLPickers: Partial = { meridiem: 'Middag', // Common - empty: 'Legen', + empty: 'Leeg', }; export const nlNL = getPickersLocalization(nlNLPickers);