Commit Graph

4337 Commits

Author SHA1 Message Date
Calamares CI
ef897f59f5 i18n: Add Korean (ko) language translations
Since this is a new language, it is currently 0% translated.
That is why it goes into _tx_bad. It will move to one of the
other categories once some translation has happened. Add the
(still empty) Transifex files already.
2018-06-14 05:03:14 -04:00
Calamares CI
781bdcc1a4 i18n: [python] Automatic merge of Transifex translations 2018-06-14 04:47:53 -04:00
Calamares CI
0ea3d85ab0 i18n: [dummypythonqt] Automatic merge of Transifex translations 2018-06-14 04:47:53 -04:00
Calamares CI
e6dc7473da i18n: [desktop] Automatic merge of Transifex translations 2018-06-14 04:47:51 -04:00
Calamares CI
c47fd88ff0 i18n: [calamares] Automatic merge of Transifex translations 2018-06-14 04:47:51 -04:00
Adriaan de Groot
24b0df3c04 [locale] Missing includes
- Implicitly included in recent Qt, but not in old versions

Reported from Neptune Linux
2018-06-07 09:03:54 -04:00
Adriaan de Groot
83688f2837 Merge remote-tracking branch 'origin/shuffle-cmake' 2018-06-07 08:45:19 -04:00
Adriaan de Groot
fe7f48662e Merge branch 'fix-iceland' (again) 2018-06-07 08:44:53 -04:00
Adriaan de Groot
52f2161c35 CMake: make polkit-qt5-1 optional
- This is only found in order to know where polkit files should
   be installed. In distro's that don't use polkit, may as well
   make it entirely optional.
2018-06-07 14:17:43 +02:00
Adriaan de Groot
e52c99685d CMake: untangle more sections of top-level CMakeLists.txt 2018-06-07 13:45:29 +02:00
Adriaan de Groot
fd2afc3ba9 CMake: move dependency-versioning info to top 2018-06-07 13:45:29 +02:00
Adriaan de Groot
dfd76ed384 CMake: drop unused variable (no thirdparty/ dir anymore) 2018-06-07 13:36:03 +02:00
Adriaan de Groot
15b97f8e3f [libcalamares] Add missing include-dir
- Fix build on FreeBSD, where the yaml-cpp headers don't live in
   any normally-searched include directory.
2018-06-07 13:31:12 +02:00
Adriaan de Groot
fc979404d1 CMake: move translation settings up
- Follow previous move of user-adaptable settings and regularly-updated
   variables to the top of CMakeLists.txt with a move of the list of
   translated languages.
2018-06-07 13:26:22 +02:00
Adriaan de Groot
91a5ec426d CMake: shuffle the top-level CMakeLists
- Put all the options near the top, easy to spot when reading the file
 - Put the settings that need regular updates, like version, near the top
 - Add some "section headers"
2018-06-07 13:16:57 +02:00
Adriaan de Groot
fb0cf9a668
Merge pull request #973 from abucodonosor/typo
[hwclock]: fix typo

Thanks @abucodonosor
2018-06-05 12:40:19 +02:00
Calamares CI
430ca800f7 i18n: [python] Automatic merge of Transifex translations 2018-06-04 08:21:59 -04:00
Calamares CI
54515688f7 i18n: [dummypythonqt] Automatic merge of Transifex translations 2018-06-04 08:21:59 -04:00
Calamares CI
8acb88ed4d i18n: [desktop] Automatic merge of Transifex translations 2018-06-04 08:21:58 -04:00
Calamares CI
d82b103eda i18n: [calamares] Automatic merge of Transifex translations 2018-06-04 08:21:57 -04:00
Adriaan de Groot
8430970e71 [preservefiles] Reduce copying by using const-ref into list 2018-06-07 13:47:41 +02:00
Gabriel Craciunescu
41d427e543 [modules]: hwclock fix typo
- methode -> method
2018-06-01 17:45:40 +02:00
Adriaan de Groot
40b60abcb3 [locale] Move constants for map-munging
These don't have to be defines at all.
2018-05-29 11:29:44 -04:00
Adriaan de Groot
db7edf719b Merge branch 'fix-iceland'
Deal with some errors in placement of markers (both North and South,
the map is stretched a bit), fix timezone pixel maps to fix wrong
zone display.

This was triggered by Reykjavik being moved around, but expanded
when Johannesburg was also somewhere it isnt.

FIXES #967
2018-05-29 08:22:54 -04:00
Adriaan de Groot
1ee87c3cde [locale] Drop debugging define 2018-05-29 08:16:43 -04:00
Adriaan de Groot
6b3299e6ff [locale] Adjust the North
- Fudge the numbers in the North, to improve location
   of the pins and lines of latitude.
 - Inuvik, Yellowknife, Cambridge Bay, Resolute look ok
 - Thule, Scoresbysund look ok; Danmarkshavn a pixel or so too far North
 - Reykjavik is a bit too far North
 - Longyearbyen is a bit too far North

