Skip to content

Commit

Permalink
Fix: POEditor script dir changed
Browse files Browse the repository at this point in the history
When moving the files in commit 4b9466a, the call of the scripts wasn't adjusted.
This makes that adjustment.
  • Loading branch information
dirkjanfaber committed Feb 19, 2025
1 parent 308dd1e commit 33ead15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ foreach(code IN LISTS TS_CODES)
set(output_file ${CMAKE_CURRENT_SOURCE_DIR}/i18n/${PROJECT_NAME}_${code}.ts)
set(new_target ${PROJECT_NAME}_${code})
add_custom_target( ${new_target}
COMMAND bash "-c" "${CMAKE_CURRENT_SOURCE_DIR}/scripts/download_from_poeditor.sh ${code} ${output_file}"
COMMAND bash "-c" "${CMAKE_CURRENT_SOURCE_DIR}/.github/scripts/download_from_poeditor.sh ${code} ${output_file}"
)
list(APPEND TS_TARGETS ${new_target})
endforeach()
Expand All @@ -1203,7 +1203,7 @@ add_custom_target(download_translations
)

add_custom_target(upload_translations
COMMAND bash "-c" "${CMAKE_CURRENT_SOURCE_DIR}/scripts/upload_new_terms.sh ${CMAKE_CURRENT_BINARY_DIR}/i18n/${PROJECT_NAME}.ts"
COMMAND bash "-c" "${CMAKE_CURRENT_SOURCE_DIR}/.github/scripts/upload_new_terms.sh ${CMAKE_CURRENT_BINARY_DIR}/i18n/${PROJECT_NAME}.ts"
DEPENDS ${PROJECT_NAME}
)

Expand Down

0 comments on commit 33ead15

Please sign in to comment.