mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Add gettext processing to Cmake build instructions
This commit is contained in:
9
backend/po/CMakeLists.txt
Normal file
9
backend/po/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
PROJECT(zint_po)
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
|
||||
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../")
|
||||
set(GettextTranslate_ALL true)
|
||||
set(GettextTranslate_GMO_BINARY true)
|
||||
|
||||
include(GettextTranslate)
|
||||
GettextTranslate()
|
1
backend/po/LINGUAS
Normal file
1
backend/po/LINGUAS
Normal file
@ -0,0 +1 @@
|
||||
ru
|
15
backend/po/Makevars
Normal file
15
backend/po/Makevars
Normal file
@ -0,0 +1,15 @@
|
||||
# Makefile variables for PO directory in any package using GNU gettext.
|
||||
|
||||
# Usually the message domain is the same as the package name.
|
||||
DOMAIN = libzint
|
||||
|
||||
# These two variables depend on the location of this directory.
|
||||
subdir = po
|
||||
top_builddir = ..
|
||||
|
||||
# These options get passed to xgettext.
|
||||
XGETTEXT_OPTIONS = --keyword=_ --language=C --sort-output --from-code=UTF-8 --foreign-user --no-wrap
|
||||
|
||||
# This is the email address or URL to which the translators shall report
|
||||
# bugs in the untranslated strings
|
||||
MSGID_BUGS_ADDRESS = rstuart114@gmail.com
|
1
backend/po/POTFILES.in
Normal file
1
backend/po/POTFILES.in
Normal file
@ -0,0 +1 @@
|
||||
|
@ -1,6 +1,6 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# This file is distributed under the same license as the libzint package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: libzint 2.9\n"
|
||||
"Report-Msgid-Bugs-To: rstuart114@gmail.com\n"
|
||||
"POT-Creation-Date: 2020-11-21 16:40+0000\n"
|
||||
"POT-Creation-Date: 2020-11-21 19:34+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
Reference in New Issue
Block a user