Skip to content

Commit

Permalink
Add map_has_no_tilesets string
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-johansson committed Jul 4, 2024
1 parent c3257d0 commit 75136a3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/lang/en.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 1 addition & 0 deletions assets/lang/en_GB.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 1 addition & 0 deletions assets/lang/sv.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 1 addition & 0 deletions source/core/inc/tactile/core/ui/i18n/string_id.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
1 change: 1 addition & 0 deletions source/core/src/tactile/core/ui/i18n/language_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ auto _get_hint_names() -> HashMap<StringView, StringID>
{"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},
};
}
Expand Down

0 comments on commit 75136a3

Please sign in to comment.