mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html
This commit is contained in:
@ -477,7 +477,7 @@ sp_perf_get_tracepoint_fields (SpTracepointDesc *tp_desc,
|
|||||||
g_set_error (error,
|
g_set_error (error,
|
||||||
G_IO_ERROR,
|
G_IO_ERROR,
|
||||||
G_IO_ERROR_FAILED,
|
G_IO_ERROR_FAILED,
|
||||||
_("Sysprof failed to find field '%s'."),
|
_("Sysprof failed to find field “%s”."),
|
||||||
optional_tp->fields[i]);
|
optional_tp->fields[i]);
|
||||||
g_free (contents);
|
g_free (contents);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
@ -490,7 +490,7 @@ sp_perf_get_tracepoint_fields (SpTracepointDesc *tp_desc,
|
|||||||
g_set_error (error,
|
g_set_error (error,
|
||||||
G_IO_ERROR,
|
G_IO_ERROR,
|
||||||
G_IO_ERROR_FAILED,
|
G_IO_ERROR_FAILED,
|
||||||
_("Sysprof failed to parse offset for '%s'."),
|
_("Sysprof failed to parse offset for “%s”."),
|
||||||
optional_tp->fields[i]);
|
optional_tp->fields[i]);
|
||||||
g_free (contents);
|
g_free (contents);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|||||||
@ -192,7 +192,7 @@ sp_window_update_subtitle (SpWindow *self)
|
|||||||
dt = g_date_time_new_from_timeval_local (&tv);
|
dt = g_date_time_new_from_timeval_local (&tv);
|
||||||
str = g_date_time_format (dt, "%x %X");
|
str = g_date_time_format (dt, "%x %X");
|
||||||
|
|
||||||
label = g_strdup_printf (_("%s - %s"), filename, str);
|
label = g_strdup_printf (_("%s — %s"), filename, str);
|
||||||
|
|
||||||
gtk_label_set_label (self->subtitle, label);
|
gtk_label_set_label (self->subtitle, label);
|
||||||
}
|
}
|
||||||
@ -978,7 +978,7 @@ sp_window_open (SpWindow *self,
|
|||||||
{
|
{
|
||||||
sp_window_notify_user (self,
|
sp_window_notify_user (self,
|
||||||
GTK_MESSAGE_ERROR,
|
GTK_MESSAGE_ERROR,
|
||||||
_("The file \"%s\" could not be opened. Only local files are supported."),
|
_("The file “%s” could not be opened. Only local files are supported."),
|
||||||
g_file_get_uri (file));
|
g_file_get_uri (file));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -103,7 +103,7 @@ main (gint argc,
|
|||||||
|
|
||||||
sp_clock_init ();
|
sp_clock_init ();
|
||||||
|
|
||||||
context = g_option_context_new (_("[CAPTURE_FILE] - Sysprof"));
|
context = g_option_context_new (_("[CAPTURE_FILE] — Sysprof"));
|
||||||
g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
|
g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
|
||||||
|
|
||||||
if (!g_option_context_parse (context, &argc, &argv, &error))
|
if (!g_option_context_parse (context, &argc, &argv, &error))
|
||||||
|
|||||||
Reference in New Issue
Block a user