diff options
-rw-r--r-- | app.js | 2 | ||||
-rw-r--r-- | lib/realtime.js | 11 | ||||
-rw-r--r-- | locales/ar.json | 5 | ||||
-rw-r--r-- | locales/cs.json | 121 | ||||
-rw-r--r-- | locales/de.json | 4 | ||||
-rw-r--r-- | locales/en.json | 241 | ||||
-rw-r--r-- | locales/id.json | 3 | ||||
-rw-r--r-- | locales/pl.json | 3 | ||||
-rw-r--r-- | locales/sk.json | 121 | ||||
-rw-r--r-- | locales/zh-TW.json | 3 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | public/views/index/body.ejs | 2 |
12 files changed, 378 insertions, 140 deletions
@@ -113,7 +113,7 @@ if (config.csp.enable) { } i18n.configure({ - locales: ['en', 'zh-CN', 'zh-TW', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo', 'da', 'ko', 'id', 'sr', 'vi', 'ar'], + locales: ['en', 'zh-CN', 'zh-TW', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo', 'da', 'ko', 'id', 'sr', 'vi', 'ar', 'cs', 'sk'], cookie: 'locale', indent: ' ', // this is the style poeditor.com exports it, this creates less churn directory: path.join(__dirname, '/locales'), diff --git a/lib/realtime.js b/lib/realtime.js index d85d728e..ec99707e 100644 --- a/lib/realtime.js +++ b/lib/realtime.js @@ -3,7 +3,6 @@ // external modules var cookie = require('cookie') var cookieParser = require('cookie-parser') -var url = require('url') var async = require('async') var randomcolor = require('randomcolor') var Chance = require('chance') @@ -277,16 +276,6 @@ function extractNoteIdFromSocket (socket) { } if (socket.handshake.query && socket.handshake.query.noteId) { return socket.handshake.query.noteId - } else if (socket.handshake.headers) { - // this part is only for backward compatibility only; current code - // should be using noteId query parameter instead. - var referer = socket.handshake.headers.referer - if (!referer) { - return false - } - var hostUrl = url.URL.parse(referer) - var noteId = config.urlPath ? hostUrl.pathname.slice(config.urlPath.length + 1, hostUrl.pathname.length).split('/')[1] : hostUrl.pathname.split('/')[1] - return noteId } else { return false } diff --git a/locales/ar.json b/locales/ar.json index 35c4c374..88186f2d 100644 --- a/locales/ar.json +++ b/locales/ar.json @@ -46,7 +46,7 @@ "Download": "تنزيل", "Raw HTML": "Raw HTML", "Edit": "عدّل", - "View": "View", + "View": "عرض", "Both": "معا", "Help": "المساعدة", "Upload Image": "تحميل صورة", @@ -117,5 +117,6 @@ "Register": "انشئ حسابا", "Powered by %s": "مدعوم بـ %s", "Help us translating": "ساعدنا في الترجمة", - "Join the community": "انضم إلى المجتمع" + "Join the community": "انضم إلى المجتمع", + "Imprint": "Imprint" }
\ No newline at end of file diff --git a/locales/cs.json b/locales/cs.json new file mode 100644 index 00000000..264c7abc --- /dev/null +++ b/locales/cs.json @@ -0,0 +1,121 @@ +{ + "Collaborative markdown notes": "Kolaborativní markdown poznámky", + "Realtime collaborative markdown notes on all platforms.": "Spolupracujte na markdown poznámkách na všech platformách v reálném čase.", + "Best way to write and share your knowledge in markdown.": "Nejlepší platforma pro tvorbu a sdílení vašich znalostí v markdown.", + "Intro": "Intro", + "History": "Historie", + "New guest note": "Nová poznámka hosta", + "Collaborate with URL": "Spolupráce v reálném čase", + "Support charts and MathJax": "Funguje s grafy a MathJax", + "Support slide mode": "Podporuje režim prezentace", + "Sign In": "Přihlásit", + "Below is the history from browser": "Níže je historie z tohoto prohlížeče", + "Welcome!": "Vítejte!", + "New note": "Nová poznámka", + "or": "nebo", + "Sign Out": "Odhlásit", + "Explore all features": "Prozkoumat všechny funkce", + "Select tags...": "Zvolit štítky…", + "Search keyword...": "Vyhledat klíčové slovo …", + "Sort by title": "Seřadit podle názvu", + "Title": "Název", + "Sort by time": "Seřadit podle času", + "Time": "Čas", + "Export history": "Exportovat historii", + "Import history": "Importovat historii", + "Clear history": "Odstranit historii", + "Refresh history": "Aktualizovat historii", + "No history": "Žádná historie", + "Import from browser": "Importovat z prohlížeče", + "Releases": "Vydání", + "Are you sure?": "Jste si jisti?", + "Do you really want to delete this note?": "Opravdu chcete odstranit tuto poznámku?", + "All users will lose their connection.": "Všichni uživatelé ztratí spojení.", + "Cancel": "Storno", + "Yes, do it!": "Ano, provést!", + "Choose method": "Zvolit metodu", + "Sign in via %s": "Přihlásit se přes %s", + "New": "Nová", + "Publish": "Publikovat", + "Extra": "Extra", + "Revision": "Revize", + "Slide Mode": "Režim prezentace", + "Export": "Export", + "Import": "Import", + "Clipboard": "Schránka", + "Download": "Stáhnout", + "Raw HTML": "Raw HTML", + "Edit": "Editovat", + "View": "Zobrazit", + "Both": "Obojí", + "Help": "Nápověda", + "Upload Image": "Nahrát obrázek", + "Menu": "Menu", + "This page need refresh": "Tuto stránku je nutné znovu načíst", + "You have an incompatible client version.": "Verze vašeho klienta není kompatibilní.", + "Refresh to update.": "Znovu načíst a aktualizovat.", + "New version available!": "Je dostupná nová verze!", + "See releases notes here": "Viz poznámky k vydání zde", + "Refresh to enjoy new features.": "Znovu načíst a užít si nové funkce.", + "Your user state has changed.": "Váš uživatelský status se změnil.", + "Refresh to load new user state.": "Znovu načíst a nahrát nový uživatelský status.", + "Refresh": "Znovu načíst", + "Contacts": "Kontakty", + "Report an issue": "Nahlásit problém", + "Meet us on %s": "Potkejte se s námi na %s", + "Send us email": "Pošlete nám email", + "Documents": "Dokumenty", + "Features": "Funkce", + "YAML Metadata": "YAML metadata", + "Slide Example": "Příklad prezentace", + "Cheatsheet": "Tahák", + "Example": "Příklad", + "Syntax": "Syntaxe", + "Header": "Hlavička", + "Unordered List": "Nečíslovaný seznam", + "Ordered List": "Číslovaný seznam", + "Todo List": "Kontrolní seznam", + "Blockquote": "Citace", + "Bold font": "Tučně", + "Italics font": "Kurzívou", + "Strikethrough": "Přeškrtnuté", + "Inserted text": "Podtržený text", + "Marked text": "Zvýrazněný text", + "Link": "Odkaz", + "Image": "Obrázek", + "Code": "Kód", + "Externals": "Externí", + "This is a alert area.": "Toto je oblast upozornění.", + "Revert": "Vrátit", + "Import from clipboard": "Importovat ze schránky", + "Paste your markdown or webpage here...": "Sem vložte váš markdown nebo webovou stránku…", + "Clear": "Vyčistit", + "This note is locked": "Tato poznámka je uzamčena", + "Sorry, only owner can edit this note.": "Omlouvám se, pouze vlastník může editovat tuto poznámku.", + "OK": "OK", + "Reach the limit": "Dosažení limitu", + "Sorry, you've reached the max length this note can be.": "Omlouvám se, dosáhli jste maximální možné délky této poznámky.", + "Please reduce the content or divide it to more notes, thank you!": "Prosím zkraťte poznámku.", + "Import from Gist": "Importovat z Gist", + "Paste your gist url here...": "Sem vložte vaši gist url…", + "Import from Snippet": "Importovat ze Snippet", + "Select From Available Projects": "Zvolit z dostupných projektů", + "Select From Available Snippets": "Zvolit z dostupných úryvků", + "OR": "NEBO", + "Export to Snippet": "Exportovat do úryvku", + "Select Visibility Level": "Zvolit úroveň viditelnosti", + "Night Theme": "Noční téma", + "Follow us on %s and %s.": "Sledujte nás na %s, a %s.", + "Imprint": "Otisk", + "Privacy": "Soukromí", + "Terms of Use": "Podmínky použití", + "Do you really want to delete your user account?": "Opravdu chcete smazat váš uživatelský účet?", + "This will delete your account, all notes that are owned by you and remove all references to your account from other notes.": "Tato operace odstraní váš účet, všechny poznámky, které vlastníte, a také odstraní všechny odkazy na váš účet z jiných poznámek.", + "Delete user": "Smazat uživatele", + "Export user data": "Exportovat uživatelská data", + "Source Code": "Zdrojový kód", + "Powered by %s": "Powered by %s", + "Register": "Registrovat", + "Help us translating": "Pomoci nám s překladem", + "Join the community": "Připojit ke komunitě" +} diff --git a/locales/de.json b/locales/de.json index 3f91244a..39d0f219 100644 --- a/locales/de.json +++ b/locales/de.json @@ -106,7 +106,6 @@ "Select Visibility Level": "Sichtbarkeit bestimmen", "Night Theme": "Nachtmodus", "Follow us on %s and %s.": "Folge uns auf %s und %s.", - "Imprint": "Impressum", "Privacy": "Datenschutz", "Terms of Use": "Nutzungsbedingungen", "Do you really want to delete your user account?": "Möchten Sie wirklich Ihr Nutzerkonto löschen?", @@ -118,5 +117,6 @@ "Register": "Registrieren", "Powered by %s": "Ermöglicht durch %s", "Help us translating": "Hilf uns beim Übersetzen", - "Join the community": "Tritt der Community bei" + "Join the community": "Tritt der Community bei", + "Imprint": "Impressum" }
\ No newline at end of file diff --git a/locales/en.json b/locales/en.json index 4f661cf5..66f0bced 100644 --- a/locales/en.json +++ b/locales/en.json @@ -1,121 +1,122 @@ { - "Collaborative markdown notes": "Collaborative markdown notes", - "Realtime collaborative markdown notes on all platforms.": "Collaborate on markdown notes on all platforms in realtime.", - "Best way to write and share your knowledge in markdown.": "The best platform to write and share markdown.", - "Intro": "Intro", - "History": "History", - "New guest note": "New guest note", - "Collaborate with URL": "Real time collaboration", - "Support charts and MathJax": "Works with charts and MathJax", - "Support slide mode": "Supports slide mode", - "Sign In": "Sign In", - "Below is the history from browser": "Below is history from this browser", - "Welcome!": "Welcome!", - "New note": "New note", - "or": "or", - "Sign Out": "Sign Out", - "Explore all features": "Explore all features", - "Select tags...": "Select tags…", - "Search keyword...": "Search keyword…", - "Sort by title": "Sort by title", - "Title": "Title", - "Sort by time": "Sort by time", - "Time": "Time", - "Export history": "Export history", - "Import history": "Import history", - "Clear history": "Clear history", - "Refresh history": "Refresh history", - "No history": "No history", - "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", - "Sign in via %s": "Sign in via %s", - "New": "New", - "Publish": "Publish", - "Extra": "Extra", - "Revision": "Revision", - "Slide Mode": "Slide Mode", - "Export": "Export", - "Import": "Import", - "Clipboard": "Clipboard", - "Download": "Download", - "Raw HTML": "Raw HTML", - "Edit": "Edit", - "View": "View", - "Both": "Both", - "Help": "Help", - "Upload Image": "Upload Image", - "Menu": "Menu", - "This page need refresh": "This page needs to be refreshed", - "You have an incompatible client version.": "Your client's version is incompatible.", - "Refresh to update.": "Refresh to update.", - "New version available!": "New version available!", - "See releases notes here": "See releases notes here", - "Refresh to enjoy new features.": "Refresh to enjoy new features.", - "Your user state has changed.": "Your user state has changed.", - "Refresh to load new user state.": "Refresh to load new user state.", - "Refresh": "Refresh", - "Contacts": "Contacts", - "Report an issue": "Report an issue", - "Meet us on %s": "Meet us on %s", - "Send us email": "Send us email", - "Documents": "Documents", - "Features": "Features", - "YAML Metadata": "YAML Metadata", - "Slide Example": "Slide Example", - "Cheatsheet": "Cheatsheet", - "Example": "Example", - "Syntax": "Syntax", - "Header": "Header", - "Unordered List": "Unordered List", - "Ordered List": "Ordered List", - "Todo List": "Checklist", - "Blockquote": "Blockquote", - "Bold font": "Bold", - "Italics font": "Italicize", - "Strikethrough": "Strikethrough", - "Inserted text": "Underlined text", - "Marked text": "Highlighted text", - "Link": "Link", - "Image": "Image", - "Code": "Code", - "Externals": "Externals", - "This is a alert area.": "This is an alert area.", - "Revert": "Revert", - "Import from clipboard": "Import from clipboard", - "Paste your markdown or webpage here...": "Paste your markdown or webpage here…", - "Clear": "Clear", - "This note is locked": "This note is locked", - "Sorry, only owner can edit this note.": "Sorry, only the owner can edit this note.", - "OK": "OK", - "Reach the limit": "Reach the limit", - "Sorry, you've reached the max length this note can be.": "Sorry, you've reached the maximum length this note can be.", - "Please reduce the content or divide it to more notes, thank you!": "Please shorten the note.", - "Import from Gist": "Import from Gist", - "Paste your gist url here...": "Paste your gist url here…", - "Import from Snippet": "Import from Snippet", - "Select From Available Projects": "Select From Available Projects", - "Select From Available Snippets": "Select From Available Snippets", - "OR": "OR", - "Export to Snippet": "Export to Snippet", - "Select Visibility Level": "Select Visibility Level", - "Night Theme": "Night Theme", - "Follow us on %s and %s.": "Follow us on %s, and %s.", - "Imprint": "Imprint", - "Privacy": "Privacy", - "Terms of Use": "Terms of Use", - "Do you really want to delete your user account?": "Do you really want to delete your user account?", - "This will delete your account, all notes that are owned by you and remove all references to your account from other notes.": "This will delete your account, all notes that are owned by you and remove all references to your account from other notes.", - "Delete user": "Delete user", - "Export user data": "Export user data", - "Source Code": "Source Code", - "Powered by %s": "Powered by %s", - "Register": "Register", - "Help us translating": "Help us translating", - "Join the community": "Join the community" -} + "Collaborative markdown notes": "Collaborative markdown notes", + "Realtime collaborative markdown notes on all platforms.": "Collaborate on markdown notes on all platforms in realtime.", + "Best way to write and share your knowledge in markdown.": "The best platform to write and share markdown.", + "Intro": "Intro", + "History": "History", + "New guest note": "New guest note", + "Collaborate with URL": "Real time collaboration", + "Support charts and MathJax": "Works with charts and MathJax", + "Support slide mode": "Supports slide mode", + "Sign In": "Sign In", + "Below is the history from browser": "Below is history from this browser", + "Welcome!": "Welcome!", + "New note": "New note", + "or": "or", + "Sign Out": "Sign Out", + "Explore all features": "Explore all features", + "Select tags...": "Select tags…", + "Search keyword...": "Search keyword…", + "Sort by title": "Sort by title", + "Title": "Title", + "Sort by time": "Sort by time", + "Time": "Time", + "Export history": "Export history", + "Import history": "Import history", + "Clear history": "Clear history", + "Refresh history": "Refresh history", + "No history": "No history", + "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", + "Sign in via %s": "Sign in via %s", + "New": "New", + "Publish": "Publish", + "Extra": "Extra", + "Revision": "Revision", + "Slide Mode": "Slide Mode", + "Export": "Export", + "Import": "Import", + "Clipboard": "Clipboard", + "Download": "Download", + "Raw HTML": "Raw HTML", + "Edit": "Edit", + "View": "View", + "Both": "Both", + "Help": "Help", + "Upload Image": "Upload Image", + "Menu": "Menu", + "This page need refresh": "This page needs to be refreshed", + "You have an incompatible client version.": "Your client's version is incompatible.", + "Refresh to update.": "Refresh to update.", + "New version available!": "New version available!", + "See releases notes here": "See releases notes here", + "Refresh to enjoy new features.": "Refresh to enjoy new features.", + "Your user state has changed.": "Your user state has changed.", + "Refresh to load new user state.": "Refresh to load new user state.", + "Refresh": "Refresh", + "Contacts": "Contacts", + "Report an issue": "Report an issue", + "Meet us on %s": "Meet us on %s", + "Send us email": "Send us email", + "Documents": "Documents", + "Features": "Features", + "YAML Metadata": "YAML Metadata", + "Slide Example": "Slide Example", + "Cheatsheet": "Cheatsheet", + "Example": "Example", + "Syntax": "Syntax", + "Header": "Header", + "Unordered List": "Unordered List", + "Ordered List": "Ordered List", + "Todo List": "Checklist", + "Blockquote": "Blockquote", + "Bold font": "Bold", + "Italics font": "Italicize", + "Strikethrough": "Strikethrough", + "Inserted text": "Underlined text", + "Marked text": "Highlighted text", + "Link": "Link", + "Image": "Image", + "Code": "Code", + "Externals": "Externals", + "This is a alert area.": "This is an alert area.", + "Revert": "Revert", + "Import from clipboard": "Import from clipboard", + "Paste your markdown or webpage here...": "Paste your markdown or webpage here…", + "Clear": "Clear", + "This note is locked": "This note is locked", + "Sorry, only owner can edit this note.": "Sorry, only the owner can edit this note.", + "OK": "OK", + "Reach the limit": "Reach the limit", + "Sorry, you've reached the max length this note can be.": "Sorry, you've reached the maximum length this note can be.", + "Please reduce the content or divide it to more notes, thank you!": "Please shorten the note.", + "Import from Gist": "Import from Gist", + "Paste your gist url here...": "Paste your gist url here…", + "Import from Snippet": "Import from Snippet", + "Select From Available Projects": "Select From Available Projects", + "Select From Available Snippets": "Select From Available Snippets", + "OR": "OR", + "Export to Snippet": "Export to Snippet", + "Select Visibility Level": "Select Visibility Level", + "Night Theme": "Night Theme", + "Follow us on %s and %s.": "Follow us on %s, and %s.", + "Privacy": "Privacy", + "Terms of Use": "Terms of Use", + "Do you really want to delete your user account?": "Do you really want to delete your user account?", + "This will delete your account, all notes that are owned by you and remove all references to your account from other notes.": "This will delete your account, all notes that are owned by you and remove all references to your account from other notes.", + "Delete user": "Delete user", + "Export user data": "Export user data", + "Help us translating on %s": "Help us translating on %s", + "Source Code": "Source Code", + "Register": "Register", + "Powered by %s": "Powered by %s", + "Help us translating": "Help us translating", + "Join the community": "Join the community", + "Imprint": "Imprint" +}
\ No newline at end of file diff --git a/locales/id.json b/locales/id.json index 3c50f4d1..a6f985a3 100644 --- a/locales/id.json +++ b/locales/id.json @@ -117,5 +117,6 @@ "Register": "Daftar", "Powered by %s": "Ditenagai oleh %s", "Help us translating": "Bantu kami menerjemahkan", - "Join the community": "Bergabung dengan komunitas" + "Join the community": "Bergabung dengan komunitas", + "Imprint": "Jejak" }
\ No newline at end of file diff --git a/locales/pl.json b/locales/pl.json index 8ee04f83..0eeb1b5e 100644 --- a/locales/pl.json +++ b/locales/pl.json @@ -117,5 +117,6 @@ "Register": "Zarejestruj", "Powered by %s": "Wspierany przez %s", "Help us translating": "Pomóż nam w tłumaczeniu", - "Join the community": "Dołącz do społeczności" + "Join the community": "Dołącz do społeczności", + "Imprint": "Impressum" }
\ No newline at end of file diff --git a/locales/sk.json b/locales/sk.json new file mode 100644 index 00000000..acafdfa5 --- /dev/null +++ b/locales/sk.json @@ -0,0 +1,121 @@ +{ + "Collaborative markdown notes": "Kolaboratívne markdown poznámky", + "Realtime collaborative markdown notes on all platforms.": "Spolupracujte na markdown poznámkach na všetkých platformách v reálnom čase.", + "Best way to write and share your knowledge in markdown.": "Nejlepšia platforma pre tvorbu a zdieľanie vašich znalostí v markdown.", + "Intro": "Intro", + "History": "História", + "New guest note": "Nová poznámka hosťa", + "Collaborate with URL": "Spolupráca v reálnom čase", + "Support charts and MathJax": "Funguje s grafmi a MathJax", + "Support slide mode": "Podporuje prezentačný režim", + "Sign In": "Prihlásiť sa", + "Below is the history from browser": "Nižšie je história z tohto prehliadača", + "Welcome!": "Vitajte!", + "New note": "Nová poznámka", + "or": "alebo", + "Sign Out": "Odhlásiť sa", + "Explore all features": "Preskúmať všetky funkcie", + "Select tags...": "Zvoliť štítky…", + "Search keyword...": "Vyhľadať klúčové slovo …", + "Sort by title": "Zoradiť podľa názvu", + "Title": "Názov", + "Sort by time": "Zoradiť podľa času", + "Time": "Čas", + "Export history": "Exportovať históriu", + "Import history": "Importovať históriu", + "Clear history": "Odstrániť históriu", + "Refresh history": "Aktualizovať históriu", + "No history": "Žiadna história", + "Import from browser": "Importovať z prehliadača", + "Releases": "Vydania", + "Are you sure?": "Ste si istý?", + "Do you really want to delete this note?": "Naozaj chcete odstrániť túto poznámku?", + "All users will lose their connection.": "Všetci používatelia stratia spojenie.", + "Cancel": "Späť", + "Yes, do it!": "Áno, pokračovať!", + "Choose method": "Zvoliť spôsob", + "Sign in via %s": "Prihlásiť sa cez %s", + "New": "Nová", + "Publish": "Publikovať", + "Extra": "Extra", + "Revision": "Revízia", + "Slide Mode": "Prezentačný režim", + "Export": "Export", + "Import": "Import", + "Clipboard": "Schránka", + "Download": "Stiahnuť", + "Raw HTML": "Raw HTML", + "Edit": "Editovať", + "View": "Zobraziť", + "Both": "Oboje", + "Help": "Pomoc", + "Upload Image": "Nahrať obrázok", + "Menu": "Menu", + "This page need refresh": "Túto stránku je potrebné znovu načítať", + "You have an incompatible client version.": "Verzia vášho klienta nie je kompatibilná.", + "Refresh to update.": "Znovu načítať a aktualizovať", + "New version available!": "Je dostupná nová verzia!", + "See releases notes here": "Pozrite si poznmáky k vydaniu tu", + "Refresh to enjoy new features.": "Znovu načítať a začať si uzívať nové funkcie.", + "Your user state has changed.": "Váš užívateľský stav sa zmenil.", + "Refresh to load new user state.": "Znovu načítať a nahrať užívateľský stav", + "Refresh": "Znovu načítať", + "Contacts": "Kontakty", + "Report an issue": "Nahlásiť problém", + "Meet us on %s": "Stretnite nás na %s", + "Send us email": "Pošlite nám email", + "Documents": "Dokumenty", + "Features": "Funkcie", + "YAML Metadata": "YAML metadáta", + "Slide Example": "Príklad prezentácie", + "Cheatsheet": "Ťahák", + "Example": "Príklad", + "Syntax": "Syntax", + "Header": "Hlavička", + "Unordered List": "Nečíslovaný zoznam", + "Ordered List": "Číslovaný zoznam", + "Todo List": "Kontrolný zoznam", + "Blockquote": "Citácia", + "Bold font": "Tučne", + "Italics font": "Kurzíva", + "Strikethrough": "Preškrtnuté", + "Inserted text": "Vložený text", + "Marked text": "Zvýraznený text", + "Link": "Odkaz", + "Image": "Obrázok", + "Code": "Kód", + "Externals": "Externé", + "This is a alert area.": "Toto je oblasť upozornení.", + "Revert": "Vrátiť", + "Import from clipboard": "Importovať zo schránky", + "Paste your markdown or webpage here...": "Sem vložte váš markdown alebo webovú stránku…", + "Clear": "Vyčistiť", + "This note is locked": "Táto poznámka je zamknutá", + "Sorry, only owner can edit this note.": "Prepáčte, túto poznámku môže editovať iba vlastník.", + "OK": "OK", + "Reach the limit": "Dosiahnutie limitu", + "Sorry, you've reached the max length this note can be.": "Ospravedlňujeme sa, dosiahli ste maximálnu dĺžku poznámky.", + "Please reduce the content or divide it to more notes, thank you!": "Prosím skráťte poznámku.", + "Import from Gist": "Importovať z Gist", + "Paste your gist url here...": "Sem vložte vašu gist url…", + "Import from Snippet": "Importovať zo Snippet", + "Select From Available Projects": "Zvoliť z dostupných projektov", + "Select From Available Snippets": "Zvoliť z dostupných úryvkov", + "OR": "ALEBO", + "Export to Snippet": "Exportovať do úryvku", + "Select Visibility Level": "Zvoliť úroveň viditeľnosti", + "Night Theme": "Nočná téma", + "Follow us on %s and %s.": "Sledujte nás na %s, a %s.", + "Imprint": "Odtlačok", + "Privacy": "Súkromie", + "Terms of Use": "Podmienky použitia", + "Do you really want to delete your user account?": "Naozaj chcete zmazať váš používateľský účet?", + "This will delete your account, all notes that are owned by you and remove all references to your account from other notes.": "Táto operácia odstráni váš účet, všetky poznámky, ktoré vlastníte, a tiež odstráni všetky odkazy na váš účet z iných poznámok.", + "Delete user": "Zmazať používateľa", + "Export user data": "Exportovať používateľské dáta", + "Source Code": "Zdrojový kód", + "Powered by %s": "Powered by %s", + "Register": "Registrovať", + "Help us translating": "Pomôžte nám s prekladom", + "Join the community": "Pripojiť sa ku komunite" +}
\ No newline at end of file diff --git a/locales/zh-TW.json b/locales/zh-TW.json index d60b1006..2e674f90 100644 --- a/locales/zh-TW.json +++ b/locales/zh-TW.json @@ -117,5 +117,6 @@ "Register": "註冊", "Powered by %s": "由 %s 強力驅動", "Help us translating": "幫助我們改進翻譯", - "Join the community": "加入社群" + "Join the community": "加入社群", + "Imprint": "版本說明" }
\ No newline at end of file diff --git a/package.json b/package.json index acc4de8e..ea0d9b05 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "lodash": "^4.17.11", "lutim": "^1.0.2", "lz-string": "git+https://github.com/hackmdio/lz-string.git", - "markdown-it": "^8.2.2", + "markdown-it": "^10.0.0", "markdown-it-abbr": "^1.0.4", "markdown-it-container": "^2.0.0", "markdown-it-deflist": "^2.0.1", diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index 9234da2f..6506ae7d 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -151,6 +151,8 @@ <option value="sr">Cрпски</option> <option value="vi">Tiếng Việt</option> <option value="ar">العربية</option> + <option value="cs">Česky</option> + <option value="sk">Slovensky</option> </select> <p> <%- __('Powered by %s', '<a href="https://codimd.org">CodiMD</a>') %> | <a href="<%- serverURL %>/s/release-notes" target="_blank" rel="noopener"><%= __('Releases') %></a> | <a href="<%- sourceURL %>" target="_blank" rel="noopener"><%= __('Source Code') %></a><% if(imprint) { %> | <a href="<%- serverURL %>/s/imprint" target="_blank" rel="noopener"><%= __('Imprint') %></a><% } %><% if(privacyStatement) { %> | <a href="<%- serverURL %>/s/privacy" target="_blank" rel="noopener"><%= __('Privacy') %></a><% } %><% if(termsOfUse) { %> | <a href="<%- serverURL %>/s/terms-of-use" target="_blank" rel="noopener"><%= __('Terms of Use') %></a><% } %> |