aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/eventedit.c
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@src.gnome.org>1999-06-08 23:46:43 +0800
committerPablo Saratxaga <pablo@src.gnome.org>1999-06-08 23:46:43 +0800
commit74bdf9af06c0b143ca48ca46cc0115cfccaa175c (patch)
treefe7a34be22063f7cbc326bc2f8fdf7205eeeb1d9 /calendar/eventedit.c
parent229005f6b1aad62105a6f6f7f529c3088cfb71cd (diff)
downloadgsoc2013-evolution-74bdf9af06c0b143ca48ca46cc0115cfccaa175c.tar.gz
gsoc2013-evolution-74bdf9af06c0b143ca48ca46cc0115cfccaa175c.tar.zst
gsoc2013-evolution-74bdf9af06c0b143ca48ca46cc0115cfccaa175c.zip
updated spanish & walon languages.
modified eventedit.c so that "Every" is remplaced by "d_Every", "w_Every", "m_Every" and "y_Every", and can be correctly translated for those languages where it follows gender of the name it refers to. the 2 leading bytes should be kept; they are stripped at display svn path=/trunk/; revision=972
Diffstat (limited to 'calendar/eventedit.c')
-rw-r--r--calendar/eventedit.c20
1 files changed, 16 insertions, 4 deletions
diff --git a/calendar/eventedit.c b/calendar/eventedit.c
index e97e39e8a2..a73775b375 100644
--- a/calendar/eventedit.c
+++ b/calendar/eventedit.c
@@ -1065,7 +1065,10 @@ ee_rp_init_rule (EventEditor *ee)
gtk_box_pack_start (GTK_BOX (daily), b, FALSE, FALSE, 0);
ee->recur_rr_day_period = make_spin_button (day_period, 1, 10000);
- gtk_box_pack_start (GTK_BOX (b), gtk_label_new (_("Every")), FALSE, FALSE, 0);
+ /* in some languages "Every" can follow the gender of the word it
+ refers to (here "day(s)"). leave the two leadin letter "d_"
+ in the translation they are ther on purpose */
+ gtk_box_pack_start (GTK_BOX (b), gtk_label_new (_("d_Every") +2), FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (b), ee->recur_rr_day_period, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (b), gtk_label_new (_("day(s)")), FALSE, FALSE, 0);
@@ -1079,7 +1082,10 @@ ee_rp_init_rule (EventEditor *ee)
/* 2.1 The week period selector */
ee->recur_rr_week_period = make_spin_button (week_period, 1, 10000);
- gtk_box_pack_start (GTK_BOX (week_hbox), gtk_label_new (_("Every")), FALSE, FALSE, 0);
+ /* in some languages "Every" can follow the gender of the word it
+ refers to (here "week(s)"). leave the two leadin letter "w_"
+ in the translation they are ther on purpose */
+ gtk_box_pack_start (GTK_BOX (week_hbox), gtk_label_new (_("w_Every") +2), FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (week_hbox), ee->recur_rr_week_period, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (week_hbox), gtk_label_new (_("week(s)")), FALSE, FALSE, 0);
@@ -1124,7 +1130,10 @@ ee_rp_init_rule (EventEditor *ee)
gtk_table_attach (GTK_TABLE (monthly), ee->recur_rr_month_weekday,
2, 3, 1, 2, FS, FS, 0, 0);
- gtk_table_attach (GTK_TABLE (monthly), gtk_label_new (_("Every")),
+ /* in some languages "Every" can follow the gender of the word it
+ refers to (here "month(s)"). leave the two leadin letter "m_"
+ in the translation they are ther on purpose */
+ gtk_table_attach (GTK_TABLE (monthly), gtk_label_new (_("m_Every") +2),
3, 4, 0, 2, FS, FS, 0, 0);
ee->recur_rr_month_period = make_spin_button (month_period, 1, 10000);
gtk_table_attach (GTK_TABLE (monthly), ee->recur_rr_month_period,
@@ -1146,7 +1155,10 @@ ee_rp_init_rule (EventEditor *ee)
gtk_box_pack_start (GTK_BOX (yearly), b, FALSE, FALSE, 0);
ee->recur_rr_year_period = make_spin_button (year_period, 1, 10000);
- gtk_box_pack_start (GTK_BOX (b), gtk_label_new (_("Every")), FALSE, FALSE, 0);
+ /* in some languages "Every" can follow the gender of the word it
+ refers to (here "year(s)"). leave the two leadin letter "y_"
+ in the translation they are ther on purpose */
+ gtk_box_pack_start (GTK_BOX (b), gtk_label_new (_("y_Every") +2), FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (b), ee->recur_rr_year_period, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (b), gtk_label_new (_("year(s)")), FALSE, FALSE, 0);