diff --git a/CMakeLists.txt b/CMakeLists.txt index 48ff81c..39ae238 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ file (GLOB_RECURSE data resources/data/*) file (GLOB_RECURSE image resources/image/*) file (GLOB_RECURSE movie resources/movie/*) file (GLOB_RECURSE sound resources/sound/*) -file (GLOB_RECURSE po resources/translations/*.po) +file (GLOB_RECURSE po resources/po/*.po) include_directories (${CMAKE_CURRENT_SOURCE_DIR}) @@ -84,7 +84,7 @@ target_link_libraries (planetblupi PUBLIC find_package (Gettext) -set (_potFile ${CMAKE_CURRENT_SOURCE_DIR}/resources/translations/${PROJECT_NAME}.pot) +set (_potFile ${CMAKE_CURRENT_SOURCE_DIR}/resources/po/${PROJECT_NAME}.pot) add_custom_command (OUTPUT ${_potFile} COMMAND xgettext --keyword=translate --keyword=ptranslate:1c,2 -o ${_potFile} ${sources} diff --git a/resources/translations/fr.po b/resources/po/fr.po similarity index 100% rename from resources/translations/fr.po rename to resources/po/fr.po diff --git a/resources/translations/planetblupi.pot b/resources/po/planetblupi.pot similarity index 100% rename from resources/translations/planetblupi.pot rename to resources/po/planetblupi.pot