Dedupe translatable strings

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-11-25 08:13:57 +01:00
parent 39280152ea
commit a9048bb07f
7 changed files with 7 additions and 7 deletions

View file

@ -12,7 +12,7 @@ html_header(__("Package Deletion"));
if (has_credential(CRED_PKGBASE_DELETE)): ?> if (has_credential(CRED_PKGBASE_DELETE)): ?>
<div class="box"> <div class="box">
<h2><?= __('Delete Package: %s', htmlspecialchars($pkgbase_name)) ?></h2> <h2><?= __('Delete Package') ?>: <? htmlspecialchars($pkgbase_name) ?></h2>
<p> <p>
<?= __('Use this form to delete the package base %s%s%s and the following packages from the AUR: ', <?= __('Use this form to delete the package base %s%s%s and the following packages from the AUR: ',
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?> '<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>

View file

@ -15,7 +15,7 @@ $comaintainers = pkgbase_get_comaintainers($base_id);
if (has_credential(CRED_PKGBASE_DISOWN, $maintainer_uids)): ?> if (has_credential(CRED_PKGBASE_DISOWN, $maintainer_uids)): ?>
<div class="box"> <div class="box">
<h2><?= __('Disown Package: %s', htmlspecialchars($pkgbase_name)) ?></h2> <h2><?= __('Disown Package') ?>: <? htmlspecialchars($pkgbase_name) ?></h2>
<p> <p>
<?= __('Use this form to disown the package base %s%s%s which includes the following packages: ', <?= __('Use this form to disown the package base %s%s%s which includes the following packages: ',
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?> '<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>

View file

@ -43,7 +43,7 @@ html_header(__("Flag Package Out-Of-Date"));
if (has_credential(CRED_PKGBASE_FLAG)): ?> if (has_credential(CRED_PKGBASE_FLAG)): ?>
<div class="box"> <div class="box">
<h2><?= __('Flag Package Out-Of-Date: %s', htmlspecialchars($pkgbase_name)) ?></h2> <h2><?= __('Flag Package Out-Of-Date') ?>: <? htmlspecialchars($pkgbase_name) ?></h2>
<p> <p>
<?= __('Use this form to flag the package base %s%s%s and the following packages out-of-date: ', <?= __('Use this form to flag the package base %s%s%s and the following packages out-of-date: ',
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?> '<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>

View file

@ -12,7 +12,7 @@ html_header(__("Package Merging"));
if (has_credential(CRED_PKGBASE_DELETE)): ?> if (has_credential(CRED_PKGBASE_DELETE)): ?>
<div class="box"> <div class="box">
<h2><?= __('Merge Package: %s', htmlspecialchars($pkgbase_name)) ?></h2> <h2><?= __('Merge Package') ?>: <? htmlspecialchars($pkgbase_name) ?></h2>
<p> <p>
<?= __('Use this form to merge the package base %s%s%s into another package. ', <?= __('Use this form to merge the package base %s%s%s into another package. ',
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?> '<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>

View file

@ -1,5 +1,5 @@
<div class="box"> <div class="box">
<h2><?= __('Manage Co-maintainers: %s', htmlspecialchars($pkgbase_name)) ?></h2> <h2><?= __('Manage Co-maintainers') ?>: <? htmlspecialchars($pkgbase_name) ?></h2>
<p> <p>
<?= __('Use this form to add co-maintainers for %s%s%s (one user name per line):', <?= __('Use this form to add co-maintainers for %s%s%s (one user name per line):',
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?> '<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>

View file

@ -1,5 +1,5 @@
<div class="box"> <div class="box">
<h2><?= __('Close Request: %s', htmlspecialchars($pkgbase_name)) ?></h2> <h2><?= __('Close Request') ?>: <? htmlspecialchars($pkgbase_name) ?></h2>
<p> <p>
<?= __('Use this form to close the request for package base %s%s%s.', <?= __('Use this form to close the request for package base %s%s%s.',
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?> '<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>

View file

@ -1,5 +1,5 @@
<div class="box"> <div class="box">
<h2><?= __('Submit Request: %s', htmlspecialchars($pkgbase_name)) ?></h2> <h2><?= __('Submit Request') ?>: <? htmlspecialchars($pkgbase_name) ?></h2>
<p> <p>
<?= __('Use this form to file a request against package base %s%s%s which includes the following packages:', <?= __('Use this form to file a request against package base %s%s%s which includes the following packages:',
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?> '<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>