Commit Graph

7 Commits

Author SHA1 Message Date
Marek Ľach
38701c8a40 Corrected grammar pointed out by translators ()
The user 'UniqueActive' pointed these issues out on Crowdin.

Thank you!
2019-04-04 20:06:37 +01:00
Baptiste Gelez
7eef4643c8
Update rocket_i18n and add gettext_macros ()
Internationalization now uses proc-macros that generate the .pot file
automatically.
2019-02-02 15:23:50 +01:00
Marek Ľach
3128e6a3b9 Tags grammar and admin string corrections () 2018-12-29 17:40:11 +01:00
Marek Ľach
07ecbde93c Small changes to text strings () 2018-12-25 15:59:54 +01:00
Baptiste Gelez
b0089e59b7
Remove useless pagination routes ()
Rocket 0.4 let us have routes with optional query parameter
2018-12-13 22:20:19 +01:00
Trinity Pointard
b4e4b497ee Works on template
Use uri! to generate links instead of hardcoded urls
Fix 
Fix invalid links needing to be POST forms
Translate login message for boost and like directly from template
Put js for search in its own file
2018-12-07 12:10:03 +01:00
Baptiste Gelez
70af57c6e1
Use Ructe ()
All the template are now compiled at compile-time with the `ructe` crate.

I preferred to use it instead of askama because it allows more complex Rust expressions, where askama only supports a small subset of expressions and doesn't allow them everywhere (for instance, `{{ macro!() | filter }}` would result in a parsing error).

The diff is quite huge, but there is normally no changes in functionality.

Fixes  and unblocks  and 
2018-12-06 18:54:16 +01:00