Created
January 29, 2020 07:39
-
-
Save msjavan/4336cad64d7dba39da955a412e48d75d to your computer and use it in GitHub Desktop.
It seems that locale function not working in this location:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const state = (bus, core, proc, win) => ({ | |
path: '', | |
status: '', | |
history: [], | |
historyIndex: -1, | |
minimalistic: false, | |
mountview: listView.state({ | |
class: 'osjs-gui-fill', | |
columns: ['Name'], | |
hideColumns: true, | |
rows: getMountpoints(core) | |
}), | |
fileview: listView.state({ | |
columns: [{ | |
label: _('LBL_FILE'), <=== NOT WORKING | |
style: { | |
minWidth: '20em' | |
} | |
}, { | |
label: 'Type', | |
style: { | |
maxWidth: '150px' | |
} | |
}, { | |
label: 'Size', | |
style: { | |
flex: '0 0 7em', | |
textAlign: 'right' | |
} | |
}] | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exception when launching FileManager2 ReferenceError: "_ is not defined"
state index.js:165
createApplication index.js:314
js index.js:598
renderCallback windows.js:133
render window.js:504
js index.js:598
create packages.js:282
_launch packages.js:318