edit phrasing of some alert()s

This commit is contained in:
Andrew Dolgov 2018-12-02 16:30:32 +03:00
parent 3a6dae9203
commit 35ded4bc84
8 changed files with 27 additions and 27 deletions

View File

@ -161,7 +161,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
}
} else {
alert(__("No feeds are selected."));
alert(__("No feeds selected."));
}
return false;
@ -202,7 +202,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
});
}
} else {
alert(__("No categories are selected."));
alert(__("No categories selected."));
}
return false;
@ -223,7 +223,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
const rows = this.getSelectedFeeds();
if (rows.length == 0) {
alert(__("No feeds are selected."));
alert(__("No feeds selected."));
return;
}
@ -239,7 +239,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
const rows = this.getSelectedFeeds();
if (rows.length == 0) {
alert(__("No feeds are selected."));
alert(__("No feeds selected."));
return;
}
@ -391,7 +391,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
}
} else {
alert(__("No feeds are selected."));
alert(__("No feeds selected."));
}
},
execute: function () {

View File

@ -107,7 +107,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
const rows = getSelectedFilters();
if (rows.length == 0) {
alert(__("No filters are selected."));
alert(__("No filters selected."));
return;
}
@ -123,7 +123,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
const rows = this.getSelectedFilters();
if (rows.length == 0) {
alert(__("No filters are selected."));
alert(__("No filters selected."));
return;
}
@ -250,7 +250,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
});
}
} else {
alert(__("No filters are selected."));
alert(__("No filters selected."));
}
return false;

View File

@ -134,7 +134,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/f
}
} else {
alert(__("No labels are selected."));
alert(__("No labels selected."));
}
},
removeSelected: function() {
@ -154,7 +154,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/f
});
}
} else {
alert(__("No labels are selected."));
alert(__("No labels selected."));
}
return false;

View File

@ -589,7 +589,7 @@ const CommonDialogs = {
}
} else {
alert(__("No feeds are selected."));
alert(__("No feeds selected."));
}
},
execute: function () {
@ -670,7 +670,7 @@ const CommonDialogs = {
});
} else {
alert(__("No feeds are selected."));
alert(__("No feeds selected."));
}
},

View File

@ -194,7 +194,7 @@ const Prefs = {
}
} else {
alert(__("No profiles are selected."));
alert(__("No profiles selected."));
}
},
activateProfile: function () {
@ -337,7 +337,7 @@ const Users = {
const rows = this.getSelection();
if (rows.length == 0) {
alert(__("No users are selected."));
alert(__("No users selected."));
return;
}
@ -376,14 +376,14 @@ const Users = {
}
} else {
alert(__("No users are selected."));
alert(__("No users selected."));
}
},
editSelected: function() {
const rows = this.getSelection();
if (rows.length == 0) {
alert(__("No users are selected."));
alert(__("No users selected."));
return;
}

View File

@ -60,7 +60,7 @@ const Article = {
}
} else {
alert(__("No articles are selected."));
alert(__("No articles selected."));
}
},
setScore: function(id, pic) {
@ -765,7 +765,7 @@ const Headlines = {
if (ids.length == 0) {
if (!no_error)
alert(__("No articles are selected."));
alert(__("No articles selected."));
return;
}
@ -803,7 +803,7 @@ const Headlines = {
const rows = ids || Headlines.getSelected();
if (rows.length == 0) {
alert(__("No articles are selected."));
alert(__("No articles selected."));
return;
}
@ -824,7 +824,7 @@ const Headlines = {
const rows = ids || Headlines.getSelected();
if (rows.length == 0) {
alert(__("No articles are selected."));
alert(__("No articles selected."));
return;
}
@ -1019,7 +1019,7 @@ const Headlines = {
if (!ids) ids = Headlines.getSelected();
if (ids.length == 0) {
alert(__("No articles are selected."));
alert(__("No articles selected."));
return;
}
@ -1037,7 +1037,7 @@ const Headlines = {
if (!ids) ids = Headlines.getSelected();
if (ids.length == 0) {
alert(__("No articles are selected."));
alert(__("No articles selected."));
return;
}
@ -1055,7 +1055,7 @@ const Headlines = {
const rows = Headlines.getSelected();
if (rows.length == 0) {
alert(__("No articles are selected."));
alert(__("No articles selected."));
return;
}
@ -1175,7 +1175,7 @@ const Headlines = {
const rows = Headlines.getSelected();
if (rows.length == 0) {
alert(__("No articles are selected."));
alert(__("No articles selected."));
return;
}
@ -1215,7 +1215,7 @@ const Headlines = {
const rows = Headlines.getSelected();
if (rows.length == 0) {
alert(__("No articles are selected."));
alert(__("No articles selected."));
return;
}

View File

@ -4,7 +4,7 @@ function emailArticle(id) {
var ids = Headlines.getSelected();
if (ids.length == 0) {
alert(__("No articles are selected."));
alert(__("No articles selected."));
return;
}

View File

@ -4,7 +4,7 @@ function mailtoArticle(id) {
const ids = Headlines.getSelected();
if (ids.length == 0) {
alert(__("No articles are selected."));
alert(__("No articles selected."));
return;
}