Add missing internationalization to a few strings

Fixes FS#32449.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2012-11-04 17:02:13 +01:00
parent 4e4db4133b
commit 274182a424
2 changed files with 3 additions and 3 deletions

View file

@ -93,7 +93,7 @@ $dbh = db_connect();
<div id="pkgsearch" class="widget"> <div id="pkgsearch" class="widget">
<form id="pkgsearch-form" method="get" action="<?= get_uri('/packages/'); ?>"> <form id="pkgsearch-form" method="get" action="<?= get_uri('/packages/'); ?>">
<fieldset> <fieldset>
<label for="pkgsearch-field">Package Search:</label> <label for="pkgsearch-field"><?= __('Package Search') ?>:</label>
<input type="hidden" name="O" value="0" /> <input type="hidden" name="O" value="0" />
<input type="text" name="K" size="30" value="<?php if (isset($_REQUEST["K"])) { print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); } ?>" maxlength="35" /> <input type="text" name="K" size="30" value="<?php if (isset($_REQUEST["K"])) { print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); } ?>" maxlength="35" />
</fieldset> </fieldset>

View file

@ -32,7 +32,7 @@ $sources = package_sources($row["ID"]);
<h2><?= __('Package Details') . ': ' . htmlspecialchars($row['Name']) . ' ' . htmlspecialchars($row['Version']) ?></h2> <h2><?= __('Package Details') . ': ' . htmlspecialchars($row['Name']) . ' ' . htmlspecialchars($row['Version']) ?></h2>
<div id="detailslinks" class="listing"> <div id="detailslinks" class="listing">
<div id="actionlist"> <div id="actionlist">
<h4>Package Actions</h4> <h4><?= __('Package Actions') ?></h4>
<ul class="small"> <ul class="small">
<li><a href="<?= $urlpath ?>/PKGBUILD"><?= __('View PKGBUILD') ?></a></li> <li><a href="<?= $urlpath ?>/PKGBUILD"><?= __('View PKGBUILD') ?></a></li>
<li><a href="<?= $urlpath . '/' . $row['Name'] ?>.tar.gz"><?= __('Download tarball') ?></a></li> <li><a href="<?= $urlpath . '/' . $row['Name'] ?>.tar.gz"><?= __('Download tarball') ?></a></li>
@ -86,7 +86,7 @@ $sources = package_sources($row["ID"]);
<td class="wrap"><?= htmlspecialchars($row['Description']); ?></td> <td class="wrap"><?= htmlspecialchars($row['Description']); ?></td>
</tr> </tr>
<tr> <tr>
<th>Upstream URL:</th> <th><?= __('Upstream URL') . ': ' ?></th>
<td><a href="<?= htmlspecialchars($row['URL'], ENT_QUOTES) ?>" title="<?= __('Visit the website for') . ' ' . htmlspecialchars( $row['Name'])?>"><?= htmlspecialchars($row['URL'], ENT_QUOTES) ?></a></td> <td><a href="<?= htmlspecialchars($row['URL'], ENT_QUOTES) ?>" title="<?= __('Visit the website for') . ' ' . htmlspecialchars( $row['Name'])?>"><?= htmlspecialchars($row['URL'], ENT_QUOTES) ?></a></td>
</tr> </tr>
<tr> <tr>