[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [digikam] digikam/tags/tagsmanager: Polish and add i18n comments.
From: Michael Georg Hansen <mike () mghansen ! de>
Date: 2014-04-30 20:37:51
Message-ID: E1WfbGJ-0006tC-L8 () scm ! kde ! org
[Download RAW message or body]
Git commit 4d72648bb94319d3fc41043cac126bd9b8b13a97 by Michael Georg Hansen.
Committed on 30/04/2014 at 20:37.
Pushed by mghansen into branch 'master'.
Polish and add i18n comments.
M +31 -19 digikam/tags/tagsmanager/tagsmanager.cpp
http://commits.kde.org/digikam/4d72648bb94319d3fc41043cac126bd9b8b13a97
diff --git a/digikam/tags/tagsmanager/tagsmanager.cpp \
b/digikam/tags/tagsmanager/tagsmanager.cpp index 4268c32..b00bcae 100644
--- a/digikam/tags/tagsmanager/tagsmanager.cpp
+++ b/digikam/tags/tagsmanager/tagsmanager.cpp
@@ -326,7 +326,8 @@ void TagsManager::slotDeleteAction()
{
const int result = KMessageBox::warningContinueCancel(
this,
- i18np(
+ i18ncp(
+ "%2 is a comma separated list of tags to be deleted.",
"Tag %2 has one or more subtags. "
"Deleting it will also delete "
"the subtags. "
@@ -349,7 +350,8 @@ void TagsManager::slotDeleteAction()
QString message;
if (!tagsWithImages.isEmpty())
{
- message = i18np(
+ message = i18ncp(
+ "%2 is a comma separated list of tags to be deleted.",
"Tag %2 is assigned to one or more items. "
"Do you want to delete it?",
"Tags %2 are assigned to one or more items. "
@@ -360,7 +362,8 @@ void TagsManager::slotDeleteAction()
}
else
{
- message = i18np(
+ message = i18ncp(
+ "%2 is a comma separated list of tags to be deleted.",
"Delete tag %2?",
"Delete tags %2?",
tagNames.count(),
@@ -474,11 +477,14 @@ void TagsManager::slotInvertSel()
void TagsManager::slotWriteToImg()
{
- int result = KMessageBox::warningContinueCancel(this,
- i18n("This operation can take \
long time "
- "depending on collection \
size.\n"
- "Do you want to continue?"
- ));
+ int result = KMessageBox::warningContinueCancel(
+ this,
+ i18n(
+ "This operation can take long time "
+ "depending on collection size.\n"
+ "Do you want to continue?"
+ )
+ );
if (result != KMessageBox::Continue)
{
@@ -493,11 +499,14 @@ void TagsManager::slotWriteToImg()
void TagsManager::slotReadFromImg()
{
- int result = KMessageBox::warningContinueCancel(this,
- i18n("This operation can take \
long time "
- "depending on collection \
size.\n"
- "Do you want to continue?"
- ));
+ int result = KMessageBox::warningContinueCancel(
+ this,
+ i18n(
+ "This operation can take long time "
+ "depending on collection size.\n"
+ "Do you want to continue?"
+ )
+ );
if (result != KMessageBox::Continue)
{
@@ -513,12 +522,15 @@ void TagsManager::slotReadFromImg()
void TagsManager::slotWipeAll()
{
- const int result = KMessageBox::warningContinueCancel(this,
- i18n("This operation will wipe \
all tags from database only.\n"
- "To apply changes to files, \
"
- "you must choose write \
metadata to file later.\n"
- "Do you want to continue?"
- ));
+ const int result = KMessageBox::warningContinueCancel(
+ this,
+ i18n(
+ "This operation will wipe all tags from database only.\n"
+ "To apply changes to files, "
+ "you must choose write metadata to file later.\n"
+ "Do you want to continue?"
+ )
+ );
if (result != KMessageBox::Continue)
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic