Browse Source

Minor fixes

pull/2574/head 0.7.1
Vulich Fernando 6 years ago
parent
commit
748b1857d8
  1. 2
      README.md
  2. 1
      app/ux/WebView.js
  3. 8
      app/view/main/Main.js
  4. 2
      electron/menu.js

2
README.md

@ -199,7 +199,7 @@ You are always welcome to check the code! ;)
| Type | URL/Wallet | | 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) | | Cryptocurrencies | [HERE](https://www.vaulty.io/v/b6480279-af28-4855-868c-17e5cb0ae7fa) |
## Translations ## Translations

1
app/ux/WebView.js

@ -520,6 +520,7 @@ Ext.define('Rambox.ux.WebView',{
if ( require('electron').remote.process.platform === 'darwin' ) { if ( require('electron').remote.process.platform === 'darwin' ) {
var keys = []; var keys = [];
keys['ƒ'] = 'f'; // Search keys['ƒ'] = 'f'; // Search
keys[' '] = 'l'; // Lock
input.key = keys[input.key] ? keys[input.key] : input.key; input.key = keys[input.key] ? keys[input.key] : input.key;
} }

8
app/view/main/Main.js

@ -33,7 +33,7 @@ Ext.define('Rambox.view.main.Main', {
,html: '<span class="fa fa-heart" style="color:red;font-size:16px;cursor:pointer;padding:0 5px;"></span>' ,html: '<span class="fa fa-heart" style="color:red;font-size:16px;cursor:pointer;padding:0 5px;"></span>'
,baseCls: '' ,baseCls: ''
,tooltip: locale['app.main[25]'] ,tooltip: locale['app.main[25]']
,href: 'https://rambox.pro/#donate' ,href: 'https://rambox.app/donate.html'
}] }]
} }
,items: [ ,items: [
@ -243,7 +243,7 @@ Ext.define('Rambox.view.main.Main', {
{ {
glyph: JSON.parse(localStorage.getItem('dontDisturb')) ? 'xf1f7@FontAwesome' : 'xf0f3@FontAwesome' 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]']) ,text: locale['app.main[16]']+': '+(JSON.parse(localStorage.getItem('dontDisturb')) ? locale['app.window[20]'] : locale['app.window[21]'])
,tooltip: locale['app.main[17]']+'<br/><b>'+locale['app.main[18]']+(require('electron').remote.process.platform === 'darwin' ? 'Cmd + D</b>' : ': Alt + Shift + D</b>') ,tooltip: locale['app.main[17]']+'<br/><b>'+locale['app.main[18]']+(require('electron').remote.process.platform === 'darwin' ? ': Cmd + D</b>' : ': Alt + Shift + D</b>')
,enableToggle: true ,enableToggle: true
,handler: 'dontDisturb' ,handler: 'dontDisturb'
,reference: 'disturbBtn' ,reference: 'disturbBtn'
@ -253,7 +253,7 @@ Ext.define('Rambox.view.main.Main', {
,{ ,{
glyph: 'xf023@FontAwesome' glyph: 'xf023@FontAwesome'
,text: locale['app.main[19]'] ,text: locale['app.main[19]']
,tooltip: locale['app.main[20]']+'<br/><b>'+locale['app.main[18]']+(require('electron').remote.process.platform === 'darwin' ? 'Cmd + Alt + L</b>' : ': Alt + Shift + L</b>') ,tooltip: locale['app.main[20]']+'<br/><b>'+locale['app.main[18]']+(require('electron').remote.process.platform === 'darwin' ? ': Cmd + Alt + L</b>' : ': Alt + Shift + L</b>')
,handler: 'lockRambox' ,handler: 'lockRambox'
,id: 'lockRamboxBtn' ,id: 'lockRamboxBtn'
},'-' },'-'
@ -348,7 +348,7 @@ Ext.define('Rambox.view.main.Main', {
,{ ,{
text: locale['app.main[25]'] text: locale['app.main[25]']
,glyph: 'xf21e@FontAwesome' ,glyph: 'xf21e@FontAwesome'
,href: 'https://rambox.pro/#donate' ,href: 'https://rambox.app/donate.html'
} }
,{ ,{
text: 'Translation' text: 'Translation'

2
electron/menu.js

@ -103,7 +103,7 @@ module.exports = function(config) {
{ {
label: `&`+locale['menu.help[3]'], label: `&`+locale['menu.help[3]'],
click() { click() {
shell.openExternal('https://rambox.pro/#donate'); shell.openExternal('https://rambox.app/donate.html');
} }
} }
]; ];

Loading…
Cancel
Save