lint: yep
This commit is contained in:
parent
51f74c1a6c
commit
be1b45c4e3
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ location.search.replace(/[?&]+([^=&]+)=([^&]*)/gi, (s,k,v)=>{
|
|||
|
||||
window.ELECTRON_FULLSCREEN = window.ELECTRON_FULLSCREEN || false
|
||||
|
||||
window.LANG = (ARGV.lang || (()=>{ try { return navigator.language } catch (e) {} })() || 'en').toLowerCase()
|
||||
window.LANG = (ARGV.lang || (()=>{ try { return navigator.language } catch (e) {} })() || 'en').toLowerCase()
|
||||
|
||||
window.PACKAGE = require('../../../../app/package.json')
|
||||
document.title = PACKAGE.productName + ' v' + PACKAGE.version
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ var locales = {
|
|||
|
||||
var lang = locales[LANG] ? LANG : 'en'
|
||||
|
||||
module.exports = key => locales[lang][key] || `<em class="translation-missing">${key}</em>`
|
||||
module.exports = key=>locales[lang][key] || `<em class="translation-missing">${key}</em>`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue