diff options
author | Piotr Drąg <piotrdrag@gmail.com> | 2016-10-06 04:05:23 +0200 |
---|---|---|
committer | Victor Toso <me@victortoso.com> | 2018-06-09 13:31:13 +0000 |
commit | 31ecb8381a8b48ae394c8b783994d1be21d6ee96 (patch) | |
tree | 33d870e046c112f51737e03f5a00b6450e084e91 | |
parent | 8f0f3de84e6edefd42dab69158433f9a18de9f19 (diff) | |
download | grilo-31ecb8381a8b48ae394c8b783994d1be21d6ee96.tar.gz |
Use Unicode in translatable strings
Changes "…" quotation marks to “…”.
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772493
-rw-r--r-- | src/grl-multiple.c | 2 | ||||
-rw-r--r-- | src/grl-registry.c | 20 | ||||
-rw-r--r-- | src/grl-source.c | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/grl-multiple.c b/src/grl-multiple.c index 7a127d6..b37ebee 100644 --- a/src/grl-multiple.c +++ b/src/grl-multiple.c @@ -508,7 +508,7 @@ media_from_uri_cb (GrlSource *source, if (!found) { GError *_error = g_error_new (GRL_CORE_ERROR, GRL_CORE_ERROR_MEDIA_FROM_URI_FAILED, - _("Could not resolve media for URI '%s'"), + _("Could not resolve media for URI “%s”"), mfucd->uri); mfucd->user_callback (NULL, 0, NULL, mfucd->user_data, _error); diff --git a/src/grl-registry.c b/src/grl-registry.c index de04000..8eb28e1 100644 --- a/src/grl-registry.c +++ b/src/grl-registry.c @@ -461,7 +461,7 @@ register_keys_plugin (GrlRegistry *registry, g_set_error (error, GRL_CORE_ERROR, GRL_CORE_ERROR_LOAD_PLUGIN_FAILED, - _("Plugin '%s' is already loaded"), grl_plugin_get_id (plugin)); + _("Plugin “%s” is already loaded"), grl_plugin_get_id (plugin)); return FALSE; } @@ -527,7 +527,7 @@ grl_registry_register_metadata_key_full (GrlRegistry *registry, g_set_error (error, GRL_CORE_ERROR, GRL_CORE_ERROR_REGISTER_METADATA_KEY_FAILED, - _("Metadata key '%s' already registered in different format"), + _("Metadata key “%s” already registered in different format"), key_name); return GRL_METADATA_KEY_INVALID; } @@ -540,7 +540,7 @@ grl_registry_register_metadata_key_full (GrlRegistry *registry, g_set_error (error, GRL_CORE_ERROR, GRL_CORE_ERROR_REGISTER_METADATA_KEY_FAILED, - _("Metadata key '%s' cannot be registered"), + _("Metadata key “%s” cannot be registered"), key_name); return GRL_METADATA_KEY_INVALID; @@ -980,7 +980,7 @@ grl_registry_unregister_source (GrlRegistry *registry, g_set_error (error, GRL_CORE_ERROR, GRL_CORE_ERROR_UNREGISTER_SOURCE_FAILED, - _("Source with id '%s' was not found"), id); + _("Source with id “%s” was not found"), id); ret = FALSE; } @@ -1074,7 +1074,7 @@ grl_registry_prepare_plugin (GrlRegistry *registry, g_set_error (error, GRL_CORE_ERROR, GRL_CORE_ERROR_LOAD_PLUGIN_FAILED, - _("'%s' is not a valid plugin file"), library_filename); + _("“%s” is not a valid plugin file"), library_filename); g_module_close (module); return NULL; } @@ -1093,7 +1093,7 @@ grl_registry_prepare_plugin (GrlRegistry *registry, g_set_error (error, GRL_CORE_ERROR, GRL_CORE_ERROR_LOAD_PLUGIN_FAILED, - _("Plugin '%s' already exists"), library_filename); + _("Plugin “%s” already exists"), library_filename); return NULL; } } @@ -1363,7 +1363,7 @@ grl_registry_activate_plugin_by_id (GrlRegistry *registry, g_set_error (error, GRL_CORE_ERROR, GRL_CORE_ERROR_LOAD_PLUGIN_FAILED, - _("Plugin '%s' not available"), plugin_id); + _("Plugin “%s” not available"), plugin_id); return FALSE; } @@ -1374,7 +1374,7 @@ grl_registry_activate_plugin_by_id (GrlRegistry *registry, g_set_error (error, GRL_CORE_ERROR, GRL_CORE_ERROR_LOAD_PLUGIN_FAILED, - _("Plugin '%s' is already loaded"), plugin_id); + _("Plugin “%s” is already loaded"), plugin_id); return FALSE; } @@ -1591,7 +1591,7 @@ grl_registry_unload_plugin (GrlRegistry *registry, g_set_error (error, GRL_CORE_ERROR, GRL_CORE_ERROR_UNLOAD_PLUGIN_FAILED, - _("Plugin not found: '%s'"), plugin_id); + _("Plugin not found: “%s”"), plugin_id); return FALSE; } @@ -1902,7 +1902,7 @@ grl_registry_add_config (GrlRegistry *registry, g_set_error (error, GRL_CORE_ERROR, GRL_CORE_ERROR_CONFIG_FAILED, - _("Plugin configuration does not contain 'plugin-id' reference")); + _("Plugin configuration does not contain “plugin-id” reference")); return FALSE; } diff --git a/src/grl-source.c b/src/grl-source.c index 822ed69..d90ef35 100644 --- a/src/grl-source.c +++ b/src/grl-source.c @@ -4195,7 +4195,7 @@ grl_source_store_remove_impl (GrlSource *source, if (!id) { rrc->error = g_error_new (GRL_CORE_ERROR, GRL_CORE_ERROR_REMOVE_FAILED, - _("Media has no 'id', cannot remove")); + _("Media has no “id”, cannot remove")); rrc->spec = NULL; } else { rrc->error = NULL; |