Skip to content

Commit

Permalink
Rename & update in-repo po template file
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Mar 9, 2020
1 parent 621d9e4 commit 5b020bd
Show file tree
Hide file tree
Showing 3 changed files with 6,662 additions and 2,025 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ Makefile.in
/po/remove-potcdate.sed
/po/stamp-po
/po/update-po
/po/warzone2100.pot
/compile
/test-driver

Expand Down Expand Up @@ -289,3 +288,4 @@ win32/CodeAnalyst
!/pkg/nsis/plugins/*/*.dll
# Do not ignore the in-repo template file used for translation integration
!/po/warzone2100_en.pot
!/po/warzone2100.pot
4 changes: 2 additions & 2 deletions po/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ ADD_CUSTOM_TARGET(pot_file ALL
DEPENDS ${_potFile})
set_property(TARGET pot_file PROPERTY FOLDER "po")

# Update the in-source warzone2100_en.pot (should run every build)
set(_potFile_inRepo "${CMAKE_CURRENT_SOURCE_DIR}/warzone2100_en.pot")
# Update the in-source warzone2100.pot (should run every build)
set(_potFile_inRepo "${CMAKE_CURRENT_SOURCE_DIR}/warzone2100.pot")
ADD_CUSTOM_COMMAND(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/__in_repo_po_template__shouldnotexist.pot # fake - ensure we run
Expand Down

0 comments on commit 5b020bd

Please sign in to comment.