[geary] Use ngexttext for "%d results": Closes bgno#721965
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Use ngexttext for "%d results": Closes bgno#721965
- Date: Fri, 10 Jan 2014 22:17:46 +0000 (UTC)
commit d6184bb2d64a3561982a243d91f55a7083bd5e77
Author: Jim Nelson <jim yorba org>
Date: Fri Jan 10 14:17:20 2014 -0800
Use ngexttext for "%d results": Closes bgno#721965
.../folder-list/folder-list-search-branch.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/client/folder-list/folder-list-search-branch.vala
b/src/client/folder-list/folder-list-search-branch.vala
index 341eb20..86e3116 100644
--- a/src/client/folder-list/folder-list-search-branch.vala
+++ b/src/client/folder-list/folder-list-search-branch.vala
@@ -40,7 +40,8 @@ public class FolderList.SearchEntry : FolderList.AbstractFolderEntry {
}
public override string? get_sidebar_tooltip() {
- return _("%d results").printf(folder.properties.email_total);
+ int total = folder.properties.email_total;
+ return ngettext("%d result", "%d results", total).printf(total);
}
public override Icon? get_sidebar_icon() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]