Commit Graph

4437 Commits

Author SHA1 Message Date
Adriaan de Groot
310555f16b [partition] Add /srv to standard mount-points list. 2018-05-15 08:06:45 -04:00
Adriaan de Groot
4402198b37 [partition] Centralize setting-of-mountpoint
- map empty to the 0'th index
 - add new entries as needed

This avoids having selected index 0, but a different text.
2018-05-15 08:01:18 -04:00
Adriaan de Groot
a49c39bb53 [partition] Unmap mount-point special strings
- Reverse "(no mount point)" to the empty string
 - Provide convenience pointer-taking function
2018-05-15 06:30:18 -04:00
Adriaan de Groot
a4997c4be8 [partition] Convenience for selecting default mount point
- map blank to the "(no mount point)" string for UI purposes
2018-05-15 06:13:19 -04:00
Adriaan de Groot
fda2e54e0f [partition] Refactor filling combobox with moint points
- Move to one place which handles the standard mount points
 - While here, introduce explicit "(no mount point)" string
   into the combo box. This is prep-work for issue #951.
2018-05-15 05:40:52 -04:00
Adriaan de Groot
b5d667f76e i18n: disable Esperanto again
I consider this a Qt bug: there is an enum value for the language,
the language is fully (?) detailed in the ICU tables, and yet
it gets mapped hard to C locale.
2018-05-14 16:05:55 -04:00
Adriaan de Groot
39bf2eb9aa [welcome] Fix display of unsupported locales
- Some locales have no nativeLanguageName(), so instead display
   the locale id (e.g. "eo") and the resulting language in English
   (which, if it is really unsupported, will be "C").
2018-05-14 06:28:57 -04:00
Adriaan de Groot
b0e5e13221 i18n: enable Esperanto translation 2018-05-14 06:28:57 -04:00
Adriaan de Groot
7090227269 i18n: fix up tooling
- suppress languages we've decided not to have anymore
 - prevent txpull from losing .desktop keys it doesn't understand,
   by splitting off a desktop.in file with only the (source) fields.
2018-05-14 06:28:57 -04:00
Calamares CI
d354027114 i18n: [python] Automatic merge of Transifex translations 2018-05-14 06:28:57 -04:00
Calamares CI
03c2329093 i18n: [dummypythonqt] Automatic merge of Transifex translations 2018-05-14 06:28:57 -04:00
Calamares CI
0ad74a5913 i18n: [desktop] Automatic merge of Transifex translations 2018-05-14 06:28:57 -04:00
Calamares CI
4e1306bf89 i18n: [calamares] Automatic merge of Transifex translations 2018-05-14 06:28:57 -04:00
Adriaan de Groot
29848e0279
Merge pull request #950 from cjlcarvalho/master
[partition] Only bootloader model should ignore devices that are not of Disk_Device type
2018-05-14 10:47:57 +02:00
Caio Carvalho
f72f7bd8fe [partition] Only bootloader model should ignore devices that are not of Disk_Device type. 2018-05-10 18:37:37 -03:00
Adriaan de Groot
37ce9a0838 CMake: bump RC number 2018-05-10 08:53:45 -04:00
Adriaan de Groot
45731b554b i18n: update lists of translated languages
- add Esperanto
 - add checks for new or misspelled translations
2018-05-10 08:53:29 -04:00
Adriaan de Groot
ccdfe53201
Merge pull request #945 from cjlcarvalho/master
- Switch to enum types
 - Ignore LVM
 - Check LUKS support

Builds locally in my Manjaro test-box and kpmcore 3.3.0
2018-05-10 13:39:58 +02:00
Calamares CI
4723f70503 i18n: [python] Automatic merge of Transifex translations 2018-05-10 07:38:20 -04:00
Calamares CI
5e6cced522 i18n: [desktop] Automatic merge of Transifex translations 2018-05-10 07:38:20 -04:00
Calamares CI
d79ca92cbf i18n: [calamares] Automatic merge of Transifex translations 2018-05-10 07:38:19 -04:00
Adriaan de Groot
2da09f7648 [libcalamaresui] Fix build
- Include all headers for types that need to be fully-defined
   (e.g. return types). This guards against uses in contexts where
   those headers have not been implicitly or previously included.

FIXES #948
2018-05-10 05:39:22 -04:00
Caio Carvalho
77d2667b53 [partition] Checking if there is LUKS creation support and if partition is not Extended before enabling encryption in CreatePartitionDialog. 2018-05-08 01:30:41 -03:00
Adriaan de Groot
7b934b7779 Desktop: don't show in app-stores
- another change squashed by Transifex
 - thanks Kevin Kofler for spotting
2018-05-07 14:31:33 -04:00
Adriaan de Groot
96887e754c i18n: drop es_ES, add tooling 2018-05-07 09:14:18 -04:00
Adriaan de Groot
ff43752f47 i18n: pl_PL has merged into pl 2018-05-07 05:58:04 -04:00
Adriaan de Groot
a38a2a54f7 [locale] Check all XML TimeZone elements if needed
- reduce warnings about loop-executed-only-once
 - if there is more than one TimeZone element, use the virst valid one
 - warn if nothing is found
