Commit graph

3211 commits

Author SHA1 Message Date
Hosted Weblate
2a68d0173d
translate: update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/
2023-01-08 01:42:31 +01:00
Gradience Bot
ab4cd40712 ci: generate .pot file 2023-01-08 00:41:57 +00:00
Hosted Weblate
30dc009bcc
translate: update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/
2023-01-07 13:12:35 +01:00
Gradience Bot
c49516ffea ci: generate .pot file 2023-01-07 12:12:30 +00:00
Hosted Weblate
b325dfee13
translate: update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/
2023-01-07 01:46:23 +01:00
Gradience Bot
90645fedca ci: generate .pot file 2023-01-07 00:39:05 +00:00
tfuxu
787bb49d11 frontend/main: fix list index out of range errors 2023-01-06 23:47:36 +01:00
tfuxu
980b19f9de backend/css_parser: fix palette leaking bug
* slightly optimize CSS parser performance

Fixes #693
2023-01-06 23:47:13 +01:00
tfuxu
c5f74ded3d
Show Unsaved preset dialog when switching to other preset (#695)
This PR reuses `You have unsaved changes!` dialog when an currently
preset isn't yet saved and user clicks to load another preset. The
implementation uses internal `is_dirty` check to determine either to
show or immediately load a preset.

Fixes #665
2023-01-06 20:38:18 +01:00
tfuxu
df96a51aa1
frontend/widgets: show 'preset unsaved' dialog in Preset Manager 2023-01-06 16:38:38 +01:00
tfuxu
def149a76f frontend/main: extract show_unsaved_dialog function into two smaller
* show 'preset unsaved' dialog when selecting a preset from quick switcher menu
    * make `on_save_preset_entry_change` function global
    * change `save_preset` function name to `on_save_dialog_response`
2023-01-06 16:36:40 +01:00
tfuxu
df162a8848
Use hexadecimal format unless alpha channel is specified (#694)
This PR enforces on Gradience usage of hexadecimal format in most
places, unless alpha channel is specified.
The enforcement of hex format is only on Gradience itself, users still
can use RGB and standard web CSS color names.

Fixes #666
2023-01-06 15:09:05 +01:00
Hosted Weblate
848a32595c
translate: update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/
2023-01-06 13:14:03 +01:00
Gradience Bot
59ebe0d6cd ci: generate .pot file 2023-01-06 12:13:57 +00:00
Hosted Weblate
6d0163757e
translate: update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/
2023-01-06 01:43:41 +01:00
Gradience Bot
2a2272d3f6 ci: generate .pot file 2023-01-06 00:40:43 +00:00
tfuxu
173f16264b
frontend/widgets: enforce hex format in variables row
* make `option_row` module more readable, remove over-engineered code
2023-01-05 21:15:01 +01:00
tfuxu
2c5f9925e1
backend/theming: enforce hex format in Monet generated variables
Unless alpha parameter is specified.
2023-01-05 21:07:30 +01:00
tfuxu
3f9fb69437
backend/colors: create new rgb_to_hash function
* make `argb_to_color_code` function usable
2023-01-05 21:04:30 +01:00
yangyangdaji
fffc17ee1f
translate: translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (235 of 235 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/zh_Hans/
2023-01-05 14:49:46 +01:00
Hosted Weblate
2cbf3dd255
translate: update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/
2023-01-05 13:14:39 +01:00
Gradience Bot
2e40f6b143 ci: generate .pot file 2023-01-05 12:14:33 +00:00
K.B.Dharun Krishna
033f4e67a7
translate: translated using Weblate (Tamil)
Currently translated at 100.0% (235 of 235 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/ta/
2023-01-05 12:48:44 +01:00
Hosted Weblate
719489e8e9
translate: update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/
2023-01-05 01:41:42 +01:00
Gradience Bot
b3746634e9 ci: generate .pot file 2023-01-05 00:40:41 +00:00
a9661a09e0 feat: revert flat style 2023-01-05 01:56:56 +03:00
83b52f8e53 feat: Change max-width-chars to 50 2023-01-05 01:55:29 +03:00
tfuxu
caacb24fae
UI: disable preset preview MenuButton
This also incudes removing some leftover code that was used for this MenuButton.

Fixes #670
2023-01-04 21:24:54 +01:00
tfuxu
8df722ef1a
UI: make popovers homogeneous in every direction 2023-01-04 21:02:49 +01:00
tfuxu
3d2f16c4e2
frontend/main: rename show_exit_dialog to show_unsaved_dialog
* add new `discard` parameter to GradienceSaveDialog
    * clean some placeholder functions in main module
2023-01-04 21:00:48 +01:00
1de0a01a4b
revert: "misc: change to lower-case"
Signed-off-by: David Lapshin <ddaudix@gmail.com>
2023-01-04 22:27:07 +03:00
3c506a52eb
misc: change to lower-case
Signed-off-by: David Lapshin <ddaudix@gmail.com>
2023-01-04 22:24:14 +03:00
814de75934
misc: rename to build
Signed-off-by: David Lapshin <ddaudix@gmail.com>
2023-01-04 22:21:00 +03:00
0d93ee6bd3
Update pypi-dependencies.json (#692)
This is an auto-generated PR with the generation of
`pypi-dependencies.json`.
2023-01-04 22:12:10 +03:00
AdwCustomizer
9d5fe32821 ci: update Flatpak pypi dependencies 2023-01-04 19:10:55 +00:00
4db8d9e8ce
misc: minor improvements (#691)
# Description

<!-- Describe your changes in detail here. -->

Some minor changes to the various things (cut version of #690)

## Type of change

<!-- What type of change does your pull request introduce? Put an `x` in
the box that apply. -->
- [ ] Bugfix (Change which fixes a issue)
- [ ] New feature (Change which adds new functionality)
- [x] Enhancement (Change which slightly improves existing code)
- [ ] Breaking change (This change will introduce incompatibility with
existing functionality)

## Changelog <!-- This is optional, but highly appreciated. -->

- Removed hardcoded `anyascii` version as latest version is used
automatically
- Some wording changes in markdown files

## Testing

- [x] I have tested my changes and verified that they work as expected
<!-- Required, your PR won't be accepted if you don't do this step. -->

### How to test the changes

<!-- Optional, it can speed up review process if you provide the
information on how to test your changes. -->
No information provided.
2023-01-04 22:10:21 +03:00
8963a40bee misc: make email a mailto link 2023-01-04 21:05:36 +03:00
720c684560 misc: minor improvements 2023-01-04 20:51:14 +03:00
tfuxu
ad7b4208d5
Update pypi-dependencies.json (#689)
This is an auto-generated PR with the generation of
`pypi-dependencies.json`.
2023-01-04 17:26:11 +01:00
Hosted Weblate
9a42a73ce9
translate: update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/
2023-01-04 13:14:14 +01:00
Gradience Bot
601acd2318 ci: generate .pot file 2023-01-04 12:14:08 +00:00
Ali Aljishi
1c009016b1
translate: translated using Weblate (Arabic)
Currently translated at 100.0% (238 of 238 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/ar/
2023-01-04 10:49:41 +01:00
yangyangdaji
f373835349
translate: translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (238 of 238 strings)

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/zh_Hans/
2023-01-04 08:47:44 +01:00
e51b0a6eb0
Merge branch 'main' into pypi-deps 2023-01-04 07:29:14 +01:00
Hosted Weblate
504a3612a0
translate: update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Gradience/Gradience
Translate-URL: https://hosted.weblate.org/projects/GradienceTeam/gradience/
2023-01-04 01:47:36 +01:00
Gradience Bot
adb8c0d28a ci: generate .pot file 2023-01-04 00:38:39 +00:00
AdwCustomizer
ded745dee8 ci: update Flatpak pypi dependencies 2023-01-03 23:15:31 +00:00
tfuxu
6d18965a5a
requirements: fix anyascii dependency
Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com>
2023-01-03 23:15:06 +00:00
acbbd3623b
fix: update anyascii version
Signed-off-by: 0xMRTT <0xMRTT@proton.me>
2023-01-04 00:01:20 +01:00
5621934d8b
fix: rename ci to build
since it's only doing build

Signed-off-by: 0xMRTT <0xMRTT@proton.me>
2023-01-03 23:55:02 +01:00