Skip to content

Add translation support#27

Merged
Grubuntu merged 4 commits intoGrubuntu:mainfrom
hasecilu:feat/translation_support
Jan 30, 2024
Merged

Add translation support#27
Grubuntu merged 4 commits intoGrubuntu:mainfrom
hasecilu:feat/translation_support

Conversation

@hasecilu
Copy link
Copy Markdown
Contributor

@hasecilu hasecilu commented Jan 29, 2024

  • Include support for translation
  • Spanish translation
  • Small cleanup.

To mark strings for translation use translate() it's a placeholder for pylupdate

translate("Context", "String")

The types of menu were not updated to avoid breaking the if statements because are used as keys.

Fix #22

- Add some docstrings
- Remove extra colon/spaces
	sed -i 's/[[:space:]]*$//' InitGui.py
- Use "not in" notation
- Split long lines
- Add bash script to include marked strings on translation files (*.ts)
- TranslateUtils to define translate() placeholder function
- Spanish (es-ES and es-AR) translations added
@Grubuntu Grubuntu merged commit 67dd16f into Grubuntu:main Jan 30, 2024
@hasecilu hasecilu deleted the feat/translation_support branch February 2, 2024 18:18
@luzpaz luzpaz mentioned this pull request Apr 2, 2026
25 tasks
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.

Add translation support

2 participants