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 spanish translation and code improvements #45

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Add spanish translation and code improvements #45

merged 1 commit into from
Nov 19, 2024

Conversation

edfloreshz
Copy link
Member

This pull request includes several changes to add localization support for Spanish and its regional variations, as well as some modifications to the application settings and menu bar. The most important changes are summarized below:

Localization support:

  • Added Spanish (Spain) localization strings in i18n/es/tasks.ftl.
  • Added Spanish (Mexico) localization strings in i18n/es-MX/tasks.ftl.
  • Added Spanish (Latin America) localization strings in i18n/es-419/tasks.ftl.

Application settings and menu bar:

  • Modified item_width in the menu_bar function in src/app/menu.rs to increase the width from 240 to 260.
  • Refactored the settings function in src/app/settings.rs to separate the initialization logic into a new init function.
  • Updated the main function in src/main.rs to call the new init function before running the application.

@edfloreshz edfloreshz merged commit 3358526 into main Nov 19, 2024
1 check passed
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.

1 participant