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
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
tygyh
25e20b5fa0
Remove unecesssary lifetimes
2022-07-15 16:20:15 +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
Benoît du Garreau
aca088388b
Update assets_manager
to 0.7
2021-12-12 22:11:47 +01:00
Benoît du Garreau
ef1c51332d
Update assets_manager
to 0.6.0
2021-10-01 21:13:01 +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
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
Illia Denysenko
f626d27955
Refactor i18n analysis code and improve UX of testing binary
2021-05-10 22:13:00 +00:00
juliancoffee
0a63b10f4c
rename i18n/src/i18n.rs to i18n/src/data.rs
2021-05-09 13:12:26 +03:00
juliancoffee
735e8ab4ec
Extract common/src/assets.rs to own crate
...
This gives us ability to use assets-related code in i18n without
depending on whole veloren-common
2021-05-09 13:12:26 +03:00
juliancoffee
5573fc33b9
Extract voxygen/src/i18n.rs into own crate
...
- New crate (i18n), currently under voxygen directory
- Updated CI to run localization test from i18n, not from voxygen
2021-05-09 13:12:26 +03:00