Use Unicode in translatable strings

See https://developer.gnome.org/hig/stable/typography.html
This commit is contained in:
Piotr Drąg
2018-05-16 18:12:56 +02:00
parent 34a21a9611
commit 896bbaea89
3 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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;
}

View File

@ -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))