Skip to content

Qt: Various fixes for localisation - #14922

Open
TheLastRar wants to merge 4 commits into
PCSX2:masterfrom
TheLastRar:tr-fixes
Open

TheLastRar wants to merge 4 commits into
PCSX2:masterfrom
TheLastRar:tr-fixes

Conversation

@TheLastRar

Copy link
Copy Markdown
Contributor

Description of Changes

Ensure that the embedded release date is in UTC.
Translate the git release date/time to match the system local & time zone.
Move MemoryCardListItem into MemoryCardListWidget
Make the new DNS host "New Host" default text translatable (note that existing entries are saved to a file)
Correct/Add context when calling BindWidgetToEnumSetting.

Rationale behind Changes

The displayed Git release date & time should probably match the system time zone (and be localised to the system locale).
Ensuring that the embedded release datetime is in UTC ensure that time zone conversion will be correct.

In our base translation file, most of the strings in MemoryCardListWidget.cpp are under the MemoryCardListItem context.
Moving the MemoryCardListItem into MemoryCardListWidget should hopefully resolve that once the translation action updates.
These strings will probably need to be retranslated.

The docking & anisotropic filtering options where already translatable, but the incorrect/missing context prevented us from loading those translations.

fixes #14810

Suggested Testing Steps

Test that it builds on CI.
Test translating strings.

Did you use AI to help find, test, or implement this issue or feature?

No

@TheLastRar
TheLastRar marked this pull request as draft September 7, 2026 16:30
@TheLastRar

Copy link
Copy Markdown
Contributor Author

Also tackles some of the easier Qt items in #9062

Also, I could alternatively embed a ISO format date/time, since that includes a timezone and thus we can convert from it without having to force git to use UTC.
I think just having it be always be stored as UTC is however a better approach.

@TheLastRar
TheLastRar marked this pull request as ready for review September 7, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Words are missing from the Qt interface translations

3 participants