From d1b888a55e280ce338983f438164e1d9f2a2f2b9 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Wed, 12 Feb 2025 08:13:42 +0100 Subject: FindGettext: Fix gettext_create_translations signature and description The first input parameter is a potfile and not mofile. Also mention the fact that the generated binary files will be automatically installed. --- Modules/FindGettext.cmake | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Modules/FindGettext.cmake b/Modules/FindGettext.cmake index 940d2c0..1d4ba1b 100644 --- a/Modules/FindGettext.cmake +++ b/Modules/FindGettext.cmake @@ -35,10 +35,11 @@ This module provides several function. .. code-block:: cmake - gettext_create_translations( [ALL] ...) + gettext_create_translations( [ALL] ...) - This will create a target "translations" which will convert the - given input .po files into the binary output .mo file. Options: + This function creates a custom target "translations" which processes the + given .pot file to .mo files. The generated binary files will be installed + into ``share/locale/`` directory. Options: ``ALL`` The translations will be created when building the default target. -- cgit v0.12