Ver Fonte

Merge topic 'FindGettext-doc'

d1b888a55e FindGettext: Fix gettext_create_translations signature and description

Acked-by: Kitware Robot <[email protected]>
Merge-request: !10334
Brad King há 10 meses atrás
pai
commit
b4db1c2a81
1 ficheiros alterados com 4 adições e 3 exclusões
  1. 4 3
      Modules/FindGettext.cmake

+ 4 - 3
Modules/FindGettext.cmake

@@ -35,10 +35,11 @@ This module provides several function.
 
 
   .. code-block:: cmake
   .. 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``
   ``ALL``
     The translations will be created when building the default target.
     The translations will be created when building the default target.