Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 631345 Details for
Bug 868836
the language spoke use Chinese font for Japanese
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed patch
0001-Use-the-pango-markup-to-give-a-clue-what-the-languag.patch (text/plain), 1.74 KB, created by
Akira TAGOH
on 2012-10-22 09:19:03 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Akira TAGOH
Created:
2012-10-22 09:19:03 UTC
Size:
1.74 KB
patch
obsolete
>From 8f61d14e2136ffc620de56cdfa37ce9c5f632d31 Mon Sep 17 00:00:00 2001 >From: Akira TAGOH <tagoh@redhat.com> >Date: Mon, 22 Oct 2012 18:17:21 +0900 >Subject: [PATCH] Use the pango markup to give a clue what the language a text > prefer. > >--- > pyanaconda/ui/gui/spokes/welcome.glade | 1 + > pyanaconda/ui/gui/spokes/welcome.py | 3 ++- > 2 files changed, 3 insertions(+), 1 deletion(-) > >diff --git a/pyanaconda/ui/gui/spokes/welcome.glade b/pyanaconda/ui/gui/spokes/welcome.glade >index c69ffab..cf8f490 100644 >--- a/pyanaconda/ui/gui/spokes/welcome.glade >+++ b/pyanaconda/ui/gui/spokes/welcome.glade >@@ -301,6 +301,7 @@ > <property name="font">Sans 14</property> > </object> > <attributes> >+ <attribute name="markup">0</attribute> > <attribute name="text">0</attribute> > </attributes> > </child> >diff --git a/pyanaconda/ui/gui/spokes/welcome.py b/pyanaconda/ui/gui/spokes/welcome.py >index 95f24ef..fb247a2 100644 >--- a/pyanaconda/ui/gui/spokes/welcome.py >+++ b/pyanaconda/ui/gui/spokes/welcome.py >@@ -20,6 +20,7 @@ > # > > import sys >+import re > > import gettext > _ = lambda x: gettext.ldgettext("anaconda", x) >@@ -156,7 +157,7 @@ class LanguageMixIn(object): > self._languageStoreFilter.refilter() > > def _addLanguage(self, store, native, english, setting): >- store.append([native, english, setting]) >+ store.append(['<span lang="%s">%s</span>' % (re.sub('\..*', '', setting), native), english, setting]) > > def _matchesEntry(self, model, itr, *args): > native = model[itr][0] >-- >1.7.11.7 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 868836
: 631345 |
631348