mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:35:55 +00:00
edit phrasing of some alert()s
This commit is contained in:
@@ -161,7 +161,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
alert(__("No feeds are selected."));
|
alert(__("No feeds selected."));
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
@@ -202,7 +202,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
alert(__("No categories are selected."));
|
alert(__("No categories selected."));
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
@@ -223,7 +223,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
|
|||||||
const rows = this.getSelectedFeeds();
|
const rows = this.getSelectedFeeds();
|
||||||
|
|
||||||
if (rows.length == 0) {
|
if (rows.length == 0) {
|
||||||
alert(__("No feeds are selected."));
|
alert(__("No feeds selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -239,7 +239,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
|
|||||||
const rows = this.getSelectedFeeds();
|
const rows = this.getSelectedFeeds();
|
||||||
|
|
||||||
if (rows.length == 0) {
|
if (rows.length == 0) {
|
||||||
alert(__("No feeds are selected."));
|
alert(__("No feeds selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -391,7 +391,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
alert(__("No feeds are selected."));
|
alert(__("No feeds selected."));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
execute: function () {
|
execute: function () {
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
|
|||||||
const rows = getSelectedFilters();
|
const rows = getSelectedFilters();
|
||||||
|
|
||||||
if (rows.length == 0) {
|
if (rows.length == 0) {
|
||||||
alert(__("No filters are selected."));
|
alert(__("No filters selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -123,7 +123,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
|
|||||||
const rows = this.getSelectedFilters();
|
const rows = this.getSelectedFilters();
|
||||||
|
|
||||||
if (rows.length == 0) {
|
if (rows.length == 0) {
|
||||||
alert(__("No filters are selected."));
|
alert(__("No filters selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -250,7 +250,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
alert(__("No filters are selected."));
|
alert(__("No filters selected."));
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/f
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
alert(__("No labels are selected."));
|
alert(__("No labels selected."));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
removeSelected: function() {
|
removeSelected: function() {
|
||||||
@@ -154,7 +154,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/f
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
alert(__("No labels are selected."));
|
alert(__("No labels selected."));
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -589,7 +589,7 @@ const CommonDialogs = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
alert(__("No feeds are selected."));
|
alert(__("No feeds selected."));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
execute: function () {
|
execute: function () {
|
||||||
@@ -670,7 +670,7 @@ const CommonDialogs = {
|
|||||||
});
|
});
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
alert(__("No feeds are selected."));
|
alert(__("No feeds selected."));
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ const Prefs = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
alert(__("No profiles are selected."));
|
alert(__("No profiles selected."));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
activateProfile: function () {
|
activateProfile: function () {
|
||||||
@@ -337,7 +337,7 @@ const Users = {
|
|||||||
const rows = this.getSelection();
|
const rows = this.getSelection();
|
||||||
|
|
||||||
if (rows.length == 0) {
|
if (rows.length == 0) {
|
||||||
alert(__("No users are selected."));
|
alert(__("No users selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -376,14 +376,14 @@ const Users = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
alert(__("No users are selected."));
|
alert(__("No users selected."));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
editSelected: function() {
|
editSelected: function() {
|
||||||
const rows = this.getSelection();
|
const rows = this.getSelection();
|
||||||
|
|
||||||
if (rows.length == 0) {
|
if (rows.length == 0) {
|
||||||
alert(__("No users are selected."));
|
alert(__("No users selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ const Article = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
alert(__("No articles are selected."));
|
alert(__("No articles selected."));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setScore: function(id, pic) {
|
setScore: function(id, pic) {
|
||||||
@@ -765,7 +765,7 @@ const Headlines = {
|
|||||||
|
|
||||||
if (ids.length == 0) {
|
if (ids.length == 0) {
|
||||||
if (!no_error)
|
if (!no_error)
|
||||||
alert(__("No articles are selected."));
|
alert(__("No articles selected."));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -803,7 +803,7 @@ const Headlines = {
|
|||||||
const rows = ids || Headlines.getSelected();
|
const rows = ids || Headlines.getSelected();
|
||||||
|
|
||||||
if (rows.length == 0) {
|
if (rows.length == 0) {
|
||||||
alert(__("No articles are selected."));
|
alert(__("No articles selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -824,7 +824,7 @@ const Headlines = {
|
|||||||
const rows = ids || Headlines.getSelected();
|
const rows = ids || Headlines.getSelected();
|
||||||
|
|
||||||
if (rows.length == 0) {
|
if (rows.length == 0) {
|
||||||
alert(__("No articles are selected."));
|
alert(__("No articles selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1019,7 +1019,7 @@ const Headlines = {
|
|||||||
if (!ids) ids = Headlines.getSelected();
|
if (!ids) ids = Headlines.getSelected();
|
||||||
|
|
||||||
if (ids.length == 0) {
|
if (ids.length == 0) {
|
||||||
alert(__("No articles are selected."));
|
alert(__("No articles selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1037,7 +1037,7 @@ const Headlines = {
|
|||||||
if (!ids) ids = Headlines.getSelected();
|
if (!ids) ids = Headlines.getSelected();
|
||||||
|
|
||||||
if (ids.length == 0) {
|
if (ids.length == 0) {
|
||||||
alert(__("No articles are selected."));
|
alert(__("No articles selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1055,7 +1055,7 @@ const Headlines = {
|
|||||||
const rows = Headlines.getSelected();
|
const rows = Headlines.getSelected();
|
||||||
|
|
||||||
if (rows.length == 0) {
|
if (rows.length == 0) {
|
||||||
alert(__("No articles are selected."));
|
alert(__("No articles selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1175,7 +1175,7 @@ const Headlines = {
|
|||||||
const rows = Headlines.getSelected();
|
const rows = Headlines.getSelected();
|
||||||
|
|
||||||
if (rows.length == 0) {
|
if (rows.length == 0) {
|
||||||
alert(__("No articles are selected."));
|
alert(__("No articles selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1215,7 +1215,7 @@ const Headlines = {
|
|||||||
const rows = Headlines.getSelected();
|
const rows = Headlines.getSelected();
|
||||||
|
|
||||||
if (rows.length == 0) {
|
if (rows.length == 0) {
|
||||||
alert(__("No articles are selected."));
|
alert(__("No articles selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ function emailArticle(id) {
|
|||||||
var ids = Headlines.getSelected();
|
var ids = Headlines.getSelected();
|
||||||
|
|
||||||
if (ids.length == 0) {
|
if (ids.length == 0) {
|
||||||
alert(__("No articles are selected."));
|
alert(__("No articles selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ function mailtoArticle(id) {
|
|||||||
const ids = Headlines.getSelected();
|
const ids = Headlines.getSelected();
|
||||||
|
|
||||||
if (ids.length == 0) {
|
if (ids.length == 0) {
|
||||||
alert(__("No articles are selected."));
|
alert(__("No articles selected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user