]> git.wh0rd.org Git - tt-rss.git/commitdiff
digest: use new translation init stuff
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 08:47:42 +0000 (12:47 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 08:47:42 +0000 (12:47 +0400)
plugins/digest/digest_body.php

index a77d378cb5a203a201a171f182f33350bf3d121b..0dbe40b943cee6967b8277da7f106fd6492d4359 100644 (file)
        <?php
        foreach (array("lib/prototype.js",
                                "lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls",
-                               "localized_js.php",
                                "js/functions.js",
                                "plugins/digest/digest.js",
                                "errors.php?mode=js") as $jsfile) {
 
                echo javascript_tag($jsfile);
-
        } ?>
 
+       <script type="text/javascript">
+       <?php init_js_translations(); ?>
+       </script>
+
        <script type="text/javascript" src="plugins/digest/digest.js"></script>
 
        <script type="text/javascript">