diff --git a/assets/lang/en.ini b/assets/lang/en.ini index 3d0298c3f2..ccd2384442 100644 --- a/assets/lang/en.ini +++ b/assets/lang/en.ini @@ -101,6 +101,7 @@ open_storage_dir = Open Storage Directory... context_has_no_properties = This context has no properties context_has_no_components = This context has no components map_has_no_layers = This map has no layers +map_has_no_tilesets = This map has no tilesets select_tileset_image = Select an image that contains the tiles aligned in a grid [menu] diff --git a/assets/lang/en_GB.ini b/assets/lang/en_GB.ini index af10963601..15433a3109 100644 --- a/assets/lang/en_GB.ini +++ b/assets/lang/en_GB.ini @@ -101,6 +101,7 @@ open_storage_dir = Open Storage Directory... context_has_no_properties = This context has no properties context_has_no_components = This context has no components map_has_no_layers = This map has no layers +map_has_no_tilesets = This map has no tilesets select_tileset_image = Select an image that contains the tiles aligned in a grid [menu] diff --git a/assets/lang/sv.ini b/assets/lang/sv.ini index 925ea9d32b..cf5d840fb3 100644 --- a/assets/lang/sv.ini +++ b/assets/lang/sv.ini @@ -101,6 +101,7 @@ open_storage_dir = Öppna Lagringsmapp... context_has_no_properties = Denna kontext har inga attributer context_has_no_components = Denna kontext har inga komponenter map_has_no_layers = Denna karta har inga lager +map_has_no_tilesets = Denna karta har inga tilesamlingar select_tileset_image = Välj en bild som innehåller alla tiles arrangerade i ett rutnät [menu] diff --git a/source/core/inc/tactile/core/ui/i18n/string_id.hpp b/source/core/inc/tactile/core/ui/i18n/string_id.hpp index e54abd5d28..778ed12360 100644 --- a/source/core/inc/tactile/core/ui/i18n/string_id.hpp +++ b/source/core/inc/tactile/core/ui/i18n/string_id.hpp @@ -145,6 +145,7 @@ enum class StringID : usize // NOLINT(*-enum-size) kContextHasNoProperties, kContextHasNoComponents, kMapHasNoLayers, + kMapHasNoTilesets, kSelectTilesetImage, /** The number of string identifiers, not a string itself. */ diff --git a/source/core/src/tactile/core/ui/i18n/language_parser.cpp b/source/core/src/tactile/core/ui/i18n/language_parser.cpp index 520c23597e..2847837027 100644 --- a/source/core/src/tactile/core/ui/i18n/language_parser.cpp +++ b/source/core/src/tactile/core/ui/i18n/language_parser.cpp @@ -148,6 +148,7 @@ auto _get_hint_names() -> HashMap {"context_has_no_properties", StringID::kContextHasNoProperties}, {"context_has_no_components", StringID::kContextHasNoComponents}, {"map_has_no_layers", StringID::kMapHasNoLayers}, + {"map_has_no_tilesets", StringID::kMapHasNoTilesets}, {"select_tileset_image", StringID::kSelectTilesetImage}, }; }