From 89cb787edd1c9d3c2fa2616c98986b130fcaf930 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 10 Aug 2007 17:16:43 +0100 Subject: more translation work --- tt-rss.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'tt-rss.js') 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; } -- cgit v1.2.3