mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 11:44:17 +01:00
Codechange: Parse translation strings using StringConsumer.
This commit is contained in:
@@ -267,7 +267,7 @@ static void ExtractStringParams(const StringData &data, StringParamsList ¶ms
|
||||
|
||||
if (ls != nullptr) {
|
||||
StringParams ¶m = params.emplace_back();
|
||||
ParsedCommandStruct pcs = ExtractCommandString(ls->english.c_str(), false);
|
||||
ParsedCommandStruct pcs = ExtractCommandString(ls->english, false);
|
||||
|
||||
for (auto it = pcs.consuming_commands.begin(); it != pcs.consuming_commands.end(); it++) {
|
||||
if (*it == nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user