diff options
author | Friedrich W. H. Kossebau <kossebau@kde.org> | 2022-06-12 16:13:22 +0200 |
---|---|---|
committer | Friedrich W. H. Kossebau <kossebau@kde.org> | 2022-06-12 18:27:40 +0200 |
commit | 9edb5f57127489dec4b7cbdc1e60920e6002abea (patch) | |
tree | 712d3aaeb2d5caa9adc80f2c6e1e4412b54efb97 /modules/ECMPoQmTools.cmake | |
parent | 0ec7ce6f1e2b5b1c914897e7a58f62835cc27ce5 (diff) | |
download | extra-cmake-modules-9edb5f57127489dec4b7cbdc1e60920e6002abea.tar.gz extra-cmake-modules-9edb5f57127489dec4b7cbdc1e60920e6002abea.tar.bz2 |
API dox: use more markup for code or commandline samples
NO_CHANGELOG
Diffstat (limited to 'modules/ECMPoQmTools.cmake')
-rw-r--r-- | modules/ECMPoQmTools.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/ECMPoQmTools.cmake b/modules/ECMPoQmTools.cmake index 3b288064..517d9e3a 100644 --- a/modules/ECMPoQmTools.cmake +++ b/modules/ECMPoQmTools.cmake @@ -22,12 +22,12 @@ or library. Compile .po files into .qm files for the given language. -If INSTALL_DESTINATION is given, the .qm files are installed in +If ``INSTALL_DESTINATION`` is given, the .qm files are installed in ``<install_destination>/<lang>/LC_MESSAGES``. Typically, ``<install_destination>`` is set to ``share/locale``. ``ecm_process_po_files_as_qm`` creates a "translations" target. This target -builds all .po files into .qm files. If ALL is specified, these rules are +builds all .po files into .qm files. If ``ALL`` is specified, these rules are added to the "all" target (and so the .qm files will be built by default). :: @@ -37,8 +37,8 @@ added to the "all" target (and so the .qm files will be built by default). Generates C++ code which ensures translations are automatically loaded at startup. The generated files are appended to the variable named ``<sources_var_name>`` or, if the first argument is a target (since 5.83), to -the SOURCES property of ``<target>``. Any target must be created with -add_executable() or add_library() and not be an alias. +the ``SOURCES`` property of ``<target>``. Any target must be created with +``add_executable()`` or ``add_library()`` and not be an alias. It assumes that the .qm file for the language code ``<lang>`` is installed as ``<sharedir>/locale/<lang>/LC_MESSAGES/<catalog_name>.qm``, where |