[chronojump] Fixed: 675935 - Plural forms
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed: 675935 - Plural forms
- Date: Mon, 14 May 2012 08:38:32 +0000 (UTC)
commit b45d7da84faeeb72f5632d81013eec4af3fec3b8
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon May 14 10:37:51 2012 +0200
Fixed: 675935 - Plural forms
src/execute/run.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/execute/run.cs b/src/execute/run.cs
index 93de27b..b9b2dd9 100644
--- a/src/execute/run.cs
+++ b/src/execute/run.cs
@@ -700,7 +700,11 @@ public class RunIntervalExecute : RunExecute
RSABellDone = true;
}
- return string.Format(Catalog.GetString("Wait {0} seconds"), Util.TrimDecimals(waitSeconds, 1));
+ return string.Format(Catalog.GetPluralString(
+ "Wait 1 second.",
+ "Wait {0} seconds.",
+ Convert.ToInt32(waitSeconds)),
+ Util.TrimDecimals(waitSeconds, 1));
}
protected override bool shouldFinishByTime() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]