Skip to content

Commit

Permalink
Fix fc2f427, OpenTTD#29: In the string edit page, display the base st…
Browse files Browse the repository at this point in the history
…ring with translated commands.
  • Loading branch information
frosch123 committed Mar 11, 2021
1 parent 9f8915b commit 9185b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webtranslate/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def create_displayed_base_text(pdata, text):
blng = pdata.get_base_language()
if blng is None:
return text
str_info = language_file.check_string(pdata.projtype, text, True, None, blng, True)
str_info = language_file.check_string(pdata.projtype, text, True, None, blng, True, save_pieces=True)
if str_info.has_error or str_info.pieces is None:
return text
return str_info.get_translation_text()
Expand Down

0 comments on commit 9185b2b

Please sign in to comment.