summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--locales/en.json8
-rw-r--r--public/views/codimd/body.ejs12
2 files changed, 13 insertions, 7 deletions
diff --git a/locales/en.json b/locales/en.json
index 66f0bced..d4fc24d1 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 dc111909..5fe3d6bb 100644
--- a/public/views/codimd/body.ejs
+++ b/public/views/codimd/body.ejs
@@ -15,12 +15,12 @@
<a id="permissionLabel" class="ui-permission-label text-uppercase" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
</a>
<ul class="dropdown-menu" aria-labelledby="permissionLabel">
- <li class="ui-permission-freely"<% if(!allowAnonymous && !allowAnonymousEdits) { %> style="display: none;"<% } %>><a><i class="fa fa-leaf fa-fw"></i> Freely - Anyone can edit</a></li>
- <li class="ui-permission-editable"><a><i class="fa fa-shield fa-fw"></i> Editable - Signed-in people can edit</a></li>
- <li class="ui-permission-limited"><a><i class="fa fa-id-card fa-fw"></i> Limited - Signed-in people can edit (forbid guests)</a></li>
- <li class="ui-permission-locked"><a><i class="fa fa-lock fa-fw"></i> Locked - Only owner can edit</a></li>
- <li class="ui-permission-protected"><a><i class="fa fa-umbrella fa-fw"></i> Protected - Only owner can edit (forbid guests)</a></li>
- <li class="ui-permission-private"><a><i class="fa fa-hand-stop-o fa-fw"></i> Private - Only owner can view &amp; edit</a></li>
+ <li class="ui-permission-freely"<% if(!allowAnonymous && !allowAnonymousEdits) { %> style="display: none;"<% } %>><a><i class="fa fa-leaf fa-fw"></i> <%= __('Freely - Anyone can edit') %></a></li>
+ <li class="ui-permission-editable"><a><i class="fa fa-shield fa-fw"></i> <%= __('Editable - Signed-in people can edit') %></a></li>
+ <li class="ui-permission-limited"><a><i class="fa fa-id-card fa-fw"></i> <%= __('Limited - Signed-in people can edit (forbid guests)') %></a></li>
+ <li class="ui-permission-locked"><a><i class="fa fa-lock fa-fw"></i> <%= __('Locked - Only owner can edit') %></a></li>
+ <li class="ui-permission-protected"><a><i class="fa fa-umbrella fa-fw"></i> <%= __('Protected - Only owner can edit (forbid guests)') %></a></li>
+ <li class="ui-permission-private"><a><i class="fa fa-hand-stop-o fa-fw"></i> <%= __('Private - Only owner can view & edit') %></a></li>
<li class="divider"></li>
<li class="ui-delete-note"><a><i class="fa fa-trash-o fa-fw"></i> Delete this note</a></li>
</ul>