mirror of
https://github.com/NinjaCheetah/NUSGet.git
synced 2026-02-27 23:25:29 -05:00
Add Spanish localization (#30)
Other changes include: * NUSGet.py: add translation file name fallback under Windows to fix a previously unhandled edge case (tested by me, provided by @NinjaCheetah himself). * NUSGet.py: fix translation key lookups for strings that need to be formatted at runtime. * ui_AboutDialog.py: fix translation key lookups for strings that need to be formatted at runtime. * ui_AboutDialog.py: add myself to the list of translation contributors. * Translations: update source and translation strings across all localization files to reflect the fixes mentioned above. * Translations: update source string locations and add a new unfinished translation to all localization files (as a result of running update_translations.py).
This commit is contained in:
@@ -84,13 +84,13 @@ class AboutNUSGet(QDialog):
|
||||
title_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
|
||||
# NUSGet Version
|
||||
version_label = QLabel(self.tr("Version {nusget_version}".format(nusget_version=versions[0])))
|
||||
version_label = QLabel(self.tr("Version {nusget_version}").format(nusget_version=versions[0]))
|
||||
version_label.setProperty("class", "version")
|
||||
version_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
|
||||
# Library Versions
|
||||
libraries_label = QLabel(self.tr("Using libWiiPy {libwiipy_version} & libTWLPy {libtwlpy_version}"
|
||||
.format(libwiipy_version=versions[1], libtwlpy_version=versions[2])))
|
||||
libraries_label = QLabel(self.tr("Using libWiiPy {libwiipy_version} & libTWLPy {libtwlpy_version}")
|
||||
.format(libwiipy_version=versions[1], libtwlpy_version=versions[2]))
|
||||
libraries_label.setProperty("class", "version")
|
||||
libraries_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
|
||||
@@ -145,7 +145,9 @@ class AboutNUSGet(QDialog):
|
||||
"rolfiee": QLabel(self.tr(
|
||||
"Norwegian (Norsk): <a href=https://github.com/rolfiee style='color: #4a86e8; text-decoration: none;'><b>rolfiee</b></a>")),
|
||||
"NotImplementedLife": QLabel(self.tr(
|
||||
"Romanian (Rom\u00e2n\u0103): <a href=https://github.com/NotImplementedLife style='color: #4a86e8; text-decoration: none;'><b>NotImplementedLife</b></a>"))
|
||||
"Romanian (Rom\u00e2n\u0103): <a href=https://github.com/NotImplementedLife style='color: #4a86e8; text-decoration: none;'><b>NotImplementedLife</b></a>")),
|
||||
"DarkMatterCore": QLabel(self.tr(
|
||||
"Spanish (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a>"))
|
||||
}
|
||||
|
||||
# Add team members to layout
|
||||
|
||||
Reference in New Issue
Block a user