2018-05-07 05:18:35 -04:00
Adriaan de Groot
3beb4bc87f Desktop: cleanup
- remove blank lines introduced by Transifex
 - restore 8ee4cc19 which was dropped when re-importing translations
2018-05-07 05:08:42 -04:00
Calamares CI
ad45ed4a33 i18n: [python] Automatic merge of Transifex translations 2018-05-07 05:01:49 -04:00
Calamares CI
0fc30d6cd6 i18n: [dummypythonqt] Automatic merge of Transifex translations 2018-05-07 05:01:49 -04:00
Calamares CI
d1ceb66556 i18n: [desktop] Automatic merge of Transifex translations 2018-05-07 05:01:48 -04:00
Calamares CI
c7533800b2 i18n: [calamares] Automatic merge of Transifex translations 2018-05-07 05:01:48 -04:00
Adriaan de Groot
48b7c312f8 ci: switch to less volatile KDE Neon version 2018-05-07 04:56:43 -04:00
Caio Carvalho
f561f04591 [partition] Changing PartUtils::getDevices to ignore devices that aren't of Disk_Device type. 2018-05-03 14:50:13 -03:00
Caio Carvalho
8726b70574 [partition] Ignoring LVM devices in PartUtils::getDevices to prevent installing bootloader in LVM VG. 2018-04-30 00:40:54 -03:00
Adriaan de Groot
a4bc98742a ci: switch to less volatile KDE Neon version 2018-04-26 10:09:12 -04:00
Adriaan de Groot
76b622936f
Merge pull request #944 from ximion/master
Never show Calamares in software centers
2018-04-26 16:05:04 +02:00
Matthias Klumpp
e36d6d5d97 Never show Calamares in software centers
Users will never want to install the distribution installer from a
software center like KDE Discover or GNOME Software, so exclude it from
the AppStream metadata collection.
2018-04-26 06:46:30 +02:00
Adriaan de Groot
42f5ed5d41 [welcome] Fix build, reduce redundancy
- constexpr isn't applicable because of non-trivial destructor
 - May as well only create " (%1)" once.

FIXES #938
2018-04-23 10:47:31 -04:00
Adriaan de Groot
e5b599fbe3 [welcome] Drop accidental logging 2018-04-19 09:24:59 -04:00
Adriaan de Groot
0c5590c2e4 Merge branch 'language-selection'
Display the name of each translation in the language of that translation.

FIXES #935
2018-04-19 09:14:29 -04:00
Adriaan de Groot
a47b3f8d14 [libcalamares] Document special-case translations 2018-04-19 09:10:13 -04:00
Adriaan de Groot
b9ed96d4f8 [libcalamares] Special case sr@latin
QLocale::name() doesn't include script information, and if it did
it would probably use sr_RS@Latin; when searching for translation
files it won't consider dropping just the country.
2018-04-19 09:04:29 -04:00
Adriaan de Groot
a9ffd3351d [welcome] Support sr@latin
- The QLocale constructor which takes a string (locale name) doesn't
   understand sr@latin, and returns the Cyrillic locale. Fix that
   by creating locales ourselves for @latin locales.
 - sr and sr@latin now display correctly in the right script in the
   native language dropdown.
2018-04-19 08:40:04 -04:00
Adriaan de Groot
7cc2b222d9 [welcome] Present RTL (country) annotations better
- The (RTL) text "Arabiy (Misr)" should be entirely RTL, so
   make the parenthetical insert -- which would otherwise be LTR
   and so mess up the placing of those parenthesis around the country --
   explicitly RTL.
 - Since there are no RTL languages in Calamares right now with
   country-local translations, this isn't visible.
2018-04-19 07:42:43 -04:00
Adriaan de Groot
7c944760fc [welcome] Only show (country) in list if the locale suggests it
- A locale suggests it is country-specific by having the form <lang>_<country>
 - This mostly fixes locale "ar" being presented as "Arabiy (Misr)" when
   there is no need to (and the RTL is messed up then, too).
2018-04-19 07:19:10 -04:00
Adriaan de Groot
59537d86d6 [welcome] Present languages in native format
- Introduce intermediate data class for building up the list
   of languages to present.
 - Sort on the English names, with en_US at the top (ugh).
 - Show the native names.
2018-04-19 07:15:25 -04:00
Adriaan de Groot
8ee4cc1966 Desktop: increase redundancy of repetitions
FIXES #936
2018-04-19 06:59:22 -04:00
Adriaan de Groot
b8b607c421 [locale] Fix QString-vs-char* confusion 2018-04-18 18:28:37 -04:00
Adriaan de Groot
ba2dbd4f2e
Merge pull request #937 from stikonas/master
[partition] Switch to scoped Device enums.
2018-04-19 00:16:19 +02:00