Invalid mod messages are not properly translated
to reproduce
- go into
mod.io
in-game downloader for A27
, try to install 0ad-spirv
- see image below
nitpick
- translate the string
Invalid signature.
-
a
|
b
|
bool ModIo::ParseSignature(const std::vector<std::string>& minisigs, SigStruct&
|
853 | 853 | return true; |
854 | 854 | } |
855 | 855 | |
856 | | FAIL("Invalid signature."); |
| 856 | FAIL(g_L10n.Translate("Invalid signature.")); |
857 | 857 | #undef CLEANUP |
858 | 858 | } |
- navigate to
source/tools/i18n
and run python3 updateTemplates.py
- the string shows up
-
a
|
b
|
msgstr ""
|
240 | 240 | msgid "Failed to verify signature." |
241 | 241 | msgstr "" |
242 | 242 | |
| 243 | #: ps/ModIo.cpp:856 |
| 244 | msgid "Invalid signature." |
| 245 | msgstr "" |
| 246 | |
243 | 247 | #: ps/SavedGame.cpp:142 |
244 | 248 | #, c-format |
245 | 249 | msgid "Saved game to '%s'" |
Change History
(7)
Owner: |
set to Stan
|
Status: |
new → assigned
|
Summary: |
0ad-spirv invalid signature A27 → Invalid mod messages are not properly translated
|
Milestone: |
Alpha 27 → Alpha 28
|
Milestone: |
Alpha 28 → Alpha 27
|
Fixed the signature.