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

added translation to DataEntry dialog title. #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dmalves
Copy link

@dmalves dmalves commented Feb 2, 2022

I added translation to the DataEntry dialog title. Now the months on the title can be displayed according to the locale language. I also changed "pt_br.msg" to reflect the 'months' translation to Brazilian Portuguese. There are minor formatting changes on the code of dialogs.py, I use 'black' package with vscode and it keeps formatting the code to reflect pep8.

@antrrax
Copy link
Contributor

antrrax commented Feb 2, 2022

@dmalves
See the solution to this issue, the same but automated for all languages, using the system's default language
#174

locale.setlocale(locale.LC_ALL, locale.setlocale(locale.LC_TIME,''))

@filipellopes
Copy link

@dmalves , tudo bem?

Estou iniciando nesse mundo da programação fazendo alguns códigos em python para automação de tarefas no meu escritório de contabilidade, agora estou montando uma interface gráfica e aí cheguei aqui. Se você puder me ajudar um pouco, tirando algumas dúvidas, entra em contato comigo, por favor!! (81) 99420-1529

Muito obrigado

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.

None yet

3 participants