diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2001-02-13 04:28:29 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2001-02-13 04:28:29 +0800 |
commit | d1e4588213530dd0ae682872932c9958aa11cfc5 (patch) | |
tree | c1d36a4963022052168dd0fdcd32ba6d5933088c /addressbook/backend/ebook | |
parent | 71a1d2e707a2b5dc68c00ae4d69747c3a2f6385e (diff) | |
download | gsoc2013-evolution-d1e4588213530dd0ae682872932c9958aa11cfc5.tar gsoc2013-evolution-d1e4588213530dd0ae682872932c9958aa11cfc5.tar.gz gsoc2013-evolution-d1e4588213530dd0ae682872932c9958aa11cfc5.tar.bz2 gsoc2013-evolution-d1e4588213530dd0ae682872932c9958aa11cfc5.tar.lz gsoc2013-evolution-d1e4588213530dd0ae682872932c9958aa11cfc5.tar.xz gsoc2013-evolution-d1e4588213530dd0ae682872932c9958aa11cfc5.tar.zst gsoc2013-evolution-d1e4588213530dd0ae682872932c9958aa11cfc5.zip |
Marked strings for translation in this newly created file. Hook up the
2001-02-12 Kjartan Maraas <kmaraas@gnome.org>
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.oaf.in:
Marked strings for translation in this newly created file.
* gui/component/select-names/Makefile.am: Hook up the .oaf.in files in the
xml-i18n-tools framework.
* gui/component/Makefile.am: Same as above.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Marked stuff for translation here
too.
svn path=/trunk/; revision=8183
Diffstat (limited to 'addressbook/backend/ebook')
-rw-r--r-- | addressbook/backend/ebook/Makefile.am | 7 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-card.c | 68 |
2 files changed, 39 insertions, 36 deletions
diff --git a/addressbook/backend/ebook/Makefile.am b/addressbook/backend/ebook/Makefile.am index 5bd4340c47..335f74cb4c 100644 --- a/addressbook/backend/ebook/Makefile.am +++ b/addressbook/backend/ebook/Makefile.am @@ -142,9 +142,12 @@ BUILT_SOURCES = $(CORBA_SOURCE) CLEANFILES += $(BUILT_SOURCES) oafdir = $(datadir)/oaf -oaf_DATA = GNOME_Evolution_Addressbook_GnomeCard_Importer.oafinfo +oaf_in_files = GNOME_Evolution_Addressbook_GnomeCard_Importer.oaf.in +oaf_DATA = $(oaf_in_files:.oaf.in=.oaf) + +@XML_I18N_MERGE_OAF_RULE@ # add this back when you add the file to the archive ;) # GNOME_Evolution_Addressbook_Pine_Importer.oafinfo -EXTRA_DIST = $(oaf_DATA) +EXTRA_DIST = $(oaf_in_files) $(oaf_DATA) diff --git a/addressbook/backend/ebook/e-card.c b/addressbook/backend/ebook/e-card.c index b282d520fa..12877d3646 100644 --- a/addressbook/backend/ebook/e-card.c +++ b/addressbook/backend/ebook/e-card.c @@ -3052,12 +3052,12 @@ card_to_string (Card *crd) add_CardStrProperty_to_string (string, _("Card: "), &crd->fname); if (crd->name.prop.used) { - addProp_to_string (string, _("\nName: ")); - add_strProp_to_string (string, _("\n Prefix: "), crd->name.prefix); - add_strProp_to_string (string, _("\n Given: "), crd->name.given); - add_strProp_to_string (string, _("\n Additional: "), crd->name.additional); - add_strProp_to_string (string, _("\n Family: "), crd->name.family); - add_strProp_to_string (string, _("\n Suffix: "), crd->name.suffix); + addProp_to_string (string, N_("\nName: ")); + add_strProp_to_string (string, N_("\n Prefix: "), crd->name.prefix); + add_strProp_to_string (string, N_("\n Given: "), crd->name.given); + add_strProp_to_string (string, N_("\n Additional: "), crd->name.additional); + add_strProp_to_string (string, N_("\n Family: "), crd->name.family); + add_strProp_to_string (string, N_("\n Suffix: "), crd->name.suffix); g_string_append_c (string, '\n'); } @@ -3071,7 +3071,7 @@ card_to_string (Card *crd) char *date_str; date_str = card_bday_str (crd->bday); - add_strProp_to_string (string, _("\nBirth Date: "), date_str); + add_strProp_to_string (string, N_("\nBirth Date: "), date_str); free (date_str); } @@ -3082,15 +3082,15 @@ card_to_string (Card *crd) CardDelAddr *deladdr = (CardDelAddr *) node->data; if (deladdr->prop.used) { - addProp_to_string (string, _("\nAddress:")); + addProp_to_string (string, N_("\nAddress:")); add_strAddrType (string, deladdr->type); - add_strProp_to_string (string, _("\n Postal Box: "), deladdr->po); - add_strProp_to_string (string, _("\n Ext: "),deladdr->ext); - add_strProp_to_string (string, _("\n Street: "),deladdr->street); - add_strProp_to_string (string, _("\n City: "), deladdr->city); - add_strProp_to_string (string, _("\n Region: "), deladdr->region); - add_strProp_to_string (string, _("\n Postal Code: "), deladdr->code); - add_strProp_to_string (string, _("\n Country: "), deladdr->country); + add_strProp_to_string (string, N_("\n Postal Box: "), deladdr->po); + add_strProp_to_string (string, N_("\n Ext: "), deladdr->ext); + add_strProp_to_string (string, N_("\n Street: "), deladdr->street); + add_strProp_to_string (string, N_("\n City: "), deladdr->city); + add_strProp_to_string (string, N_("\n Region: "), deladdr->region); + add_strProp_to_string (string, N_("\n Postal Code: "), deladdr->code); + add_strProp_to_string (string, N_("\n Country: "), deladdr->country); } } @@ -3103,7 +3103,7 @@ card_to_string (Card *crd) for (node = crd->dellabel.l; node; node = node->next) { CardDelLabel *dellabel = (CardDelLabel *) node->data; - add_strProp_to_string (string, _("\nDelivery Label: "), + add_strProp_to_string (string, N_("\nDelivery Label: "), dellabel->data); add_strAddrType (string, dellabel->type); } @@ -3115,10 +3115,10 @@ card_to_string (Card *crd) if (crd->phone.l->next) { sep = " "; - g_string_append (string, _("\nTelephones:\n")); + g_string_append (string, N_("\nTelephones:\n")); } else { sep = " "; - g_string_append (string, _("\nTelephone:")); + g_string_append (string, N_("\nTelephone:")); } for (node = crd->phone.l; node; node = node->next) { @@ -3142,10 +3142,10 @@ card_to_string (Card *crd) if (crd->email.l->next) { sep = " "; - g_string_append (string, _("\nE-mail:\n")); + g_string_append (string, N_("\nE-mail:\n")); } else { sep = " "; - g_string_append (string, _("\nE-mail:")); + g_string_append (string, N_("\nE-mail:")); } @@ -3164,13 +3164,13 @@ card_to_string (Card *crd) g_string_append_c (string, '\n'); } - add_CardStrProperty_to_string (string, _("\nMailer: "), &crd->mailer); + add_CardStrProperty_to_string (string, N_("\nMailer: "), &crd->mailer); if (crd->timezn.prop.used) { char *str; str = card_timezn_str (crd->timezn); - add_strProp_to_string (string, _("\nTime Zone: "), str); + add_strProp_to_string (string, N_("\nTime Zone: "), str); free (str); } @@ -3178,11 +3178,11 @@ card_to_string (Card *crd) char *str; str = card_geopos_str (crd->geopos); - add_strProp_to_string (string, _("\nGeo Location: "), str); + add_strProp_to_string (string, N_("\nGeo Location: "), str); free (str); } - add_CardStrProperty_to_string (string, _("\nBusiness Role: "), &crd->role); + add_CardStrProperty_to_string (string, N_("\nBusiness Role: "), &crd->role); /* if (crd->logo.prop.used) { addPropSizedValue (string, _ ("\nLogo: "), @@ -3194,17 +3194,17 @@ card_to_string (Card *crd) addstringectProp (string, card_convert_to_stringect (crd->agent));*/ if (crd->org.prop.used) { - addProp_to_string (string, _("\nOrg: ")); - add_strProp_to_string (string, _("\n Name: "), crd->org.name); - add_strProp_to_string (string, _("\n Unit: "), crd->org.unit1); - add_strProp_to_string (string, _("\n Unit2: "), crd->org.unit2); - add_strProp_to_string (string, _("\n Unit3: "), crd->org.unit3); - add_strProp_to_string (string, _("\n Unit4: "), crd->org.unit4); + addProp_to_string (string, N_("\nOrg: ")); + add_strProp_to_string (string, N_("\n Name: "), crd->org.name); + add_strProp_to_string (string, N_("\n Unit: "), crd->org.unit1); + add_strProp_to_string (string, N_("\n Unit2: "), crd->org.unit2); + add_strProp_to_string (string, N_("\n Unit3: "), crd->org.unit3); + add_strProp_to_string (string, N_("\n Unit4: "), crd->org.unit4); g_string_append_c (string, '\n'); } - add_CardStrProperty_to_string (string, _("\nCategories: "), &crd->categories); - add_CardStrProperty_to_string (string, _("\nComment: "), &crd->comment); + add_CardStrProperty_to_string (string, N_("\nCategories: "), &crd->categories); + add_CardStrProperty_to_string (string, N_("\nComment: "), &crd->comment); /* if (crd->sound.prop.used) { if (crd->sound.type != SOUND_PHONETIC) @@ -3217,10 +3217,10 @@ card_to_string (Card *crd) add_SoundType (string, crd->sound.type); }*/ - add_CardStrProperty_to_string (string, _("\nUnique String: "), &crd->uid); + add_CardStrProperty_to_string (string, N_("\nUnique String: "), &crd->uid); if (crd->key.prop.used) { - add_strProp_to_string (string, _("\nPublic Key: "), crd->key.data); + add_strProp_to_string (string, N_("\nPublic Key: "), crd->key.data); add_strKeyType (string, crd->key.type); } |