localize some string. re #25

This commit is contained in:
Sébastien Lucas 2013-06-04 21:08:11 +02:00
parent 28314fe83d
commit e44d242af3
3 changed files with 10 additions and 4 deletions

View file

@ -23,7 +23,7 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Customize COPS UI</title> <title><?php echo localize ("customize.title") ?></title>
<script type="text/javascript" src="<?php echo getUrlWithVersion("js/jquery-1.9.1.min.js") ?>"></script> <script type="text/javascript" src="<?php echo getUrlWithVersion("js/jquery-1.9.1.min.js") ?>"></script>
<script type="text/javascript" src="<?php echo getUrlWithVersion("js/jquery.cookies.js") ?>"></script> <script type="text/javascript" src="<?php echo getUrlWithVersion("js/jquery.cookies.js") ?>"></script>
<link rel='stylesheet' type='text/css' href='http://fonts.googleapis.com/css?family=Open+Sans:400,300italic,800,300,400italic,600,600italic,700,700italic,800italic' /> <link rel='stylesheet' type='text/css' href='http://fonts.googleapis.com/css?family=Open+Sans:400,300italic,800,300,400italic,600,600italic,700,700italic,800italic' />
@ -57,13 +57,13 @@
</a> </a>
<img class="headright" style="visibility: hidden;" id="searchImage" src="<?php echo getUrlWithVersion("images/setting64.png") ?>" alt="Settings and menu" /> <img class="headright" style="visibility: hidden;" id="searchImage" src="<?php echo getUrlWithVersion("images/setting64.png") ?>" alt="Settings and menu" />
<div class="headcenter"> <div class="headcenter">
<h1>Customize COPS UI</h1> <h1><?php echo localize ("customize.title") ?></h1>
</div> </div>
</header> </header>
<section> <section>
<article class="frontpage"> <article class="frontpage">
<h2>Style</h2> <h2><?php echo localize ("customize.style") ?></h2>
<h4><select id="style" onchange="updateCookie (this);"> <h4><select id="style" onchange="updateCookie (this);">
<?php <?php
foreach (glob ("styles/style-*.css") as $filename) { foreach (glob ("styles/style-*.css") as $filename) {
@ -80,7 +80,7 @@
</select></h4> </select></h4>
</article> </article>
<article class="frontpage"> <article class="frontpage">
<h2>Use Fancybox</h2> <h2><?php echo localize ("customize.fancybox") ?></h2>
<h4><input type="checkbox" onchange="updateCookieFromCheckbox (this);" id="use_fancyapps" <?php echo $use_fancybox ?> /></h4> <h4><input type="checkbox" onchange="updateCookieFromCheckbox (this);" id="use_fancyapps" <?php echo $use_fancybox ?> /></h4>
</article> </article>
</section> </section>

View file

@ -324,5 +324,8 @@
"sort.alternate":"Sort", "sort.alternate":"Sort",
"paging.next.alternate":"Next", "paging.next.alternate":"Next",
"paging.previous.alternate":"Previous", "paging.previous.alternate":"Previous",
"customize.title":"Customize COPS UI",
"customize.style":"Theme",
"customize.fancybox":"Use Fancybox",
"fin":"fin" "fin":"fin"
} }

View file

@ -117,5 +117,8 @@
"sort.alternate":"Trier", "sort.alternate":"Trier",
"paging.next.alternate":"Suivant", "paging.next.alternate":"Suivant",
"paging.previous.alternate":"Précédent", "paging.previous.alternate":"Précédent",
"customize.title":"Paramétrage de COPS",
"customize.style":"Thème",
"customize.fancybox":"Utiliser Fancybox",
"fin":"fin" "fin":"fin"
} }