9300 Commits (e189faabe51e52b6f55d7995f7407238ebd85eb2)
 

Author SHA1 Message Date
Johannes Kamprad e189faabe5
Update branding.desc
hint on sizeLimit must be set to have the log option work.
3 years ago
Calamares CI 34b4661268 i18n: [python] Automatic merge of Transifex translations 3 years ago
Calamares CI 9562100580 i18n: [calamares] Automatic merge of Transifex translations 3 years ago
Adriaan de Groot cefe3dd4ff [tracking] Add Q_OBJECT, sanitize API 3 years ago
Adriaan de Groot 8d71e67a75 Add Q_OBJECT macro where it's missing
- Transifex tools complain about missing Q_OBJECT (which makes
  some sense -- you end up with a different context for calls
  to tr(), of the base class).
3 years ago
Calamares CI b933485394 i18n: [python] Automatic merge of Transifex translations 3 years ago
Calamares CI 11c79ee537 i18n: [calamares] Automatic merge of Transifex translations 3 years ago
Adriaan de Groot 3380da638e
Merge pull request #1774 from demmm/calamares
[keyboardq] add interactive keyboard preview
3 years ago
Adriaan de Groot 87eb5300d2 Merge branch 'load-qtbase' into calamares
FIXES #1688
3 years ago
Adriaan de Groot e47dc4aa78 [partition] Fix build with translated buttons 3 years ago
Adriaan de Groot 4a6753c867 [packagechooser] Restore (renamed) include that is needed after all 3 years ago
Adriaan de Groot 226419f794 [partition] Translate button texts in warning boxes 3 years ago
Adriaan de Groot 6e0a8d8ca1 [libcalamaresui] Translate button texts for paste-message 3 years ago
Adriaan de Groot 7516740bbf [interactiveterminal] Fix up standard buttons 3 years ago
Adriaan de Groot dcfbb766dc [libcalamaresui] Use fixed standard-buttons labels
Move some of the texts to the new TranslationFix, from ViewManager,
and use them. Keep them in ViewManager, too, so that the translations
with context ViewManager are not removed just now.
3 years ago
Adriaan de Groot 8c84ae9ff6 [license] Remove unused header 3 years ago
Adriaan de Groot 683bad19fc i18n: introduce a "TranslationFix"
This is intended to apply translations to some common Qt UI components.

Example: a QMessageBox with standard buttons OK and Cancel; the text
for that is determined at startup using the system locale, and later
changes to the current locale or the current translation catalog,
do not affect OK and Cancel. It might be possible to load a catalog
with the right translation strings, except that there is no way to
know what the context or catalog **is** for the strings that are
used to label standard buttons: they can come from Qt base, or
the platform, or the theme. Merely loading the Qt Base translations
for the correct language does not help, because those translations
do not contain an "OK" string with the context used for standard
buttons.

Do the translation by hand; then we have all of the Calamares
languages covered, too, which is more than the Qt translations do.
3 years ago
Adriaan de Groot 438302fcf5 i18n: Shuffle the build so that all the bits are in lang/
Move the CMake code responsible for building the translations from
the src/calamares directory (yeah, yeah, the translations need to
link into the executable) into lang/ (which is where the source
and other infrastructure lives).
3 years ago
Adriaan de Groot 06d12fc924 [packagechooser] Remove unneeded include 3 years ago
Adriaan de Groot 24162cb162 i18n: repair language names for Chinese
Prompted by Linlinger, I've reconsidered the names of languages
in the drop-down in the welcome page. We already have the
infrastructure for assigning specific names / locales to
"Calamares locale names" (which match Transifex names, not
necessarily Qt names). Use that to put exactly two Chinese-
language translations in the drop-down:
- Simplified Chinese (code zh_CN)
- Traditional Chinese (code zh_TW)
Drop zh (which is a peculiar locale name anyway) and zh_HK
(which is Traditional Chinese, but using the geographic
boundary is a bit weird; we're going to ignore the
minor orthographic differences with Traditional Chinese
written elsewhere for now).

Note that this makes the drop-down show "Chinese"
in the English column, twice; the difference is visible
only in the native-language representation.

SEE #1741
3 years ago
Adriaan de Groot e11b42ce50 Merge branch 'refactor-translation' into calamares 3 years ago
Adriaan de Groot 4e60f8af13 [libcalamares] Use strong types for locale Ids
Change the API to force strong type for more methods.
This cascades to a couple of consumers.
3 years ago
Adriaan de Groot 3ff5896dc6 [libcalamares] Remove unused method 3 years ago
Adriaan de Groot 5f4e65bc77 [libcalamares] Code-format Retranslator, hide internal symbols 3 years ago
Adriaan de Groot ad1a4b6479 [libcalamares] APIdox on Translation 3 years ago
Adriaan de Groot 73bfc6ca32 [libcalamares] Use structured bindings to unpack a std::pair 3 years ago
demmm 79cc616de2 [keyboardq] add interactive keyboard preview
rewrite of keyboardq.qml, reduce stackview to 2, use a combobox for
keyboard models list
colors set to configurable
.xml files used for keyboard layouts, about a dozen added now
builds, runs, actions record as intended, GS filled correctly
3 years ago
Adriaan de Groot 5e7746668e Merge branch 'calamares' into refactor-translation 3 years ago
Adriaan de Groot ada9a99804 Changes: post-release housekeeping 3 years ago
Adriaan de Groot 0aa2603a23 [libcalamares] Fix network-connectivity check on old Qt
With old Qt, Calamares could only run one check on a thread,
because the NAM would be switched to NotAccessible --
subsequent checks would fail because the NAM is already
hard-set to NotAccessible, so it could never be turned back
on by Calamares code.

