mirror of https://github.com/keeweb/keeweb.git
fix message about not found files
This commit is contained in:
parent
ab07be1080
commit
df3d3a7209
|
@ -118,7 +118,8 @@ var Locale = {
|
|||
openDropHere: 'drop files here',
|
||||
openFailedRead: 'Failed to read file',
|
||||
openNothingFound: 'Nothing found',
|
||||
openNothingFoundBody: 'No files which could be opened (files are searched inside {} folder).',
|
||||
openNothingFoundBody: 'No files which could be opened.',
|
||||
openNothingFoundBodyFolder: 'Files are searched inside {} folder',
|
||||
openAppFolder: 'app',
|
||||
openRootFolder: 'root',
|
||||
openSelectFile: 'Select a file',
|
||||
|
|
|
@ -535,9 +535,13 @@ var OpenView = Backbone.View.extend({
|
|||
allStorageFiles[file.path] = file;
|
||||
});
|
||||
if (!buttons.length) {
|
||||
var body = Locale.openNothingFoundBody;
|
||||
if (dir) {
|
||||
body += ' ' + Locale.openNothingFoundBodyFolder.replace('{}', dir);
|
||||
}
|
||||
Alerts.error({
|
||||
header: Locale.openNothingFound,
|
||||
body: Locale.openNothingFoundBody.replace('{}', dir)
|
||||
body: body
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -4,7 +4,8 @@ Release notes
|
|||
##### v1.1.2 (2016-04-*)
|
||||
Hotfix
|
||||
`-` fix notes field text color
|
||||
`-` fixed some console assertions
|
||||
`-` fix some console assertions
|
||||
`-` fix message about not found files
|
||||
|
||||
##### v1.1.1 (2016-04-07)
|
||||
Hotfix
|
||||
|
|
Loading…
Reference in New Issue