소스 검색

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>
Slávek Banko 2 달 전
부모
커밋
f1c0bbd1e8
로그인 계정: Slávek Banko <slavek.banko@axis.cz> GPG Key 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(
51 51
 ##### create translation templates ##############
52 52
 
53 53
 tde_l10n_create_template(
54
+    CATALOG "tde"
55
+    SOURCES "common_texts.cpp"
56
+    EXCLUDES "_translatorinfo"
57
+    X-POT -
58
+    DESTINATION "."
59
+)
60
+
61
+tde_l10n_create_template(
54 62
   CATALOG "tdelibs"
55 63
   SOURCES
56 64
     "."
@@ -79,6 +87,7 @@ tde_l10n_create_template(
79 87
     tr tr:1,2
80 88
     translate translate:1,2
81 89
     QT_TRANSLATE_NOOP QT_TRANSLATE_NOOP:1,2
90
+  X-POT "-"
82 91
 )
83 92
 
84 93
 

+ 2
- 2
tde.pot 파일 보기

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

Loading…
취소
저장