[Xfce4-commits] <postler:master> Make hints in account setup translatable
Christian Dywan
noreply at xfce.org
Fri Feb 25 21:48:01 CET 2011
Updating branch refs/heads/master
to 617fabdfdddf9dd60efbe50c47c1b1683fe6a5a4 (commit)
from df4ea962ebfb526e5bb3742499146921eb94368b (commit)
commit 617fabdfdddf9dd60efbe50c47c1b1683fe6a5a4
Author: Christian Dywan <christian at twotoasts.de>
Date: Fri Feb 25 20:03:03 2011 +0100
Make hints in account setup translatable
postler/postler-accountsetup.vala | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/postler/postler-accountsetup.vala b/postler/postler-accountsetup.vala
index 91d8d44..f52db8d 100644
--- a/postler/postler-accountsetup.vala
+++ b/postler/postler-accountsetup.vala
@@ -66,25 +66,26 @@ public class Postler.AccountWidget : Gtk.VBox {
content_area.show_all ();
pack_end (content_area, true, true, 0);
+ /* Empty entry since it's a public member */
address = new Elementary.Entry ();
return;
}
- realname = new Elementary.Entry ("First Last");
+ realname = new Elementary.Entry (_("Firstname Lastname"));
if (info.realname != null)
realname.set_text (info.realname);
add_label_entry (_("_Full Name:"), realname);
- address = new Elementary.Entry ("email at example.com");
+ address = new Elementary.Entry (_("email at example.com"));
address.focus_out_event.connect (on_focus_out);
if (info.address != null)
address.set_text (info.address);
add_label_entry (_("_Email Address:"), address);
- password = new Elementary.Entry ("Password");
+ password = new Elementary.Entry (_("Password"));
password.visibility = false;
if (info.password != null)
password.set_text (info.password);
add_label_entry (_("_Password:"), password);
- organization = new Elementary.Entry ("Optional, Inc.");
+ organization = new Elementary.Entry (_("Optional, Inc."));
if (info.organization != null)
organization.set_text (info.organization);
add_label_entry (_("_Organization:"), organization);
@@ -102,19 +103,19 @@ public class Postler.AccountWidget : Gtk.VBox {
advanced_area = new Gtk.VBox (false, 4);
expander.add (advanced_area);
- receiver = new Elementary.Entry ("imap.example.com");
+ receiver = new Elementary.Entry (_("imap.example.com"));
if (info.receive != null)
receiver.set_text (info.receive);
add_label_entry (_("_Receiving Server:"), receiver, true);
- username = new Elementary.Entry ("Username");
+ username = new Elementary.Entry (_("Username"));
if (info.username != null)
username.set_text (info.username);
add_label_entry (_("_Username:"), username, true);
- prefix = new Elementary.Entry ("Prefix");
+ prefix = new Elementary.Entry (_("Prefix"));
if (info.prefix != null)
prefix.set_text (info.prefix);
add_label_entry (_("Prefi_x:"), prefix, true);
- sender = new Elementary.Entry ("smtp.example.com");
+ sender = new Elementary.Entry (_("smtp.example.com"));
if (info.send != null)
sender.set_text (info.send);
sender.changed.connect ((widget) => {
More information about the Xfce4-commits
mailing list