我的问题很简单。我已下载了一个脚本,一个在线漫画阅读器,我已将其大部分翻译成我的语言(西班牙语)。现在这部分是我需要翻译的部分:
我想要翻译“Page:”这个词,但是我找不到它,因为我是一个新手,当涉及到编码时,我希望有人能够从中得到这个,这里是代码:
<!-- 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 -->