From 59fbd276a194e5b72f8a7f2faa939119dbea2151 Mon Sep 17 00:00:00 2001 From: Niggl Date: Sat, 29 Aug 2020 17:16:31 +0200 Subject: [PATCH] Added icons for outlook and gmail --- src/js/mailymaily.js | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/src/js/mailymaily.js b/src/js/mailymaily.js index 85c335f..9359b51 100644 --- a/src/js/mailymaily.js +++ b/src/js/mailymaily.js @@ -39,6 +39,18 @@ var mailymailyApp = mailymailyApp || {}; */ var worldSvg = ` `; + /** + * The svg icon for outlook web. + * @type {String} + */ + var outlookSvg = ``; + + /** + * The svg icon for gmail. + * @type {String} + */ + var gmailSvg = ``; + /** * The default svg icon for default email app button. * @type {String} @@ -79,43 +91,43 @@ var mailymailyApp = mailymailyApp || {}; * The modal title. * @type {String} */ - options.title = 'Compose new email with'; + options.title = 'Neue E-Mail schreiben mit'; /** * Text for button 1. * @type {String} */ - options.buttonText1 = 'Gmail in browser'; + options.buttonText1 = 'Gmail'; /** * Text for button 2. * @type {String} */ - options.buttonText2 = 'Outlook in browser'; + options.buttonText2 = 'Outlook Web'; /** * Text for button 3. * @type {String} */ - options.buttonText3 = 'Yahoo in browser'; + options.buttonText3 = 'Yahoo'; /** * Text for button 4. * @type {String} */ - options.buttonText4 = 'Default email app'; + options.buttonText4 = 'Standardanwendung'; /** * URL of svg file used as icon for button 1. * @type {String} */ - options.buttonIcon1 = worldSvg; + options.buttonIcon1 = gmailSvg; /** * URL of svg file used as icon for button 2. * @type {String} */ - options.buttonIcon2 = worldSvg; + options.buttonIcon2 = outlookSvg; /** * URL of svg file used as icon for button 3. @@ -139,13 +151,13 @@ var mailymailyApp = mailymailyApp || {}; * Text for Copy button. * @type {String} */ - options.buttonTextCopy = 'Copy'; + options.buttonTextCopy = 'Kopieren'; /** * Text for Copy button when clicked. * @type {String} */ - options.buttonTextCopyAction = 'Copied!'; + options.buttonTextCopyAction = 'Kopiert!'; /** * Keep track of the page's scroll position.