twine: update i18n usage
* update to use latest twain crate * activate feature vor serialization, deserialization (consuming 'serde') * use (t!) macro from twain crate consuming i18n.rs * i18n.rs is compiled via build.rs from source * update docu hint in translation source Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
###
|
||||
# twine style translation source
|
||||
# All translation keys must define language strings for used keys
|
||||
###
|
||||
[err_lang_not_found]
|
||||
de = Konnte Sprachkode nicht auslesen
|
||||
en = Couldn't read
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
//! WIP: provide a workflow image
|
||||
//!
|
||||
|
||||
// i18n: get the macro (t!) accessing translated strings
|
||||
// i18n: get twine generated translation strings for macro (t!)
|
||||
include!(concat!(env!("OUT_DIR"), "/i18n.rs"));
|
||||
|
||||
// /// The client specific services
|
||||
|
||||
Reference in New Issue
Block a user