Fix the offset calculation again
We also need to skip over the \004. https://bugzilla.gnome.org/show_bug.cgi?id=745521
This commit is contained in:
parent
e7fa83ea1a
commit
0ebba112d7
@ -229,7 +229,7 @@ shell_util_translate_time_string (const char *str)
|
||||
setlocale (LC_MESSAGES, locale);
|
||||
|
||||
sep = strchr (str, '\004');
|
||||
res = g_dpgettext (NULL, str, sep ? sep - str : 0);
|
||||
res = g_dpgettext (NULL, str, sep ? sep - str + 1 : 0);
|
||||
|
||||
setlocale (LC_MESSAGES, "");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user