diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-15 10:12:17 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-20 20:28:47 +0200 |
commit | ee4b398033da18a0cc2c57b0b2994ca16290a99e (patch) | |
tree | 5244905927b8d4d27961a947a2f5ef5ea770f21e /web/html/index.php | |
parent | 72b657eb17f51522fecb4c0ba7f47475c88e77df (diff) | |
download | aur-ee4b398033da18a0cc2c57b0b2994ca16290a99e.tar.gz aur-ee4b398033da18a0cc2c57b0b2994ca16290a99e.tar.xz |
Use "%s" instead of "%h" in format strings
Use the standard string type specifier instead of "%h" in format
strings. Both specifiers are treated equally in __() so we shouldn't
break anything here. This also allows us to replace the hacky
substitution algorithm in __() by vsprintf().
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/index.php')
-rw-r--r-- | web/html/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/index.php b/web/html/index.php index ffc5f008..138541f2 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -25,7 +25,7 @@ $dbh = db_connect(); <?php echo __( - 'Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information.', + 'Welcome to the AUR! Please read the %sAUR User Guidelines%s and %sAUR TU Guidelines%s for more information.', '<a href="http://wiki.archlinux.org/index.php/AUR_User_Guidelines">', '</a>', '<a href="http://wiki.archlinux.org/index.php/AUR_Trusted_User_Guidelines">', @@ -37,7 +37,7 @@ echo __( <?php echo __( - 'Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!', + 'Contributed PKGBUILDs %smust%s conform to the %sArch Packaging Standards%s otherwise they will be deleted!', '<b>', '</b>', '<a href="http://wiki.archlinux.org/index.php/Arch_Packaging_Standards">', '</a>' |