From 494a0d5f065f4c5ffdc8795f51cb747426df72b3 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Fri, 23 Nov 2018 17:10:31 +0100 Subject: Add some missing translations There are some places in our code that made it to be not translated. This patch fixes some small translation problems and adds some static strings in templates to translation. Signed-off-by: Sheogorath --- public/views/index/body.ejs | 2 +- public/views/shared/signin-modal.ejs | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'public/views') diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index a5e591ef..3cab8bf3 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -150,7 +150,7 @@

- Powered by CodiMD | <%= __('Releases') %>| <%= __('Source Code') %><% if(privacyStatement) { %> | <%= __('Privacy') %><% } %><% if(termsOfUse) { %> | <%= __('Terms of Use') %><% } %> + <%= __('Powered by') %> CodiMD | <%= __('Releases') %>| <%= __('Source Code') %><% if(privacyStatement) { %> | <%= __('Privacy') %><% } %><% if(termsOfUse) { %> | <%= __('Terms of Use') %><% } %>

<%- __('Follow us on %s and %s.', ' GitHub, Riot', ' POEditor') %> diff --git a/public/views/shared/signin-modal.ejs b/public/views/shared/signin-modal.ejs index d46b8d54..40f01b57 100644 --- a/public/views/shared/signin-modal.ejs +++ b/public/views/shared/signin-modal.ejs @@ -57,7 +57,7 @@
<% }%> <% if (authProviders.ldap) { %> -

Via <% if (authProviders.ldapProviderName) { %> <%= authProviders.ldapProviderName %> (LDAP) <% } else { %> LDAP <% } %>

+

<%= __('Sign in via %s', authProviders.ldapProviderName ? authProviders.ldapProviderName + ' (LDAP)' : 'LDAP') %>

@@ -73,7 +73,7 @@
- +
@@ -82,7 +82,7 @@
<% }%> <% if (authProviders.openID) { %> -

OpenID

+

<%= __('Sign in via %s', 'OpenID') %>

@@ -92,7 +92,7 @@
- +
@@ -101,11 +101,11 @@
<% }%> <% if (authProviders.email) { %> -

Via Email

+

<%= __('Sign in via %s', 'E-Mail') %>

- +
@@ -117,8 +117,8 @@
- - <% if (authProviders.allowEmailRegister) { %><% }%> + + <% if (authProviders.allowEmailRegister) { %><% }%>
-- cgit v1.2.3