Skip to content

Commit aeadba7

Browse files
authored
Merge pull request #7955 from sylvestre/locale
uucore: add functions to manage translations
2 parents cd9ce77 + 7b5012c commit aeadba7

File tree

9 files changed

+649
-15
lines changed

9 files changed

+649
-15
lines changed

.vscode/cspell.dictionaries/workspace.wordlist.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ getrandom
2525
globset
2626
indicatif
2727
itertools
28+
langid
2829
lscolors
2930
mdbook
3031
memchr
@@ -46,6 +47,7 @@ termsize
4647
termwidth
4748
textwrap
4849
thiserror
50+
unic
4951
ureq
5052
walkdir
5153
winapi

Cargo.lock

Lines changed: 146 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,11 @@ sm3 = "0.4.2"
362362
crc32fast = "1.4.2"
363363
digest = "0.10.7"
364364

365+
# Fluent dependencies
366+
fluent-bundle = "0.15.3"
367+
fluent = "0.16.1"
368+
unic-langid = "0.9.6"
369+
365370
uucore = { version = "0.0.30", package = "uucore", path = "src/uucore" }
366371
uucore_procs = { version = "0.0.30", package = "uucore_procs", path = "src/uucore_procs" }
367372
uu_ls = { version = "0.0.30", path = "src/uu/ls" }

deny.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ skip = [
8484
{ name = "thiserror-impl", version = "1.0.69" },
8585
# bindgen
8686
{ name = "itertools", version = "0.13.0" },
87+
# fluent-bundle
88+
{ name = "rustc-hash", version = "1.1.0" },
89+
# fluent-bundle
90+
{ name = "self_cell", version = "0.10.3" },
8791
# ordered-multimap
8892
{ name = "hashbrown", version = "0.14.5" },
8993
# cexpr (via bindgen)

0 commit comments

Comments
 (0)