summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2017-12-03 21:05:50 +0100
committerGitHub2017-12-03 21:05:50 +0100
commita0736f9a2ee1ba2ee1ad4a7e73683a5fe1ad3d8d (patch)
tree1fc278fc5a8d326a863d1b21534a4cf00d068a9e
parentf0bfa87fbffe6d362e6718b9978b2eb51fb43601 (diff)
parentc60030b20559324da6b796c0642bcfbb1b345399 (diff)
Merge pull request #639 from mosterdt/master
Fix small spelling mistake and add untranslated sentences to locale
-rw-r--r--locales/en.json2
-rw-r--r--locales/nl.json2
-rw-r--r--public/views/hackmd/body.ejs4
3 files changed, 6 insertions, 2 deletions
diff --git a/locales/en.json b/locales/en.json
index 2ab286bb..6b2a2066 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -29,6 +29,8 @@
"Import from browser": "Import from browser",
"Releases": "Releases",
"Are you sure?": "Are you sure?",
+ "Do you really want to delete this note?": "Do you really want to delete this note?",
+ "All users will lose their connection.": "All users will lose their connection.",
"Cancel": "Cancel",
"Yes, do it!": "Yes, do it!",
"Choose method": "Choose method",
diff --git a/locales/nl.json b/locales/nl.json
index 03e3abfc..325c273d 100644
--- a/locales/nl.json
+++ b/locales/nl.json
@@ -29,6 +29,8 @@
"Import from browser": "Importeer van browser",
"Releases": "Releases",
"Are you sure?": "Weet je het zeker?",
+ "Do you really want to delete this note?": "Will je deze notitie echt verwijderen?",
+ "All users will lose their connection.": "Alle gebruikers zullen hun verbinding verliezen.",
"Cancel": "Stoppen",
"Yes, do it!": "Ja, doe het!",
"Choose method": "Kies methode",
diff --git a/public/views/hackmd/body.ejs b/public/views/hackmd/body.ejs
index ad1e748b..91343ef6 100644
--- a/public/views/hackmd/body.ejs
+++ b/public/views/hackmd/body.ejs
@@ -234,8 +234,8 @@
<h4 class="modal-title" id="myModalLabel"><%= __('Are you sure?') %></h4>
</div>
<div class="modal-body" style="color:black;">
- <h5 class="ui-delete-modal-msg">Do you really want to delete this note?</h5>
- <strong class="ui-delete-modal-item">All users will lost their connection.</strong>
+ <h5 class="ui-delete-modal-msg"><%= __('Do you really want to delete this note?') %></h5>
+ <strong class="ui-delete-modal-item"><%= __('All users will lose their connection.') %></strong>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><%= __('Cancel') %></button>