From c9442c3859810d1ef4a6a23a0027629e5545de7d Mon Sep 17 00:00:00 2001 From: Erik Michelson Date: Thu, 13 Aug 2020 23:55:28 +0200 Subject: Made changed/created status translatable The current version of CodiMD/HedgeDoc does only support translations to be filled on server-side rendering. To allow the translation of the changed/created texts, I duplicated the container that holds the text, and pre-filed these containers with the translation server-side. The client just needs to hide the unneeded container and show the right one to show the translated status text. Signed-off-by: Erik Michelson --- public/views/codimd/body.ejs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'public/views') diff --git a/public/views/codimd/body.ejs b/public/views/codimd/body.ejs index 5fe3d6bb..96cb8f95 100644 --- a/public/views/codimd/body.ejs +++ b/public/views/codimd/body.ejs @@ -7,8 +7,9 @@ - -   +   + <%= __('changed') %> + <%= __('created') %> -- cgit v1.2.3