summaryrefslogtreecommitdiff
path: root/app-office/kraft/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
commitf70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (patch)
treee907cb121b30e3c1df1710719c0ddf4029597a47 /app-office/kraft/files
parentdb063b515939ab15261136b24e4bc44386335c0c (diff)
gentoo resync : 30.09.2020
Diffstat (limited to 'app-office/kraft/files')
-rw-r--r--app-office/kraft/files/kraft-0.95-i18n-warning.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/app-office/kraft/files/kraft-0.95-i18n-warning.patch b/app-office/kraft/files/kraft-0.95-i18n-warning.patch
new file mode 100644
index 000000000000..2e189a233caf
--- /dev/null
+++ b/app-office/kraft/files/kraft-0.95-i18n-warning.patch
@@ -0,0 +1,35 @@
+From 1e8f15a6c54c0c29cb463deacefd1fe8b32ad41d Mon Sep 17 00:00:00 2001
+From: Klaas Freitag <kraft@freisturz.de>
+Date: Wed, 2 Sep 2020 18:32:14 +0200
+Subject: [PATCH] Fix call to i18n - same problem as before....
+
+Fixes #85
+---
+ src/prefsdialog.cpp | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/src/prefsdialog.cpp b/src/prefsdialog.cpp
+index 13b4bcb..ddce27d 100644
+--- a/src/prefsdialog.cpp
++++ b/src/prefsdialog.cpp
+@@ -335,15 +335,15 @@ QWidget* PrefsDialog::docTab()
+ const QDate d = QDate::currentDate();
+ mCbDateFormats->setToolTip( i18n( "The default date format for documents." ) );
+ QString formattedDate = d.toString(Qt::ISODate);
+- mCbDateFormats->insertItem( 0, i18n("ISO-Format: %1").arg(formattedDate));
++ mCbDateFormats->insertItem( 0, i18n("ISO-Format: %1", formattedDate));
+ formattedDate = d.toString(Qt::DefaultLocaleShortDate);
+- mCbDateFormats->insertItem( 1, i18n("Short-Date: %1").arg(formattedDate));
++ mCbDateFormats->insertItem( 1, i18n("Short-Date: %1", formattedDate));
+ formattedDate = d.toString(Qt::DefaultLocaleLongDate);
+- mCbDateFormats->insertItem( 2, i18n("Long-Date: %1").arg(formattedDate));
++ mCbDateFormats->insertItem( 2, i18n("Long-Date: %1", formattedDate));
+ formattedDate = d.toString(Qt::RFC2822Date);
+- mCbDateFormats->insertItem( 3, i18n("RFC 2822-Format: %1").arg(formattedDate));
++ mCbDateFormats->insertItem( 3, i18n("RFC 2822-Format: %1", formattedDate));
+ formattedDate = d.toString("dd.MM.yyyy");
+- mCbDateFormats->insertItem( 4, i18n("\"German Format\": %1").arg(formattedDate));
++ mCbDateFormats->insertItem( 4, i18n("\"German Format\": %1", formattedDate));
+ mCbDateFormats->insertItem( 5, i18n("Custom Setting in Settingsfile"));
+ vboxLay->addLayout( butLay );
+