Skip to content

Commit

Permalink
Add support for Português (#44)
Browse files Browse the repository at this point in the history
* add support for Português

* add portuguese translations

* attach build
  • Loading branch information
mwood77 authored Apr 2, 2024
1 parent c1bd1f3 commit 353eec3
Show file tree
Hide file tree
Showing 17 changed files with 88 additions and 6 deletions.
Binary file modified data/3rdpartylicenses.txt.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion data/assets/i18n/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"DIALOG": {
"TITLE": "Das Zurücksetzen dauert 20 Sekunden",
"SUBTITLE": "Dieser Bildschirm wird während des Reset-Vorgangs nicht geschlossen",
"CANCEL": "abbrechen",
"CANCEL": "Abbrechen",
"POINT_1": "Das Zurücksetzen ist abgeschlossen, wenn die zweite LED nicht mehr schnell blinkt, sondern dauerhaft leuchtet.",
"POINT_2": "Verbinde dein Mobilgerät mit dem neuen WLAN namens",
"POINT_3": "Füge Winderoo zu einem vorhandenen WLAN hinzu. Wenn die LED langsam zu blinken beginnt, hat sich Winderoo erfolgreich mit diesem Netzwerk verbunden.",
Expand Down
2 changes: 1 addition & 1 deletion data/assets/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"DIALOG": {
"TITLE": "Reset takes 20 seconds",
"SUBTITLE": "This screen will not close during the reset process",
"CANCEL": "cancel",
"CANCEL": "Cancel",
"POINT_1": "Reset is complete when the second LED stops fast blinking, then turns solid.",
"POINT_2": "Connect your mobile device to the new WiFi network called",
"POINT_3": "Add Winderoo to an existing WiFi network. If the LED starts to slow blink, Winderoo has successfully joined that network.",
Expand Down
2 changes: 1 addition & 1 deletion data/assets/i18n/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"DIALOG": {
"TITLE": "El reinicio tarda 20 segundos",
"SUBTITLE": "Esta pantalla no se cerrará durante el proceso de reinicio.",
"CANCEL": "cancelar",
"CANCEL": "Cancelar",
"POINT_1": "El reinicio se completa cuando el segundo LED deja de parpadear rápidamente y luego se vuelve fijo.",
"POINT_2": "Conecta tu dispositivo móvil a la nueva red WiFi llamada",
"POINT_3": "Agregue Winderoo a una red WiFi existente. Si el LED comienza a parpadear lentamente, Winderoo se ha unido exitosamente a esa red.",
Expand Down
39 changes: 39 additions & 0 deletions data/assets/i18n/pt-BR.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"HEADER": {
"RESET": "Reiniciar",
"ON": "ligar",
"OFF": "desligar",
"DIALOG": {
"TITLE": "A reinicialização leva 20 segundos",
"SUBTITLE": "Esta tela não fechará durante o processo de redefinição",
"CANCEL": "Cancelar",
"POINT_1": "A reinicialização estará concluída quando o segundo LED parar de piscar rapidamente e depois ficar sólido.",
"POINT_2": "Conecte seu dispositivo móvel à nova rede WiFi chamada",
"POINT_3": "Adicione Windaroo a uma rede WiFi existente. Se o LED começar a piscar lentamente, o Windaroo ingressou com sucesso nessa rede.",
"POINT_4": "Aguarde até que seu dispositivo se reconecte à rede WiFi existente.",
"NOW_AVAILABLE": "Winderoo já está disponível em:",
"CONFIRM_RESET": "Confirmar redefinição"
}
},
"SETTINGS": {
"STATUS": "Status",
"STOPPED": "Parar",
"WINDING": "Enrolamento",
"ESTIMATED_DURATION": "Duração estimada do ciclo",
"DIRECTION": "Direção",
"ROTATIONS_PER_DAY": "Rotações por dia",
"FIND_WINDING_PARAMETERS": "Encontre os parâmetros de corda do seu relógio",
"CYCLE_START": "Hora de início do ciclo",
"ENABLED": "Permitir",
"DISABLED": "Incapacitar",
"HOURS": "Hora",
"MINUTES": "Minutos",
"SAVE": "Salvar configurações",
"SAVE_IN_PROGRESS": "Carregamento em andamento",
"CLOCKWISE": "Sentido horário",
"COUNTER_CLOCKWISE": "Sentido anti-horário",
"BOTH": "Ambos",
"PLEASE_WAIT": "Obtendo o progresso do ciclo, aguarde",
"PROGRESS": "Progresso do Ciclo"
}
}
Binary file modified data/favicon.ico.gz
Binary file not shown.
Binary file modified data/index.html.gz
Binary file not shown.
Binary file modified data/main.js.gz
Binary file not shown.
Binary file modified data/polyfills.js.gz
Binary file not shown.
Binary file modified data/runtime.js.gz
Binary file not shown.
Binary file modified data/styles.css.gz
Binary file not shown.
3 changes: 3 additions & 0 deletions src/angular/osww-frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,8 @@
}
}
}
},
"cli": {
"analytics": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<button mat-menu-item (click)="changeLanguage('en-US')" [class.active]="!translateService.currentLang || translateService.currentLang === 'en-US'">English</button>
<button mat-menu-item (click)="changeLanguage('es-ES')" [class.active]="translateService.currentLang === 'es-ES'">Español</button>
<button mat-menu-item (click)="changeLanguage('fr-FR')" [class.active]="translateService.currentLang === 'fr-FR'">Francés</button>
<button mat-menu-item (click)="changeLanguage('pt-BR')" [class.active]="translateService.currentLang === 'pt-BR'">Português</button>
</mat-menu>

</mat-toolbar-row>
Expand Down
2 changes: 1 addition & 1 deletion src/angular/osww-frontend/src/assets/i18n/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"DIALOG": {
"TITLE": "Das Zurücksetzen dauert 20 Sekunden",
"SUBTITLE": "Dieser Bildschirm wird während des Reset-Vorgangs nicht geschlossen",
"CANCEL": "abbrechen",
"CANCEL": "Abbrechen",
"POINT_1": "Das Zurücksetzen ist abgeschlossen, wenn die zweite LED nicht mehr schnell blinkt, sondern dauerhaft leuchtet.",
"POINT_2": "Verbinde dein Mobilgerät mit dem neuen WLAN namens",
"POINT_3": "Füge Winderoo zu einem vorhandenen WLAN hinzu. Wenn die LED langsam zu blinken beginnt, hat sich Winderoo erfolgreich mit diesem Netzwerk verbunden.",
Expand Down
2 changes: 1 addition & 1 deletion src/angular/osww-frontend/src/assets/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"DIALOG": {
"TITLE": "Reset takes 20 seconds",
"SUBTITLE": "This screen will not close during the reset process",
"CANCEL": "cancel",
"CANCEL": "Cancel",
"POINT_1": "Reset is complete when the second LED stops fast blinking, then turns solid.",
"POINT_2": "Connect your mobile device to the new WiFi network called",
"POINT_3": "Add Winderoo to an existing WiFi network. If the LED starts to slow blink, Winderoo has successfully joined that network.",
Expand Down
2 changes: 1 addition & 1 deletion src/angular/osww-frontend/src/assets/i18n/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"DIALOG": {
"TITLE": "El reinicio tarda 20 segundos",
"SUBTITLE": "Esta pantalla no se cerrará durante el proceso de reinicio.",
"CANCEL": "cancelar",
"CANCEL": "Cancelar",
"POINT_1": "El reinicio se completa cuando el segundo LED deja de parpadear rápidamente y luego se vuelve fijo.",
"POINT_2": "Conecta tu dispositivo móvil a la nueva red WiFi llamada",
"POINT_3": "Agregue Winderoo a una red WiFi existente. Si el LED comienza a parpadear lentamente, Winderoo se ha unido exitosamente a esa red.",
Expand Down
39 changes: 39 additions & 0 deletions src/angular/osww-frontend/src/assets/i18n/pt-BR.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"HEADER": {
"RESET": "Reiniciar",
"ON": "ligar",
"OFF": "desligar",
"DIALOG": {
"TITLE": "A reinicialização leva 20 segundos",
"SUBTITLE": "Esta tela não fechará durante o processo de redefinição",
"CANCEL": "Cancelar",
"POINT_1": "A reinicialização estará concluída quando o segundo LED parar de piscar rapidamente e depois ficar sólido.",
"POINT_2": "Conecte seu dispositivo móvel à nova rede WiFi chamada",
"POINT_3": "Adicione Windaroo a uma rede WiFi existente. Se o LED começar a piscar lentamente, o Windaroo ingressou com sucesso nessa rede.",
"POINT_4": "Aguarde até que seu dispositivo se reconecte à rede WiFi existente.",
"NOW_AVAILABLE": "Winderoo já está disponível em:",
"CONFIRM_RESET": "Confirmar redefinição"
}
},
"SETTINGS": {
"STATUS": "Status",
"STOPPED": "Parar",
"WINDING": "Enrolamento",
"ESTIMATED_DURATION": "Duração estimada do ciclo",
"DIRECTION": "Direção",
"ROTATIONS_PER_DAY": "Rotações por dia",
"FIND_WINDING_PARAMETERS": "Encontre os parâmetros de corda do seu relógio",
"CYCLE_START": "Hora de início do ciclo",
"ENABLED": "Permitir",
"DISABLED": "Incapacitar",
"HOURS": "Hora",
"MINUTES": "Minutos",
"SAVE": "Salvar configurações",
"SAVE_IN_PROGRESS": "Carregamento em andamento",
"CLOCKWISE": "Sentido horário",
"COUNTER_CLOCKWISE": "Sentido anti-horário",
"BOTH": "Ambos",
"PLEASE_WAIT": "Obtendo o progresso do ciclo, aguarde",
"PROGRESS": "Progresso do Ciclo"
}
}

0 comments on commit 353eec3

Please sign in to comment.