Adriaan de Groot
0ee8427d5a
[locale] Remove old-style GeoIP configuration
2019-09-07 16:05:09 +02:00
Adriaan de Groot
5a24e45e3b
[locale] Factor out a simple lambda
...
- If this was handed to an algorithm it would make more sense
as a lambda
2019-09-07 15:58:56 +02:00
Adriaan de Groot
3093f635e2
[locale] Apply coding style
2019-09-07 15:48:22 +02:00
Adriaan de Groot
21dde80a65
[locale] Refactor button handling to plain methods
2019-09-07 15:47:12 +02:00
Adriaan de Groot
91f0509272
[locale] Refactor lambdas to plain methods
...
- Lengthy lambda's doing UI stuff -- that doesn't change --
are easier to read as plain methods.
2019-09-07 15:18:58 +02:00
Adriaan de Groot
782b469974
[locale] Move all the translation work to a single slot
2019-09-07 12:38:49 +02:00
Adriaan de Groot
a57a030ee2
[packagechooser] Massage the list view to be narrower
2019-09-05 06:41:06 -04:00
Adriaan de Groot
4259bc9d5d
[packagechooser] Also use screenshot from no-package-selected
2019-09-05 03:23:50 -04:00
Adriaan de Groot
52e72f4fb1
[welcome] Apply coding style
2019-09-05 03:23:28 -04:00
Adriaan de Groot
88fc6685ba
[libcalamares] Apply coding style to geoip/
2019-09-05 03:23:28 -04:00
Adriaan de Groot
01c4383178
[packagechooser] Simplify parameters
...
- Just pass the no-package-selected item around.
2019-09-04 19:40:35 +02:00
Adriaan de Groot
996714dd06
[packagechooser] Use all translations for no-package-selected
...
- If there is an item with id "" (empty), it is used as the
"no-package-selected" placeholder text.
- Existing code iterated over the abstract model and used the
name and description at the time the model was set -- but
by getting the name and description from the model, only
a single string was obtained instead of the full range
of translations.
- Therefore, when arriving on the page, the "no-package-selected"
information was displayed from the translation that was active
when the model was set.
Instead, extend the non-abstract model so we can find the no-package-
selected item and pass that explicitly to the page.
FIXES #1241
2019-09-04 19:33:24 +02:00
Adriaan de Groot
c2f1070f2a
Merge branch 'translate-packagechooser'
...
FIXES #1228
The label on the left can now be specified (and translated)
in the config file. The strings corresponding to "nothing
selected" from PackageChooserPage.cpp L33-34 can already
be specified in the *items* section.
2019-09-02 15:30:41 +02:00
Adriaan de Groot
019d1c36c6
[packagechooser] Load translated strings from config
...
- Apply the *labels* from the configuration file to the
visible strings (only the ViewStep name).
2019-09-02 15:29:00 +02:00
Adriaan de Groot
0eae72e10f
[packagechooser] Introduce translatable labels
...
- Since the package chooser might be used more than once, or for
more specific items than "Packages", introduce a way to provide
specific strings for display.
- The only string needed is the ViewStep name, since the item with
id "" can be used for the no-selection item.
2019-09-02 15:28:15 +02:00
Adriaan de Groot
65d23cd94c
Merge branch 'more-networking'
2019-09-02 14:11:53 +02:00
Adriaan de Groot
9850e4b35b
[netinstall] Use the network-manager
...
- use asynchronousGet and keep the reply
- drop unused includes
- apply current coding style
2019-09-02 14:10:36 +02:00
Adriaan de Groot
badbdf59ee
[libcalamares] Build synchronous get w/ async-get
2019-09-02 13:43:10 +02:00
Adriaan de Groot
f8356a6dcc
[libcalamares] Add an async get method
...
- Mostly a "cheap" wrapper for a half-dozen boilerplate lines
of Qt NAM code.
2019-09-02 12:21:33 +02:00
Adriaan de Groot
543e2d34fc
[libcalamares] [locale] Remove unused includes
2019-09-02 12:02:43 +02:00
Calamares CI
3eb5c00e13
i18n: [python] Automatic merge of Transifex translations
2019-09-02 10:52:45 +02:00
Calamares CI
617a62c18a
i18n: [calamares] Automatic merge of Transifex translations
2019-09-02 10:52:44 +02:00
Adriaan de Groot
c7cbba3951
[welcome] Fix typo in tooltip
2019-08-30 22:54:28 +02:00
Adriaan de Groot
c9ab0524e2
Changes: post-release housekeeping
2019-08-30 13:38:00 +02:00
Calamares CI
36d64b0944
i18n: [python] Automatic merge of Transifex translations
2019-08-30 13:17:14 +02:00
Calamares CI
64a5a30199
i18n: [calamares] Automatic merge of Transifex translations
2019-08-30 13:17:14 +02:00
Adriaan de Groot
f156a683a8
Changes: pre-release housekeeping
2019-08-30 06:41:48 -04:00
Adriaan de Groot
66ee6ac673
[libcalamares] Fix tests for umask != 022
...
- My usual test environment has umask set to 022, but on one dev
box it is 002, leading to test failures (which show the test
was bad, not that the umask-setting code is bad)
2019-08-30 06:35:53 -04:00
Adriaan de Groot
9053b9cecf
[libcalamares] Fix Qt 5.9 compatibility
...
- not really sure why I went for the Qt 5.10 STL-style iterators
FIXES #1236
2019-08-30 06:20:45 -04:00
Adriaan de Groot
61482b38cc
Changes: give credit for this cycle
2019-08-29 16:28:00 +02:00
Adriaan de Groot
b685583060
Merge pull request #1226 from a-wai/fix-unpackfs-for-rootfs
...
[unpackfs] Enable to use "/" as a source
2019-08-29 10:25:32 -04:00
Adriaan de Groot
1d9177c5a3
Merge pull request #1230 from bill-auger/patch-1
...
add esperanto branding translations, fix mis-configured ones
2019-08-29 09:06:05 -04:00
Adriaan de Groot
0aabc89449
[partition] [welcome] Simplify retranslation
2019-08-29 15:02:12 +02:00
Adriaan de Groot
1cde8c20df
[libcalamaresui] Simplify retranslation
...
- Use any object method to connect() to
2019-08-29 15:01:41 +02:00
Adriaan de Groot
f1971eed86
[libcalamares] Support calling a slot on retranslation
...
- sometimes a slot is easier than a lambda. Introduce
a macro CALAMARES_RETRANSLATE_SLOT that calls a given
slot in an object on language change.
- extend the retranslator with support for calling slots:
- use Qt's signal/slot mechanism alongside the private
list of functions to call
- provide convenience for obtaining the retranslator of
an object.
2019-08-29 14:53:03 +02:00
Adriaan de Groot
e3f933259b
CMake: missing return statement should be an error
2019-08-29 14:46:16 +02:00
Adriaan de Groot
535bf01475
[welcome] Refactor lambdas to full slots
...
- This helps give meaningful names to code chunks
- Gives clang-format something to work with
- Reduces indentation depth
I think this is a bit of a code-style opinion issue: big complicated
lambdas doing UI things just don't seem like a good idea.
2019-08-29 11:06:55 +02:00
Adriaan de Groot
fc5aa54cb2
[welcome] Fix code formatting
...
- the RETRANSLATE macro is a real challenge for astyle and clang-format
2019-08-29 11:01:02 +02:00
Adriaan de Groot
07bd22ba95
Merge pull request #1233 from bill-auger/patch-4
...
eliminate magic number in src/modules/welcome/WelcomePage.cpp
2019-08-29 04:46:18 -04:00
Adriaan de Groot
9ca864567a
Merge pull request #1231 from bill-auger/patch-5
...
cross-reference/clarify geoip documentation
2019-08-29 04:36:13 -04:00
Adriaan de Groot
3f90921155
Merge pull request #1232 from bill-auger/patch-3
...
update doc comment in src/modules/initcpio/initcpio.conf
2019-08-29 04:34:55 -04:00
Adriaan de Groot
06e19a3e11
Merge pull request #1234 from bill-auger/patch-2
...
fix typo in comment src/libcalamaresui/ViewManager.cpp
2019-08-29 04:34:04 -04:00
bill-auger
5642576cf3
cross-reference/clarify geoip documentation
2019-08-28 13:21:42 -04:00
bill-auger
bb678e535b
add esperanto branding translations, fix mis-configured ones
2019-08-28 13:12:25 -04:00
bill-auger
4c3c6f3f91
eliminate magic number in src/modules/welcome/WelcomePage.cpp
2019-08-28 13:02:42 -04:00
bill-auger
13a58a4ab2
update doc comment in src/modules/initcpio/initcpio.conf
2019-08-28 13:02:36 -04:00
bill-auger
e459b82cfe
fix typo in src/libcalamaresui/ViewManager.cpp
2019-08-28 13:02:27 -04:00
Adriaan de Groot
559a65d169
Merge branch 'issue-1213'
...
FIXES #1213
Better slideshow loading, both V1 and V2. Keyboard shortcuts only while
the slideshow is visible.
2019-08-27 15:59:00 +02:00
Adriaan de Groot
8ab0fb4e5f
[libcalamaresui] Apply coding style (missed earlier)
2019-08-27 15:58:09 +02:00
Adriaan de Groot
03ac0d2cf0
[qml] Document the new property and how it updates
2019-08-27 15:55:18 +02:00