mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 05:43:28 +02:00
Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772221
This commit is contained in:
@@ -245,7 +245,7 @@ end_element (GMarkupParseContext *context,
|
||||
if (real_file == NULL && state->collect_data)
|
||||
{
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||
_("Failed to locate '%s' in any source directory"), file);
|
||||
_("Failed to locate “%s” in any source directory"), file);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -256,7 +256,7 @@ end_element (GMarkupParseContext *context,
|
||||
if (!exists && state->collect_data)
|
||||
{
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||
_("Failed to locate '%s' in current directory"), file);
|
||||
_("Failed to locate “%s” in current directory"), file);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -287,7 +287,7 @@ end_element (GMarkupParseContext *context,
|
||||
else
|
||||
{
|
||||
g_set_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_INVALID_CONTENT,
|
||||
_("Unknown processing option \"%s\""), options[i]);
|
||||
_("Unknown processing option “%s”"), options[i]);
|
||||
g_strfreev (options);
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -626,8 +626,8 @@ main (int argc, char **argv)
|
||||
{ "generate-source", 0, 0, G_OPTION_ARG_NONE, &generate_source, N_("Generate sourcecode used to link in the resource file into your code"), NULL },
|
||||
{ "generate-dependencies", 0, 0, G_OPTION_ARG_NONE, &generate_dependencies, N_("Generate dependency list"), NULL },
|
||||
{ "dependency-file", 0, 0, G_OPTION_ARG_FILENAME, &dependency_file, N_("name of the dependency file to generate"), N_("FILE") },
|
||||
{ "manual-register", 0, 0, G_OPTION_ARG_NONE, &manual_register, N_("Don't automatically create and register resource"), NULL },
|
||||
{ "internal", 0, 0, G_OPTION_ARG_NONE, &internal, N_("Don't export functions; declare them G_GNUC_INTERNAL"), NULL },
|
||||
{ "manual-register", 0, 0, G_OPTION_ARG_NONE, &manual_register, N_("Don’t automatically create and register resource"), NULL },
|
||||
{ "internal", 0, 0, G_OPTION_ARG_NONE, &internal, N_("Don’t export functions; declare them G_GNUC_INTERNAL"), NULL },
|
||||
{ "c-name", 0, 0, G_OPTION_ARG_STRING, &c_name, N_("C identifier name used for the generated source code"), NULL },
|
||||
{ NULL }
|
||||
};
|
||||
|
Reference in New Issue
Block a user