[gnome-contacts] Marks some strings for translation



commit 44093d99b838a491de0b40971f097b5b734d61d8
Author: Gert Kulyk <gkulyk yahoo de>
Date:   Tue Jan 31 16:23:54 2012 +0100

    Marks some strings for translation

 src/contacts-contact-pane.vala |    4 ++--
 src/contacts-link-dialog.vala  |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 91139bb..db7c8c7 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -1282,7 +1282,7 @@ public class Contacts.PersonaSheet : Grid {
       }
 
       if (pane.contact.individual.personas.size > 1) {
-	var b = new Button.with_label("Unlink");
+	var b = new Button.with_label(_("Unlink"));
 	grid.add (b);
 
 	b.clicked.connect ( () => {
@@ -1314,7 +1314,7 @@ public class Contacts.PersonaSheet : Grid {
       footer = new FieldRow (pane.row_group);
       this.attach (footer, 0, row_nr++, 1, 1);
 
-      var b = new Button.with_label ("Add detail...");
+      var b = new Button.with_label (_("Add detail..."));
       b.set_halign (Align.START);
       b.clicked.connect (add_detail);
       footer.pack (b);
diff --git a/src/contacts-link-dialog.vala b/src/contacts-link-dialog.vala
index f360baf..418215a 100644
--- a/src/contacts-link-dialog.vala
+++ b/src/contacts-link-dialog.vala
@@ -80,7 +80,7 @@ public class Contacts.LinkDialog : Dialog {
 	var selected_contact_name = selected_contact.display_name;
 	link_contacts.begin (contact, selected_contact, (obj, result) => {
 	    var operation = link_contacts.end (result);
-	    var undo_bar = new InfoBar.with_buttons ("Undo", ResponseType.APPLY, null);
+	    var undo_bar = new InfoBar.with_buttons (_("Undo"), ResponseType.APPLY, null);
 	    undo_bar.set_message_type (MessageType.INFO);
 	    var container = (undo_bar.get_content_area () as Container);
 	    var message_label = new Label (_("%s linked to %s").printf (selected_contact_name, contact.display_name));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]