diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-03-29 00:01:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-04-19 14:52:15 +0200 |
commit | 9bcab9fb4274c6e1aa1a2621dbfedf829e7fcfc5 (patch) | |
tree | 932f6a3645b5cedca308ffdb70e8448985335226 /cmake/opentrack-i18n.cmake | |
parent | 9e403da98b9ca8f43f928b9f5c899aba7fa5471d (diff) |
fix i18n generation
Diffstat (limited to 'cmake/opentrack-i18n.cmake')
-rw-r--r-- | cmake/opentrack-i18n.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/opentrack-i18n.cmake b/cmake/opentrack-i18n.cmake index 2902a14b..6c424017 100644 --- a/cmake/opentrack-i18n.cmake +++ b/cmake/opentrack-i18n.cmake @@ -24,6 +24,7 @@ function(otr_i18n_for_target_directory n) if (NOT EXISTS "${t}") file(MAKE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/lang") file(READ "${CMAKE_SOURCE_DIR}/cmake/translation-stub.ts" stub) + string(REPLACE "@LANG@" "${i}" stub "${stub}") file(WRITE "${t}" "${stub}") endif() endforeach() |