Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

minor eu improvements

  • Loading branch information...
commit d1812b76cf310f8605f236c3c61cbf5c844e4aaf 1 parent 9760f34
Krzysztof Kowalczyk authored
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,
40 40
41 41 <h2 id="download">Jeitsi</h2>
42 42 <p>
43   - Jeitsi <a href="download.html">hemendik</a>.
  43 + Jeitsi <a href="download-free-pdf-viewer-eu.html">hemendik</a>.
44 44 </p>
45 45
46 46 <h2 id="moreinfo">Argibide gehiago</h2>
3  www/software/sumatrapdf/sumatra.js
@@ -303,12 +303,11 @@ function forceRedirectToLang(lang) {
303 303 window.location = urlFromBaseUrlLang(baseUrl, lang);
304 304 }
305 305
306   -// TODO: should also redirect from non-english pages for consistency?
307 306 function autoRedirectToTranslated() {
308 307 var tmp = getBaseUrlAndLang();
309 308 var baseUrl = tmp[0];
310 309 var pageLang = tmp[1];
311   - // only redirect if we
  310 + // only redirect if we're on an english page
312 311 if (!isEng(pageLang)) {
313 312 alert("autoRedirectToTranslated() called from non-english page");
314 313 return;

0 comments on commit d1812b7

Please sign in to comment.
Something went wrong with that request. Please try again.