ソースを参照

Update CMakeL10n rules

+ Add rule to update template with common texts - tde.pot.
+ Add the X-POT option to ensure that the common texts are part of tdelibs.pot.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/19/head
Slávek Banko 7ヶ月前
コミット
f1c0bbd1e8
署名者: Slávek Banko <slavek.banko@axis.cz> GPGキーID: 608F5293A04BE668
2個のファイルの変更11行の追加2行の削除
  1. 9
    0
      CMakeL10n.txt
  2. 2
    2
      tde.pot

+ 9
- 0
CMakeL10n.txt ファイルの表示

@@ -51,6 +51,14 @@ execute_process(
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "tde"
SOURCES "common_texts.cpp"
EXCLUDES "_translatorinfo"
X-POT -
DESTINATION "."
)

tde_l10n_create_template(
CATALOG "tdelibs"
SOURCES
"."
@@ -79,6 +87,7 @@ tde_l10n_create_template(
tr tr:1,2
translate translate:1,2
QT_TRANSLATE_NOOP QT_TRANSLATE_NOOP:1,2
X-POT "-"
)



+ 2
- 2
tde.pot ファイルの表示

@@ -5,10 +5,10 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2014-09-29 00:19-0500\n"
"POT-Creation-Date: 2019-01-12 18:42+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <tde-i18n-doc@trinitydesktop.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

読み込み中…
キャンセル
保存