Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
KPhotoAlbum
Commits
e4fd0d42
Commit
e4fd0d42
authored
Feb 11, 2012
by
Johannes Zarl-Zierl
Committed by
Miika Turkia
Feb 12, 2012
Browse files
Fix missing plural forms in i18n calls.
BUG: 104886
parent
2d04d3d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
DB/NewImageFinder.cpp
View file @
e4fd0d42
...
...
@@ -283,10 +283,10 @@ bool NewImageFinder::calculateMD5sums(
// FIXME: should be converted to a threadpool for SMP stuff and whatnot :]
QProgressDialog
dialog
;
dialog
.
setLabelText
(
i18n
(
"<p><b>Calculating checksum for %1 file
s
<b></p>"
"<p>By storing a checksum for each image "
i18n
p
(
"<p><b>Calculating checksum for %1 file<b></p>"
,
"<p><b>Calculating checksums for %1 files<b></p>"
,
list
.
size
())
+
i18n
(
"<p>By storing a checksum for each image "
"KPhotoAlbum is capable of finding images "
"even when you have moved them on the disk.</p>"
,
list
.
size
()
));
"even when you have moved them on the disk.</p>"
));
dialog
.
setMaximum
(
list
.
size
());
dialog
.
setMinimumDuration
(
1000
);
...
...
DateBar/DateBarWidget.cpp
View file @
e4fd0d42
...
...
@@ -632,9 +632,11 @@ void DateBar::DateBarWidget::showStatusBarTip( const QPoint& pos )
QString
cnt
;
if
(
count
.
_rangeMatch
!=
0
&&
includeFuzzyCounts
())
cnt
=
i18n
(
"%1 exact + %2 ranges = %3 total"
,
count
.
_exact
,
count
.
_rangeMatch
,
count
.
_exact
+
count
.
_rangeMatch
);
cnt
=
i18np
(
"1 exact"
,
"%1 exact"
,
count
.
_exact
)
+
i18np
(
" + 1 range"
,
" + %1 ranges"
,
count
.
_rangeMatch
)
+
i18np
(
" = 1 total"
,
" = %1 total"
,
count
.
_exact
+
count
.
_rangeMatch
);
else
cnt
=
i18n
(
"%1 images/videos"
,
count
.
_exact
);
cnt
=
i18n
p
(
"%1 image/video"
,
"%1 images/videos"
,
count
.
_exact
);
QString
res
=
i18n
(
"%1 | %2"
,
range
.
toString
(),
cnt
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment