[aur-dev] [PATCH] Make copyright notice translatable

Lukas Fleischer lfleischer at archlinux.org
Sat Oct 17 09:59:08 UTC 2015


Fixes FS#46747.

Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 web/template/footer.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/template/footer.php b/web/template/footer.php
index 1b3c936..7e505a3 100644
--- a/web/template/footer.php
+++ b/web/template/footer.php
@@ -5,7 +5,7 @@
 				<?php if ($ver): ?>
 				<p>aurweb <a href="https://projects.archlinux.org/aurweb.git/log/?h=<?= htmlspecialchars($ver, ENT_QUOTES) ?>"><?= htmlspecialchars($ver) ?></a></p>
 				<?php endif; ?>
-				<p>Copyright © 2004-<?= date("Y") ?> aurweb Development Team.</p>
+				<p><?= __('Copyright %s 2004-%d aurweb Development Team.', '©', date('Y'))</p>
 				<p><?= __('AUR packages are user produced content. Any use of the provided files is at your own risk.') ?></p>
 			</div>
 		</div>
-- 
2.6.1


More information about the aur-dev mailing list