9312 Commits (main)
 

Author SHA1 Message Date
Adriaan de Groot 53fb16437f i18n: factor out special cases
- allow special Locale or special Name for a translation (or both)
3 years ago
Adriaan de Groot 0e977a7e42 i18n: introduce special case for ca@valencia 3 years ago
Adriaan de Groot 740f1e7fe5 i18n: simplify Label handling of sr@latin 3 years ago
Adriaan de Groot 85a1eb95ee [welcome] Some translation / label fixes
- the message had been arbitrarily changed; change it back
- update (warning) message when there is progress in checking the
  model, so it doesn't stay at "unchecked" until you change language
- minor clean-ups
3 years ago
Adriaan de Groot 243c4e6b02 Merge branch 'fix-retranslate' into calamares
Improve the Retranslator framework so it also affects Config objects.
3 years ago
Adriaan de Groot 59f11e9b67 i18n: make retranslator more consistent
- Improve naming.
- Both lambda and slot versions call the code immediately.
3 years ago
Adriaan de Groot 613d076a60 i18n: re-do the whole Retranslator infrastructure
Just have **one** Retranslator object, and install it as event-filter
(this needs to be done manually on a top-level widget) and use
signals / slots to do the actual work, rather than filtering
in multiple places and doing our own mediocre version of binding-
signal-to-lambda.
3 years ago
Adriaan de Groot 51c5c9ba26 [welcome] Switch to using the message from the Config object
- The Config object owns the requirements model, and has messages /
  strings describing the state of the model. Use that message,
  dropping the duplicate message from the requirements widget.
- Re-jig to pass the Config object around rather than the model
  that it owns.
- This does not work, because translation events do not arrive
  (and the slot isn't called automatically either).
3 years ago
Adriaan de Groot b81bc17560 [welcome] Log when translation events arrive 3 years ago
Adriaan de Groot f32671ebab libcalamares: remove declaration that was never implemented 3 years ago
Adriaan de Groot 604535f65a CMake: find YAMLCPP when asked to find Calamares 3 years ago
Adriaan de Groot 4b2b74bdbd [libcalamaresui] Do not link publicly to yamlcpp 3 years ago
Adriaan de Groot 949f9e466f [summary] createContentWidget is called exactly once, refactor 3 years ago
Adriaan de Groot d6fe30dfdb [summary] No need for widget-creation to be a method of the Page 3 years ago
Adriaan de Groot 5de99d53d2 [summary] Move title to Config object
Rather than Config asking its (owning) ViewStep what the title
is -- all existing implementations have a prettyName() for that --
move the title into Config and re-do-the ViewSteps to use it.

Rename init() to something meaningful.
3 years ago
Adriaan de Groot 4e588584d7 [summary] Hook up Config message to page
- the Page displays a simple message describing what the
  summary is all about; Config has the same message,
  use that. Needed some re-jigging to get the signals
  and slots right.
3 years ago
Adriaan de Groot 9eee00c286 [summary] Create Config object
- Create Config object, even if it's not used just yet
- Introduce onLeave() for the Page, better name than
  (re-)creating the content (!?) when leaving
3 years ago
Adriaan de Groot aba212d700 [summary*] Move Config to the non-QML module, so it can be shared 3 years ago
Adriaan de Groot f8c3b76367 [summary] Stylistic fixes before moving Config objects around 3 years ago
Adriaan de Groot 6c7e7a6d55 [summaryq] a handful of code-style fixes 3 years ago
Adriaan de Groot 401a090cae Merge remote-tracking branch 'origin/fix-usersq' into calamares
Repair the colors, since the basic Kirigami theme does not
look nice at all. While at it, refactor to put the colors
of the usersq module all in one place, so easy to changes
consistently (e.g. to Kirigami colors if you know your theme
is a good one).
3 years ago
demmm c98b5d7667 [usersq] replace one more (missed) kirigami color 3 years ago
demmm 6bdc655719 [usersq] complete using names for colors
add line breaks
add negative outline color
3 years ago
Adriaan de Groot 1bf73c29c4 [usersq] Use a name instead of a magic number 3 years ago
Adriaan de Groot 56f71501cc [usersq] Back out color-scheme merge 3 years ago
Adriaan de Groot e361f52415
Merge pull request #1738 from Nitrux/calamares
[usersq]: use system colorscheme instead of hardcoded colors
3 years ago
Calamares CI ec99079cdf i18n: [python] Automatic merge of Transifex translations 3 years ago
Calamares CI 8f13e7abb4 i18n: [calamares] Automatic merge of Transifex translations 3 years ago
Adriaan de Groot 3a5334071d [packages] Fix wording problem 3 years ago
Adriaan de Groot bc77478b2a [calamares] Expand test-mocks for Python
- the rawfs module uses more parts of the subprocess Python module
  and so needs more things mocked for testing.
3 years ago
Adriaan de Groot 0d2763f68a Changes: pre-release housekeeping 3 years ago
Adriaan de Groot 9051faf062 CMake: update language list
The list suggests things are not-so-good because of recently-pushed
changes to the translations and teams haven't had time to react.
There are also some new duplicate languages.
4 years ago
Calamares CI afedc8475d i18n: [python] Automatic merge of Transifex translations 4 years ago
Calamares CI 293844072d i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Adriaan de Groot 235db9f961 [summaryq] No need to be a ParserStatus object
Config classes, which intend to be shared between widgets-
and QML-based view-steps, should not tie closely to internals.
None of the ParserStatus methods are used in a meaningful
way (init() can be called by the view step).
4 years ago
Adriaan de Groot 768760793a [summaryq] Hide internals of building the summary model 4 years ago
Adriaan de Groot 792ba8c0af [summaryq] Nothing uses the derived type of the model
(This assertion may be dialed back if the Config object is used
in the summary ViewStep, which will want to get at the widget
pointers, but that's for later)
4 years ago
Adriaan de Groot a658e88575 [summaryq] Nothing in the Config is specific to this QML view-step 4 years ago
Adriaan de Groot a316f1b40d [summaryq] Repair translatable properties
- doesn't make sense to have NOTIFY and CONSTANT
- connect to translation signals
- document the properties
4 years ago
demmm 1570105ddb [usersq] correct plural form as reported in IRC 4 years ago
Adriaan de Groot 3b7c2b2221 [summaryq] Remove memory leak
Don't use a vector of pointers, it is too easy (like when calling clear())
to leak memory.
4 years ago
Adriaan de Groot d2e11dd5d1 [summaryq] Apply coding style 4 years ago
Adriaan de Groot c2d0a247a3 [partition] Simplify code for overloads 4 years ago
Adriaan de Groot b43759c6a5 [partition] Apply coding style 4 years ago
Adriaan de Groot e8b17b9878 [partition] Factor out the descriptions per-disk 4 years ago
Adriaan de Groot 400a5751f9 [partition] Factor out description of action in status and widget 4 years ago
Adriaan de Groot 535f81ba8a [partition] Factor out gather job-descriptions
Since prettyStatus() and the summaryWidget share a lot of
strings and code, start factoring that out.
4 years ago
Adriaan de Groot 7094c7bf39 [partition] Minor stylistic bits 4 years ago
Adriaan de Groot fedfed5619 i18n: update english originals 4 years ago
Calamares CI c2585749ac i18n: [python] Automatic merge of Transifex translations 4 years ago