diff options
author | Slávek Banko <[email protected]> | 2018-11-25 02:03:27 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-11-30 03:34:56 +0100 |
commit | 349f025810b013a6a03a0e51f3ee4294d3c4548d (patch) | |
tree | 4b80588eab1d7828151bd114982d144256e5dca2 | |
parent | 7d5bacba4123b5b84726e18de28cd6fcdec0c1cd (diff) | |
download | abakus-349f025810b013a6a03a0e51f3ee4294d3c4548d.tar.gz abakus-349f025810b013a6a03a0e51f3ee4294d3c4548d.zip |
Add CMakeL10n rules.
Create translation template.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 25a9a374220cbd2286165a576ea00864533cf4e2)
-rw-r--r-- | CMakeL10n.txt | 23 | ||||
-rw-r--r-- | po/abakus.pot | 220 | ||||
-rw-r--r-- | src/CMakeL10n.txt | 15 |
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 <[email protected]>\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" ) |