Browse Source

Add CMakeL10n rules.

Create translation template.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Slávek Banko 1 month ago
parent
commit
c14305678b
Signed by: Slávek Banko <slavek.banko@axis.cz> GPG Key ID: 608F5293A04BE668
5 changed files with 147 additions and 0 deletions
  1. 23
    0
      CMakeL10n.txt
  2. 1
    0
      po/Makefile.am
  3. 119
    0
      po/systemsettings.pot
  4. 1
    0
      subdirs
  5. 3
    0
      systemsettings/CMakeL10n.txt

+ 23
- 0
CMakeL10n.txt View File

@@ -0,0 +1,23 @@
1
+#################################################
2
+#
3
+#  (C) 2019 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( )

+ 1
- 0
po/Makefile.am View File

@@ -0,0 +1 @@
1
+POFILES = AUTO

+ 119
- 0
po/systemsettings.pot View File

@@ -0,0 +1,119 @@
1
+# SOME DESCRIPTIVE TITLE.
2
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
3
+#
4
+#, fuzzy
5
+msgid ""
6
+msgstr ""
7
+"Project-Id-Version: PACKAGE VERSION\n"
8
+"POT-Creation-Date: 2019-01-08 14:54+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"
13
+"Content-Type: text/plain; charset=UTF-8\n"
14
+"Content-Transfer-Encoding: 8bit\n"
15
+
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
+#: kcmultiwidget.cpp:66
29
+msgid "Configure"
30
+msgstr ""
31
+
32
+#: kcmultiwidget.cpp:346
33
+msgid ""
34
+"There are unsaved changes in the active module.\n"
35
+"Do you want to apply the changes or discard them?"
36
+msgstr ""
37
+
38
+#: kcmultiwidget.cpp:348
39
+msgid "Unsaved Changes"
40
+msgstr ""
41
+
42
+#: main.cpp:31
43
+msgid "Menu file"
44
+msgstr ""
45
+
46
+#: main.cpp:33
47
+msgid "Embed windows"
48
+msgstr ""
49
+
50
+#: main.cpp:41 main.cpp:42
51
+msgid "System Settings"
52
+msgstr ""
53
+
54
+#: main.cpp:44
55
+msgid "Author & Maintainer"
56
+msgstr ""
57
+
58
+#: mainwindow.cpp:108
59
+msgid "Undo Changes"
60
+msgstr ""
61
+
62
+#: mainwindow.cpp:112
63
+msgid "Reset to Defaults"
64
+msgstr ""
65
+
66
+#: mainwindow.cpp:117
67
+msgid "Overview"
68
+msgstr ""
69
+
70
+#: mainwindow.cpp:122 mainwindow.cpp:314
71
+msgid "About Current Module"
72
+msgstr ""
73
+
74
+#: mainwindow.cpp:143 mainwindow.cpp:146
75
+msgid "&Search:"
76
+msgstr ""
77
+
78
+#: mainwindow.cpp:150
79
+msgid "Search System Settings"
80
+msgstr ""
81
+
82
+#: mainwindow.cpp:154
83
+msgid "Search Bar<p>Enter a search term."
84
+msgstr ""
85
+
86
+#: mainwindow.cpp:162
87
+msgid ""
88
+"Reset Search\n"
89
+"Resets the search so that all items are shown again."
90
+msgstr ""
91
+
92
+#: mainwindow.cpp:303
93
+#, c-format
94
+msgid ""
95
+"_: Help menu->about <modulename>\n"
96
+"About %1"
97
+msgstr ""
98
+
99
+#: mainwindow.cpp:354
100
+msgid ""
101
+"_n: %1 hit in General\n"
102
+"%1 hits in General"
103
+msgstr ""
104
+
105
+#: mainwindow.cpp:358
106
+msgid ""
107
+"_n: %1 hit in Advanced\n"
108
+"%1 hits in Advanced"
109
+msgstr ""
110
+
111
+#: systemsettingsui.rc:5
112
+#, no-c-format
113
+msgid "&File"
114
+msgstr ""
115
+
116
+#: systemsettingsui.rc:11
117
+#, no-c-format
118
+msgid "&View"
119
+msgstr ""

+ 1
- 0
subdirs View File

@@ -1,2 +1,3 @@
1 1
 doc
2 2
 systemsettings
3
+po

+ 3
- 0
systemsettings/CMakeL10n.txt View File

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

Loading…
Cancel
Save