[aur-dev] [PATCH] Dedupe translatable strings

Eli Schwartz eschwartz93 at gmail.com
Wed Nov 25 15:54:59 UTC 2015


On 11/25/2015 02:36 AM, Lukas Fleischer wrote:
> Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
> ---
>  web/html/pkgdel.php                 | 2 +-
>  web/html/pkgdisown.php              | 2 +-
>  web/html/pkgflag.php                | 2 +-
>  web/html/pkgmerge.php               | 2 +-
>  web/template/comaintainers_form.php | 2 +-
>  web/template/pkgreq_close_form.php  | 2 +-
>  web/template/pkgreq_form.php        | 2 +-
>  7 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/web/html/pkgdel.php b/web/html/pkgdel.php
> index c522e25..21a2677 100644
> --- a/web/html/pkgdel.php
> +++ b/web/html/pkgdel.php
> @@ -12,7 +12,7 @@ html_header(__("Package Deletion"));
>  
>  if (has_credential(CRED_PKGBASE_DELETE)): ?>
>  <div class="box">
> -	<h2><?= __('Delete Package: %s', htmlspecialchars($pkgbase_name)) ?></h2>
> +	<h2><?= __('Delete Package') ?>: <? htmlspecialchars($pkgbase_name) ?></h2>

It looks like you forgot to remove most of the closing parentheses,
except this first one.

-- 
Eli Schwartz


More information about the aur-dev mailing list