[gitg] Fix some strings to be plural
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Fix some strings to be plural
- Date: Thu, 2 Jan 2014 18:05:10 +0000 (UTC)
commit 55b0aab41749762d84946ca666a56deebc4e2659
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Thu Jan 2 19:58:05 2014 +0200
Fix some strings to be plural
libgitg/gitg-date.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgitg/gitg-date.vala b/libgitg/gitg-date.vala
index 776632b..7989060 100644
--- a/libgitg/gitg-date.vala
+++ b/libgitg/gitg-date.vala
@@ -317,7 +317,7 @@ public class Date : Object, Initable
}
else
{
- return ngettext(_("A minute ago"), _("%d minutes ago"),
rounded_minutes).printf(rounded_minutes);
+ return ngettext("A minute ago", "%d minutes ago",
rounded_minutes).printf(rounded_minutes);
}
}
else if (t < TimeSpan.MINUTE * 45)
@@ -327,12 +327,12 @@ public class Date : Object, Initable
else if (t < TimeSpan.HOUR * 23.5)
{
int rounded_hours = (int) Math.round((float) t / TimeSpan.HOUR);
- return ngettext(_("An hour ago"), _("%d hours ago"),
rounded_hours).printf(rounded_hours);
+ return ngettext("An hour ago", "%d hours ago", rounded_hours).printf(rounded_hours);
}
else if (t < TimeSpan.DAY * 7)
{
int rounded_days = (int) Math.round((float) t / TimeSpan.DAY);
- return ngettext(_("A day ago"), _("%d days ago"), rounded_days).printf(rounded_days);
+ return ngettext("A day ago", "%d days ago", rounded_days).printf(rounded_days);
}
// FIXME: Localize these date formats, Bug 699196
else if (dt.get_year() == new DateTime.now_local().get_year())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]