[almanah] Unmark a %X strftime string as translatable
- From: Philip Withnall <pwithnall src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [almanah] Unmark a %X strftime string as translatable
- Date: Sun, 30 Aug 2009 15:05:06 +0000 (UTC)
commit ed682c932c987e7c27e9c91577963e99d8a4de39
Author: Philip Withnall <philip tecnocode co uk>
Date: Sat Jun 13 15:53:11 2009 +0100
Unmark a %X strftime string as translatable
The %X strftime placeholder is already locale-dependent. Closes: bgo#585646
src/main-window.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/main-window.c b/src/main-window.c
index 3d63568..bd5ef31 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -753,9 +753,8 @@ mw_insert_time_activate_cb (GtkAction *action, AlmanahMainWindow *main_window)
gchar time_string[100];
time_t time_struct;
- /* Translators: This is a strftime()-format string for the time to insert into an entry when using Edit->Insert Time. */
time_struct = time (NULL);
- strftime (time_string, sizeof (time_string), _("%X"), localtime (&time_struct));
+ strftime (time_string, sizeof (time_string), "%X", localtime (&time_struct));
gtk_text_buffer_insert_at_cursor (main_window->priv->entry_buffer, time_string, -1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]