- Update getcountrydata.rb to work with 2-letter language codes
as used by the openSUSE consolefonts.ycp OBS-URL: https://build.opensuse.org/package/show/system:install:head/live-langset-data?expand=0&rev=11
This commit is contained in:
parent
c683fb5f28
commit
e288758985
@ -26,7 +26,11 @@ module Yast
|
|||||||
# set language for encoding
|
# set language for encoding
|
||||||
WFM.SetLanguage(fqlanguage)
|
WFM.SetLanguage(fqlanguage)
|
||||||
yast_kbd = "#{kbd},#{Keyboard.kb_model}"
|
yast_kbd = "#{kbd},#{Keyboard.kb_model}"
|
||||||
consolefont = consolefonts[fqlanguage] || consolefonts[lang] || []
|
consolefont = consolefonts[fqlanguage] || consolefonts[lang]
|
||||||
|
if consolefont.nil? && lang.size > 2
|
||||||
|
consolefont = consolefonts[lang[0,2]]
|
||||||
|
end
|
||||||
|
consolefont ||= []
|
||||||
font = consolefont[0] || ""
|
font = consolefont[0] || ""
|
||||||
unicodeMap = consolefont[1] || ""
|
unicodeMap = consolefont[1] || ""
|
||||||
screenMap = consolefont[2] || ""
|
screenMap = consolefont[2] || ""
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 31 09:49:14 UTC 2018 - fvogt@suse.com
|
||||||
|
|
||||||
|
- Update getcountrydata.rb to work with 2-letter language codes
|
||||||
|
as used by the openSUSE consolefonts.ycp
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 24 07:56:03 UTC 2018 - fvogt@suse.com
|
Wed Jan 24 07:56:03 UTC 2018 - fvogt@suse.com
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user