summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-01-03 20:47:28 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-09-07 23:04:35 +0900
commit702cda7662745f256b3dc086fe51c89ca88c8d6e (patch)
tree97ecc020166cefde0b825c8bea2dfc5deb768208
parentd81d00218adde1567ced8e8305b1811ce51e4e7c (diff)
downloadqalculate-tde-702cda7662745f256b3dc086fe51c89ca88c8d6e.tar.gz
qalculate-tde-702cda7662745f256b3dc086fe51c89ca88c8d6e.zip
Add CMakeL10n rules.
Update translation template. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit df736f207be72fc679697d605e4916eba173b779)
-rw-r--r--CMakeL10n.txt23
-rw-r--r--po/qalculate_tde.pot201
-rw-r--r--src/CMakeL10n.txt3
3 files changed, 182 insertions, 45 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
new file mode 100644
index 0000000..9730a56
--- /dev/null
+++ b/CMakeL10n.txt
@@ -0,0 +1,23 @@
+#################################################
+#
+# (C) 2019 Slávek Banko
+# slavek.banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+cmake_minimum_required( VERSION 2.8 )
+
+
+##### include our cmake modules #################
+
+set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
+include( TDEL10n )
+
+
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/po/qalculate_tde.pot b/po/qalculate_tde.pot
index 9733767..df30951 100644
--- a/po/qalculate_tde.pot
+++ b/po/qalculate_tde.pot
@@ -1,13 +1,11 @@
# SOME DESCRIPTIVE TITLE.
-# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-05-08 14:44+0200\n"
+"POT-Creation-Date: 2019-01-03 20:46+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -15,13 +13,13 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: _translatorinfo.cpp:1
+#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
-#: _translatorinfo.cpp:3
+#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
@@ -151,6 +149,10 @@ msgstr ""
msgid "Time Format"
msgstr ""
+#: kqalculate.cpp:382
+msgid "Roman"
+msgstr ""
+
#: kqalculate.cpp:383 kqalculate.cpp:1037
msgid "Other..."
msgstr ""
@@ -336,10 +338,24 @@ msgstr ""
msgid "Del"
msgstr ""
+#: kqalculate.cpp:492 kqalculate.cpp:570 kqalculate.cpp:1169
+#: kqalculate.cpp:5930 qalculatedatasetsdialog.cpp:72
+#: qalculatedatasetsdialog.cpp:95 qalculateeditdatasetdialog.cpp:111
+#: qalculateeditdatasetdialog.cpp:631 qalculateeditfunctiondialog.cpp:137
+#: qalculateeditfunctiondialog.cpp:494 qalculateeditnamesdialog.cpp:66
+#: qalculatefunctionsdialog.cpp:72 qalculateunitsdialog.cpp:96
+#: qalculatevariablesdialog.cpp:71
+msgid "Delete"
+msgstr ""
+
#: kqalculate.cpp:494
msgid "AC"
msgstr ""
+#: kqalculate.cpp:495 kqalculate.cpp:575 kqalculate.cpp:5932
+msgid "Clear"
+msgstr ""
+
#: kqalculate.cpp:498
msgid "Multiply"
msgstr ""
@@ -348,6 +364,10 @@ msgstr ""
msgid "Divide"
msgstr ""
+#: kqalculate.cpp:504 qalculateplotdialog.cpp:146
+msgid "Add"
+msgstr ""
+
#: kqalculate.cpp:507
msgid "Subtract"
msgstr ""
@@ -389,6 +409,14 @@ msgstr ""
msgid "Move selected register down"
msgstr ""
+#: kqalculate.cpp:565 kqalculate.cpp:1170 kqalculate.cpp:5928
+#: qalculatedatasetsdialog.cpp:70 qalculatedatasetsdialog.cpp:93
+#: qalculateeditdatasetdialog.cpp:109 qalculateeditfunctiondialog.cpp:135
+#: qalculatefunctionsdialog.cpp:69 qalculateunitsdialog.cpp:93
+#: qalculatevariablesdialog.cpp:68
+msgid "Edit"
+msgstr ""
+
#: kqalculate.cpp:566
msgid "Edit value of selected register"
msgstr ""
@@ -435,6 +463,7 @@ msgid "approx."
msgstr ""
#: kqalculate.cpp:894 kqalculate.cpp:4813
+#, c-format
msgid "Load meta mode: %1"
msgstr ""
@@ -927,6 +956,14 @@ msgstr ""
msgid "Warnings"
msgstr ""
+#: kqalculate.cpp:3262 main.cpp:166
+msgid "Error"
+msgstr ""
+
+#: kqalculate.cpp:3263
+msgid "Warning"
+msgstr ""
+
#: kqalculate.cpp:3270
msgid "Couldn't write definitions"
msgstr ""
@@ -939,13 +976,12 @@ msgstr ""
msgid "No Prefix"
msgstr ""
-#: kqalculate.cpp:3816 qalculatevariablesdialog.cpp:191
-#: qalculatevariablesdialog.cpp:337
+#: kqalculate.cpp:3816 qalculatevariablesdialog.cpp:337
msgid "Variable does not exist anymore."
msgstr ""
#: kqalculate.cpp:3832 qalculateconvertunitsdialog.cpp:153
-#: qalculateunitsdialog.cpp:223 qalculateunitsdialog.cpp:337
+#: qalculateunitsdialog.cpp:337
msgid "Unit does not exist anymore."
msgstr ""
@@ -990,8 +1026,7 @@ msgstr ""
msgid "Temporary"
msgstr ""
-#: kqalculate.cpp:5567 kqalculate.cpp:5594 qalculatefunctionsdialog.cpp:191
-#: qalculatefunctionsdialog.cpp:300
+#: kqalculate.cpp:5567 kqalculate.cpp:5594 qalculatefunctionsdialog.cpp:300
msgid "Function does not exist anymore."
msgstr ""
@@ -1126,6 +1161,10 @@ msgstr ""
msgid "Preset"
msgstr ""
+#: preferences.cpp:209 qalculateeditdataobjectdialog.cpp:69
+msgid "Default"
+msgstr ""
+
#: preferences.cpp:669
#, c-format
msgid ""
@@ -1227,10 +1266,15 @@ msgstr ""
msgid "Attributes:"
msgstr ""
-#: qalculatedatasetsdialog.cpp:157 qalculatedatasetsdialog.cpp:218
+#: qalculatedatasetsdialog.cpp:218
msgid "Data set does not exist anymore."
msgstr ""
+#: qalculatedatasetsdialog.cpp:281 qalculateeditdatasetdialog.cpp:69
+#: qalculatefunctionsdialog.cpp:437
+msgid "Properties"
+msgstr ""
+
#: qalculatedatasetsdialog.cpp:300 qalculateeditdatasetdialog.cpp:195
#: qalculatefunctionsdialog.cpp:456
msgid "key"
@@ -1244,6 +1288,10 @@ msgstr ""
msgid "Max decimals:"
msgstr ""
+#: qalculatedecimalsdialog.cpp:37 qalculatedecimalsdialog.cpp:45
+msgid "Off"
+msgstr ""
+
#: qalculatedecimalsdialog.cpp:39
msgid "Min decimals:"
msgstr ""
@@ -1260,8 +1308,7 @@ msgstr ""
msgid "Property"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 116
-#: qalculateeditdataobjectdialog.cpp:51 rc.cpp:39
+#: qalculate_tdeui.rc:116 qalculateeditdataobjectdialog.cpp:51
#, no-c-format
msgid "Approximation"
msgstr ""
@@ -1429,6 +1476,39 @@ msgstr ""
msgid "Reference"
msgstr ""
+#: qalculateeditdatasetdialog.cpp:652 qalculateeditdatasetdialog.cpp:672
+#: qalculateeditdatasetdialog.cpp:685 qalculateeditdatasetdialog.cpp:738
+#: qalculateeditfunctiondialog.cpp:537 qalculateeditfunctiondialog.cpp:569
+#: qalculateeditnamesdialog.cpp:88 qalculateeditnamesdialog.cpp:109
+#: qalculateeditnamesdialog.cpp:113 qalculateeditnamesdialog.cpp:117
+#: qalculateeditnamesdialog.cpp:121 qalculateeditnamesdialog.cpp:125
+#: qalculateeditnamesdialog.cpp:129 qalculateeditnamesdialog.cpp:133
+#: qalculateeditnamesdialog.cpp:151 qalculateeditnamesdialog.cpp:155
+#: qalculateeditnamesdialog.cpp:159 qalculateeditnamesdialog.cpp:163
+#: qalculateeditnamesdialog.cpp:167 qalculateeditnamesdialog.cpp:171
+#: qalculateeditnamesdialog.cpp:175 qalculateeditnamesdialog.cpp:236
+msgid "No"
+msgstr ""
+
+#: qalculateeditdatasetdialog.cpp:670 qalculateeditdatasetdialog.cpp:695
+#: qalculateeditdatasetdialog.cpp:737 qalculateeditdatasetdialog.cpp:740
+#: qalculateeditfunctiondialog.cpp:516 qalculateeditfunctiondialog.cpp:536
+#: qalculateeditfunctiondialog.cpp:545 qalculateeditfunctiondialog.cpp:568
+#: qalculateeditfunctiondialog.cpp:571 qalculateeditnamesdialog.cpp:107
+#: qalculateeditnamesdialog.cpp:111 qalculateeditnamesdialog.cpp:115
+#: qalculateeditnamesdialog.cpp:119 qalculateeditnamesdialog.cpp:123
+#: qalculateeditnamesdialog.cpp:127 qalculateeditnamesdialog.cpp:131
+#: qalculateeditnamesdialog.cpp:149 qalculateeditnamesdialog.cpp:153
+#: qalculateeditnamesdialog.cpp:157 qalculateeditnamesdialog.cpp:161
+#: qalculateeditnamesdialog.cpp:165 qalculateeditnamesdialog.cpp:169
+#: qalculateeditnamesdialog.cpp:173 qalculateeditnamesdialog.cpp:190
+#: qalculateeditnamesdialog.cpp:191 qalculateeditnamesdialog.cpp:192
+#: qalculateeditnamesdialog.cpp:193 qalculateeditnamesdialog.cpp:194
+#: qalculateeditnamesdialog.cpp:195 qalculateeditnamesdialog.cpp:196
+#: qalculateeditnamesdialog.cpp:235 qalculateeditnamesdialog.cpp:238
+msgid "Yes"
+msgstr ""
+
#: qalculateeditfunctiondialog.cpp:55 qalculateeditfunctiondialog.cpp:286
msgid "Edit Function"
msgstr ""
@@ -1499,6 +1579,10 @@ msgstr ""
msgid "Boolean"
msgstr ""
+#: qalculateeditfunctiondialog.cpp:602 qalculateinsertfunctiondialog.cpp:364
+msgid "File"
+msgstr ""
+
#: qalculateeditfunctiondialog.cpp:603
msgid "Angle"
msgstr ""
@@ -1837,8 +1921,8 @@ msgstr ""
msgid "Enable Completion"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 154
-#: qalculateexpressionedit.cpp:161 qalculateresultdisplay.cpp:333 rc.cpp:48
+#: qalculate_tdeui.rc:154 qalculateexpressionedit.cpp:161
+#: qalculateresultdisplay.cpp:333
#, no-c-format
msgid "Meta Modes"
msgstr ""
@@ -1917,6 +2001,18 @@ msgstr ""
msgid "Deactivate"
msgstr ""
+#: qalculatefunctionsdialog.cpp:78 qalculateinsertfunctiondialog.cpp:49
+#: qalculateinsertfunctiondialog.cpp:53
+#: qalculateinsertmatrixvectordialog.cpp:280
+#: qalculateinsertmatrixvectordialog.cpp:284 qalculateunitsdialog.cpp:102
+#: qalculatevariablesdialog.cpp:77
+msgid "Insert"
+msgstr ""
+
+#: qalculatefunctionsdialog.cpp:81
+msgid "Apply"
+msgstr ""
+
#: qalculatefunctionsdialog.cpp:174 qalculatefunctionsdialog.cpp:175
#: qalculatefunctionsdialog.cpp:176 qalculatefunctionsdialog.cpp:234
#: qalculatefunctionsdialog.cpp:260 qalculatefunctionsdialog.cpp:283
@@ -2077,6 +2173,10 @@ msgstr ""
msgid "Function Range"
msgstr ""
+#: qalculateplotdialog.cpp:84
+msgid "Appearance"
+msgstr ""
+
#: qalculateplotdialog.cpp:101
msgid "Vector/matrix"
msgstr ""
@@ -2161,6 +2261,14 @@ msgstr ""
msgid "Secondary"
msgstr ""
+#: qalculateplotdialog.cpp:148
+msgid "Modify"
+msgstr ""
+
+#: qalculateplotdialog.cpp:150
+msgid "Remove"
+msgstr ""
+
#: qalculateplotdialog.cpp:171
msgid "Sampling rate:"
msgstr ""
@@ -2258,6 +2366,10 @@ msgstr ""
msgid "Preferences"
msgstr ""
+#: qalculatepreferencesdialog.cpp:158
+msgid "Fonts"
+msgstr ""
+
#: qalculatepreferencesdialog.cpp:161
msgid "Close to system tray"
msgstr ""
@@ -2496,92 +2608,91 @@ msgstr ""
msgid "Variable Name"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 5
-#: rc.cpp:6
+#: qalculatevariablesdialog.cpp:80
+msgid "Export"
+msgstr ""
+
+#: qalculate_tdeui.rc:4
+#, no-c-format
+msgid "&File"
+msgstr ""
+
+#: qalculate_tdeui.rc:5
#, no-c-format
msgid "&New"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 37
-#: rc.cpp:12
+#: qalculate_tdeui.rc:28
+#, no-c-format
+msgid "&Edit"
+msgstr ""
+
+#: qalculate_tdeui.rc:37
#, no-c-format
msgid "&Set Prefix"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 39
-#: rc.cpp:15
+#: qalculate_tdeui.rc:39
#, no-c-format
msgid "&Convert To Unit"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 54
-#: rc.cpp:18
+#: qalculate_tdeui.rc:54
#, no-c-format
msgid "&Mode"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 55
-#: rc.cpp:21
+#: qalculate_tdeui.rc:55
#, no-c-format
msgid "Number Base"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 67
-#: rc.cpp:24
+#: qalculate_tdeui.rc:67
#, no-c-format
msgid "Numerical Display"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 80
-#: rc.cpp:27
+#: qalculate_tdeui.rc:80
#, no-c-format
msgid "Fractional Display"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 86
-#: rc.cpp:30
+#: qalculate_tdeui.rc:86
#, no-c-format
msgid "Unit Display"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 96
-#: rc.cpp:33
+#: qalculate_tdeui.rc:96
#, no-c-format
msgid "Angle Unit"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 104
-#: rc.cpp:36
+#: qalculate_tdeui.rc:104
#, no-c-format
msgid "Enabled Objects"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 121
-#: rc.cpp:42
+#: qalculate_tdeui.rc:121
#, no-c-format
msgid "Assumptions"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 137
-#: rc.cpp:45
+#: qalculate_tdeui.rc:137
#, no-c-format
msgid "Algebraic Mode"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 161
-#: rc.cpp:51
+#: qalculate_tdeui.rc:161
#, no-c-format
msgid "Fu&nctions"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 163
-#: rc.cpp:54
+#: qalculate_tdeui.rc:163
#, no-c-format
msgid "&Variables"
msgstr ""
-#. i18n: file ./qalculate_tdeui.rc line 165
-#: rc.cpp:57
+#: qalculate_tdeui.rc:165
#, no-c-format
msgid "&Units"
msgstr ""
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
new file mode 100644
index 0000000..ce144b5
--- /dev/null
+++ b/src/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "qalculate_tde" )