IMDb & MoviePilot plugins: translate the password label
authorPhilipp Zabel <philipp.zabel@gmail.com>
Fri, 6 Aug 2010 16:58:44 +0000 (18:58 +0200)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Fri, 6 Aug 2010 16:46:22 +0000 (18:46 +0200)
src/plugins/imdb-plugin.vala
src/plugins/moviepilot-plugin.vala

index e5b7976..4ac86c5 100644 (file)
@@ -169,7 +169,7 @@ class IMDbPlugin : Plugin {
 
                // Password
                hbox = new Gtk.HBox (false, MARGIN_DOUBLE);
-               label = new Gtk.Label ("Password");
+               label = new Gtk.Label (_("Password"));
                label.set_alignment (0, 0.5f);
                sizegroup.add_widget (label);
                entry = new Hildon.Entry (SizeType.FINGER_HEIGHT);
index 4e81840..e4a12bf 100644 (file)
@@ -63,7 +63,7 @@ class MoviePilotPlugin : Plugin {
 
                // Password
                hbox = new Gtk.HBox (false, MARGIN_DOUBLE);
-               label = new Gtk.Label ("Password");
+               label = new Gtk.Label (_("Password"));
                label.set_alignment (0, 0.5f);
                sizegroup.add_widget (label);
                entry = new Hildon.Entry (SizeType.FINGER_HEIGHT);