From a4df5b8e69e7ed0a79554edd257283b8cb2ea7ba Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 8 Apr 2019 15:32:31 +0200 Subject: [PATCH] Update translation keys in the contact page --- customize.dist/pages.js | 2 +- customize.dist/pages/contact.js | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index f6a3199c0..17665c31c 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -81,7 +81,7 @@ define([ footLink('https://cryptpad.fr/what-is-cryptpad.html', 'topbar_whatIsCryptpad'), footLink('/faq.html', 'faq_link'), footLink('https://github.com/xwiki-labs/cryptpad', null, 'GitHub'), - footLink('https://opencollective.com/cryptpad/contribute/', null, 'Donate'), + footLink('https://opencollective.com/cryptpad/contribute/', 'footer_donate'), ]), footerCol('footer_aboutUs', [ /*footLink('https://blog.cryptpad.fr', 'blog'), diff --git a/customize.dist/pages/contact.js b/customize.dist/pages/contact.js index 113b5054b..aea511fb4 100644 --- a/customize.dist/pages/contact.js +++ b/customize.dist/pages/contact.js @@ -15,7 +15,8 @@ define([ h('div.container.cp-container', [ Config.adminEmail !== 'i.did.not.read.my.config@cryptpad.fr' ? h('div.row.cp-iconCont.align-items-center', [ h('div.col-12', - Pages.setHTML(h('h4.text-center'), Msg.contact_admin) + Pages.setHTML(h('h4.text-center'), Msg.contact_admin), + h('p', Msg.contact_adminHint) ), h('div.col-12.col-sm-6.col-md-3.col-lg-3', h('a.card', {href : "mailto:"+Config.adminEmail}, @@ -30,14 +31,15 @@ define([ ]) : undefined, h('div.row.cp-iconCont.align-items-center', [ h('div.col-12', - Pages.setHTML(h('h4.text-center'), Msg.contact_dev) + Pages.setHTML(h('h4.text-center'), Msg.contact_dev), + h('p', Msg.contact_devHint) ), h('div.col-12.col-sm-6.col-md-3.col-lg-3', h('a.card', {href : "https://twitter.com/cryptpad"}, h('div.card-body', h('p', [ h('img', {src: '/customize/images/twitter.svg'}), - Msg.contact_devTwitter || 'Twitter' + 'Twitter' ]) ) ) @@ -47,7 +49,7 @@ define([ h('div.card-body', h('p', [ h('img', {src: '/customize/images/mastodon.svg'}), - Msg.contact_devMastodon || 'Mastodon' + 'Mastodon' ]) ) ) @@ -57,7 +59,7 @@ define([ h('div.card-body', h('p', [ h('img', {src: '/customize/images/issue.svg'}), - Msg.contact_devBug || 'Bug report' + Msg.contact_bug || 'Bug report' ]) ) ) @@ -67,7 +69,7 @@ define([ h('div.card-body', h('p', [ h('img', {src: '/customize/images/sayhi.svg'}), - Msg.contact_devChat || 'Chat' + Msg.contact_chat || 'Chat' ]) ) )