diff options
Diffstat (limited to 'src/anastasis/anastasis-gtk_action.c')
-rw-r--r-- | src/anastasis/anastasis-gtk_action.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/anastasis/anastasis-gtk_action.c b/src/anastasis/anastasis-gtk_action.c index 2bce9b2..05a4a86 100644 --- a/src/anastasis/anastasis-gtk_action.c +++ b/src/anastasis/anastasis-gtk_action.c @@ -132,12 +132,9 @@ action_continent_selecting (void) continent) { const char *name; - const char *name_i18n; struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_string ("name", &name), - TALER_JSON_spec_i18n_str ("name", - &name_i18n), GNUNET_JSON_spec_end () }; @@ -157,7 +154,8 @@ action_continent_selecting (void) AG_CMC_CONTINENT_NAME, name, AG_CMC_CONTINENT_NAME_I18N, - name_i18n, + dgettext ("anastasis", + name), -1); GNUNET_JSON_parse_free (spec); } @@ -217,8 +215,8 @@ action_country_selecting (void) struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_string ("code", &code), - TALER_JSON_spec_i18n_str ("name", - &name), + GNUNET_JSON_spec_string ("name", + &name), GNUNET_JSON_spec_end () }; @@ -237,7 +235,8 @@ action_country_selecting (void) &iter, -1, AG_CCMC_COUNTRY_NAME, - name, + dgettext ("anastasis", + name), AG_CCMC_COUNTRY_CODE, code, -1); @@ -537,8 +536,8 @@ action_user_attributes_collecting (void) GNUNET_JSON_spec_string ("name", &attr_name), GNUNET_JSON_spec_mark_optional ( - TALER_JSON_spec_i18n_str ("label", - &attr_label), + GNUNET_JSON_spec_string ("label", + &attr_label), NULL), GNUNET_JSON_spec_end () }; @@ -571,9 +570,11 @@ action_user_attributes_collecting (void) if (optional) GNUNET_asprintf (&l, _ ("%s (optional)"), - attr_label); + dgettext ("anastasis", + attr_label)); else - l = GNUNET_strdup (attr_label); + l = GNUNET_strdup (dgettext ("anastasis", + attr_label)); if ( (NULL != widget_name) && (NULL != w) ) { |