summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-07-14 16:18:10 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2020-08-04 12:12:10 +0200
commitb2fcaa39caef58ede3f17a857ddc65c712bc2b73 (patch)
tree6e025ea87644c0a4c53cee97aad600969487e6ee /CMake
parent264137c679fb0d3c1f476dcb4ae207abc601b0b2 (diff)
CMake/Translations: Replace master with primary
Diffstat (limited to 'CMake')
-rw-r--r--CMake/Translations.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMake/Translations.cmake b/CMake/Translations.cmake
index 54a635ab6..24925105c 100644
--- a/CMake/Translations.cmake
+++ b/CMake/Translations.cmake
@@ -136,8 +136,8 @@ function(apt_add_update_po)
list(APPEND potfiles ${CMAKE_CURRENT_BINARY_DIR}/${domain}.pot)
endforeach()
- get_filename_component(master_name ${output} NAME_WE)
- add_custom_target(nls-${master_name}
+ get_filename_component(primary_name ${output} NAME_WE)
+ add_custom_target(nls-${primary_name}
COMMAND msgcomm --sort-by-file --add-location=file
--more-than=0 --output=${output}
${potfiles}
@@ -154,11 +154,11 @@ function(apt_add_update_po)
endif()
add_custom_target(update-po-${langcode}
COMMAND msgmerge -q --previous --update --backup=none ${translation} ${output}
- DEPENDS nls-${master_name}
+ DEPENDS nls-${primary_name}
)
add_dependencies(update-po update-po-${langcode})
endforeach()
- add_dependencies(update-po nls-${master_name})
+ add_dependencies(update-po nls-${primary_name})
endfunction()
function(apt_add_po_statistics excluded)