summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-10 17:16:43 +0100
committerAndrew Dolgov <[email protected]>2007-08-10 17:16:43 +0100
commit89cb787edd1c9d3c2fa2616c98986b130fcaf930 (patch)
treebcae5e74fdbb138fe8546f4173dd06b269ebccab /tt-rss.js
parent2fbffcd9841c0275e22c4cfd5c0cc8ef258147c9 (diff)
more translation work
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js14
1 files changed, 8 insertions, 6 deletions
diff --git a/tt-rss.js b/tt-rss.js
index cf68a0f50..e7a21a73d 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -491,18 +491,20 @@ function quickMenuGo(opid) {
var actid = getActiveFeedId();
if (activeFeedIsCat()) {
- alert("You can't unsubscribe from the category.");
+ alert(__("You can't unsubscribe from the category."));
return;
}
if (!actid) {
- alert("Please select some feed first.");
+ alert(__("Please select some feed first."));
return;
}
var fn = getFeedName(actid);
-
- if (confirm("Unsubscribe from " + fn + "?")) {
+
+ var pr = __("Unsubscribe from %s?").replace("%s", fn);
+
+ if (confirm(pr)) {
qfdDelete(actid);
}
@@ -667,12 +669,12 @@ function editFeedDlg(feed) {
disableHotkeys();
if (!feed) {
- alert("Please select some feed first.");
+ alert(__("Please select some feed first."));
return;
}
if (feed <= 0 || activeFeedIsCat() || tagsAreDisplayed()) {
- alert("You can't edit this kind of feed.");
+ alert(__("You can't edit this kind of feed."));
return;
}