From kde-commits Wed Apr 30 20:37:51 2014 From: Michael Georg Hansen Date: Wed, 30 Apr 2014 20:37:51 +0000 To: kde-commits Subject: [digikam] digikam/tags/tagsmanager: Polish and add i18n comments. Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=139889028031264 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/tagsma= nager/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 =3D KMessageBox::warningContinueCancel( this, - i18np( + i18ncp( + "%2 is a comma separated list of tags to be delete= d.", "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 =3D i18np( + message =3D 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 =3D i18np( + message =3D 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 =3D KMessageBox::warningContinueCancel(this, - i18n("This operation c= an take long time " - "depending on col= lection size.\n" - "Do you want to c= ontinue?" - )); + int result =3D KMessageBox::warningContinueCancel( + this, + i18n( + "This operation can take long time " + "depending on collection size.\n" + "Do you want to continue?" + ) + ); = if (result !=3D KMessageBox::Continue) { @@ -493,11 +499,14 @@ void TagsManager::slotWriteToImg() = void TagsManager::slotReadFromImg() { - int result =3D KMessageBox::warningContinueCancel(this, - i18n("This operation c= an take long time " - "depending on col= lection size.\n" - "Do you want to c= ontinue?" - )); + int result =3D KMessageBox::warningContinueCancel( + this, + i18n( + "This operation can take long time " + "depending on collection size.\n" + "Do you want to continue?" + ) + ); = if (result !=3D KMessageBox::Continue) { @@ -513,12 +522,15 @@ void TagsManager::slotReadFromImg() = void TagsManager::slotWipeAll() { - const int result =3D KMessageBox::warningContinueCancel(this, - i18n("This operation w= ill 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 c= ontinue?" - )); + const int result =3D 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 !=3D KMessageBox::Continue) {