Browse Source

Add CMakeL10n rules.

Update translation template.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 7 months ago
parent
commit
07f530c605
Signed by: Slávek Banko <slavek.banko@axis.cz> GPG Key ID: 608F5293A04BE668
4 changed files with 97 additions and 23 deletions
  1. 23
    0
      CMakeL10n.txt
  2. 6
    1
      po/CMakeLists.txt
  3. 65
    22
      po/autostart.pot
  4. 3
    0
      src/CMakeL10n.txt

+ 23
- 0
CMakeL10n.txt View File

@@ -0,0 +1,23 @@
1
+#################################################
2
+#
3
+#  (C) 2018 Slávek Banko
4
+#  slavek.banko (AT) axis.cz
5
+#
6
+#  Improvements and feedback are welcome
7
+#
8
+#  This file is released under GPL >= 2
9
+#
10
+#################################################
11
+
12
+cmake_minimum_required( VERSION 2.8 )
13
+
14
+
15
+##### include our cmake modules #################
16
+
17
+set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
18
+include( TDEL10n )
19
+
20
+
21
+##### create translation templates ##############
22
+
23
+tde_l10n_auto_add_subdirectories( )

+ 6
- 1
po/CMakeLists.txt View File

@@ -1 +1,6 @@
1
-tde_create_translation( LANG auto OUTPUT_NAME autostart )
1
+# build translations if some are already available
2
+
3
+file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
4
+if( _srcs )
5
+  tde_create_translation( LANG auto OUTPUT_NAME autostart )
6
+endif( )

+ 65
- 22
po/autostart.pot View File

@@ -1,57 +1,100 @@
1
-# translation of autostart.po to
2
-# Header entry was created by KBabel!
1
+# SOME DESCRIPTIVE TITLE.
2
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3 3
 #
4
-# Stephen Leaf <smileaf@smileaf.org>, 2006.
4
+#, fuzzy
5 5
 msgid ""
6 6
 msgstr ""
7
+"Project-Id-Version: PACKAGE VERSION\n"
8
+"POT-Creation-Date: 2018-12-11 18:06+0100\n"
9
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
11
+"Language-Team: LANGUAGE <LL@li.org>\n"
12
+"MIME-Version: 1.0\n"
7 13
 "Content-Type: text/plain; charset=UTF-8\n"
8 14
 "Content-Transfer-Encoding: 8bit\n"
9
-"Mime-Version: 1.0"
10
-"Last-Translator: Stephen Leaf <smileaf@smileaf.org>\n"
11
-"PO-Revision-Date: 2006-11-18 13:19-0600\n"
12
-"Project-Id-Version: autostart\n"
13
-"Language-Team:  <en@li.org>\n"
14
-"X-Generator: KBabel 1.11.4\n"
15
-"MIME-Version: 1.0\n"
16
-"Plural-Forms:  nplurals=2; plural=(n != 1);\n"
17 15
 
18
-#: ../src/autostart.cpp:61
16
+#: _translatorinfo:1
17
+msgid ""
18
+"_: NAME OF TRANSLATORS\n"
19
+"Your names"
20
+msgstr ""
21
+
22
+#: _translatorinfo:2
23
+msgid ""
24
+"_: EMAIL OF TRANSLATORS\n"
25
+"Your emails"
26
+msgstr ""
27
+
28
+#: autostart.cpp:73 autostart.cpp:155
19 29
 msgid "Startup"
20 30
 msgstr ""
21 31
 
22
-#: ../src/autostart.cpp:62
32
+#: autostart.cpp:76 autostart.cpp:156
23 33
 msgid "Shutdown"
24 34
 msgstr ""
25 35
 
26
-#: ../src/autostart.cpp:63
36
+#: autostart.cpp:79 autostart.cpp:157
27 37
 msgid "ENV"
28 38
 msgstr ""
29 39
 
30
-#: ../src/autostart.cpp:102
40
+#: autostart.cpp:136
31 41
 msgid "Name"
32 42
 msgstr ""
33 43
 
34
-#: ../src/autostart.cpp:103
44
+#: autostart.cpp:137
35 45
 msgid "Command"
36 46
 msgstr ""
37 47
 
38
-#: ../src/autostart.cpp:104
48
+#: autostart.cpp:138
39 49
 msgid "Run on"
40 50
 msgstr ""
41 51
 
42
-#: ../src/autostart.cpp:129
52
+#: autostart.cpp:160
43 53
 msgid "&Add"
44 54
 msgstr ""
45 55
 
46
-#: ../src/autostart.cpp:131
56
+#: autostart.cpp:161
57
+msgid "Alt+A"
58
+msgstr ""
59
+
60
+#: autostart.cpp:162
47 61
 msgid "&Remove"
48 62
 msgstr ""
49 63
 
50
-#: ../src/autostart.cpp:133
64
+#: autostart.cpp:163
65
+msgid "Alt+R"
66
+msgstr ""
67
+
68
+#: autostart.cpp:164
51 69
 msgid "&Properties"
52 70
 msgstr ""
53 71
 
54
-#: ../src/autostart.cpp:317
55
-msgid "This module helps you configure which applications KDE runs When starting up and shutting down."
72
+#: autostart.cpp:165
73
+msgid "Alt+P"
56 74
 msgstr ""
57 75
 
76
+#: autostart.cpp:178
77
+msgid "TDE Autostart Manager"
78
+msgstr ""
79
+
80
+#: autostart.cpp:179
81
+msgid "TDE Autostart Manager Control Panel Module"
82
+msgstr ""
83
+
84
+#: autostart.cpp:181
85
+msgid "(c) 2006 Stephen Leaf"
86
+msgstr ""
87
+
88
+#: autostart.cpp:255
89
+msgid "Cannot add a Service entry to the list of autostart modules.\n"
90
+msgstr ""
91
+
92
+#: autostart.cpp:278
93
+msgid "Can't find a matching entry for the selected item.\n"
94
+msgstr ""
95
+
96
+#: autostart.cpp:348
97
+msgid ""
98
+"This module helps configure which applications TDE runs when starting and "
99
+"exiting."
100
+msgstr ""

+ 3
- 0
src/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
1
+##### create translation templates ##############
2
+
3
+tde_l10n_create_template( "autostart" )

Loading…
Cancel
Save