Since these places are off by one or two pixels, this becomes
invisible when a large pin + text label is placed on it.
2018-05-29 08:16:43 -04:00
Adriaan de Groot
4bacafb411 [locale] Fix timezone pixel map for Tierra del Fuego region
- Punta Arenas, draw like it's in -4
 - Ushuaia, draw like it's in -3

FIXUP pixel
2018-05-29 08:15:33 -04:00
Adriaan de Groot
b7dbc8cc1f [locale] Name zones when debugging
- When debugging timezones, state their names (e.g. UTC offset)
   and also log the pixel position under consideration.
2018-05-29 06:33:50 -04:00
Adriaan de Groot
2c18ba6ddb [locale] Adjust latitude calculation in the southern hemisphere
The scaling on the map was a little off; the degrees of latitude
are a little wider there than around the equator and Europe.

 - Johannesburg is in the right spot
 - Hobart is no longer a suburb of Melbourne
 - Punta Arenas is in Chile
2018-05-29 06:09:25 -04:00
Adriaan de Groot
9f8f76befc [locale] Introduce timezone-widget debugging
Replace pin and text label with just a dot (to pinpoint where
locations are) and draw latitude lines on the globe when
DEbUG_TIMEZONE is set at compile time. Since there's probably
still timezone-related bugs (in particular in the images that
map points on the globe to timezones), leave this in the codebase.
2018-05-29 06:09:25 -04:00
Adriaan de Groot
cfcc753130 i18n: Enable Belorussian translation 2018-05-29 03:29:58 -04:00
Calamares CI
960c33a512 i18n: [python] Automatic merge of Transifex translations 2018-05-29 03:27:21 -04:00
Calamares CI
a29bd5a18d i18n: [calamares] Automatic merge of Transifex translations 2018-05-29 03:27:20 -04:00
Calamares CI
1dc11a9d5d i18n: [python] Automatic merge of Transifex translations 2018-05-26 07:24:37 -04:00
Calamares CI
51b50b9366 i18n: [dummypythonqt] Automatic merge of Transifex translations 2018-05-26 07:24:36 -04:00
Calamares CI
febe597387 i18n: [desktop] Automatic merge of Transifex translations 2018-05-26 07:24:36 -04:00
Calamares CI
96b1f1cfbc i18n: [calamares] Automatic merge of Transifex translations 2018-05-26 07:24:35 -04:00
Adriaan de Groot
50dea6ded3 [interactiveterminal] Make optional if requirements not met
This is orthogonal to the SKIP_* mechanism already documented
for avoiding modules. If the module is enabled, but its dependencies
are not present, don't bother building the module. This follows
e.g. plasmalnf as an "avoidably heavy dependency".

Related to a misplaced comment in ISSUE #956
2018-05-26 07:09:01 -04:00
Adriaan de Groot
41f70975ea i18n: add Byelorussian (new translation team) 2018-05-26 12:27:55 +02:00
Philip
fc8d961049 [ci] fix link in HACKING.md 2018-05-26 09:49:27 +02:00
Adriaan de Groot
ce3e09318a [preservefiles] Improve failure messages 2018-05-24 07:03:19 -04:00
Adriaan de Groot
28a42a7230 Merge branch 'filepreserver' 2018-05-24 06:52:27 -04:00
Adriaan de Groot
1ad2d365f5 Merge branch 'improve-moduleloading'
This is code that was written as part of the fix-pythonqt branch,
but which isn't really PythonQt-related at all. That branch will
be abandoned soon, since it wasn't sufficiently well-thought-out
enough at the beginning.
2018-05-24 06:49:35 -04:00
Adriaan de Groot
cdadc2f003 [libcalamares] Improve error logging during module loading 2018-05-24 06:47:13 -04:00
Adriaan de Groot
182458ad5a [calamares] Need a JobQueue and global storage before running any job.
The 'singleton' instances don't do a very good job of being singletons
or ensuring their own creation.
2018-05-24 06:46:11 -04:00
Adriaan de Groot
48771f968a [calamares] Load and execute the modules
This runs dummyprocess, at least, but the other three dummies coredump.
2018-05-24 06:46:11 -04:00
Adriaan de Groot
308f508c7e [calamares] Add a test-application.
This test-application should load a single module and execute it --
that can be used to quickly test configurations, loading, etc. This
is preparation for loading all sorts of Python modules by PythonQt.

The loader does some internals initialization and gets the module,
but doesn't actually run it yet.
2018-05-24 06:46:11 -04:00
Adriaan de Groot
fdda0e14aa [libcalamaresui] Improve explainYamlException
- overloads for common kinds of label
 - improve error reporting when reading settings and branding files
2018-05-24 06:46:11 -04:00
Adriaan de Groot
e5ca8e091f [libcalamaresui] Use refactored loadYaml 2018-05-24 06:46:11 -04:00
Adriaan de Groot
261c545476 [libcalamaresui] Refactor loading of YAML to QVariantMap 2018-05-24 06:46:11 -04:00