mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
72b657eb17
commit
ee4b398033
4 changed files with 10 additions and 10 deletions
|
@ -273,7 +273,7 @@ if ($uid):
|
|||
$error = __( "Could not create directory %s.", $incoming_pkgdir);
|
||||
}
|
||||
} else {
|
||||
$error = __( "You are not allowed to overwrite the %h%s%h package.", "<b>", $pkg_name, "</b>");
|
||||
$error = __( "You are not allowed to overwrite the %s%s%s package.", "<b>", $pkg_name, "</b>");
|
||||
}
|
||||
|
||||
if (!$error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue