Commit graph

16 commits

Author SHA1 Message Date
Baptiste Gelez
040afe6a23 Fix some issues with macros 2018-11-20 18:59:09 +01:00
Baptiste Gelez
ef7bf55767 Force u64 2018-11-10 14:28:52 +01:00
Baptiste Gelez
8417b8c93a Merge branch 'master' of github.com:BaptisteGelez/rocket_i18n 2018-11-10 14:12:19 +01:00
Baptiste Gelez
a5cbdcbd56 Fix the i18n macro for ngettext syntax 2018-11-10 14:12:01 +01:00
Trinity Pointard
c76d8381a0 Wait for process to finish successfully
Fix #7
Change gettext to an existing repository
Update to rocket 0.4.0-rc.1
Require newer rust toolchain
2018-11-01 19:25:50 +01:00
Baptiste Gelez
b79aa0776b Better error handling in try_format 2018-10-25 22:19:54 +01:00
Baptiste Gelez
1cede79b5d Use the native gettext crate (and change almost all the API) 2018-10-25 19:04:44 +01:00
Baptiste Gelez
1b7c94a0c6
Merge pull request #6 from fdb-hiroshima/feature/add-ci
Add continuous integration
2018-09-15 13:25:03 +01:00
Trinity Pointard
74bf2141ca Fix tests
Fix doc-tests
    Add dev-dependency to rocket_contrib
    Set some doc-tests to no_run as files are missing for theme to work
Remove format!(gettext()) from docs as it won't compile
Reexport gettextrs to match what the doc's says
2018-09-15 14:13:24 +02:00
Trinity Pointard
40a8278694 Try to explore other locals if first is unknown
Try to find the best local client and server both supports
Assume client's locals are ordered by q-factor weighting
2018-09-15 13:14:50 +02:00
Bat
5b4225d5be Ignore the country code. Fix #1 2018-06-17 23:02:50 +01:00
Bat
5b29d96504 Update installation instructions 2018-06-17 15:35:07 +01:00
Bat
457b88c59e Use the master branch of Rocket
It makes sense since we recommend using the rocket_contrib::Template::custom function

Also edit a bit the README
2018-06-17 15:22:24 +01:00
Bat
05c8415516 Add metadata + document the crate 2018-06-17 14:46:46 +01:00
Bat
4a34e5dd73 Add some documentation 2018-06-17 13:18:31 +01:00
Bat
abae6926a7 Initial commit 2018-06-17 12:50:35 +01:00