libmakepkg: make gettext replacements more templated
Making the undescore be translated is probably not something we need translators to think about. Additionally, a number of places which use the same text differ only by the variable being referenced, so simplifying the string means we can drop a redundant translation. Bonus: we save a few bytes here and there. \o/ Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
4d1d857ef0
commit
1b9e358f1d
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ lint_variable() {
|
|||
|
||||
for i in ${arch_array[@]}; do
|
||||
if extract_function_variable "package_$pkg" "${i}_${a}" 0 out; then
|
||||
error "$(gettext "%s_%s should be an array")" "$i" "$a"
|
||||
error "$(gettext "%s should be an array")" "${i}_${a}"
|
||||
ret=1
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue