mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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_IO_ERROR,
|
||||
G_IO_ERROR_FAILED,
|
||||
_("Sysprof failed to find field '%s'."),
|
||||
_("Sysprof failed to find field “%s”."),
|
||||
optional_tp->fields[i]);
|
||||
g_free (contents);
|
||||
return FALSE;
|
||||
@ -490,7 +490,7 @@ sp_perf_get_tracepoint_fields (SpTracepointDesc *tp_desc,
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
G_IO_ERROR_FAILED,
|
||||
_("Sysprof failed to parse offset for '%s'."),
|
||||
_("Sysprof failed to parse offset for “%s”."),
|
||||
optional_tp->fields[i]);
|
||||
g_free (contents);
|
||||
return FALSE;
|
||||
|
||||
@ -192,7 +192,7 @@ sp_window_update_subtitle (SpWindow *self)
|
||||
dt = g_date_time_new_from_timeval_local (&tv);
|
||||
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);
|
||||
}
|
||||
@ -978,7 +978,7 @@ sp_window_open (SpWindow *self,
|
||||
{
|
||||
sp_window_notify_user (self,
|
||||
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));
|
||||
return;
|
||||
}
|
||||
|
||||
@ -103,7 +103,7 @@ main (gint argc,
|
||||
|
||||
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);
|
||||
|
||||
if (!g_option_context_parse (context, &argc, &argv, &error))
|
||||
|
||||
Reference in New Issue
Block a user