summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/hebrew
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/plugins/hebrew')
-rw-r--r--korganizer/plugins/hebrew/hebrew.cpp8
-rw-r--r--korganizer/plugins/hebrew/hebrew.desktop2
2 files changed, 4 insertions, 6 deletions
diff --git a/korganizer/plugins/hebrew/hebrew.cpp b/korganizer/plugins/hebrew/hebrew.cpp
index 9fb0f2fbf..8a9f37bd4 100644
--- a/korganizer/plugins/hebrew/hebrew.cpp
+++ b/korganizer/plugins/hebrew/hebrew.cpp
@@ -55,7 +55,7 @@ TQString Hebrew::shortText(const TQDate & date)
Holiday::ParshaP = config.readBoolEntry("Parsha", true);
Holiday::CholP = config.readBoolEntry("Chol_HaMoed", true);
Holiday::OmerP = config.readBoolEntry("Omer", true);
- TQString *label_text = new TQString();
+ TQString label_text;
int day = date.day();
int month = date.month();
@@ -81,7 +81,7 @@ TQString Hebrew::shortText(const TQDate & date)
hebrew_day_number, hebrew_year);
KCalendarSystem *cal = KCalendarSystemFactory::create("hebrew");
- *label_text = TQString("%1 %2").arg(cal->dayString(date, false))
+ label_text = TQString("%1 %2").arg(cal->dayString(date, false))
.arg(cal->monthName(date));
if (holidays.count())
@@ -90,11 +90,11 @@ TQString Hebrew::shortText(const TQDate & date)
for (int h = 0; h <= count; ++h)
{
- *label_text += "\n" + holidays[h];
+ label_text += "\n" + holidays[h];
}
}
- return *label_text;
+ return label_text;
}
TQString Hebrew::info()
diff --git a/korganizer/plugins/hebrew/hebrew.desktop b/korganizer/plugins/hebrew/hebrew.desktop
index 86c88328d..dc67c2eba 100644
--- a/korganizer/plugins/hebrew/hebrew.desktop
+++ b/korganizer/plugins/hebrew/hebrew.desktop
@@ -23,7 +23,6 @@ Name[hu]=Bővítőmodul a zsidó naptár kezeléséhez
Name[is]=Gyðinga dagatalsíforrit
Name[it]=Plugin calendario ebraico
Name[ja]=ユダヤ歴カレンダープラグイン
-Name[ka]=ებრაული კალენდრის მოდული
Name[kk]=Яһуди күнтізбесінің модулі
Name[km]=កម្មវិធី​ជំនួយ​ប្រតិទិន Jewish
Name[lt]=Žydų kalendoriaus priedas
@@ -70,7 +69,6 @@ Comment[hu]=A KOrganizer dátumait kiírja a hagyományos zsidó naptár szerint
Comment[is]=Sýna alla dagsetningar í KOrganizer sem eru einnig í dagatali gyðinga.
Comment[it]=Mostra tutte le date in korganizer secondo il calendario ebraico.
Comment[ja]=korganizer のすべての日付をユダヤ暦でも表示します。
-Comment[ka]=ყველა თარიღს ებრაული კალენდრის მიხედვითაც აჩვენებს
Comment[kk]=Яһуди күнтізбе күндерін korganizer-де көрсететін модулі.
Comment[km]=បង្ហាញ​កាលបរិច្ឆេទ​ទាំងអស់​ក្នុង korganizer នៅ​ក្នុង​ប្រព័ន្ធ​ប្រតិទិន Jewish ។
Comment[lt]=Rodo visas dienas kalendoriuje taip pat ir žydų kalendoriaus sistema.