mirror of
https://github.com/GoldenNugget-Team/gNugget-i18n.git
synced 2026-10-30 23:35:05 +03:00
translations for goldennugget
- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| scripts | ||
| .gitignore | ||
| LICENSE | ||
| Nugget_ab.ts | ||
| Nugget_ar.ts | ||
| Nugget_ar_EG.ts | ||
| Nugget_ar_SA.ts | ||
| Nugget_bg.ts | ||
| Nugget_cs.ts | ||
| Nugget_de.ts | ||
| Nugget_de_AT.ts | ||
| Nugget_en.ts | ||
| Nugget_es.ts | ||
| Nugget_es_MX.ts | ||
| Nugget_fr.ts | ||
| Nugget_fr_BE.ts | ||
| Nugget_fr_CA.ts | ||
| Nugget_ga.ts | ||
| Nugget_hu.ts | ||
| Nugget_id.ts | ||
| Nugget_it.ts | ||
| Nugget_ja.ts | ||
| Nugget_ko.ts | ||
| Nugget_nl.ts | ||
| Nugget_pl.ts | ||
| Nugget_pt.ts | ||
| Nugget_ru.ts | ||
| Nugget_th.ts | ||
| Nugget_tr.ts | ||
| Nugget_vi.ts | ||
| Nugget_zh_CN.ts | ||
| Nugget_zh_TW.ts | ||
| PULL_REQUEST_TEMPLATE.md | ||
| README.md | ||
gNugget-i18n
Translation files for GoldenNugget.
How to translate
-
Get Qt Linguist (free, no coding needed):
- Comes with the free Qt Online Installer — install just "Qt Linguist" under Developer & Designer Tools, no full Qt SDK needed.
- Or via pip:
pip install pyside6gives youpyside6-linguist.
-
Pick your language's
.tsfile intranslations/.- If your language doesn't exist yet, copy
Nugget_en.ts(the source/base file) and rename it, e.g.Nugget_fr.ts.
- If your language doesn't exist yet, copy
-
Open it in Qt Linguist and translate the strings. Save when done.
-
Open a Pull Request with your updated
.tsfile.
That's it — no need to touch the main GoldenNugget codebase.
Updating the source strings
Nugget_en.ts is the base file, regenerated from the GoldenNugget source
whenever the UI changes. If you're a maintainer syncing from the main repo:
pyside6-lupdate src/gui/main_window.py src/gui/pages/page.py src/gui/pages/reset_dialog.py \
src/gui/pages/main/*.py src/gui/pages/tools/*.py src/gui/dialogs.py src/qt/mainwindow.ui \
src/devicemanagement/device_manager.py src/exceptions/*.py src/tweaks/*.py \
src/tweaks/posterboard/*.py src/tweaks/posterboard/template_options/*.py src/controllers/*.py \
-ts gNugget-i18n/translations/Nugget_en.ts
Then merge the updated Nugget_en.ts here — existing translations for
unchanged strings carry over automatically; new/changed strings show up as
untranslated for translators to fill in.
Questions
Open an issue here, or ask in the main GoldenNugget repository's Discussions.