summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/pilot.h22
-rw-r--r--lib/pilotDateEntry.cpp2
-rw-r--r--lib/plugin.h8
-rw-r--r--lib/pluginfactory.h7
-rw-r--r--translations/desktop_files/ka.po206
-rw-r--r--translations/desktop_files/pl.po23
-rw-r--r--translations/desktop_files/ru.po4
-rw-r--r--translations/messages/ru.po8
8 files changed, 242 insertions, 38 deletions
diff --git a/lib/pilot.h b/lib/pilot.h
index 8cdb6b1..9aa44dc 100644
--- a/lib/pilot.h
+++ b/lib/pilot.h
@@ -60,7 +60,7 @@ class PilotCategoryInfo; // ... and category information
* as mapping user-visible strings from UTF8 (KDE side) to
* the encoding used on the handheld.
*/
-namespace Pilot TDE_EXPORT
+namespace Pilot
{
/** Maximum size of an AppInfo block, taken roughly from the pilot-link source. */
static const int MAX_APPINFO_SIZE=8192;
@@ -84,7 +84,7 @@ namespace Pilot TDE_EXPORT
* a Unicode string. Converts the @p len characters in @p c
* to a Unicode string.
*/
- TQString fromPilot( const char *c, int len );
+ TDE_EXPORT TQString fromPilot( const char *c, int len );
/** Static translation function mapping a NUL-terminated
* string from the handheld's encoding to UTF-8.
@@ -92,15 +92,15 @@ namespace Pilot TDE_EXPORT
* @return TQString (UTF-8) value of @p c
* @note NUL-terminated strings are rare on the handheld.
*/
- TQString fromPilot( const char *c );
+ TDE_EXPORT TQString fromPilot( const char *c );
/** Static translation function that maps a TQString onto the
* native 8 bit encoding of the handheld. Writes the result into
* the buffer @p buf which has size @p len. Returns the length
* of the result. Zero-fills the buffer as needed.
*/
- int toPilot( const TQString &s, char *buf, int len);
- int toPilot( const TQString &s, unsigned char *buf, int len);
+ TDE_EXPORT int toPilot( const TQString &s, char *buf, int len);
+ TDE_EXPORT int toPilot( const TQString &s, unsigned char *buf, int len);
/** Static translation function that maps a TQString onto the
* native 8 bit encoding of the handheld.
@@ -108,7 +108,7 @@ namespace Pilot TDE_EXPORT
* @param s String to encode
* @return Encoded string in a TQCString
*/
- TQCString toPilot( const TQString &s );
+ TDE_EXPORT TQCString toPilot( const TQString &s );
/** Create a codec for translating handheld native 8 bit to Unicode,
* using the given codec @p name -- this will often be latin1, but
@@ -117,15 +117,15 @@ namespace Pilot TDE_EXPORT
*
* @return @c true on success, @c false otherwise
*/
- bool setupPilotCodec(const TQString &name);
+ TDE_EXPORT bool setupPilotCodec(const TQString &name);
/** Returns the name of the codec being used. */
- TQString codecName();
+ TDE_EXPORT TQString codecName();
/** For debugging, display category names for the given AppInfo
* structure. Called by dump(). You must pass a valid reference.
*/
- void dumpCategories(const struct CategoryAppInfo *info);
+ TDE_EXPORT void dumpCategories(const struct CategoryAppInfo *info);
/** Check that a given category number is valid. This
* restricts the range of integers to [0..CATEGORY_COUNT-1]
@@ -198,7 +198,7 @@ namespace Pilot TDE_EXPORT
* @p unknownIsUnfiled is true.
*
*/
- int findCategory(const struct CategoryAppInfo *info, const TQString &name, bool unknownIsUnfiled);
+ TDE_EXPORT int findCategory(const struct CategoryAppInfo *info, const TQString &name, bool unknownIsUnfiled);
/** Search for the given category @p name in the list
* of categories; returns the category number. If @p unknownIsUnfiled
@@ -218,7 +218,7 @@ namespace Pilot TDE_EXPORT
* are all full.
*
*/
- int insertCategory(struct CategoryAppInfo *info, const TQString &label, bool unknownIsUnfiled);
+ TDE_EXPORT int insertCategory(struct CategoryAppInfo *info, const TQString &label, bool unknownIsUnfiled);
/** The handheld also holds data about each database
* in a DBInfo structure; check if the database described
diff --git a/lib/pilotDateEntry.cpp b/lib/pilotDateEntry.cpp
index 18897d3..dfa6379 100644
--- a/lib/pilotDateEntry.cpp
+++ b/lib/pilotDateEntry.cpp
@@ -77,7 +77,7 @@ PilotDateEntry::PilotDateEntry(PilotRecord * rec) :
{
// Construct a fake pi_buffer for unpack_Appointment.
// No ownership changes occur here.
- pi_buffer_t b = { (unsigned char *) rec->data(), rec->size(), rec->size() } ;
+ pi_buffer_t b = { (unsigned char*)rec->data(), (size_t)rec->size(), (size_t)rec->size() } ;
unpack_Appointment(&fAppointmentInfo, &b, datebook_v1);
}
return;
diff --git a/lib/plugin.h b/lib/plugin.h
index 9187212..2a452a0 100644
--- a/lib/plugin.h
+++ b/lib/plugin.h
@@ -388,7 +388,7 @@ protected:
} ;
/** A namespace containing only static helper methods. */
-namespace PluginUtility TDE_EXPORT
+namespace PluginUtility
{
/** Searches the argument list for --foo=bar and returns bar, TQString() if not found.
* Don't include the -- in the argname. */
@@ -402,14 +402,14 @@ namespace PluginUtility TDE_EXPORT
* The current approach is to ask the DCOP server if the application
* has registered.
*/
- bool isRunning(const TQCString &appName);
+ TDE_EXPORT bool isRunning(const TQCString &appName);
/**
* Check a given library for its version, returning 0 if no
* version symbol is found.
*/
- unsigned long pluginVersion(const KLibrary *);
- TQString pluginVersionString(const KLibrary *);
+ TDE_EXPORT unsigned long pluginVersion(const KLibrary *);
+ TDE_EXPORT TQString pluginVersionString(const KLibrary *);
}
/**
diff --git a/lib/pluginfactory.h b/lib/pluginfactory.h
index e9be090..b5f1fbc 100644
--- a/lib/pluginfactory.h
+++ b/lib/pluginfactory.h
@@ -32,12 +32,9 @@
#include <kdebug.h>
#include <klibloader.h>
-#include "options.h"
-
-/** @file Defines a template class for factories for KPilot's conduits. */
-
-class KPilotLink;
+#include <kpilotlink.h>
+#include "options.h"
/** Template class that defines a conduit's factory. */
diff --git a/translations/desktop_files/ka.po b/translations/desktop_files/ka.po
new file mode 100644
index 0000000..0c7ce51
--- /dev/null
+++ b/translations/desktop_files/ka.po
@@ -0,0 +1,206 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# Temuri Doghonadze <rkavt@smartprojects.ge>, 2024.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2022-11-30 10:29+0100\n"
+"PO-Revision-Date: 2024-11-09 22:10+0000\n"
+"Last-Translator: Temuri Doghonadze <rkavt@smartprojects.ge>\n"
+"Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/applications/kpilot-desktop-files/ka/>\n"
+"Language: ka\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.17\n"
+
+#. Name
+#: kpilot/kpilot.desktop:2
+msgid "KPilot"
+msgstr "KPilot"
+
+#. GenericName
+#: kpilot/kpilot.desktop:4
+msgid "PalmPilot Tool"
+msgstr "პროგრამა PalmPilot"
+
+#. Name
+#: kpilot/kpilot_config.desktop:2
+msgid "KPilot Configuration"
+msgstr "KPilot-ის მორგება"
+
+#. Comment
+#: kpilot/kpilot_config.desktop:4
+msgid "KPilot Main Configuration"
+msgstr "KPilot-ის მთავარი კონფიგურაცია"
+
+#. Keywords
+#: kpilot/kpilot_config.desktop:6
+msgid "kpilot;main;"
+msgstr "kpilot;main;მთავარი;"
+
+#. Comment
+#: kpilot/kpilotconduit.desktop:2
+msgid "KPilot Conduit"
+msgstr "KPilot-ის არხი"
+
+#. Name
+#: kpilot/kpilotdaemon.desktop:2
+msgid "KPilotDaemon"
+msgstr "KPilotDaemon"
+
+#. Name
+#: conduits/abbrowserconduit/abbrowser_conduit.desktop:2
+msgid "Addressbook"
+msgstr "მისამართების წიგნი"
+
+#. Comment
+#: conduits/abbrowserconduit/abbrowser_conduit.desktop:4
+msgid "This conduit syncs the handheld addressbook with TDE's addressbook."
+msgstr ""
+"სინქრონიზაციის არხი ჯიბის მისამართების წიგნსა და TDE-ის მისამართების წიგნს "
+"შორის."
+
+#. Name
+#: conduits/docconduit/doc_conduit.desktop:2
+msgid "Palm DOC"
+msgstr "Palm DOC"
+
+#. Comment
+#: conduits/docconduit/doc_conduit.desktop:4
+msgid "Adds text files to your handheld, suitable for DOC readers."
+msgstr "ამატებს ტექსტურ ფაილს თქვენს გაჯეტში. კარგია DOC reader-ებისთვის."
+
+#. Name
+#: conduits/docconduit/kpalmdoc.desktop:2
+msgid "KPalmDOC"
+msgstr "KPalmDOC"
+
+#. GenericName
+#: conduits/docconduit/kpalmdoc.desktop:4
+msgid "PalmDOC Converter"
+msgstr "PalmDOC-ის გადამყვანი"
+
+#. Name
+#: conduits/knotes/knotes-conduit.desktop:2
+msgid "KNotes / Memos"
+msgstr "KNotes / შენიშვნები"
+
+#. Comment
+#: conduits/knotes/knotes-conduit.desktop:4
+msgid "This conduit syncs the Memo Pad application with KNotes."
+msgstr ""
+"ეს არხი გადასატან მოწყობილობასა და KNotes-ის შორის სინქრონიზაციისათვისაა."
+
+#. Name
+#: conduits/malconduit/mal_conduit.desktop:2
+msgid "MAL (AvantGo) Conduit"
+msgstr "MAL (AvantGo) არხი"
+
+#. Comment
+#: conduits/malconduit/mal_conduit.desktop:4
+msgid ""
+"Syncronize AvantGo (or generally a MAL server's content) to the handheld. "
+"This allows you to view web-pages offline on the handheld, like your cinema "
+"or TV schedule, or any other web page."
+msgstr ""
+"AvantGo-ის (ან, ზოგადად, MAL სერვერის შემცველობის) სინქრონიზაცია გადასატან "
+"კომპიუტერთან. ეს საშუალებას გაძლევთ, ნახოთ ვებგვერდები ინტერნეტის გარეშე "
+"თქვენს მოწყობილობაზე. მაგალითად, უყუროთ ფილმს, ან სხვა ვებგვერდები "
+"დაათვალიეროთ."
+
+#. Name
+#: conduits/memofileconduit/memofile-conduit.desktop:2
+msgid "Memo File"
+msgstr "შენიშვნის ფაილი"
+
+#. Comment
+#: conduits/memofileconduit/memofile-conduit.desktop:4
+msgid "This conduit syncs your handheld memos with a local directory."
+msgstr ""
+"ეს არხი დაასინქრონიზებს თქვენს გაგადასატან მოწყობილობას ლოკალურ "
+"საქაღალდესთან."
+
+#. Name
+#: conduits/notepadconduit/notepad-conduit.desktop:2
+msgid "NotePad"
+msgstr "NotePad"
+
+#. Comment
+#: conduits/notepadconduit/notepad-conduit.desktop:4
+msgid "This conduit backs up NotePad drawings to a local folder."
+msgstr ""
+"ეს არხი Notepad-ის ნახატების ლოკალურ საქაღალდესთან სინქრონიზაციას ახდენს."
+
+#. Name
+#: conduits/null/null-conduit.desktop:2
+msgid "NULL"
+msgstr "NULL"
+
+#. Comment
+#: conduits/null/null-conduit.desktop:4
+#: conduits/recordconduit/record-conduit.desktop:4
+msgid "This conduit does nothing."
+msgstr "ეს არხი არაფერს აკეთებს."
+
+#. Name
+#: conduits/popmail/popmail-conduit.desktop:2
+msgid "Mail"
+msgstr "ფოსტა"
+
+#. Comment
+#: conduits/popmail/popmail-conduit.desktop:4
+msgid "Send mail from your handheld through KMail."
+msgstr "გააგზავნეთ ელფოსტა თქვენი ჯიბის მოწყობილობიდან KMail-ით."
+
+#. Name
+#: conduits/recordconduit/record-conduit.desktop:2
+msgid "Records (Experimental)"
+msgstr "ჩანაწერები (ექსპერიმენტული)"
+
+#. Name
+#: conduits/sysinfoconduit/sysinfo_conduit.desktop:2
+msgid "System Information"
+msgstr "ინფორმაცის სისტემის შესახებ"
+
+#. Comment
+#: conduits/sysinfoconduit/sysinfo_conduit.desktop:4
+msgid ""
+"This conduit writes information about your handheld and the sync to a file."
+msgstr ""
+"ეს არხი იწერს ინფორმაციას თქვენი ჯიბის მოწყობილობის შესახებ და ასინქრონებს "
+"მას ფაილთან."
+
+#. Name
+#: conduits/timeconduit/time_conduit.desktop:2
+msgid "Time Synchronization"
+msgstr "დროის სინქრონიზაცია"
+
+#. Comment
+#: conduits/timeconduit/time_conduit.desktop:4
+msgid "This conduit sets the time on your handheld from the PC clock."
+msgstr "ეს არხი აყენებს დროს თქვენს ჯიბის მოწყობილობაზე PC-ის საათიდან."
+
+#. Name
+#: conduits/vcalconduit/todo-conduit.desktop:2
+msgid "ToDos (KOrganizer)"
+msgstr "გეგმები(KOrganizer)"
+
+#. Comment
+#: conduits/vcalconduit/todo-conduit.desktop:4
+msgid "This conduit syncs the ToDo list from your handheld to KOrganizer."
+msgstr ""
+"ეს არხი ასინქრონებს გეგმების სიას თქვენი ჯიბის მოწყობილობიდან KOrganizer-თან."
+
+#. Name
+#: conduits/vcalconduit/vcal-conduit.desktop:2
+msgid "Calendar (KOrganizer)"
+msgstr "კალენდარი (KOrganizer)"
+
+#. Comment
+#: conduits/vcalconduit/vcal-conduit.desktop:4
+msgid "This conduit synchronizes your handheld with the KOrganizer datebook."
+msgstr "ეს ასინქრონებს თქვენს ჯიბის მოწყობილობას KOrganizer-ის წიგნაკთან."
diff --git a/translations/desktop_files/pl.po b/translations/desktop_files/pl.po
index 9e99cad..826713e 100644
--- a/translations/desktop_files/pl.po
+++ b/translations/desktop_files/pl.po
@@ -1,26 +1,27 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
+# Eryk Michalak <gnu.ewm@protonmail.com>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-30 10:29+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"
+"PO-Revision-Date: 2024-09-18 05:10+0000\n"
+"Last-Translator: Eryk Michalak <gnu.ewm@protonmail.com>\n"
+"Language-Team: Polish <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/applications/kpilot-desktop-files/pl/>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2;\n"
+"X-Generator: Weblate 4.17\n"
#. Name
#: kpilot/kpilot.desktop:2
-#, fuzzy
msgid "KPilot"
-msgstr "demon KPilota"
+msgstr "KPilot"
#. GenericName
#: kpilot/kpilot.desktop:4
@@ -66,7 +67,7 @@ msgstr ""
#. Name
#: conduits/docconduit/doc_conduit.desktop:2
msgid "Palm DOC"
-msgstr ""
+msgstr "Palm DOC"
#. Comment
#: conduits/docconduit/doc_conduit.desktop:4
@@ -78,7 +79,7 @@ msgstr ""
#. Name
#: conduits/docconduit/kpalmdoc.desktop:2
msgid "KPalmDOC"
-msgstr ""
+msgstr "KPalmDOC"
#. GenericName
#: conduits/docconduit/kpalmdoc.desktop:4
@@ -136,7 +137,7 @@ msgstr ""
#. Name
#: conduits/null/null-conduit.desktop:2
msgid "NULL"
-msgstr ""
+msgstr "NULL"
#. Comment
#: conduits/null/null-conduit.desktop:4
diff --git a/translations/desktop_files/ru.po b/translations/desktop_files/ru.po
index 92b071e..00d3233 100644
--- a/translations/desktop_files/ru.po
+++ b/translations/desktop_files/ru.po
@@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
-"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"
#. Name
diff --git a/translations/messages/ru.po b/translations/messages/ru.po
index 29a8a24..9fbc114 100644
--- a/translations/messages/ru.po
+++ b/translations/messages/ru.po
@@ -18,8 +18,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
-"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
@@ -3080,8 +3080,8 @@ msgid ""
"configuration dialog."
msgstr ""
"Синхронизация отключена, поскольку KPilot не может определить состояние "
-"хранителя экрана. Вы можете отключить этот параметр безопасности, выключив «"
-"Синхронизация отключена на время блокирования экрана» на вкладке "
+"хранителя экрана. Вы можете отключить этот параметр безопасности, выключив "
+"«Синхронизация отключена на время блокирования экрана» на вкладке "
"синхронизации диалога настройки."
#: kpilot/pilotDaemon.cpp:1165 kpilot/pilotDaemon.cpp:1166