From f1c1c8823759efb253c62f3d5902382456e72283 Mon Sep 17 00:00:00 2001 From: glx22 Date: Sat, 16 Aug 2025 14:15:27 +0200 Subject: [PATCH] Add: Support for TOWN_ICON and CITY_ICON from OpenTTD#14504 --- docs/manual/string_commands.rst | 2 ++ webtranslate/parameter_info_table.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/manual/string_commands.rst b/docs/manual/string_commands.rst index 72b87d5..a0c19f0 100644 --- a/docs/manual/string_commands.rst +++ b/docs/manual/string_commands.rst @@ -109,6 +109,8 @@ Command Effect ``{BUS}`` Output a bus symbol ``{PLANE}`` Output an aircraft ``{SHIP}`` Output a ship symbol +``{TOWN_ICON}`` Output a town symbol +``{CITY_ICON}`` Output a city symbol ``{NORMAL_FONT}`` Switch to a normal font ``{TINY_FONT}`` Switch to a small font ``{BIG_FONT}`` Switch to a big font diff --git a/webtranslate/parameter_info_table.py b/webtranslate/parameter_info_table.py index e118f6c..3921101 100644 --- a/webtranslate/parameter_info_table.py +++ b/webtranslate/parameter_info_table.py @@ -156,6 +156,8 @@ ParameterInfo("BUS", [], None, False, True ), ParameterInfo("PLANE", [], None, False, True ), ParameterInfo("SHIP", [], None, False, True ), + ParameterInfo("TOWN_ICON", [], None, False, True ), + ParameterInfo("CITY_ICON", [], None, False, True ), ParameterInfo("SPACE", [], None, False, False), ParameterInfo("NBSP", [], None, False, False), ParameterInfo("COPYRIGHT", [], None, False, True ),