Skip to content

Commit

Permalink
refresh mhelp POT, PO files
Browse files Browse the repository at this point in the history
  • Loading branch information
domcorbex committed May 30, 2018
1 parent 00b8ab2 commit f5418b6
Show file tree
Hide file tree
Showing 3 changed files with 1,279 additions and 1,578 deletions.
7 changes: 6 additions & 1 deletion mhelp/CMakeLists.txt
Expand Up @@ -217,8 +217,13 @@ if (HELP)

# target to refresh .pot file
set (help_pot ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pot)
# list help pages to translate
set (pot_pages)
foreach(page ${help_pages})
list(APPEND pot_pages ${CMAKE_CURRENT_BINARY_DIR}/C/${page})
endforeach(page)
add_custom_target (help_pot
COMMAND ${ITSTOOL} -o ${help_pot} ${CMAKE_CURRENT_SOURCE_DIR}/C/*.page
COMMAND ${ITSTOOL} -o ${help_pot} ${pot_pages}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Updating help pot file."
)
Expand Down

0 comments on commit f5418b6

Please sign in to comment.