summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
Commit message (Collapse)AuthorAgeFilesLines
* Fix inconsistent use of any::sessions()Martin Whitaker2025-12-271-2/+2
| | | | | | | | | Some callers of any::sessions() expected it to return a list of session names, other callers expected it to return a list of base file names, leading to various bugs in the autologin handling. So provide two new subroutines, session_files(), to provide a map of names to files, and session_names() to return a sorted list of names. Remove sessions() to avoid confusion in future. Fix up the users accordingly.
* Use POSIX::setlocale() instead of c::setlocale().Martin Whitaker2025-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | Since Perl 5.28, Perl has used the thread-safe uselocale() functions from the C standard library when setting the locale. Once a thread-safe locale setting has been made, the Locale::gettext functions will use those settings, not the global locale settings. So calling the drakx c::setlocale() and c::init_setlocale() functions, which still use the underlying setlocale() function from the C standard library normally has no effect. However, prior to Perl 5.38, there was a bug in Perl that could cause the main thread to revert to using the global locale settings, and it it would seem this bug was being triggered by the stage2 installer, meaning it still properly translated the UI after the language selection step. Now we have a newer version of Perl, this is no longer so, and the UI contiues to be in English after the user has selected a different language (mga#34656). The POSIX::setlocale() function affects the thread-safe locale, so can be used to fix this bug. This patch removes the c::setlocale() function to prevent reintroduction of this bug, and moves the c::init_locale() function to the common module.
* perl-install: Agafari-16 console font support was dropped from kbdJani Välimaa2025-02-191-1/+1
|
* Eliminate use of egrep and fgrep and the warnings they now giveDan Fandrich2024-01-051-1/+1
|
* Store country code in /etc/locale.conf (mga#24671)Martin Whitaker2019-04-201-3/+5
| | | | | This allows the installer to show the correct country when performing an upgrade.
* use new CSS syntax for font (mga#19430)Thierry Vignaud2016-09-211-0/+24
| | | | thus fixing gtk+-3.22 regression
* install the right fcitx packages on PlasmaThierry Vignaud2016-05-081-1/+5
|
* KDE4 is deadThierry Vignaud2016-05-041-5/+1
|
* adapt package list to plasmaThierry Vignaud2016-05-041-2/+2
|
* detect plasmaThierry Vignaud2016-05-041-0/+2
|
* fix reading back IM config (mga#15761)Thierry Vignaud2015-05-251-1/+1
| | | | regression introduced in commit 6c23072af9db257153d993e6a87bfc02b69a2263
* don't try to install scim-googlepinyin (mga#6681)Thierry Vignaud2015-05-191-2/+2
| | | | it has never been imported in Mageia...
* perl_checker cleanupsThierry Vignaud2015-05-011-6/+6
|
* - localedrake:Thomas Backlund2015-04-281-0/+2
| | | | o write input methods to /etc/locale.conf (mga#15464)
* i18n: Write the desired console font to /etc/vconsole.confColin Guthrie2015-02-081-2/+9
|
* i18n: Use the x-distro /etc/locale.conf file instead of /etc/sysconfig/i18nColin Guthrie2015-02-081-3/+21
| | | | | Ensure we read and write the /etc/locale.conf file, but still support reading from /etc/sysconfig/i18n to cope with upgrades.
* kill $Id:$ tagsThierry Vignaud2014-06-071-1/+1
| | | | they're obsolete since switching from CVS/SVN to git...
* update commentThierry Vignaud2014-05-291-1/+1
|
* update locales listThierry Vignaud2014-05-291-1/+1
|
* update commandThierry Vignaud2014-05-291-1/+1
|
* kill doble spaceThierry.Vignaud2014-05-281-1/+1
|
* make clearer how IM package selection worksThierry.Vignaud2014-05-281-3/+13
|
* beautify & fix pathThierry.Vignaud2014-05-281-1/+1
|
* podify lang.pmThierry.Vignaud2014-05-271-65/+391
|
* (configure_hal) kill itThierry.Vignaud2014-05-271-54/+0
| | | | HAL has been obsoleted years ago...
* kill useless argumentThierry.Vignaud2014-05-271-2/+1
| | | | | It is no more provided for 14+ years... (commit 891947e23e895cf6fdd465e2c7a36c885a0bf73e)
* (charset2pango_font) simplifyThierry Vignaud2012-12-101-1/+1
|
* promote ibus-libpinyinFunda Wang2012-11-241-1/+1
|
* Add back scim-hangul, scim-thaiYou-Cheng Hsieh2012-09-031-0/+4
|
* Remove input methods that don't have packages in Mageia repo.You-Cheng Hsieh2012-08-311-40/+0
|
* prefer ibus-mozc for ja localeFunda Wang2012-04-251-1/+1
|
* (re-commit) add/remove ime selectionsYou-Cheng Hsieh2012-01-291-36/+47
|
* revert previous changes(done by accident; was going to fix local list change) You-Cheng Hsieh2012-01-291-49/+37
|
* Add hime; remove chinput, kinput2, oxim, xcin.You-Cheng Hsieh2012-01-291-37/+49
|
* use proper locales-XX packages for Albanian (#1036)Thierry Vignaud2011-04-281-1/+1
|
* switch from scim to ibus (fwang patch)Anne Nicolas2011-03-291-3/+3
|
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line Add drakx structure on the SVN ------------------------------------------------------------------------ r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned advertising ------------------------------------------------------------------------ r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line Import Clean perl-install ------------------------------------------------------------------------ r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line Add cleaned files ------------------------------------------------------------------------ r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned kernel ------------------------------------------------------------------------ r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned tools ------------------------------------------------------------------------ r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line Import stage1 ------------------------------------------------------------------------ r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line Import images ------------------------------------------------------------------------ r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines readd missing file ------------------------------------------------------------------------ r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line Import rescue ------------------------------------------------------------------------ r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines import cleaned rescue for Mageia ------------------------------------------------------------------------ r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line import (cleaned) doc ------------------------------------------------------------------------
* (countries_to_locales) further fix listing locales (#58543 bis, fromThierry Vignaud2010-06-051-3/+3
| | | | | | | | | | | herton too) localedrake expects YET in anoter placeS that we always have xx_XX and xx_XX.UTF-8. But since 2010.1, the locales package was changed to only provide default glibc locales (plus only some new locales which are exceptions), before we had redundant but always a xx_XX dir created.
* further fix listing locales (#58543)Thierry Vignaud2010-06-051-2/+2
| | | | | | | | | like bug #59634, localedrake expects in anoter place that we always have xx_XX and xx_XX.UTF-8. But since 2010.1, the locales package was changed to only provide default glibc locales (plus only some new locales which are exceptions), before we had redundant but always a xx_XX dir created
* (is_locale_installed,list_langs) fix listing locales only providingThierry Vignaud2010-06-051-1/+9
| | | | | UTF8 metadata (#59634, Herton Ronaldo Krzesinski, further cleaned by me)
* (write) perl_checker fixThierry Vignaud2010-06-051-1/+1
|
* we don't have scim-qt4 module nowFunda Wang2010-05-071-0/+1
|
* add support for asturian (#56990)Thierry Vignaud2010-02-071-0/+1
|
* update scim-bridge xim program settingFunda Wang2009-12-261-1/+1
|
* - prefer scim-googlepinyin over scim-pinyinFunda Wang2009-12-261-16/+2
| | | | | - drop skim support (we don't have it any more)
* fix configuring ibus for KDE4 (#56311)Thierry Vignaud2009-12-101-1/+1
|
* install ibus-qt4 if configuring ibus under KDE4 (#56311)Thierry Vignaud2009-12-101-1/+1
|
* drop support for configuring KDE3Thierry Vignaud2009-12-101-7/+4
|
* fix configuring ibus (#56130)Thierry Vignaud2009-12-011-1/+1
|
* fix sorting South Africa languages by dropping the "isi" prefix inThierry Vignaud2009-08-101-3/+3
| | | | | transliterated names (prefix which is not used for sorting there) (#51055)