hedgedoc/public
Philip Molares 8e6aab0145 Templates: Remove lang and add translation parameter
Since the interface is not always in english, we mostly removed the lang attribute from all html tags. Since the error messages in error.ejs are not translated, but always in english, there the global lang="en" should be kept.
Also in the slide and editor template the div, which contains the user generated text, has the attribute translate="no" now, to avoid unwanted translations.
Since on the publish view (pretty.ejs) only the user generated content is shown, we set the lang to the language defined in yaml (or 'en') as a default, but that was also moved to the corresponding markdown div instead of html.

Fixes #881
See also #437

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-16 10:48:44 +01:00
..
banner Replace CodiMD with HedgeDoc 2020-11-14 21:18:36 +01:00
css Improved CSS in night-mode 2021-01-28 12:30:47 +01:00
docs Bump version to 1.7.2 2021-01-15 20:37:30 +01:00
fonts Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
icons apply review suggestions 2020-11-15 20:12:39 +01:00
js Fix HTML clipboard import 2021-02-16 22:06:45 +01:00
uploads upload image to public/uploads 2016-11-14 16:45:57 +08:00
vendor Fix toolbar day mode 2019-05-12 20:15:46 +02:00
views Templates: Remove lang and add translation parameter 2021-03-16 10:48:44 +01:00
.eslintrc.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
default.md Removed unused note and set empty on default note, updated features note 2016-01-17 09:57:25 -06:00
screenshot.png Updated screenshot 2020-11-17 11:13:58 +01:00