Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 98d839aa78981a59f6b94d40af59600b > files > 3

lxsession-0.5.1-6.mga5.src.rpm

diff -Naur lxsession-0.5.1.orig/lxpolkit/main.vala lxsession-0.5.1/lxpolkit/main.vala
--- lxsession-0.5.1.orig/lxpolkit/main.vala	2014-10-27 09:17:36.868744647 +0100
+++ lxsession-0.5.1/lxpolkit/main.vala	2014-10-27 09:19:12.228753053 +0100
@@ -18,12 +18,16 @@
  */
 using Gtk;
 
+const string GETTEXT_PACKAGE = "lxsession";
+
 namespace Lxsession
 {
     public class Main: GLib.Object
     {
         public static int main(string[] args)
         {
+            Intl.textdomain(GETTEXT_PACKAGE);
+            Intl.bind_textdomain_codeset(GETTEXT_PACKAGE, "utf-8");
             Gtk.init (ref args);
             policykit_agent_init();
 
diff -Naur lxsession-0.5.1.orig/po/fr.po lxsession-0.5.1/po/fr.po
--- lxsession-0.5.1.orig/po/fr.po	2014-10-05 00:48:47.000000000 +0200
+++ lxsession-0.5.1/po/fr.po	2014-10-27 09:25:53.225409883 +0100
@@ -93,9 +93,17 @@
 msgid "Information"
 msgstr "Information"
 
+#: ../lxpolkit/lxpolkit-listener.c:88
+msgid ""
+"Authentication failed!\n"
+"Wrong password?"
+msgstr ""
+"L'authentification a échoué !\n"
+"Mauvais mot de passe ?"
+
 #: ../lxpolkit/lxpolkit-listener.c:106
 msgid "Password: "
-msgstr "Mot de passe :"
+msgstr "Mot de passe : "
 
 #: ../lxpolkit/lxpolkit-listener.c:251
 #, c-format
diff -ur lxsession-0.5.1.orig/po/ru.po lxsession-0.5.1/po/ru.po
--- lxsession-0.5.1.orig/po/ru.po	2014-09-24 05:57:15.000000000 +0400
+++ lxsession-0.5.1/po/ru.po	2014-10-27 00:25:23.000000000 +0400
@@ -99,6 +99,14 @@
 msgid "Information"
 msgstr "Информация"
 
+#: ../lxpolkit/lxpolkit-listener.c:88
+msgid ""
+"Authentication failed!\n"
+"Wrong password?"
+msgstr ""
+"Ошибка аутентификации!\n"
+"Неверный пароль?"
+
 #: ../lxpolkit/lxpolkit-listener.c:106
 msgid "Password: "
 msgstr "Пароль:"
@@ -151,7 +159,7 @@
 
 #: ../data/ui/lxpolkit.ui.h:1
 msgid "Authentication"
-msgstr "Аутенфикация"
+msgstr "Аутентификация"
 
 #: ../data/ui/lxpolkit.ui.h:2
 msgid "Identity:"