summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2016-10-06 04:05:23 +0200
committerPiotr Drąg <piotrdrag@gmail.com>2018-05-30 13:21:19 +0200
commitff5aa98c81097447161013203613e7fdd707ea5f (patch)
treefa1f1ea19ef7b2506d8f4ac52e93307363714196
parent39c9d89635788c76c1777e7de11c2f7b851b4835 (diff)
downloadgrilo-wip/piotrdrag/unicode-typography.tar.gz
Use Unicode in translatable stringswip/piotrdrag/unicode-typography
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.c2
-rw-r--r--src/grl-registry.c20
-rw-r--r--src/grl-source.c2
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;