diff options
author | Tiago Bortoletto Vaz <tiagovaz@safernet.org.br> | 2008-08-11 22:28:54 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:38 +0100 |
commit | 6205a24620be1025b802589501814626efed02f7 (patch) | |
tree | 13bc6858a98031f10083ab740306f29ff64e8d43 /functions/stagefile.sh | |
parent | c7bccbbf26106de79345257db99884d7c938856d (diff) | |
download | vyos-live-build-6205a24620be1025b802589501814626efed02f7.tar.gz vyos-live-build-6205a24620be1025b802589501814626efed02f7.zip |
Adding last modifications in order to have localization fully working in live-helper. This commit goes with some pt_BR translations just for testing. Thanks to Antonio Terceiro for helping and coding in some shell stuff.
Diffstat (limited to 'functions/stagefile.sh')
-rwxr-xr-x | functions/stagefile.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/stagefile.sh b/functions/stagefile.sh index a098a49b5..f84de4d73 100755 --- a/functions/stagefile.sh +++ b/functions/stagefile.sh @@ -20,11 +20,11 @@ Check_stagefile () if [ "${LH_FORCE}" != "enabled" ] then # Skipping execution - Echo_warning "skipping ${NAME}" + Echo_warning "skipping %s" "${NAME}" exit 0 else # Forcing execution - Echo_message "forcing ${NAME}" + Echo_message "forcing %s" "${NAME}" rm -f "${FILE}" fi fi @@ -62,9 +62,9 @@ Require_stagefile () then if [ "${NUMBER}" -eq 1 ] then - Echo_error "${NAME}: ${FILE} missing" + Echo_error "%s: %s missing" "${NAME}" "${FILE}" else - Echo_error "${NAME}: one of ${FILES} is missing" + Echo_error "%s: one of %s is missing" "${NAME}" "${FILES}" fi exit 1 |