From b9c59c454d68e35708f64703a423930b99075cab Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Fri, 19 Aug 2016 11:49:24 +0800 Subject: Add support of i18n with related patches and support "en" and "zh" locales for now --- public/views/index.ejs | 69 +++++++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 32 deletions(-) (limited to 'public/views/index.ejs') diff --git a/public/views/index.ejs b/public/views/index.ejs index daf123b1..8c4cf101 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -8,9 +8,9 @@ - + - HackMD - Collaborative markdown notes + HackMD - <%= __('Collaborative markdown notes') %> @@ -41,9 +41,9 @@

@@ -54,17 +54,17 @@

HackMD

- Best way to write and share your knowledge in markdown. + <%= __('Best way to write and share your knowledge in markdown.') %>

<% if(facebook || twitter || github || gitlab || dropbox || google) { %>
- +
- or + <%= __('or') %> <% }%> - New guest note + <%= __('New guest note') %>

@@ -72,19 +72,19 @@
-

Collaborate with URL

+

<%= __('Collaborate with URL') %>

-

Support charts and MathJax

+

<%= __('Support charts and MathJax') %>

-

Support slide mode

+

<%= __('Support slide mode') %>

@@ -94,45 +94,45 @@
style="display:none;"<% } %>> <% if(facebook || twitter || github || gitlab || dropbox || google) { %>
-

Below is the history from browser

+

<%= __('Below is the history from browser') %>

<% }%>

- Explore all features + <%= __('Explore all features') %>


- +
- +
- - Title + + <%= __('Title') %> - - Time + + <%= __('Time') %>
@@ -143,8 +143,12 @@

- © 2016 HackMD | Releases + © 2016 HackMD | <%= __('Releases') %>

+ @@ -157,15 +161,15 @@ @@ -198,6 +202,7 @@ + -- cgit v1.2.3