Mageia Bugzilla – Attachment 5545 Details for
Bug 14383
lxsession-default-apps does not use translations from lxsession
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch for main.vala
lxsession-default-apps-0.5.1-mga-i18n.patch (text/plain), 580 bytes, created by
Nicolas Salguero
on 2014-10-27 14:20:39 CET
(
hide
)
Description:
Patch for main.vala
Filename:
MIME Type:
Creator:
Nicolas Salguero
Created:
2014-10-27 14:20:39 CET
Size:
580 bytes
patch
obsolete
>--- lxsession-0.5.1/lxsession-default-apps/main.vala~ 2014-10-05 01:49:49.000000000 +0200 >+++ lxsession-0.5.1/lxsession-default-apps/main.vala 2014-10-27 14:09:42.354044301 +0100 >@@ -17,6 +17,8 @@ > using Gtk; > using Posix; > >+const string GETTEXT_PACKAGE = "lxsession"; >+ > namespace LDefaultApps > { > public class UpdateWindows : Gtk.Window >@@ -546,6 +548,8 @@ > > public static int main(string[] args) > { >+ Intl.textdomain(GETTEXT_PACKAGE); >+ Intl.bind_textdomain_codeset(GETTEXT_PACKAGE, "utf-8"); > /* Init GTK */ > Gtk.init (ref args); >
--- lxsession-0.5.1/lxsession-default-apps/main.vala~ 2014-10-05 01:49:49.000000000 +0200 +++ lxsession-0.5.1/lxsession-default-apps/main.vala 2014-10-27 14:09:42.354044301 +0100 @@ -17,6 +17,8 @@ using Gtk; using Posix; +const string GETTEXT_PACKAGE = "lxsession"; + namespace LDefaultApps { public class UpdateWindows : Gtk.Window @@ -546,6 +548,8 @@ public static int main(string[] args) { + Intl.textdomain(GETTEXT_PACKAGE); + Intl.bind_textdomain_codeset(GETTEXT_PACKAGE, "utf-8"); /* Init GTK */ Gtk.init (ref args);
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 14383
: 5545