lint: yep

This commit is contained in:
jean-emmanuel 2018-08-27 15:12:05 +02:00
parent 51f74c1a6c
commit be1b45c4e3
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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>`