Ver código fonte

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 meses atrás
pai
commit
f1c0bbd1e8
Acessado por: Slávek Banko <slavek.banko@axis.cz> ID da chave GPG: 608F5293A04BE668
2 arquivos alterados com 11 adições e 2 exclusões
  1. 9
    0
      CMakeL10n.txt
  2. 2
    2
      tde.pot

+ 9
- 0
CMakeL10n.txt Ver arquivo

@@ -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 Ver arquivo

@@ -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"

Carregando…
Cancelar
Salvar