Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
0dabaa4
(APIv2) Added new server endpoint
teclator Sep 3, 2025
cbccb5b
refactor(rust): extract the Supervisor
imobachgs Sep 3, 2025
f37c5f0
fix(rust): add missing supervisor file
imobachgs Sep 4, 2025
0d27c6d
Implement L10n set_config API
teclator Sep 4, 2025
cbf6698
Implement L10n get_proposal API
teclator Sep 4, 2025
cadb931
Distinguish config, user config and proposal
teclator Sep 5, 2025
c5367fa
Add the /system endpoint
imobachgs Sep 5, 2025
f6fd8b0
Drop the old l10n HTTP API
imobachgs Sep 5, 2025
821440e
Extract most of the l10n code to agama-l10n
imobachgs Sep 5, 2025
735b5db
Await on Supervisor::set_config call
imobachgs Sep 5, 2025
63d5258
Log used locale
imobachgs Sep 5, 2025
c2febbd
Allow working with scopes at API level
imobachgs Sep 10, 2025
dbf9e73
feat(web): adapt l10n to new API
dgdavid Sep 10, 2025
c35d662
fix(web): add missing query file
dgdavid Sep 10, 2025
046eb2c
fix(web): add transformation for locales too
dgdavid Sep 10, 2025
a574dbe
feat(web): allows updates l10n configuration with new API
dgdavid Sep 10, 2025
271686a
Move l10n agent to l10n package
joseivanlopez Sep 11, 2025
3745a10
Add action for configuring l10n system
joseivanlopez Sep 11, 2025
ebd73b5
Fix format
joseivanlopez Sep 11, 2025
d17174a
Prepare l10n to dispatch actions
joseivanlopez Sep 11, 2025
808fe98
wip: l10n action for applying config
joseivanlopez Sep 11, 2025
b56f6cb
Revert to use pattern matching for setting the configuration
imobachgs Sep 12, 2025
23bc0f7
Remove action for applying config
joseivanlopez Sep 12, 2025
05af1ca
Generate ln10 proposal using the system info
joseivanlopez Sep 12, 2025
87e9197
Replace TryFrom<&str> with FromStr for LocaleId
imobachgs Sep 12, 2025
46093cf
Implement FromStr for TimezoneId
imobachgs Sep 12, 2025
3f9ab1b
Make l10n error names consistent
imobachgs Sep 12, 2025
f6e8f32
feat(web): [WIP] uses react-i18n
dgdavid Sep 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 100 additions & 31 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
members = [
"agama-autoinstall",
"agama-cli",
"agama-server",
"agama-l10n",
"agama-lib",
"agama-locale-data",
"agama-network",
"agama-server",
"agama-utils",
"xtask",
]
Expand Down
18 changes: 18 additions & 0 deletions rust/agama-l10n/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "agama-l10n"
version = "0.1.0"
rust-version.workspace = true
edition.workspace = true

[dependencies]
anyhow = "1.0.99"
merge-struct = "0.1.0"
serde = { version = "1.0.219", features = ["derive"] }
thiserror = "2.0.16"
agama-locale-data = { path = "../agama-locale-data" }
regex = "1.11.2"
tracing = "0.1.41"
serde_with = "3.14.0"
utoipa = "5.4.0"
gettext-rs = { version = "0.7.2", features = ["gettext-system"] }
serde_json = "1.0.143"
Loading
Loading