Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a l10n service to the web-based API (#1047)
## Problem This PR aims to implement a `l10n` API in the web-based API. Its design could be the base for other services. Dropping the D-Bus interface is out of scope. ## Tasks - [x] Export the list of locales - [x] Export the list of keymaps - [x] Export the list of timezones - [x] Allow setting the locale - [x] Allow setting the keymap - [x] Allow setting the timezone - [x] Allow setting the UILocale - [x] Read current configuration (locale, keymap, timezone) - [x] Read the UILocale - [ ] Write all changes or nothing (let's postpone when we drop the D-Bus API as it will be easier). - [x] Emit a signal when UILocale changes - [x] Add unit tests - [x] Add some integration test - [x] Initialize the locales properly - [x] More compact output (partially done; let's work on that when we start working in the web UI). - [x] Enable compression ## Screenshots ![emitting events](https://github.com/openSUSE/agama/assets/15836/01f3c3cf-bcf9-4cf4-95d5-787d02b7a380) ## Links Trello: https://trello.com/c/sjR61cpk/3556-5-expose-the-l10n-api-over-http
- Loading branch information