summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-11-25 02:03:27 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-11-30 02:07:18 +0100
commit25a9a374220cbd2286165a576ea00864533cf4e2 (patch)
treed4b953ca263c7fb93116f6b5d44b40a26b105e93
parentdd798e26d454b8f0873f9a9dfa1ad1a03a6d82dc (diff)
downloadabakus-25a9a374220cbd2286165a576ea00864533cf4e2.tar.gz
abakus-25a9a374220cbd2286165a576ea00864533cf4e2.zip
Add CMakeL10n rules.
Create translation template. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeL10n.txt23
-rw-r--r--po/abakus.pot220
-rw-r--r--src/CMakeL10n.txt15
3 files changed, 258 insertions, 0 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
new file mode 100644
index 0000000..91507fa
--- /dev/null
+++ b/CMakeL10n.txt
@@ -0,0 +1,23 @@
+#################################################
+#
+# (C) 2018 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_auto_add_l10n_subdirectories( )
diff --git a/po/abakus.pot b/po/abakus.pot
new file mode 100644
index 0000000..30d75fc
--- /dev/null
+++ b/po/abakus.pot
@@ -0,0 +1,220 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2018-11-24 21:40+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"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: abakus.cpp:36
+msgid "abakus"
+msgstr ""
+
+#: abakus.cpp:37
+msgid "A simple keyboard-driven calculator"
+msgstr ""
+
+#: abakus.cpp:42
+msgid "Developer"
+msgstr ""
+
+#: abakus.cpp:46
+msgid ""
+"High precision math routines, and inspiration for the new design came from "
+"his C++ implementation (SpeedCrunch)"
+msgstr ""
+
+#: abakus.cpp:50
+msgid "Came up with the initial idea, along with a Python implementation."
+msgstr ""
+
+#: abakus.cpp:54
+msgid ""
+"Inspiration/code for the initial design came from his Ruby implementation."
+msgstr ""
+
+#: abakuslistview.cpp:158
+msgid "Remove selected variable"
+msgstr ""
+
+#: abakuslistview.cpp:173
+#, c-format
+msgid ""
+"_n: Remove all variables (1 variable)\n"
+"Remove all variables (%n variables)"
+msgstr ""
+
+#: abakuslistview.cpp:200
+msgid "Remove selected function"
+msgstr ""
+
+#: abakuslistview.cpp:206
+#, c-format
+msgid ""
+"_n: Remove all functions (1 function)\n"
+"Remove all functions (%n functions)"
+msgstr ""
+
+#: mainwindow.cpp:69
+msgid "History: "
+msgstr ""
+
+#: mainwindow.cpp:81 mainwindow.cpp:509
+msgid "&Degrees"
+msgstr ""
+
+#: mainwindow.cpp:87 mainwindow.cpp:513
+msgid "&Radians"
+msgstr ""
+
+#: mainwindow.cpp:116
+msgid "&Evaluate"
+msgstr ""
+
+#: mainwindow.cpp:225
+#, c-format
+msgid "Error: %1"
+msgstr ""
+
+#: mainwindow.cpp:517
+msgid "Show &History List"
+msgstr ""
+
+#: mainwindow.cpp:520
+msgid "Show &Variables"
+msgstr ""
+
+#: mainwindow.cpp:523
+msgid "Show &Functions"
+msgstr ""
+
+#: mainwindow.cpp:526
+msgid "Activate &Compact Mode"
+msgstr ""
+
+#: mainwindow.cpp:529
+msgid "Use R&PN Mode"
+msgstr ""
+
+#: mainwindow.cpp:533
+msgid "&Automatic Precision"
+msgstr ""
+
+#: mainwindow.cpp:537
+msgid "&3 Decimal Digits"
+msgstr ""
+
+#: mainwindow.cpp:541
+msgid "&8 Decimal Digits"
+msgstr ""
+
+#: mainwindow.cpp:545
+msgid "&15 Decimal Digits"
+msgstr ""
+
+#: mainwindow.cpp:549
+msgid "&50 Decimal Digits"
+msgstr ""
+
+#: mainwindow.cpp:553
+msgid "C&ustom Precision..."
+msgstr ""
+
+#: mainwindow.cpp:557 resultlistview.cpp:118
+msgid "Clear &History"
+msgstr ""
+
+#: mainwindow.cpp:559
+msgid "Select Editor"
+msgstr ""
+
+#: mainwindow.cpp:717
+msgid "Marker %1 isn't set"
+msgstr ""
+
+#: mainwindow.cpp:760
+msgid "Select number of decimal digits to display"
+msgstr ""
+
+#: mainwindow.cpp:761
+msgid "Decimal precision:"
+msgstr ""
+
+#: resultlistview.cpp:43
+msgid "Expression"
+msgstr ""
+
+#: resultlistview.cpp:44
+msgid "Result"
+msgstr ""
+
+#: resultlistview.cpp:45
+msgid "Shortcut"
+msgstr ""
+
+#: resultlistview.cpp:120
+msgid "Copy Result to Clipboard"
+msgstr ""
+
+#: rpnmuncher.cpp:104
+msgid "Can't pop from an empty stack."
+msgstr ""
+
+#: rpnmuncher.cpp:118
+#, c-format
+msgid "Insufficient operands for function %1"
+msgstr ""
+
+#: rpnmuncher.cpp:135
+msgid "The set and remove commands can only be used in normal mode."
+msgstr ""
+
+#: rpnmuncher.cpp:142
+msgid "Insufficient operands for exponentiation operator."
+msgstr ""
+
+#: rpnmuncher.cpp:153
+#, c-format
+msgid "Unknown token %1"
+msgstr ""
+
+#: rpnmuncher.cpp:168
+msgid "Insufficient operands for addition operator."
+msgstr ""
+
+#: rpnmuncher.cpp:180
+msgid "Insufficient operands for subtraction operator."
+msgstr ""
+
+#: rpnmuncher.cpp:192
+msgid "Insufficient operands for multiplication operator."
+msgstr ""
+
+#: rpnmuncher.cpp:204
+msgid "Insufficient operands for division operator."
+msgstr ""
+
+#: valuemanager.cpp:96
+msgid "Natural exponential base - 2.7182818"
+msgstr ""
+
+#: valuemanager.cpp:98
+msgid "pi (π) - 3.1415926"
+msgstr ""
+
+#: abakusui.rc:4
+#, no-c-format
+msgid "&View"
+msgstr ""
+
+#: abakusui.rc:26
+#, no-c-format
+msgid "&Mode"
+msgstr ""
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
new file mode 100644
index 0000000..d20ea95
--- /dev/null
+++ b/src/CMakeL10n.txt
@@ -0,0 +1,15 @@
+#################################################
+#
+# (C) 2018 Slávek Banko
+# slavek.banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+
+##### create translation templates ##############
+
+tde_create_l10n_template( CATALOG "abakus" DESTINATION "../po" )