summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-12-11 14:26:49 +0100
committerSlávek Banko <[email protected]>2018-12-11 14:27:08 +0100
commit6d667f4eab84a8f5be67689f469e1f048e604b05 (patch)
tree0b94886cf8c911356fd6128eff067ebb60977d03
parent41d0cc4d8c07c7c54cb75405553a0b220eb1e164 (diff)
downloadkbiff-6d667f4eab84a8f5be67689f469e1f048e604b05.tar.gz
kbiff-6d667f4eab84a8f5be67689f469e1f048e604b05.zip
Add CMakeL10n rules.
Create translation template. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit c94e47a08b64d2053f9f66ad991734f79d52ce3e)
-rw-r--r--CMakeL10n.txt23
-rw-r--r--kbiff/CMakeL10n.txt3
-rw-r--r--po/CMakeLists.txt7
-rw-r--r--po/files26
-rw-r--r--po/kbiff.pot461
5 files changed, 493 insertions, 27 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
new file mode 100644
index 0000000..a525b71
--- /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_l10n_auto_add_subdirectories( )
diff --git a/kbiff/CMakeL10n.txt b/kbiff/CMakeL10n.txt
new file mode 100644
index 0000000..e3c6291
--- /dev/null
+++ b/kbiff/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "kbiff" )
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index f5a2e1b..46fba83 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -1 +1,6 @@
-tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} )
+# build translations if some are already available
+
+file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
+if( _srcs )
+ tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} )
+endif( )
diff --git a/po/files b/po/files
deleted file mode 100644
index 9b9a32a..0000000
--- a/po/files
+++ /dev/null
@@ -1,26 +0,0 @@
-br
-cs
-da
-de
-es
-et
-fi
-fr
-he
-hr
-hu
-is
-it
-nl
-no
-no_NY
-pl
-pt
-pt_BR
-ro
-sk
-sl
-sv
-tr
-uk
-zh_TW
diff --git a/po/kbiff.pot b/po/kbiff.pot
new file mode 100644
index 0000000..7f849b5
--- /dev/null
+++ b/po/kbiff.pot
@@ -0,0 +1,461 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2018-12-11 14:24+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"
+
+#: _translatorinfo:1
+msgid ""
+"_: NAME OF TRANSLATORS\n"
+"Your names"
+msgstr ""
+
+#: _translatorinfo:2
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr ""
+
+#: kbiff.cpp:730
+msgid "&UnDock"
+msgstr ""
+
+#: kbiff.cpp:732
+msgid "&Dock"
+msgstr ""
+
+#: kbiff.cpp:733
+msgid "&Setup..."
+msgstr ""
+
+#: kbiff.cpp:735
+msgid "&Help..."
+msgstr ""
+
+#: kbiff.cpp:739
+msgid "&Check Mail Now"
+msgstr ""
+
+#: kbiff.cpp:741
+msgid "&Read Mail Now"
+msgstr ""
+
+#: kbiff.cpp:747
+msgid "&Stop"
+msgstr ""
+
+#: kbiff.cpp:753
+msgid "&Start"
+msgstr ""
+
+#: kbiff.cpp:758
+msgid "E&xit"
+msgstr ""
+
+#: kbiff.cpp:988
+#, c-format
+msgid "Invalid Login to %1"
+msgstr ""
+
+#: kbiff.cpp:990
+msgid ""
+"I was not able to login to the remote server.\n"
+"This means that either the server is down or you have entered an incorrect "
+"username or password.\n"
+"Please make sure that you have entered the correct settings."
+msgstr ""
+
+#: main.cpp:12
+msgid "Full featured mail notification utility."
+msgstr ""
+
+#: main.cpp:16
+msgid "Run in secure mode"
+msgstr ""
+
+#: main.cpp:17
+msgid "Use 'profile'"
+msgstr ""
+
+#: main.cpp:23
+msgid "KBiff"
+msgstr ""
+
+#: notify.cpp:28 notify.cpp:34
+msgid "You have new mail!"
+msgstr ""
+
+#: notify.cpp:40 notify.cpp:87
+#, c-format
+msgid "New Messages: %1"
+msgstr ""
+
+#: notify.cpp:43
+#, c-format
+msgid "Mailbox: %1"
+msgstr ""
+
+#: notify.cpp:46
+msgid "OK"
+msgstr ""
+
+#: notify.cpp:49
+msgid "Mailer"
+msgstr ""
+
+#: setupdlg.cpp:80
+msgid "KBiff Setup"
+msgstr ""
+
+#: setupdlg.cpp:83
+msgid "Profile"
+msgstr ""
+
+#: setupdlg.cpp:90
+msgid ""
+"This is a list of all of the KBiff <b>profiles</b><p>A profile is a logical "
+"grouping of settings for either one mailbox or several mailboxes. Each "
+"profile gets one icon and one new mail sound and one... well, everything"
+msgstr ""
+
+#: setupdlg.cpp:97
+msgid "&New..."
+msgstr ""
+
+#: setupdlg.cpp:99
+msgid "Create a new profile"
+msgstr ""
+
+#: setupdlg.cpp:104
+msgid "&Rename..."
+msgstr ""
+
+#: setupdlg.cpp:106
+msgid "Rename the current profile"
+msgstr ""
+
+#: setupdlg.cpp:111
+msgid "&Delete"
+msgstr ""
+
+#: setupdlg.cpp:113
+msgid "Delete the current profile"
+msgstr ""
+
+#: setupdlg.cpp:132
+msgid "General"
+msgstr ""
+
+#: setupdlg.cpp:133
+msgid "New Mail"
+msgstr ""
+
+#: setupdlg.cpp:134 status.cpp:33
+msgid "Mailbox"
+msgstr ""
+
+#: setupdlg.cpp:135
+msgid "About"
+msgstr ""
+
+#: setupdlg.cpp:138
+msgid "&Help"
+msgstr ""
+
+#: setupdlg.cpp:142 setupdlg.cpp:1103 setupdlg.cpp:2000
+msgid "&OK"
+msgstr ""
+
+#: setupdlg.cpp:147 setupdlg.cpp:1106 setupdlg.cpp:2004
+msgid "&Cancel"
+msgstr ""
+
+#: setupdlg.cpp:402
+msgid "New Profile"
+msgstr ""
+
+#: setupdlg.cpp:434
+#, c-format
+msgid "Rename Profile: %1"
+msgstr ""
+
+#: setupdlg.cpp:474
+#, c-format
+msgid "Delete Profile: %1"
+msgstr ""
+
+#: setupdlg.cpp:475
+msgid "Are you sure you wish to delete this profile?\n"
+msgstr ""
+
+#: setupdlg.cpp:521
+msgid "P&oll (sec):"
+msgstr ""
+
+#: setupdlg.cpp:525
+msgid ""
+"This is the interval (in seconds) that KBiff will check for new mail. "
+"Typically, this can be quite small (under 60 seconds) for local mailboxes "
+"but should be around 5 minutes (300 seconds) for remote mailboxes"
+msgstr ""
+
+#: setupdlg.cpp:532
+msgid "&Mail client:"
+msgstr ""
+
+#: setupdlg.cpp:536
+#, c-format
+msgid ""
+"This is the mail client that KBiff was use when you click on the icon or the "
+"Mailer button. If it's not in your path, then you must specify the location "
+"using an absolute path. This recognizes the <b>%m</b> and <b>%u</b> "
+"arguments. The first is replaced with the first mailbox containing new mail "
+"and the latter is replaced with the mailbox's URL."
+msgstr ""
+
+#: setupdlg.cpp:545
+msgid "Doc&k in panel"
+msgstr ""
+
+#: setupdlg.cpp:548
+msgid "Use &session management"
+msgstr ""
+
+#: setupdlg.cpp:551
+msgid "Don't &check at startup"
+msgstr ""
+
+#: setupdlg.cpp:553
+msgid ""
+"This option is for those people using KBiff to check their IMAP4 or POP3 "
+"account over a dial-up connection. If KBiff tries to connect at startup and "
+"you are not connected, the DNS lookup will hang for a long time. If this is "
+"checked, then KBiff will not check for new mail on startup. You will need "
+"to manually start it every time you connect"
+msgstr ""
+
+#: setupdlg.cpp:562
+msgid "Icons:"
+msgstr ""
+
+#: setupdlg.cpp:565
+msgid "&Stopped:"
+msgstr ""
+
+#: setupdlg.cpp:572
+msgid "No Mail&box:"
+msgstr ""
+
+#: setupdlg.cpp:579
+msgid "No M&ail:"
+msgstr ""
+
+#: setupdlg.cpp:586
+msgid "O&ld Mail:"
+msgstr ""
+
+#: setupdlg.cpp:593
+msgid "N&ew Mail:"
+msgstr ""
+
+#: setupdlg.cpp:806
+msgid "R&un Command"
+msgstr ""
+
+#: setupdlg.cpp:808 setupdlg.cpp:813 setupdlg.cpp:818 setupdlg.cpp:1323
+msgid "Browse"
+msgstr ""
+
+#: setupdlg.cpp:811
+msgid "R&un Reset-Command"
+msgstr ""
+
+#: setupdlg.cpp:816
+msgid "&Play Sound"
+msgstr ""
+
+#: setupdlg.cpp:824
+msgid "System &Beep"
+msgstr ""
+
+#: setupdlg.cpp:825
+msgid "N&otify"
+msgstr ""
+
+#: setupdlg.cpp:826
+msgid "&Floating Status"
+msgstr ""
+
+#: setupdlg.cpp:995 setupdlg.cpp:1517
+msgid "Only local files can be executed."
+msgstr ""
+
+#: setupdlg.cpp:1028
+msgid "Only local files are supported yet."
+msgstr ""
+
+#: setupdlg.cpp:1042
+msgid "Advanced Options"
+msgstr ""
+
+#: setupdlg.cpp:1044
+msgid "Mailbox &URL:"
+msgstr ""
+
+#: setupdlg.cpp:1049
+msgid ""
+"KBiff uses URLs to specify a mailbox and the parameters to the mailbox. "
+"This allows you to modify the URL directly. Do so <i>only</i> if you really "
+"really know what you're doing!"
+msgstr ""
+
+#: setupdlg.cpp:1054
+msgid "P&ort:"
+msgstr ""
+
+#: setupdlg.cpp:1059
+msgid ""
+"This allows you to specify the port of your socket protocol. It usually is "
+"correct, so the only time you would change it is if you are accessing a "
+"non-standard server or going through a proxy (or something similar"
+msgstr ""
+
+#: setupdlg.cpp:1066
+msgid ""
+"IMAP4, POP3, and NNTP sockets each have their own timeout before they give "
+"up. If you have a slow connection, you might want to set this to some random "
+"high value"
+msgstr ""
+
+#: setupdlg.cpp:1069
+msgid "&Timeout:"
+msgstr ""
+
+#: setupdlg.cpp:1075
+msgid "&PREAUTH"
+msgstr ""
+
+#: setupdlg.cpp:1078
+msgid ""
+"Check this if you login to your IMAP4 or POP3 server before kbiff accesses "
+"it."
+msgstr ""
+
+#: setupdlg.cpp:1082
+msgid "&Keep Alive"
+msgstr ""
+
+#: setupdlg.cpp:1085
+msgid ""
+"If this is checked, then the IMAP4, POP3, or NNTP client will not log off "
+"each time"
+msgstr ""
+
+#: setupdlg.cpp:1089
+msgid "&Asynchronous"
+msgstr ""
+
+#: setupdlg.cpp:1092
+msgid ""
+"If this is checked, then the socket protocols will access the server "
+"asynchronously"
+msgstr ""
+
+#: setupdlg.cpp:1096
+msgid "&Disable APOP"
+msgstr ""
+
+#: setupdlg.cpp:1099
+msgid ""
+"If this is checked, then POP mailboxes will not use Authenticated POP where "
+"available, and send passwords in plaintext over the network, which is a "
+"security risk"
+msgstr ""
+
+#: setupdlg.cpp:1266
+msgid "Mailbox:"
+msgstr ""
+
+#: setupdlg.cpp:1271 setupdlg.cpp:1684
+msgid "New Mailbox"
+msgstr ""
+
+#: setupdlg.cpp:1275
+msgid "Delete Mailbox"
+msgstr ""
+
+#: setupdlg.cpp:1277
+msgid "Pro&tocol:"
+msgstr ""
+
+#: setupdlg.cpp:1293
+msgid "&Mailbox:"
+msgstr ""
+
+#: setupdlg.cpp:1298
+msgid "&Server:"
+msgstr ""
+
+#: setupdlg.cpp:1302
+msgid "&User:"
+msgstr ""
+
+#: setupdlg.cpp:1306
+msgid "P&assword:"
+msgstr ""
+
+#: setupdlg.cpp:1311
+msgid "S&tore password"
+msgstr ""
+
+#: setupdlg.cpp:1312
+msgid "&Advanced"
+msgstr ""
+
+#: setupdlg.cpp:1316
+msgid "Pre-&Polling Command"
+msgstr ""
+
+#: setupdlg.cpp:1321
+msgid "&Enable"
+msgstr ""
+
+#: setupdlg.cpp:1325
+msgid ""
+"This command shall be run <em>before</em> KBiff polls for new mail. It is "
+"useful for those people that want to download their POP3 mail regularly "
+"using (for instance) 'fetchmail'"
+msgstr ""
+
+#: setupdlg.cpp:1444
+msgid "Default"
+msgstr ""
+
+#: setupdlg.cpp:1992
+msgid "New Name"
+msgstr ""
+
+#: setupdlg.cpp:1994
+msgid "&New Name:"
+msgstr ""
+
+#: status.cpp:34
+msgid "New"
+msgstr ""
+
+#: status.cpp:35
+msgid "Old"
+msgstr ""
+
+#: status.cpp:68
+msgid "Disabled"
+msgstr ""