diff options
author | Andrew Dolgov <[email protected]> | 2007-08-10 17:16:43 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-10 17:16:43 +0100 |
commit | 89cb787edd1c9d3c2fa2616c98986b130fcaf930 (patch) | |
tree | bcae5e74fdbb138fe8546f4173dd06b269ebccab /tt-rss.js | |
parent | 2fbffcd9841c0275e22c4cfd5c0cc8ef258147c9 (diff) |
more translation work
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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; } |