Commit graph

13 commits

Author SHA1 Message Date
ykla
41f504c7a0 Update zh-CN translation 2024-06-13 11:44:47 +01:00
Tom Dewey
38ea837ba7 imagewriter: Use QCoreApplication::translate
tr() is not safe for strings that you move between contexts,
as it fails to provide a mechanism for specifying the context
of the string.

Regenerate the translation files, and use QCoreApplication to locate
the real translations.

Additionally, bodge a race condition between translator replacement
and OS list fetching, by marking the OS list as something to be
re-calculated on a translator change.

Fixes #799
2024-02-06 16:12:05 +00:00
Jonathan Dahan
cf9ceacfdd Create placeholder translations 2024-02-05 10:11:34 +00:00
Tom Dewey tom.dewey@raspberrypi.com
24dd7a42ff i18n: Remove broken translations
As part of changing the reference string, these translations will
require a rework.

Signed-off-by: Tom Dewey tom.dewey@raspberrypi.com <tom.dewey@raspberrypi.com>
2023-10-18 15:33:17 +01:00
Tom Dewey tom.dewey@raspberrypi.com
50449158bc i18n: Advanced settings -> OS customization
Per a request from the Raspberry Pi Communications team, change
'Advanced Settings' and 'Image customization' to read 'OS
customization'.

This is to avoid amibuguity in the English, where Image_r_ and Image may
be conflated when reading at speed.

Regrettably, this breaks the existing translations. To prevent
confusion, explicitly delete the existing translations - as they're almost
certainly not valid with the reworded meaning.
2023-10-17 15:28:04 +01:00
Tom Dewey tom.dewey@raspberrypi.com
a5c736f230 Revert "i18n: Advanced Settings -> OS Customisation"
This reverts commit 2fb58dc01c.

The original commit included an unexpected deletion of _all_
translations in certain languages. This was unintented, and appears to
have been a merging artefact.

This change will be re-submitted as a separate PR.
2023-10-16 13:06:21 +01:00
Tom Dewey tom.dewey@raspberrypi.com
2fb58dc01c i18n: Advanced Settings -> OS Customisation 2023-10-16 11:46:54 +01:00
Tom Dewey tom.dewey@raspberrypi.com
2047461e9a i18n: Remove stale translations
In order to better highlight the strings we'll need updated translations
for, and to avoid confusion, remove obselete and now inaccurate
translations.
2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
69f80e5df3 i18n: Regenerate, sort translation files
A long period of hand-editing caused these to fall out of sync with
what would have been generated from the source.

These were regnerated using the qt5_create_translation macro in the
root CMakeLists, and then using lconvert to merge the completely blank
translation files with the existing translations.
2023-10-12 12:28:19 +01:00
Floris Bos
a382f985f3 Add support for model selection filtering. Bump version number. 2023-09-23 19:51:45 +02:00
Floris Bos
b93fe29617 Apply advanced settings prompt: offer "no" without clear options
By request.
When prompted if previous settings should be applied, offer a
"no" button that only applies this time, and does not clear
settings.
2023-03-24 14:26:43 +01:00
Floris Bos
8d943ce2bd Remove overscan/piwiz supression options
- Remove overscan and piwiz supression option
- Change wifi -> wireless LAN
- Bump version
2022-03-24 20:06:14 +01:00
Floris Bos
033ff07abf Move source files to /src 2022-02-14 10:07:15 +01:00
Renamed from i18n/rpi-imager_zh.ts (Browse further)