Mageia Bugzilla – Attachment 5542 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]
Patch with fix â1
lxpolkit-0.5.1-mga-i18n.patch (text/plain), 1.26 KB, created by
Alex Loginov
on 2014-10-26 22:42:55 CET
(
hide
)
Description:
Patch with fix â1
Filename:
MIME Type:
Creator:
Alex Loginov
Created:
2014-10-26 22:42:55 CET
Size:
1.26 KB
patch
obsolete
>diff -ur lxsession-0.5.1.orig/lxpolkit/main.c lxsession-0.5.1/lxpolkit/main.c >--- lxsession-0.5.1.orig/lxpolkit/main.c 2014-10-17 22:12:24.000000000 +0400 >+++ lxsession-0.5.1/lxpolkit/main.c 2014-10-27 00:00:52.000000000 +0400 >@@ -81,6 +81,13 @@ > #if !GLIB_CHECK_VERSION (2,35,0) > g_type_init (); > #endif >+ >+#ifdef ENABLE_NLS >+ bindtextdomain ( GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR ); >+ bind_textdomain_codeset ( GETTEXT_PACKAGE, "UTF-8" ); >+ textdomain ( GETTEXT_PACKAGE ); >+#endif >+ > return lxsession_main_main (argv, argc); > } > >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 -ur lxsession-0.5.1.orig/lxpolkit/main.c lxsession-0.5.1/lxpolkit/main.c --- lxsession-0.5.1.orig/lxpolkit/main.c 2014-10-17 22:12:24.000000000 +0400 +++ lxsession-0.5.1/lxpolkit/main.c 2014-10-27 00:00:52.000000000 +0400 @@ -81,6 +81,13 @@ #if !GLIB_CHECK_VERSION (2,35,0) g_type_init (); #endif + +#ifdef ENABLE_NLS + bindtextdomain ( GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR ); + bind_textdomain_codeset ( GETTEXT_PACKAGE, "UTF-8" ); + textdomain ( GETTEXT_PACKAGE ); +#endif + return lxsession_main_main (argv, argc); } 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