Mageia Bugzilla – Attachment 5544 Details for
Bug 14372
lxpolkit does not use translations from lxsession
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Updated patch for French and main.vala
lxpolkit-0.5.1-mga-i18n.patch (text/plain), 1.95 KB, created by
Nicolas Salguero
on 2014-10-27 09:59:38 CET
(
hide
)
Description:
Updated patch for French and main.vala
Filename:
MIME Type:
Creator:
Nicolas Salguero
Created:
2014-10-27 09:59:38 CET
Size:
1.95 KB
patch
obsolete
>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:"
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:"
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 14372
:
5540
|
5542
| 5544