Browse Source

Merge topic 'FindGettext-doc'

d1b888a55e FindGettext: Fix gettext_create_translations signature and description

Acked-by: Kitware Robot <[email protected]>
Merge-request: !10334
Brad King 10 months ago
parent
commit
b4db1c2a81
1 changed files with 4 additions and 3 deletions
  1. 4 3
      Modules/FindGettext.cmake

+ 4 - 3
Modules/FindGettext.cmake

@@ -35,10 +35,11 @@ This module provides several function.
 
   .. code-block:: cmake
 
-    gettext_create_translations(<mofile> [ALL] <file>...)
+    gettext_create_translations(<potfile> [ALL] <file>...)
 
-  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.