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) | |||
132 | continent) | 132 | continent) |
133 | { | 133 | { |
134 | const char *name; | 134 | const char *name; |
135 | const char *name_i18n; | ||
136 | struct GNUNET_JSON_Specification spec[] = { | 135 | struct GNUNET_JSON_Specification spec[] = { |
137 | GNUNET_JSON_spec_string ("name", | 136 | GNUNET_JSON_spec_string ("name", |
138 | &name), | 137 | &name), |
139 | TALER_JSON_spec_i18n_str ("name", | ||
140 | &name_i18n), | ||
141 | GNUNET_JSON_spec_end () | 138 | GNUNET_JSON_spec_end () |
142 | }; | 139 | }; |
143 | 140 | ||
@@ -157,7 +154,8 @@ action_continent_selecting (void) | |||
157 | AG_CMC_CONTINENT_NAME, | 154 | AG_CMC_CONTINENT_NAME, |
158 | name, | 155 | name, |
159 | AG_CMC_CONTINENT_NAME_I18N, | 156 | AG_CMC_CONTINENT_NAME_I18N, |
160 | name_i18n, | 157 | dgettext ("anastasis", |
158 | name), | ||
161 | -1); | 159 | -1); |
162 | GNUNET_JSON_parse_free (spec); | 160 | GNUNET_JSON_parse_free (spec); |
163 | } | 161 | } |
@@ -217,8 +215,8 @@ action_country_selecting (void) | |||
217 | struct GNUNET_JSON_Specification spec[] = { | 215 | struct GNUNET_JSON_Specification spec[] = { |
218 | GNUNET_JSON_spec_string ("code", | 216 | GNUNET_JSON_spec_string ("code", |
219 | &code), | 217 | &code), |
220 | TALER_JSON_spec_i18n_str ("name", | 218 | GNUNET_JSON_spec_string ("name", |
221 | &name), | 219 | &name), |
222 | GNUNET_JSON_spec_end () | 220 | GNUNET_JSON_spec_end () |
223 | }; | 221 | }; |
224 | 222 | ||
@@ -237,7 +235,8 @@ action_country_selecting (void) | |||
237 | &iter, | 235 | &iter, |
238 | -1, | 236 | -1, |
239 | AG_CCMC_COUNTRY_NAME, | 237 | AG_CCMC_COUNTRY_NAME, |
240 | name, | 238 | dgettext ("anastasis", |
239 | name), | ||
241 | AG_CCMC_COUNTRY_CODE, | 240 | AG_CCMC_COUNTRY_CODE, |
242 | code, | 241 | code, |
243 | -1); | 242 | -1); |
@@ -537,8 +536,8 @@ action_user_attributes_collecting (void) | |||
537 | GNUNET_JSON_spec_string ("name", | 536 | GNUNET_JSON_spec_string ("name", |
538 | &attr_name), | 537 | &attr_name), |
539 | GNUNET_JSON_spec_mark_optional ( | 538 | GNUNET_JSON_spec_mark_optional ( |
540 | TALER_JSON_spec_i18n_str ("label", | 539 | GNUNET_JSON_spec_string ("label", |
541 | &attr_label), | 540 | &attr_label), |
542 | NULL), | 541 | NULL), |
543 | GNUNET_JSON_spec_end () | 542 | GNUNET_JSON_spec_end () |
544 | }; | 543 | }; |
@@ -571,9 +570,11 @@ action_user_attributes_collecting (void) | |||
571 | if (optional) | 570 | if (optional) |
572 | GNUNET_asprintf (&l, | 571 | GNUNET_asprintf (&l, |
573 | _ ("%s (optional)"), | 572 | _ ("%s (optional)"), |
574 | attr_label); | 573 | dgettext ("anastasis", |
574 | attr_label)); | ||
575 | else | 575 | else |
576 | l = GNUNET_strdup (attr_label); | 576 | l = GNUNET_strdup (dgettext ("anastasis", |
577 | attr_label)); | ||
577 | if ( (NULL != widget_name) && | 578 | if ( (NULL != widget_name) && |
578 | (NULL != w) ) | 579 | (NULL != w) ) |
579 | { | 580 | { |