[gnote] * Date format are non localizable. (Close #579207)
- From: Hubert Figuière <hub src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnote] * Date format are non localizable. (Close #579207)
- Date: Sat, 18 Apr 2009 00:36:40 -0400 (EDT)
commit 89078f9ca9e6507ec2bd6bec8a39cd3ef8fce5d5
Author: Hubert Figuiere <hub figuiere net>
Date: Fri Apr 17 23:29:49 2009 -0400
* Date format are non localizable. (Close #579207)
---
NEWS | 1 +
src/utils.cpp | 8 ++++----
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/NEWS b/NEWS
index a269f57..3a71893 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,7 @@ Translations:
* Update comment to reflect format in strings. (Close #579209)
* Ensure the spelling of Gnote.
* Some strings shouldn't be translated. (Close #579197)
+ * Date format are non localizable. (Close #579207)
0.1.2 - 2009/04/15
diff --git a/src/utils.cpp b/src/utils.cpp
index b976b4b..e825436 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -228,8 +228,8 @@ namespace gnote {
}
else {
pretty_str = show_time ?
- date.to_string (_("%B %d, %H:%M %p")) : // "MMMM d, h:mm tt"
- date.to_string (_("%B %d")); // "MMMM d"
+ date.to_string ("%B %d, %H:%M %p") : // "MMMM d, h:mm tt"
+ date.to_string ("%B %d"); // "MMMM d"
}
}
else if (!date.is_valid()) {
@@ -237,8 +237,8 @@ namespace gnote {
}
else {
pretty_str = show_time ?
- date.to_string (_("%B %d %Y, %H:%M %p")) : // "MMMM d yyyy, h:mm tt"
- date.to_string (_("%B %d %Y")); // "MMMM d yyyy"
+ date.to_string ("%B %d %Y, %H:%M %p") : // "MMMM d yyyy, h:mm tt"
+ date.to_string ("%B %d %Y"); // "MMMM d yyyy"
}
return pretty_str;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]