Reset the accessible flag for the NAM while checking if
the internet is there.
3 years ago
Adriaan de Groot 0851a8a6a4 Merge branch 'issue-1769' into calamares
FIXES #1769
3 years ago
Adriaan de Groot 44e66c1318 [keyboard] Fix mapping for India + English
- India (when in English) should use the English variant, not Hindi
- While here, fix up minor items in code:
  - Typo in comment
  - Asturian doesn't need a special case (which didn't match, anyway)
  - Don't debug-log a country-name that might be entirely wrong
    (the layout is English, variant "in" but "in" interpreted as
    a country is Indonesia, and the actually-desired name is eng_in
    which isn't a QLocale name at all -- just like the Hausa and Igbo
    special cases)
3 years ago
Adriaan de Groot b237c73a04 [shellprocess] Fix test
The test was loading the config file (for testing) either from the
build directory or possibly the source directory; if the config
in the build-dir was edited (for other testing purposes) then
the test would fail. Load only the source-dir version of the file.
3 years ago
Adriaan de Groot 563c149217 i18n: update english sources, too 3 years ago
Adriaan de Groot 6017420dde [welcome] Fix up and expand tests
- improve logging
- fix failing tests -- the observed and expected behavior is
  to fill in a fallback check-URL, not change to an empty list,
- **except** if there's no requirements key in the config
  at all; this is a bit weird, but let's make the tests
  document existing behavior so we can notice if it changes.
3 years ago
Adriaan de Groot 4948f634ed [keyboard] Code tidy
- complain just once (globally) if ckbcomp is not found, rather than
  at every update to the layout.
- tighten up QStringList constructor.
3 years ago
Adriaan de Groot a1fce99a05 i18n: update language lists
Keep zh_HK in 'ok' even if technically it doesn't qualify.
3 years ago
Calamares CI 37bdfb9faa i18n: [python] Automatic merge of Transifex translations 3 years ago
Calamares CI 9c435e0173 i18n: [calamares] Automatic merge of Transifex translations 3 years ago
Adriaan de Groot 07572d36c0 Changes: pre-release housekeeping 3 years ago
Adriaan de Groot 42bc197f67 Merge branch 'fix-pckq' into calamares 3 years ago
Adriaan de Groot ea32c12938 Changes: credits for recent work 3 years ago
Adriaan de Groot c24b2b1a8b Merge branch 'issue-1773' into calamares
FIXES #1773
3 years ago
Adriaan de Groot 5a6e033e82 [bootloader] Flags for root-on-BTRFS
This is directly derived from Anke Boersma's KaOS code in module
*bootldr*, which adds the same kernel parameter via a slightly
different route.
3 years ago
Adriaan de Groot e311d7a893 [packagechooser] Remove 'id' configuration setting
- Setting 'id' (which changes the Global Storage key that
  gets used) is a kludge when the existing module-instance
  name can be used instead -- and **was** already used, as
  a fallback when 'id' is not set. There's no point in having
  two places to set a particular name.
- Rip out the docs for 'id' as well.
- Add documentation on the difference between single-selection
  (the QML implementation) and model-selection (what the Widgets
  version does).
3 years ago
Adriaan de Groot 6def41fab4 [packagechooserq] Remove debug-output in QML 3 years ago
Adriaan de Groot 33e7e8da58 [packagechooser] Massage API
- use updateGlobalStorage() for both single-selection and
  model-based approaches, although the model-based one
  needs extra parameters.
- complain about inconsistent settings and API calls (e.g.
  setting a model and single-selection at the same time)
3 years ago
Adriaan de Groot 8a49fde016 [packagechooserq] Apply renaming also to distro-visible code
- The distro-visible key is renamed *pkgc* to *packageChoice*
- Read *packageChoice* only if there are no items to use
3 years ago
Adriaan de Groot 8b703ba6a3 [packagechooserq] More docs for the config file 3 years ago
Adriaan de Groot c367731c42 [packagechooser] Rename internals
- pkgc -> packageChoice and similar for methods, variables
- document that this is the convenience value for one-selection
  QML modules, not a full model
- use std::optional to keep track of which one is being used.
3 years ago