Permalink
Browse files

minor eu improvements

  • Loading branch information...
1 parent 9760f34 commit d1812b76cf310f8605f236c3c61cbf5c844e4aaf @kjk committed Apr 13, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −1 www/software/sumatrapdf/free-pdf-reader-eu.html
  2. +1 −2 www/software/sumatrapdf/sumatra.js
View
2 www/software/sumatrapdf/free-pdf-reader-eu.html
@@ -40,7 +40,7 @@ <h1 style="display:inline;">Sumatra PDF <font size="-1">Windowserako PDF, MOBI,
<h2 id="download">Jeitsi</h2>
<p>
- Jeitsi <a href="download.html">hemendik</a>.
+ Jeitsi <a href="download-free-pdf-viewer-eu.html">hemendik</a>.
</p>
<h2 id="moreinfo">Argibide gehiago</h2>
View
3 www/software/sumatrapdf/sumatra.js
@@ -303,12 +303,11 @@ function forceRedirectToLang(lang) {
window.location = urlFromBaseUrlLang(baseUrl, lang);
}
-// TODO: should also redirect from non-english pages for consistency?
function autoRedirectToTranslated() {
var tmp = getBaseUrlAndLang();
var baseUrl = tmp[0];
var pageLang = tmp[1];
- // only redirect if we
+ // only redirect if we're on an english page
if (!isEng(pageLang)) {
alert("autoRedirectToTranslated() called from non-english page");
return;

0 comments on commit d1812b7

Please sign in to comment.