This commit is contained in:
2025-11-07 19:19:17 -06:00
parent 1ce1fdff8d
commit 12c1fb6000
11 changed files with 149 additions and 3 deletions

View File

@@ -5,7 +5,11 @@
set(DUSK_GAME_ASSETS_DIR "${CMAKE_CURRENT_SOURCE_DIR}" CACHE INTERNAL ${DUSK_CACHE_TARGET})
add_subdirectory(palette)# Palette asset needs to be added before any images.
# Palette asset needs to be added before any images.
add_subdirectory(palette)
# Languages need to be added before anything that uses text.
add_subdirectory(locale)
add_subdirectory(entity)
add_subdirectory(map)

View File

@@ -0,0 +1,6 @@
# Copyright (c) 2025 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
add_asset(LANGUAGE en_US.po)

10
assets/locale/en_US.po Normal file
View File

@@ -0,0 +1,10 @@
msgid ""
msgstr ""
"Language: us\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "test.test"
msgstr "Hello this is a test."