We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99486aa commit 8f56881Copy full SHA for 8f56881
CMakeLists.txt
@@ -240,17 +240,23 @@ add_custom_target(update-pot
240
COMMENT "Update translation sources"
241
)
242
243
-add_custom_target(update-po
+add_custom_target(update-po-raw
244
COMMAND "${SPHINX_INTL_EXECUTABLE}"
245
update
246
-p "${CMAKE_CURRENT_SOURCE_DIR}/locale/en/"
247
-d "${CMAKE_CURRENT_SOURCE_DIR}/locale/"
248
-l "ru"
249
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/locale
250
COMMENT "Regenerate localization files from templates"
251
DEPENDS update-pot
252
253
254
+add_custom_target(update-po
255
+ COMMAND make
256
+ update-po-raw
257
+ cleanup-po
258
+)
259
+
260
add_custom_target(cleanup-po
261
COMMAND "${PYTHON3_EXECUTABLE}"
262
cleanup.py
0 commit comments