9312 Commits (main)
 

Author SHA1 Message Date
Reion Wong 08ce26b05a
Update build.yml 3 years ago
Reion Wong 9eb9f9768c
Create build.yml 3 years ago
reionwong 9cdf77e302 Delete .github 3 years ago
reionwong 9eb5474fad Remove libkf5plasma 3 years ago
reionwong aac783189f Add debian/ 3 years ago
Calamares CI 252ec6bcf2 i18n: [python] Automatic merge of Transifex translations 3 years ago
Calamares CI 51f400d8bb i18n: [calamares] Automatic merge of Transifex translations 3 years ago
Adriaan de Groot 2988f9a651
Merge pull request #1782 from killajoe/patch-1
[shellprocess] fix typo in conf
3 years ago
Adriaan de Groot d3bd4f49fa Changes: document fixes and contributors 3 years ago
Adriaan de Groot f49627f417 [libcalamaresui] Improve sizeLimit handling in log upload
The log sizeLimit can be 0 (disable log upload) but that's
not so clear in the code. While here, tidy up and add
some comments to surprising bits.
3 years ago
Adriaan de Groot b587358b11
Merge pull request #1785 from killajoe/patch-1
Branding: improve sizeLimit docs
3 years ago
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
Johannes Kamprad e98bf0da72
Update shellprocess.conf
a minor typo
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