Skip to content

Commit

Permalink
Updated locales
Browse files Browse the repository at this point in the history
  • Loading branch information
andersevenrud committed Aug 22, 2017
1 parent f7e79c7 commit de12142
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/client/javascript/locales/en_EN.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ module.exports = {
// VFS -> Dropbox
'ERR_DROPBOX_API' : 'Failed to load Dropbox API',
'ERR_DROPBOX_AUTH' : 'Failed to authenticate via Dropbox',
'ERR_DROPBOX_KEY' : 'No Dropbox client key configured',
'DROPBOX_NOTIFICATION_TITLE' : 'You are signed in to Dropbox API',
'DROPBOX_SIGN_OUT' : 'Sign out from Google API Services',

Expand Down
2 changes: 1 addition & 1 deletion src/client/javascript/vfs/transports/dropbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default class DropboxTransport extends Transport {
_init() {
const clientId = getConfig('DropboxAPI.ClientKey');
if ( !clientId ) {
return Promise.reject(new Error('No Dropbox client key defined'));
return Promise.reject(new Error(_('ERR_DROPBOX_KEY')));
}

return new Promise((resolve, reject) => {
Expand Down

0 comments on commit de12142

Please sign in to comment.