From 748b1857d8bcf6bd5a24291e66fdc53128d6bf92 Mon Sep 17 00:00:00 2001 From: Vulich Fernando <46904390+fvulich@users.noreply.github.com> Date: Wed, 20 Nov 2019 20:15:54 -0300 Subject: [PATCH] Minor fixes --- README.md | 2 +- app/ux/WebView.js | 1 + app/view/main/Main.js | 8 ++++---- electron/menu.js | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a0301ae23..d4bc2897e 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ You are always welcome to check the code! ;) | Type | URL/Wallet | | ---------------- | :----------------------------------------------------------------------------------------: | -| Credit Cards | [HERE](https://rambox.pro/#donate) | +| Credit Cards | [HERE](https://rambox.app/donate.html) | | Cryptocurrencies | [HERE](https://www.vaulty.io/v/b6480279-af28-4855-868c-17e5cb0ae7fa) | ## Translations diff --git a/app/ux/WebView.js b/app/ux/WebView.js index 42a18e755..c90d2b453 100644 --- a/app/ux/WebView.js +++ b/app/ux/WebView.js @@ -520,6 +520,7 @@ Ext.define('Rambox.ux.WebView',{ if ( require('electron').remote.process.platform === 'darwin' ) { var keys = []; keys['ƒ'] = 'f'; // Search + keys[' '] = 'l'; // Lock input.key = keys[input.key] ? keys[input.key] : input.key; } diff --git a/app/view/main/Main.js b/app/view/main/Main.js index 656dea601..dfea5c1fe 100644 --- a/app/view/main/Main.js +++ b/app/view/main/Main.js @@ -33,7 +33,7 @@ Ext.define('Rambox.view.main.Main', { ,html: '' ,baseCls: '' ,tooltip: locale['app.main[25]'] - ,href: 'https://rambox.pro/#donate' + ,href: 'https://rambox.app/donate.html' }] } ,items: [ @@ -243,7 +243,7 @@ Ext.define('Rambox.view.main.Main', { { glyph: JSON.parse(localStorage.getItem('dontDisturb')) ? 'xf1f7@FontAwesome' : 'xf0f3@FontAwesome' ,text: locale['app.main[16]']+': '+(JSON.parse(localStorage.getItem('dontDisturb')) ? locale['app.window[20]'] : locale['app.window[21]']) - ,tooltip: locale['app.main[17]']+'
'+locale['app.main[18]']+(require('electron').remote.process.platform === 'darwin' ? 'Cmd + D' : ': Alt + Shift + D') + ,tooltip: locale['app.main[17]']+'
'+locale['app.main[18]']+(require('electron').remote.process.platform === 'darwin' ? ': Cmd + D' : ': Alt + Shift + D') ,enableToggle: true ,handler: 'dontDisturb' ,reference: 'disturbBtn' @@ -253,7 +253,7 @@ Ext.define('Rambox.view.main.Main', { ,{ glyph: 'xf023@FontAwesome' ,text: locale['app.main[19]'] - ,tooltip: locale['app.main[20]']+'
'+locale['app.main[18]']+(require('electron').remote.process.platform === 'darwin' ? 'Cmd + Alt + L' : ': Alt + Shift + L') + ,tooltip: locale['app.main[20]']+'
'+locale['app.main[18]']+(require('electron').remote.process.platform === 'darwin' ? ': Cmd + Alt + L' : ': Alt + Shift + L') ,handler: 'lockRambox' ,id: 'lockRamboxBtn' },'-' @@ -348,7 +348,7 @@ Ext.define('Rambox.view.main.Main', { ,{ text: locale['app.main[25]'] ,glyph: 'xf21e@FontAwesome' - ,href: 'https://rambox.pro/#donate' + ,href: 'https://rambox.app/donate.html' } ,{ text: 'Translation' diff --git a/electron/menu.js b/electron/menu.js index f249d0e8c..4a5729a4a 100644 --- a/electron/menu.js +++ b/electron/menu.js @@ -103,7 +103,7 @@ module.exports = function(config) { { label: `&`+locale['menu.help[3]'], click() { - shell.openExternal('https://rambox.pro/#donate'); + shell.openExternal('https://rambox.app/donate.html'); } } ];