Skip to content

Commit

Permalink
run xgettext in the src directory (#1231)
Browse files Browse the repository at this point in the history
update the xgettext command to find the source files since we moved them to src/

Fixes #1229
  • Loading branch information
agalasso authored Jul 31, 2024
1 parent 06042b1 commit c1c578a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake_modules/PHD2BuildDoc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ function(generate_single_doc_targets)
# the generation of the main messages.mo (default language) is dependant on all the source files
# edit: this step is now manual
#file(GLOB all_sources
# "${PHD_PROJECT_ROOT_DIR}/*.cpp"
# "${PHD_PROJECT_ROOT_DIR}/*.h")
# "${PHD_PROJECT_ROOT_DIR}/src/*.cpp"
# "${PHD_PROJECT_ROOT_DIR}/src/*.h")

# extracts the messages from the sources and merges those messages with the locale/messages.pot
# into the build folder. This is a manual step
Expand Down Expand Up @@ -353,7 +353,7 @@ function(generate_single_doc_targets)
-E remove
"${current_translation_output_folder}/messages.po"
WORKING_DIRECTORY
"${PHD_PROJECT_ROOT_DIR}"
"${PHD_PROJECT_ROOT_DIR}/src"
)
list(APPEND translation_target_files
"${current_translation_output_folder}/messages.pot")
Expand Down

0 comments on commit c1c578a

Please sign in to comment.