From 5c0413d0ef070eaf0a02dbecc056c11cdcb708be Mon Sep 17 00:00:00 2001 From: Jonathan Bonette Date: Mon, 29 Apr 2024 20:19:23 -0300 Subject: [PATCH 1/2] feature: add pt-br translation --- MMM-Formula1.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/MMM-Formula1.js b/MMM-Formula1.js index 19f5869..980704a 100644 --- a/MMM-Formula1.js +++ b/MMM-Formula1.js @@ -76,7 +76,8 @@ Module.register("MMM-Formula1", { it: "translations/it.json", sv: "translations/sv.json", da: "translations/da.json", - fr: "translations/fr.json" + fr: "translations/fr.json", + pt: "translations/pt-br.json" }; }, diff --git a/package.json b/package.json index 68a7cb0..3e6518f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mmm-formula1", - "version": "2.0.0", + "version": "2.1.0", "description": "A Formula 1 module for MagicMirror².", "scripts": { "test": "npm run test:prettier && npm run test:js && npm run test:css", From 5387be7c5e1d12ceb555428de32f1d2296b943d3 Mon Sep 17 00:00:00 2001 From: Jonathan Bonette Date: Mon, 29 Apr 2024 20:20:52 -0300 Subject: [PATCH 2/2] feature: add pt-br translation --- translations/pt-br.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 translations/pt-br.json diff --git a/translations/pt-br.json b/translations/pt-br.json new file mode 100644 index 0000000..a743a03 --- /dev/null +++ b/translations/pt-br.json @@ -0,0 +1,16 @@ +{ + "DRIVER": "Piloto", + "CONSTRUCTOR": "Construtor", + "SEASON": "Temporada", + "ROUND": "Etapa", + "NO DATA": "Sem informação informada pela api (ainda)", + "RACE_DETAILS": "Detalhes da corrida", + "CIRCUIT_LAYOUT": "Layout do circuito", + "NEXT_RACE": "Próxima corrida", + "RACE_DATE": "Corrida", + "QUALI_DATE": "Qualificação", + "SPRINT_DATE": "Sprint", + "FP1_DATE": "Treino Livre 1", + "FP2_DATE": "Treino Livre 2", + "FP3_DATE": "Treino Livre 3" +} \ No newline at end of file