Feature Request: Default macro for translating
Snownee opened this issue ยท 1 comments
I am trying to add a custom macro in my book.json:
"macros": {
"$(severe)": "$(#f00) $(t:Very Important!!) [Warning!!] $()"
}
But here comes a problem: It does not support i18n. Which means I have to add a macro for every language or edit page json in every language.
Possible implements:
"macros": {
"$(severe)": "$(#f00) $(t:$(translate:key.very.important)) [$(translate:key.warning)] $()"
}
(If nested macro is not supported)
"macros": {
"$(severe)": "$(#f00) $(t:key.very.important) [$(translate:key.warning)] $()"
}