[gnome-control-center] Add context to some translated strings
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Add context to some translated strings
- Date: Sat, 18 May 2013 22:04:32 +0000 (UTC)
commit 16c2a04e5ee17012a6343861fdaf4769a346025d
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Apr 3 18:40:17 2013 -0400
Add context to some translated strings
We are using "Other" in various contexts that may require
different translations.
https://bugzilla.gnome.org/show_bug.cgi?id=697211
.../cc-online-accounts-add-account-dialog.c | 2 +-
panels/region/cc-input-chooser.c | 2 +-
panels/search/cc-search-locations-dialog.c | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/panels/online-accounts/cc-online-accounts-add-account-dialog.c
b/panels/online-accounts/cc-online-accounts-add-account-dialog.c
index 20dba98..f9a27d4 100644
--- a/panels/online-accounts/cc-online-accounts-add-account-dialog.c
+++ b/panels/online-accounts/cc-online-accounts-add-account-dialog.c
@@ -188,7 +188,7 @@ add_account_dialog_create_provider_ui (GoaPanelAddAccountDialog *add_account,
{
g_object_set_data (G_OBJECT (row_grid), "provider", NULL);
icon = g_themed_icon_new_with_default_fallbacks ("goa-account");
- name = g_strdup (_("Other"));
+ name = g_strdup (C_("Online Account", "Other"));
}
else
{
diff --git a/panels/region/cc-input-chooser.c b/panels/region/cc-input-chooser.c
index dba3c65..b456216 100644
--- a/panels/region/cc-input-chooser.c
+++ b/panels/region/cc-input-chooser.c
@@ -1088,7 +1088,7 @@ get_locale_infos (GtkWidget *chooser)
/* Add a "Other" locale to hold the remaining input sources */
info = g_new0 (LocaleInfo, 1);
info->id = g_strdup ("");
- info->name = g_strdup (_("Other"));
+ info->name = g_strdup (C_("Input Source", "Other"));
info->unaccented_name = g_strdup ("");
info->untranslated_name = g_strdup ("");
g_hash_table_replace (priv->locales, info->id, info);
diff --git a/panels/search/cc-search-locations-dialog.c b/panels/search/cc-search-locations-dialog.c
index 90dadb5..c408486 100644
--- a/panels/search/cc-search-locations-dialog.c
+++ b/panels/search/cc-search-locations-dialog.c
@@ -473,11 +473,11 @@ static const gchar *
get_heading_name (PlaceType place)
{
if (place == PLACE_XDG)
- return _("Places");
+ return C_("Search Location", "Places");
if (place == PLACE_BOOKMARKS)
- return _("Bookmarks");
+ return C_("Search Location", "Bookmarks");
if (place == PLACE_OTHER)
- return _("Other");
+ return C_("Search Location", "Other");
g_assert_not_reached ();
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]