mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-11 23:43:58 +03:00
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.
This commit is contained in:
1 parent
2adf14f420
commit
d1b888a55e
1 file changed
+4
-3
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user