Commit 29f9fc8d authored by Xuetian Weng's avatar Xuetian Weng
Browse files

Fix a I18n problem caused by using i18n and i18np in two places.

There are two entries with "Extracting one file". The one is called with
i18n and the other is called with i18np. Thus it confuses the translation
to use "Extracting %1 files" in i18n() version which is a problem for
languages with "Plural-Forms: nplurals=1; plural=0;". The actual result
before this fix will be using the "%1" without arguments.

Test Plan: Manually tested.

Reviewers: rthomsen, elvisangelaccio

Reviewed By: elvisangelaccio

Subscribers: kde-utils-devel, #ark

Tags: #ark

Differential Revision:
parent f469d7c9
......@@ -574,7 +574,8 @@ QTemporaryDir *TempExtractJob::tempDir() const
void TempExtractJob::doWork()
emit description(this, i18n("Extracting one file"));
// pass 1 to i18np on purpose so this translation may properly be reused.
emit description(this, i18np("Extracting one file", "Extracting %1 files", 1));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment