aboutsummaryrefslogtreecommitdiff
path: root/po/CMakeLists.txt
blob: e78a9df69e668a76e0c1af4a313aeaf1702e20ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
find_package(Intltool REQUIRED)

intltool_update_potfile(
    KEYWORDS "_" "_:1,2" "N_" "N_:1,2"
    GETTEXT_PACKAGE ${GETTEXT_PACKAGE}
    COPYRIGHT_HOLDER "Canonical Ltd."
)

intltool_install_translations(
    ALL
    GETTEXT_PACKAGE ${GETTEXT_PACKAGE}
)