summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2021-01-21 06:28:11 +0300
committerAlexander Golubev <fatzer2@gmail.com>2021-01-21 11:50:20 +0300
commit9cc0522efd153263570b5f9c4287b4c001022a31 (patch)
treed52ebc2f7fdeab6451c89a8d7fc5b8036e258e0e
parentd3d85b655031a5998b8c9ff0ac2f191e2773a403 (diff)
downloadtdelibs-9cc0522efd153263570b5f9c4287b4c001022a31.tar.gz
tdelibs-9cc0522efd153263570b5f9c4287b4c001022a31.zip
tdeio: minor simplification of plurals in translation
A fixup for the d3d85b65 Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
-rw-r--r--tdeio/tdeio/global.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tdeio/tdeio/global.cpp b/tdeio/tdeio/global.cpp
index 2b66b7576..c53929b1e 100644
--- a/tdeio/tdeio/global.cpp
+++ b/tdeio/tdeio/global.cpp
@@ -1153,17 +1153,17 @@ TDEIO_EXPORT TQByteArray TDEIO::rawErrorDetail(int errorCode, const TQString &er
"response was not received within the amount of time allocated for "
"the request as follows:")
.append(TQString::fromLatin1("<ul><li>"))
- .append(i18n("Timeout for establishing a connection: %1 second",
- "Timeout for establishing a connection: %1 seconds",
- connTimeout).arg(connTimeout))
+ .append(i18n("Timeout for establishing a connection: %n second",
+ "Timeout for establishing a connection: %n seconds",
+ connTimeout))
.append(TQString::fromLatin1("</li><li>"))
- .append(i18n("Timeout for receiving a response: %1 second",
- "Timeout for receiving a response: %1 seconds",
- respTimeout).arg(respTimeout))
+ .append(i18n("Timeout for receiving a response: %n second",
+ "Timeout for receiving a response: %n seconds",
+ respTimeout))
.append(TQString::fromLatin1("</li><li>"))
- .append(i18n("Timeout for accessing proxy servers: %1 second",
- "Timeout for accessing proxy servers: %1 seconds",
- prConnTimeout).arg(prConnTimeout))
+ .append(i18n("Timeout for accessing proxy servers: %n second",
+ "Timeout for accessing proxy servers: %n seconds",
+ prConnTimeout))
.append(TQString::fromLatin1("</li></ul>"))
.append(i18n("Please note that you can alter these timeout settings in the TDE "
"Control Center, by selecting Network -> Preferences." ));