Commit Graph

135 Commits

Author SHA1 Message Date
Vladislav Nepogodin 52351e998a
🧹 move default locale logic from main file
This logic needs to be done in localization.rs.

Also expands usage of environment variables: `LC_ALL`,
`LC_MESSAGES`, `LANG`.
2023-03-19 23:39:38 +04:00
ptr1337 c1c663f248
Update cachyos_hello.ftl 2023-03-19 11:13:06 +00:00
Vladislav Nepogodin 49643771ff
🚧 fix compilation 2023-03-19 15:12:23 +04:00
Vladislav Nepogodin fc415e2efb
🧹 cleanup 2023-03-19 04:52:39 +04:00
Vladislav Nepogodin 837f8a5f4b
move to fluent translation system (#57)
use fluent translatation system instead of gettext

fluent makes translations more readable and easy to maintain
translation. fluent provides better handling of plural, genders cases.

ref: https://github.com/projectfluent/fluent/wiki/Fluent-vs-gettext
ref: https://projectfluent.org/
2023-03-19 04:47:51 +04:00
Vladislav Nepogodin 5ce2634718
♻ update deps 2023-03-17 04:11:35 +04:00
Vladislav Nepogodin 049763cc85
🧹 disable unused features to decrease binary size 2023-03-17 04:09:55 +04:00
Vladislav Nepogodin 7608acd820
🧹 cleanup languages that we didn't update properly
prepare to move to different language library
2023-03-13 03:58:10 +04:00
Vladislav Nepogodin 02189262fe
🧹 make clippy happy 2023-03-13 03:51:38 +04:00
Vladislav Nepogodin b948ee4fdb
♻ update deps 2023-03-13 03:51:20 +04:00
Giuseppe Speranza 22a4f56832
pages.rs: fix run of orphans packages (#53)
* pages.rs: fix run of orphans packages

This avoid "error: no targets specified (use -h for help)" when `pacman -Qtdq` is empty.

`pacman -Qtdq` can be started without root, and has a return value other than 0 if it finds no packages.
So if it finds packages, it succeeds and goes to the true condition that it deletes packages.
Otherwise do echo. (echo doesn't require root)

Signed-off-by: Peppe289 <gsperanza204@gmail.com>

* pages.rs: format with rustfmt

Signed-off-by: Peppe289 <gsperanza204@gmail.com>

* 👷 use msg dialog to inform user; use Exec::cmd

---------

Signed-off-by: Peppe289 <gsperanza204@gmail.com>
Co-authored-by: Vladislav Nepogodin <nepogodin.vlad@gmail.com>
2023-03-13 03:38:13 +04:00
Vladislav Nepogodin 14ad98637b
🔖 Bump version 2023-02-19 01:53:00 +04:00
Vladislav Nepogodin c1e9007b85
🧹 cleanup 2023-02-19 01:50:26 +04:00
Vladislav Nepogodin 5fa5371e1e
🚧 fix compilation 2023-02-19 01:39:13 +04:00
Vladislav Nepogodin 73099e2a54
♻ update deps 2023-02-19 01:17:53 +04:00
Vladislav Nepogodin 9a4034dc84
🚧 fix layout 2023-02-19 01:12:49 +04:00
Vladislav Nepogodin 245c9ef2ae
👷 add more ids for styling 2023-02-19 01:10:10 +04:00
Vladislav Nepogodin 6c1fd2b120
🧹 cleanup 2023-02-18 20:58:37 +04:00
Vladislav Nepogodin 0d9c30545b
🧹 drop unsafe at main.rs for save json
drop unsafe at main.rs for save json
Cleanup the unsafe blocks
2023-02-18 01:58:49 +04:00
Vladislav Nepogodin c40aee852a
🧹 drop unsafe at pages.rs 2023-02-18 01:12:51 +04:00
Vladislav Nepogodin 33cf5d7fa4
🧹 cleanup 2023-02-17 23:09:39 +04:00
Vladislav Nepogodin 3c82bf59bc
🧹 remove clang-format config 2023-02-17 22:31:16 +04:00
Vladislav Nepogodin 1024bd53cc
🧹 cleanup 2023-02-17 22:24:56 +04:00
Vladislav Nepogodin af13cf75ad
👷 use compressed gresource instead 2023-02-17 22:08:16 +04:00
Vladislav Nepogodin 6226aa4879
🔖 Bump version 2023-02-09 00:13:28 +04:00
NextWorks 86ab0c277e
Add Bluetooth Button (#46)
* Add Bluetooth Button

* Format code with rustfmt
2023-02-08 11:50:27 +00:00
Vladislav Nepogodin 9112af7645
🔖 Bump version 2023-02-06 22:03:31 +04:00
Vladislav Nepogodin 8b1f8f60c0
♻ update deps 2023-02-06 21:30:07 +04:00
Vladislav Nepogodin abdab23762
🗒 Update release notice 2023-02-06 21:06:27 +04:00
Vladislav Nepogodin 25febeb3bf
🔖 Bump version 2023-01-25 17:47:52 +04:00
Vladislav Nepogodin 451abe80c7
🔖 Bump version 2023-01-25 17:40:51 +04:00
Vladislav Nepogodin 544e088128
♻ update deps 2023-01-25 02:36:50 +04:00
Vladislav Nepogodin ac49b56a34
🚧 fix language 2023-01-25 02:32:37 +04:00
Vladislav Nepogodin c590a2a916
🔖 Bump version 2023-01-22 00:29:34 +04:00
Vladislav Nepogodin f13cb6bf2d
🗒 Update release notice 2023-01-22 00:27:09 +04:00
Vladislav Nepogodin 0ad270c85c
♻ update deps 2023-01-08 21:33:15 +04:00
Vladislav Nepogodin 6fa39f148f
♻ update year 2023-01-08 21:17:25 +04:00
Vladislav Nepogodin 76e4a2d96a
♻ update deps 2022-12-29 23:10:50 +04:00
Vladislav Nepogodin 96da8e226a
🔖 Bump version 2022-12-29 23:10:36 +04:00
Vladislav Nepogodin 34b1156563
🔧 Update CI 2022-12-29 22:41:03 +04:00
Vladislav Nepogodin a4e7dd290d
🔧 Update CI 2022-12-29 22:17:10 +04:00
Vladislav Nepogodin 9268600fac
🗒 Update release notice 2022-12-29 22:03:34 +04:00
Vladislav Nepogodin f215b60ffa
♻ update deps 2022-12-29 18:59:04 +04:00
Vladislav Nepogodin 58727ee8a7
🗒 Update release notice 2022-12-29 18:37:22 +04:00
Vladislav Nepogodin 50fefee7cf
🔖 Update version 2022-11-27 19:19:58 +04:00
Vladislav Nepogodin e729b5e1c9
👷 run some functions in new thread 2022-11-27 19:19:05 +04:00
Agampreet Singh 39e7df3f4c
♻️ Update package name to MS 365 Electron (#31) 2022-11-27 18:59:47 +04:00
Vladislav Nepogodin d8da801ad7
🧹 remove useless files 2022-11-27 18:50:54 +04:00
Vladislav Nepogodin 61b4100fb7
👷 add dnscrypt toggle & rankmirrors 2022-11-25 04:26:16 +04:00
dependabot[bot] 759f184e26
Bump serde_json from 1.0.87 to 1.0.88 (#30) 2022-11-24 07:45:11 +00:00