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

Add support for Português #44

Merged
merged 4 commits into from
Apr 2, 2024
Merged

Add support for Português #44

merged 4 commits into from
Apr 2, 2024

Conversation

mwood77
Copy link
Owner

@mwood77 mwood77 commented Mar 28, 2024

This add Português to the dropdown menu and adds the localization file.
Screenshot 2024-03-28 at 21 23 49


@JRM-PT If you could provide a translated copy of this document, I'll add it into this PR. You only have to translate the text on the right side; blue text.

{
    "HEADER": {
        "RESET": "Reset",
        "ON": "on",
        "OFF": "off",
        "DIALOG": {
            "TITLE": "Reset takes 20 seconds",
            "SUBTITLE": "This screen will not close during the reset process",
            "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.",
            "POINT_4": "Wait for your device to reconnect to your existing WiFi network.",
            "NOW_AVAILABLE": "Winderoo is now available at:",
            "CONFIRM_RESET": "Confirm Reset"
        }
    },
    "SETTINGS": {
        "STATUS": "Status",
        "STOPPED": "Stopped",
        "WINDING": "Winding",
        "ESTIMATED_DURATION": "Estimated Cycle Duration",
        "DIRECTION": "Direction",
        "ROTATIONS_PER_DAY": "Rotations Per Day",
        "FIND_WINDING_PARAMETERS": "Find your watch's winding parameters",
        "CYCLE_START": "Cycle Start Time",
        "ENABLED": "Enabled",
        "DISABLED": "Disabled",
        "HOURS": "Hour",
        "MINUTES": "Minutes",
        "SAVE": "Save Settings",
        "SAVE_IN_PROGRESS": "Upload in progress",
        "CLOCKWISE": "Clockwise",
        "COUNTER_CLOCKWISE": "Counter Clockwise",
        "BOTH": "Both",
        "PLEASE_WAIT": "Getting cycle progress, please wait",
        "PROGRESS": "Cycle Progress"
    }
}

@mwood77 mwood77 merged commit 353eec3 into main Apr 2, 2024
4 checks passed
@mwood77 mwood77 deleted the i18n-portuguese branch April 2, 2024 07:33
@JRM-PT
Copy link

JRM-PT commented Apr 19, 2024

{
"HEADER": {
"RESET": "Reset",
"ON": "on",
"OFF": "off",
"DIALOG": {
"TITLE": "O Reset demorará 20 segundos",
"SUBTITLE": "Este écran não encerrará durante o processo de Reset",
"CANCEL": "Cancelar",
"POINT_1": "O Reset está concluído quando o segundo LED pára de piscar rapidamente e fica sempre aceso.",
"POINT_2": "Ligue o seu dispositivo móvel à nova rede WiFi com o nome",
"POINT_3": "Adicione Winderoo a uma rede WiFi existente. Se o LED começar a piscar lentamente, o Winderoo ligou-se a essa rede com sucesso.",
"POINT_4": "Aguarde que o seu dispositivo se reconecte à sua rede WiFi existente.",
"NOW_AVAILABLE": "O Winderoo está agora disponível em:",
"CONFIRM_RESET": "Confirmar Reset"
}
},
"SETTINGS": {
"STATUS": "Estado",
"STOPPED": "Parado",
"WINDING": "Em rotação",
"ESTIMATED_DURATION": "Duração Estimada do Ciclo",
"DIRECTION": "Direcção",
"ROTATIONS_PER_DAY": "Rotações Por Dia",
"FIND_WINDING_PARAMETERS": "Encontre os pârametros de rotação do seu relógio",
"CYCLE_START": "Hora de Início do Ciclo",
"ENABLED": "Ligado",
"DISABLED": "Desligado",
"HOURS": "Horas",
"MINUTES": "Minutos",
"SAVE": "Guardar Definiõess",
"SAVE_IN_PROGRESS": "Upload em curso",
"CLOCKWISE": "Sentido horário",
"COUNTER_CLOCKWISE": "Sentido Anti-horário",
"BOTH": "Ambos os sentidos",
"PLEASE_WAIT": "A procurar o progresso do ciclo, por favor aguarde",
"PROGRESS": "Progresso do Ciclo"
}
}

I have doubts regarding Cycle Progress. If that means the % of cycle elapsed time maybe I can find better words in Portuguese.
I decided not to translate on/off, upload and reset because they are very common words and the Portuguese words aren't that nice. On top of that, we have different On/Off words for "turning On" (ligar/desligar) and for "being On" (ligado/desligado). Reset could be "redefinir" or "reiniciar" but the later is more like "restart". For Upload, I refuse to use "carregar"!

@JRM-PT
Copy link

JRM-PT commented Apr 19, 2024

I hope you can use it like this. If not I can change it to another format

@mwood77
Copy link
Owner Author

mwood77 commented Apr 21, 2024

Great, thanks for this. I can handle updating it in the next day or so 👍

@mwood77 mwood77 mentioned this pull request Apr 21, 2024
@mwood77
Copy link
Owner Author

mwood77 commented Apr 21, 2024

JRM-PT I've merged these new translations in - if you need to revise a field, just post back here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants