Localize all alternate text. re #37

This commit is contained in:
Sébastien Lucas 2013-04-21 16:22:26 +02:00
parent 002cd1d6a2
commit e6560be28c
4 changed files with 18 additions and 6 deletions

View file

@ -50,7 +50,7 @@ $book->getLinkArray ();
} }
?> ?>
</div> </div>
<div class="entryTitle"><a rel="bookmark" href="<?php echo $book->getDetailUrl (true) ?>"><img src="<?php echo getUrlWithVersion("images/Link.png") ?>" alt="permalink" /></a><?php echo htmlspecialchars ($book->title) ?></div> <div class="entryTitle"><a rel="bookmark" href="<?php echo $book->getDetailUrl (true) ?>"><img src="<?php echo getUrlWithVersion("images/Link.png") ?>" alt="<?php echo localize ("permalink.alternate") ?>" /></a><?php echo htmlspecialchars ($book->title) ?></div>
<div class="entrySection"> <div class="entrySection">
<span><?php echo localize("authors.title") ?></span> <span><?php echo localize("authors.title") ?></span>
<div class="buttonEffect pad6"> <div class="buttonEffect pad6">

View file

@ -162,7 +162,7 @@
<div class="head"> <div class="head">
<div class="headleft"> <div class="headleft">
<a href="<?php echo $_SERVER["SCRIPT_NAME"]; if ($page != Base::PAGE_INDEX && !is_null ($database)) echo "?" . addURLParameter ("", DB, $database); ?>"> <a href="<?php echo $_SERVER["SCRIPT_NAME"]; if ($page != Base::PAGE_INDEX && !is_null ($database)) echo "?" . addURLParameter ("", DB, $database); ?>">
<img src="<?php echo getUrlWithVersion("images/home.png") ?>" alt="Home" /> <img src="<?php echo getUrlWithVersion("images/home.png") ?>" alt="<?php echo localize ("home.alternate") ?>" />
</a> </a>
</div> </div>
<div class="headright"> <div class="headright">
@ -177,7 +177,7 @@
<div style="float: left; width: 60%"> <div style="float: left; width: 60%">
<form action="index.php" method="get"> <form action="index.php" method="get">
<div style="float: right"> <div style="float: right">
<input type="image" src="images/search32.png" alt="Search" /> <input type="image" src="images/search32.png" alt="<?php echo localize ("search.alternate") ?>" />
</div> </div>
<div class="stop"> <div class="stop">
<input type="hidden" name="current" value="<?php echo $page ?>" /> <input type="hidden" name="current" value="<?php echo $page ?>" />
@ -192,7 +192,7 @@
<?php if ($currentPage->containsBook ()) { ?> <?php if ($currentPage->containsBook ()) { ?>
<div style="float: right; width: 35%"> <div style="float: right; width: 35%">
<div style="float: right"> <div style="float: right">
<img id="sort" src="images/sort32.png" alt="Sort" /> <img id="sort" src="images/sort32.png" alt="<?php echo localize ("sort.alternate") ?>" />
</div> </div>
<div class="stop"> <div class="stop">
<select id="sortchoice"> <select id="sortchoice">
@ -309,7 +309,7 @@
<?php <?php
if (!is_null ($prevLink)) { if (!is_null ($prevLink)) {
?> ?>
<a href="<?php echo $prevLink->hrefXhtml () ?>" ><img src="<?php echo getUrlWithVersion("images/previous.png") ?>" alt="Previous" /></a> <a href="<?php echo $prevLink->hrefXhtml () ?>" ><img src="<?php echo getUrlWithVersion("images/previous.png") ?>" alt="<?php echo localize ("paging.previous.alternate") ?>" /></a>
<?php <?php
} }
?> ?>
@ -317,7 +317,7 @@
<?php <?php
if (!is_null ($nextLink)) { if (!is_null ($nextLink)) {
?> ?>
<a href="<?php echo $nextLink->hrefXhtml () ?>" ><img src="<?php echo getUrlWithVersion("images/next.png") ?>" alt="Next" /></a> <a href="<?php echo $nextLink->hrefXhtml () ?>" ><img src="<?php echo getUrlWithVersion("images/next.png") ?>" alt="<?php echo localize ("paging.next.alternate") ?>" /></a>
<?php <?php
} }
?> ?>

View file

@ -123,5 +123,11 @@
"search.result":"Search result for *{0}*", "search.result":"Search result for *{0}*",
"search.sortorder.asc":"Asc", "search.sortorder.asc":"Asc",
"search.sortorder.desc":"Desc", "search.sortorder.desc":"Desc",
"permalink.alternate":"Permalink",
"home.alternate":"Home",
"search.alternate":"Search",
"sort.alternate":"Sort",
"paging.next.alternate":"Next",
"paging.previous.alternate":"Previous",
"fin":"fin" "fin":"fin"
} }

View file

@ -108,5 +108,11 @@
"search.result":"Résultats pour *{0}*", "search.result":"Résultats pour *{0}*",
"search.sortorder.asc":"Crois.", "search.sortorder.asc":"Crois.",
"search.sortorder.desc":"Décrois.", "search.sortorder.desc":"Décrois.",
"permalink.alternate":"Permalien",
"home.alternate":"Accueil",
"search.alternate":"Rechercher",
"sort.alternate":"Trier",
"paging.next.alternate":"Suivant",
"paging.previous.alternate":"Précédent",
"fin":"fin" "fin":"fin"
} }