Marcel Märtens
29d0f5b25d
update dependencies
2022-09-22 11:57:55 +02:00
Joshua Yanovski
e9a463d459
Revert "Merge branch 'xMAC94x/update-deps' into 'master'"
...
This reverts merge request !3608
2022-09-15 18:51:48 +00:00
Joshua Yanovski
986d104faa
Update Rust toolchain.
2022-09-08 15:43:53 -07:00
Marcel Märtens
d9e6f10688
update dependencies
2022-09-08 23:29:08 +02:00
juliancoffee
ae399b3c7c
Remove cfg(feature = stat) for localization test
2022-08-25 14:23:27 +03:00
juliancoffee
f2eb1fe7c8
Make i18n csv own binary
...
* Put file that needs care back into csv
2022-08-25 14:23:26 +03:00
juliancoffee
9a0ac8dcce
Make test_all_localizations
run at unittest
2022-08-25 13:18:06 +03:00
parzivale
4a71698048
removed i18n.get
2022-08-23 11:19:39 +02:00
juliancoffee
64c909cba0
Don't produce isolation marks in fluent
2022-08-20 13:36:16 +03:00
juliancoffee
e15c375cb5
Use fluent attributes for abilities
...
* Better translation logic and ergonomics
* Cut two format!-s
2022-08-19 18:35:44 +03:00
juliancoffee
f104085a85
Adress review
...
1) Add NOTE about brute-force deunicode
2) Fix ut8 -> utf8 typo in comment
2022-08-19 01:46:41 +03:00
juliancoffee
d26422dc29
Resurrect convert_utf8_to_ascii
2022-08-19 00:09:39 +03:00
juliancoffee
847ee1c1b1
Implement i18n-tooling
...
* Working csv export
* Working i18n-check
2022-08-17 22:46:48 +03:00
juliancoffee
38d3bdeeee
Pre-merge activity
...
* Add CHANGELOG
* Remove script to convert .ron files to .ftl files
2022-08-07 20:42:33 +03:00
juliancoffee
eed5aef1d0
fix wording
2022-08-07 18:09:30 +03:00
juliancoffee
67df7a1e74
fmt
2022-08-07 16:45:18 +03:00
juliancoffee
e22babc51b
Improve error diagnostic in LocalizationHandle
2022-08-07 16:21:58 +03:00
juliancoffee
f2df1adf27
Improve documentation
2022-08-07 16:21:58 +03:00
juliancoffee
c38d94e504
Refactor try_variaton and error handling in i18n
2022-08-07 16:21:53 +03:00
juliancoffee
8ba50e62d5
New i18n implementation based on Fluent
2022-08-06 21:45:23 +03:00
John Heath
edc10519c6
fix for #1604 : use correct values in calculation
2022-07-21 18:34:06 +01:00
tygyh
120ee6b6c0
Fix typos
2022-07-15 18:59:37 +02:00
tygyh
25e20b5fa0
Remove unecesssary lifetimes
2022-07-15 16:20:15 +02:00
tygyh
5e5698249b
Remove unnecessarily qualified paths
2022-07-15 14:49:46 +02:00
Marcel Märtens
e4909650e1
update hashbrown, specs, and tracy
2022-07-06 15:41:59 +02:00
juliancoffee
3d1b2735a2
Clean i18n lifetimes
2022-06-26 00:44:55 +03:00
juliancoffee
8c837da561
Add i18n keys to abilities
...
* New hud/ability.ron file for ability localizations
* i18n keys are created by adding .name and .desc to ability id. Because
of how i18n worked (returning key if string wasn't found), it was
impossible to do because it leads to UB in case string is missed.
To solve this we've added get_opt method that returns None
* New Localization::get_or method for convinient fallback key usage
2022-06-25 18:17:37 +03:00
Benoît du Garreau
8488c7b25e
Upgrade assets_manager
to 0.8.0
and image
to 0.24
...
This removes a significant number of duplicated dependencies
2022-05-28 23:18:31 +02:00
Marcel Märtens
64b9602760
update further dependencies, including strum and get rid of old strum_macro
2022-04-04 16:06:47 +02:00
Avi Weinstock
5f8957d8ef
Globally allow the clippy lints {new_without_default, many_single_char_names, identity_op, type_complexity, too_many_arguments}
.
2022-01-30 20:16:20 +01:00
juliancoffee
9edd526279
Move voxygen-i18n to 2021 edition
2022-01-26 15:13:05 +02:00
Benoît du Garreau
aca088388b
Update assets_manager
to 0.7
2021-12-12 22:11:47 +01:00
Marcel Märtens
e29ede7c97
updating dependencies,
...
cannot update the following dependencies:
- vek: Sharps SIMD isnt upstream
- tracing-subscriber: MakeWriter was adjusted and i was to lazy to fiddle with lifetimes,
- refinery, rustsql: we have a custom refinery version which is incompatible with newer rustsql
- equi + egui_winit + egui_wgpu_backend: i tried it in this commit but it turned out that they dependo n wgpu which we cant update
- wgpu: cant update due new version doesnt support DX11
Got quinn updated which now require some dependencies to be explicit.
2021-11-20 20:17:49 +01:00
Benoît du Garreau
ef1c51332d
Update assets_manager
to 0.6.0
2021-10-01 21:13:01 +02:00
Marcel Märtens
c956ca1863
write header only once
2021-08-06 12:02:22 +02:00
Enrico Marconi
cae8005a18
fix issue #1260 : give a warning if an error occurs on language files load
2021-08-03 21:09:05 +00:00
Marcel Märtens
ee704e171d
move translation check to seperate ci step
...
note: TAGUUID is used to avoid sqlinjections by choosing a branch name
2021-08-02 20:11:02 +02:00
Marcel Märtens
bb026ca21b
move vector map out of manifest and switch to new manifest format
2021-08-01 13:12:01 +02:00
Marcel Märtens
c234f1d926
mark missing files as untranslated
2021-07-29 22:18:47 +02:00
Marcel Märtens
4c0b74150d
remove some reexports
2021-07-29 22:18:34 +02:00
Marcel Märtens
c3aa4c54a9
extract path logic
2021-07-29 20:15:23 +02:00
Marcel Märtens
bdda5ccd72
redo i18n git analysis completly and introduce a way to export csv data
...
also improve the performance by caching git_graph_descendant
2021-07-29 20:15:14 +02:00
Marcel Märtens
a5696e83a9
experiment with a git cache
2021-07-29 20:12:30 +02:00
Dr. Dystopia
c501b2eb70
base framework to print csv
2021-07-29 20:12:18 +02:00
Marcel Märtens
c9c32eea65
add a argument for i18n to enable csv generation
2021-07-29 20:12:13 +02:00
Marcel Märtens
468cfe84e7
clippy fixes in tests
2021-07-12 13:35:26 +02:00
Marcel Märtens
98800c5424
update depednencies
2021-07-08 12:21:02 +02:00
juliancoffee
15d83e65cc
Remove load_expect_dir
as it's misused
...
- load_expect_dir while expected to fail on erros, fails only on
filesystem errors and only on root directory.
This commit replaces this function with `read_expect_dir` which returns iterator
which loads all files and panics if can't load them.
2021-07-05 20:14:26 +03:00
Benoît du Garreau
1cba7db9b6
Update assets_manager
to 0.5
2021-06-26 12:05:40 +02:00
juliancoffee
3f176ca068
Panic if can't parse file
2021-06-15 19:15:17 +03:00