Adriaan de Groot
863d00f40c
[localecfg] Document purpose of this module
2018-06-19 08:42:25 -04:00
Adriaan de Groot
dd8e53dc22
Copyright: update copyright lines on files touched in 2018
...
Contributions from:
Adriaan de Groot <groot@kde.org>
Gabriel Craciunescu <crazy@frugalware.org>
AlmAck <gluca86@gmail.com>
Andrius Štikonas <andrius@stikonas.eu>
Caio Carvalho <caiojcarvalho@gmail.com>
Raul Rodrigo Segura <raurodse@gmail.com>
2018-06-15 05:59:11 -04:00
AlmAck
58952b685c
the first character must be a comment
...
to original code would match both lines:
zen_US.UTF-8 UTF-8
#en_US.UTF-8 UTF-8
introducing "#" should check only the commented lines
2018-03-03 14:30:08 +01:00
AlmAck
382c193afa
Enable the correct language in the locale.gen list
...
the original code does not distinguish the document comments inside the locale.gen file from the real locale list. The language was then enabled from the header comments of the file instead of the correct value in the list.
The new code verify tha the complete locale string is just after the first character of the string, enablig only the correct value of the locale list.
An example:
# en_US.UTF-8 UTF-8 --> document header, should not be enabled
#en_US.UTF-8 UTF-8 --> correct section to enable
Related to this request:
https://code.chakralinux.org/tools/calamares-chakra/issues/2
2018-03-03 12:56:03 +01:00
Adriaan de Groot
762ad54344
Documentation: change http links to GitHub to https
2017-12-20 08:39:09 -05:00
Teo Mrnjavac
2b26f6e6c9
Fix localecfg to work with new locale module.
2016-08-10 12:11:48 +02:00
Teo Mrnjavac
dee87f68aa
And in GS, it's called localeConf now.
2016-08-10 11:47:36 +02:00
Teo Mrnjavac
01607d878a
Write more LC variables in localecfg.
2016-07-26 17:39:55 +02:00
Teo Mrnjavac
f00d1dd654
Apparently it needs a full LANG line.
2016-05-30 17:10:18 +02:00
Teo Mrnjavac
9272d3d5b0
Write locale to /etc/default/locale.
2016-05-30 16:15:59 +02:00
Teo Mrnjavac
92d3f5fe85
Only strip from the left.
2016-05-27 18:18:10 +02:00
Teo Mrnjavac
893417d26e
Strip spaces when uncommenting locales.
2016-05-27 16:58:39 +02:00
Teo Mrnjavac
10ce42f35c
Use target_env calls in Python modules.
2015-09-15 16:48:41 +02:00
Gormogon
db7577b9f8
More PEP
2015-06-14 07:04:52 -04:00
Teo Mrnjavac
d51b15a919
Fix typo. Please test your Python code, as CI won't catch it.
2015-02-18 18:46:13 +01:00
Gormogon
8e1480431a
[PEP 263] Corrected Encoding Headers
2015-02-18 09:06:10 -05:00
Philip Müller
ca5132f13e
[python modules] use str.format()
2015-02-17 14:38:30 +01:00
Daniel Hillenbrand
22a9fd86df
localecfg: only restore locale.gen.bak if available
2014-11-28 20:05:54 +01:00
demmm
86c49fbc89
Use correct entry from global_storage
2014-11-26 12:15:39 -05:00
Teo Mrnjavac
d2288d0961
Write lc locale setting from GlobalStorage.
2014-11-25 17:56:38 +01:00
demmm
ff1383d7f5
adding localecfg
...
locale hardcoded to en_US until local globalstorage is available
run pep8 on bootloader main.py, plain switch from subprocess to chroot_call fails for gummiboot call
2014-11-12 23:10:20 -05:00