From 54bde6b11fa57e2a613cf9b039d5fef65b217e4d Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Tue, 26 May 2020 16:22:17 +0200 Subject: [PATCH] Add translations for permissions Adding translations for permissions for a possible 1.6.1 release doesn't hurt but might helps some usecases of running CodiMD and we'll need the translations in the new frontend anyway. This patch adds the translations as well as the english local file. Signed-off-by: Sheogorath --- locales/en.json | 8 +++++++- public/views/codimd/body.ejs | 12 ++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/locales/en.json b/locales/en.json index 66f0bceda..d4fc24d1e 100644 --- a/locales/en.json +++ b/locales/en.json @@ -118,5 +118,11 @@ "Powered by %s": "Powered by %s", "Help us translating": "Help us translating", "Join the community": "Join the community", - "Imprint": "Imprint" + "Imprint": "Imprint", + "Freely - Anyone can edit": "Freely - Anyone can edit", + "Editable - Signed-in people can edit": "Editable - Signed-in people can edit", + "Limited - Signed-in people can edit (forbid guests)": "Limited - Signed-in people can edit (forbid guests)", + "Locked - Only owner can edit": "Locked - Only owner can edit", + "Protected - Only owner can edit (forbid guests)": "Protected - Only owner can edit (forbid guests)", + "Private - Only owner can view & edit": "Private - Only owner can view & edit" } \ No newline at end of file diff --git a/public/views/codimd/body.ejs b/public/views/codimd/body.ejs index dc111909e..5fe3d6bb9 100644 --- a/public/views/codimd/body.ejs +++ b/public/views/codimd/body.ejs @@ -15,12 +15,12 @@