doudun8705 2015-01-07 03:06
浏览 9

简单的线条翻译

My question is rather simple. I have downloaded a script, an online manga reader, and I have translated most of it to my language (Spanish). Now this part is the one that I need to translate:

enter image description here

I want to translate the word "Page:" but I can't really find it, and since im a newbie when it comes to coding, I was hoping someone would be able to make sence out of this, here's the code:

<!-- PAGE BY PAGE -->
<div class="chapter-content"><div class="custom-container-readchapter">
    <?
        $img = explode("http://", $thisChapter['content']);
        $imgs = count($img);
        $img_type = '1';
        $img_display = 'http://';
        if($imgs == '1'){ 
            $img = explode("app/manga/uploads", $thisChapter['content']);
            $imgs = count($img);
            $img_type = '2';
            $img_display = 'app/manga/uploads';
            if($imgs == '1'){
                $img = explode("app/manga/uploads", $thisChapter['content']);
                $imgs = count($img);
                $img_type = '3';
                $img_display = 'https://';
            }
        }   
        page_select($page,$img,$thisChapter);
        $next_page = $page+1;
        $prev_page = $page-1;
        if($next_page > $imgs){
            // Comment box :)
            include 'chapter.comment.php';
        }else{
            echo "<a href='$lang[read_slug]-$slug-$lang[chapter_slug]-$thisChapter[chapter]-$lang[page_slug]-$next_page.html'><img src='".$img_display.$img[$page]."' class='chapter-img'></a>";
            echo "<img src='".$img_display.$img[$page+1]."' style='display:none'>";
        }
        echo '<br /><br />';
        page_select($page,$img,$thisChapter);
    ?>
</div></div>
<!-- KEYBOARD NAVIGATION -->
<script>
$(document.documentElement).keyup(function (event) {
  // handle cursor keys
  if (event.keyCode == 37) {  
    window.location.href = '<?php echo "$lang[read_slug]-$slug-$lang[chapter_slug]-$thisChapter[chapter]-$lang[page_slug]-$prev_page.html"; ?>';
  } else if (event.keyCode == 39) {
    window.location.href = '<?php echo "$lang[read_slug]-$slug-$lang[chapter_slug]-$thisChapter[chapter]-$lang[page_slug]-$next_page.html"; ?>';
  }
}); 
</script>
<!-- END PAGE BY PAGE -->
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 下图接收小电路,谁知道原理
    • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
    • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
    • ¥15 手机接入宽带网线,如何释放宽带全部速度
    • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
    • ¥15 ETLCloud 处理json多层级问题
    • ¥15 matlab中使用gurobi时报错
    • ¥15 这个主板怎么能扩出一两个sata口
    • ¥15 不是,这到底错哪儿了😭
    • ¥15 2020长安杯与连接网探