From dc07baeb4b5443131e0bd7f2c5f3b506e23d74dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Fri, 27 Aug 2021 20:51:14 +0200 Subject: Implements localised message files, pt. II. --- etc/build.msgs.en | 58 ++++++++++++++++++++++++++--------------------------- etc/pkgtool.msgs.en | 58 ++++++++++++++++++++++++++--------------------------- etc/rtl.msgs.en | 50 ++++++++++++++++++++++----------------------- 3 files changed, 83 insertions(+), 83 deletions(-) (limited to 'etc') diff --git a/etc/build.msgs.en b/etc/build.msgs.en index 9eee95b2..59578e1a 100644 --- a/etc/build.msgs.en +++ b/etc/build.msgs.en @@ -2,38 +2,38 @@ # en_* locale messages file for build.sh # -MSG_build_aborted="Build aborted."; -MSG_build_begin="Build started by %s@%s at %s."; -MSG_build_clean_prefix="-C prefix specified, cleaning prefix..."; -MSG_build_failed_in="Build failed in \`%s', check \`%s' for details."; -MSG_build_finish="%s finished, %s skipped, and %s failed package(s)."; -MSG_build_finish_time="Build time: %s hour(s), %s minute(s), and %s second(s)."; -MSG_build_killed_pids="Killed PID(s): %s"; -MSG_build_reset_pkg_state="Reset package state for: %s"; -MSG_build_resolved_deps="Resolved \`%s' dependencies."; -MSG_build_resolving_deps="Resolving \`%s' dependencies..."; -MSG_build_unknown_dep="Error: dependency \`%s' of \`%s' unknown."; +MSG_build_aborted="0;Build aborted."; +MSG_build_begin="3;Build started by %s@%s at %s."; +MSG_build_clean_prefix="0;-C prefix specified, cleaning prefix..."; +MSG_build_failed_in="2;Build failed in \`%s', check \`%s' for details."; +MSG_build_finish="3;%s finished, %s skipped, and %s failed package(s)."; +MSG_build_finish_time="3;Build time: %s hour(s), %s minute(s), and %s second(s)."; +MSG_build_killed_pids="1;Killed PID(s): %s"; +MSG_build_reset_pkg_state="1;Reset package state for: %s"; +MSG_build_resolved_deps="1;Resolved \`%s' dependencies."; +MSG_build_resolving_deps="1;Resolving \`%s' dependencies..."; +MSG_build_unknown_dep="2;Error: dependency \`%s' of \`%s' unknown."; -MSG_group_begin="[%3d%% ] [%03d/%03d] Starting \`%s' build group..."; -MSG_group_finish="[%3d%% ] [%03d/%03d] Finished \`%s' build group."; +MSG_group_begin="4;[%3d%% ] [%03d/%03d] Starting \`%s' build group..."; +MSG_group_finish="4;[%3d%% ] [%03d/%03d] Finished \`%s' build group."; -MSG_pkg_begin="[%3d%%/%3d%%] [%03d/%03d] Starting \`%s' build..."; -MSG_pkg_faildump1="Logged environment dump for failed package \`%s' to \`%s'."; -MSG_pkg_faildump2="Enter an interactive package build shell w/ the command line: ./pkgtool.sh -a %s -b %s \"%s\" PREFIX=\"%s\""; +MSG_pkg_begin="5;[%3d%%/%3d%%] [%03d/%03d] Starting \`%s' build..."; +MSG_pkg_faildump1="2;Logged environment dump for failed package \`%s' to \`%s'."; +MSG_pkg_faildump2="4;Enter an interactive package build shell w/ the command line: ./pkgtool.sh -a %s -b %s \"%s\" PREFIX=\"%s\""; MSG_pkg_fail_missing_vars="Error: \${PKG_SUBDIR} must be specified given both \${PKG_FNAME} and \${PKG_URLS_GIT}."; -MSG_pkg_finish="[%3d%%/%3d%%] [%03d/%03d] Finished \`%s' build."; -MSG_pkg_msg="%s/%s: %s"; -MSG_pkg_skip_disabled="Skipping disabled package \`%s'."; -MSG_pkg_skip_finished="Skipping finished package \`%s'."; -MSG_pkg_skip_unknown="Error: unknown package \`%s'."; -MSG_pkg_stderrout_log="%s/%s_stderrout.log:"; -MSG_pkg_step="Finished build step %s of package \`%s'."; -MSG_pkg_strip="Stripping %s..."; +MSG_pkg_finish="5;[%3d%%/%3d%%] [%03d/%03d] Finished \`%s' build."; +MSG_pkg_msg="3;%s/%s: %s"; +MSG_pkg_skip_disabled="1;Skipping disabled package \`%s'."; +MSG_pkg_skip_finished="1;Skipping finished package \`%s'."; +MSG_pkg_skip_unknown="1;Error: unknown package \`%s'."; +MSG_pkg_stderrout_log="2;%s/%s_stderrout.log:"; +MSG_pkg_step="2;Finished build step %s of package \`%s'."; +MSG_pkg_strip="1;Stripping %s..."; -MSG_zipdist_begin="Building deployable distribution ZIP archive..."; -MSG_zipdist_finished="Finished building deployable distribution ZIP archive."; -MSG_zipdist_missing_pkg_build_dir="Error: missing package build directory for package \`%s'."; -MSG_zipdist_signed="Signed deployable distribution ZIP archive."; -MSG_zipdist_signing="Signing deployable distribution ZIP archive..."; +MSG_zipdist_begin="0;Building deployable distribution ZIP archive..."; +MSG_zipdist_finished="0;Finished building deployable distribution ZIP archive."; +MSG_zipdist_missing_pkg_build_dir="1;Error: missing package build directory for package \`%s'."; +MSG_zipdist_signed="0;Signed deployable distribution ZIP archive."; +MSG_zipdist_signing="0;Signing deployable distribution ZIP archive..."; # vim:foldmethod=marker ft=sh diff --git a/etc/pkgtool.msgs.en b/etc/pkgtool.msgs.en index bf3fc772..55b1206e 100644 --- a/etc/pkgtool.msgs.en +++ b/etc/pkgtool.msgs.en @@ -2,34 +2,34 @@ # en_* locale messages file for pkgtool.sh # -MSG_pkgtool_build_group="Build group: %s"; -MSG_pkgtool_no_env_dump="Warning: failed to locate environment dump for package \`%s' in \`%s'."; -MSG_pkgtool_pkg_archive_mirroring="Mirroring package \`%s', archive URL(s): \`%s'..."; -MSG_pkgtool_pkg_archive_mirroring_parent="Mirroring package \`%s' (parent package: \`%s'), archive URL(s): \`%s'..."; -MSG_pkgtool_pkg_deps_fail="Warning: failed to unfold dependency-expanded package name list for \`%s'."; -MSG_pkgtool_pkg_deps_full_disabled="Full dependencies of \`%s' (disabled packages:) %s"; -MSG_pkgtool_pkg_deps_full="Full dependencies of \`%s': %s"; -MSG_pkgtool_pkg_deps_rev_none="Package \`%s' has no reverse dependencies."; -MSG_pkgtool_pkg_direct_deps="Direct dependencies of \`%s': %s"; -MSG_pkgtool_pkg_disabled="Package \`%s' (parent package: \`%s') disabled, skipping."; -MSG_pkgtool_pkg_git_mirroring="Mirroring package \`%s', Git URL(s): \`%s'..."; -MSG_pkgtool_pkg_git_mirroring_parent="Mirroring package \`%s' (parent package: \`%s'), Git URL(s): \`%s'..."; -MSG_pkgtool_pkg_link_fail="Failed to create symbolic link \`%s' for package \`%s' w/ parent package \`%s'."; -MSG_pkgtool_pkg_mirror_fail="Failed to mirror package \`%s', skipping."; -MSG_pkgtool_pkg_no_deps="Package \`%s' has no dependencies."; -MSG_pkgtool_pkgs_deps_rev_disabled="Reverse dependencies of \`%s' (disabled packages:) %s"; -MSG_pkgtool_pkgs_deps_rev="Reverse dependencies of \`%s': %s"; -MSG_pkgtool_pkg_skip_archive_mirror="Archive URL(s) mirroring disabled, skipping \`%s'."; -MSG_pkgtool_pkg_skip_git_mirror_disabled="Package \`%s' specifies to skip Git URL(s) mirroring, skipping."; -MSG_pkgtool_pkg_skip_git_mirror="Git URL(s) mirroring disabled, skipping \`%s'."; -MSG_pkgtool_pkg_skip_no_urls="Package \`%s' has neither archive nor Git URL(s), skipping."; -MSG_pkgtool_rebuilding_pkg="Rebuilding package \`%s' w/ --dump-in build..."; -MSG_pkgtool_shell_env1="Launching shell \`%s' within package environment and \`%s'."; -MSG_pkgtool_shell_env2="Run \$R to rebuild \`%s'."; -MSG_pkgtool_shell_env3="Run \$RS to restart the specified build step of \`%s'"; -MSG_pkgtool_shell_env4="Run \$D to automatically regenerate the patch for \`%s'."; -MSG_pkgtool_tarball_created="Created compressed tarball of \`%s' and \`%s_stderrout.log'."; -MSG_pkgtool_tarball_creating="Creating compressed tarball of \`%s' and \`%s_stderrout.log'..."; -MSG_pkgtool_updated_patches="Updated \`%s/patches/%s'."; +MSG_pkgtool_build_group="1;Build group: %s"; +MSG_pkgtool_no_env_dump="2;Warning: failed to locate environment dump for package \`%s' in \`%s'."; +MSG_pkgtool_pkg_archive_mirroring="2;Mirroring package \`%s', archive URL(s): \`%s'..."; +MSG_pkgtool_pkg_archive_mirroring_parent="3;Mirroring package \`%s' (parent package: \`%s'), archive URL(s): \`%s'..."; +MSG_pkgtool_pkg_deps_fail="1;Warning: failed to unfold dependency-expanded package name list for \`%s'."; +MSG_pkgtool_pkg_deps_full_disabled="2;Full dependencies of \`%s' (disabled packages:) %s"; +MSG_pkgtool_pkg_deps_full="2;Full dependencies of \`%s': %s"; +MSG_pkgtool_pkg_deps_rev_none="1;Package \`%s' has no reverse dependencies."; +MSG_pkgtool_pkg_direct_deps="2;Direct dependencies of \`%s': %s"; +MSG_pkgtool_pkg_disabled="2;Package \`%s' (parent package: \`%s') disabled, skipping."; +MSG_pkgtool_pkg_git_mirroring="2;Mirroring package \`%s', Git URL(s): \`%s'..."; +MSG_pkgtool_pkg_git_mirroring_parent="3;Mirroring package \`%s' (parent package: \`%s'), Git URL(s): \`%s'..."; +MSG_pkgtool_pkg_link_fail="3;Failed to create symbolic link \`%s' for package \`%s' w/ parent package \`%s'."; +MSG_pkgtool_pkg_mirror_fail="1;Failed to mirror package \`%s', skipping."; +MSG_pkgtool_pkg_no_deps="1;Package \`%s' has no dependencies."; +MSG_pkgtool_pkgs_deps_rev_disabled="2;Reverse dependencies of \`%s' (disabled packages:) %s"; +MSG_pkgtool_pkgs_deps_rev="2;Reverse dependencies of \`%s': %s"; +MSG_pkgtool_pkg_skip_archive_mirror="1;Archive URL(s) mirroring disabled, skipping \`%s'."; +MSG_pkgtool_pkg_skip_git_mirror_disabled="1;Package \`%s' specifies to skip Git URL(s) mirroring, skipping."; +MSG_pkgtool_pkg_skip_git_mirror="1;Git URL(s) mirroring disabled, skipping \`%s'."; +MSG_pkgtool_pkg_skip_no_urls="1;Package \`%s' has neither archive nor Git URL(s), skipping."; +MSG_pkgtool_rebuilding_pkg="1;Rebuilding package \`%s' w/ --dump-in build..."; +MSG_pkgtool_shell_env1="2;Launching shell \`%s' within package environment and \`%s'."; +MSG_pkgtool_shell_env2="1;Run \$R to rebuild \`%s'."; +MSG_pkgtool_shell_env3="1;Run \$RS to restart the specified build step of \`%s'"; +MSG_pkgtool_shell_env4="1;Run \$D to automatically regenerate the patch for \`%s'."; +MSG_pkgtool_tarball_created="2;Created compressed tarball of \`%s' and \`%s_stderrout.log'."; +MSG_pkgtool_tarball_creating="2;Creating compressed tarball of \`%s' and \`%s_stderrout.log'..."; +MSG_pkgtool_updated_patches="2;Updated \`%s/patches/%s'."; # vim:foldmethod=marker ft=sh diff --git a/etc/rtl.msgs.en b/etc/rtl.msgs.en index aee15ab4..4298dae3 100644 --- a/etc/rtl.msgs.en +++ b/etc/rtl.msgs.en @@ -2,34 +2,34 @@ # en_* locale messages file for subr.rtl/*.subr # -MSG_rtl_fetch_fail="Error: failed to fetch URL \`%s' (wget(1) exit status: %s)"; -MSG_rtl_fetch_fail_retryurl="Warning: failed to fetch URL \`%s', retrying with alternative URL... (wget(1) exit status: %s)"; -MSG_rtl_fetch_hashfail1="Error: hash mismatch for URL \`%s' (should be: %s vs.: %s.)"; -MSG_rtl_fetch_hashfail2="Error: hash mismatch for URL \`%s' (should be: %s.)"; -MSG_rtl_fetch_hashfail_retryurl="Warning: hash mismatch for URL \`%s', retrying with alternative URL... (from build variables: %s.)"; -MSG_rtl_fetch_lockfail="Error: failed to acquire fetching lock for URL \`%s'."; -MSG_rtl_fetch_lockfail_retryurl="Warning: failed to acquire fetching lock for URL \`%s', retrying with alternative URL..."; -MSG_rtl_fetch_rm_redundant="Deleting redundant file \`%s' for package \`%s'."; +MSG_rtl_fetch_fail="2;Error: failed to fetch URL \`%s' (wget(1) exit status: %s)"; +MSG_rtl_fetch_fail_retryurl="2;Warning: failed to fetch URL \`%s', retrying with alternative URL... (wget(1) exit status: %s)"; +MSG_rtl_fetch_hashfail1="3;Error: hash mismatch for URL \`%s' (should be: %s vs.: %s.)"; +MSG_rtl_fetch_hashfail2="2;Error: hash mismatch for URL \`%s' (should be: %s.)"; +MSG_rtl_fetch_hashfail_retryurl="2;Warning: hash mismatch for URL \`%s', retrying with alternative URL... (from build variables: %s.)"; +MSG_rtl_fetch_lockfail="1;Error: failed to acquire fetching lock for URL \`%s'."; +MSG_rtl_fetch_lockfail_retryurl="1;Warning: failed to acquire fetching lock for URL \`%s', retrying with alternative URL..."; +MSG_rtl_fetch_rm_redundant="2;Deleting redundant file \`%s' for package \`%s'."; -MSG_rtl_fileop_invalid_dir="Error: Invalid or non-existent directory \`%s'."; -MSG_rtl_fileop_invparm_chgrp="Error: Missing parameters (in: chgrp %s.)"; -MSG_rtl_fileop_invparm_chmod="Error: Missing parameters (in: chmod %s.)"; -MSG_rtl_fileop_invparm_chown="Error: Missing parameters (in: chown %s.)"; -MSG_rtl_fileop_invparm_cp="Error: Missing parameters (in: cp %s.)"; -MSG_rtl_fileop_invparm_cp_follow="Error: Missing parameters (in: cp_follow %s}.)"; -MSG_rtl_fileop_invparm="Error: Missing parameters (in: %s %s.)"; -MSG_rtl_fileop_invparm_fileop="Error: rtl_fileop() called w/ invalid parameter(s): %s"; -MSG_rtl_fileop_invparm_install="Error: Missing parameters (in: install %s.)"; -MSG_rtl_fileop_invparm_ln_symbolic="Error: Missing parameters (in: ln_symbolic %s.)"; -MSG_rtl_fileop_invparm_mv="Error: Missing parameters (in: mv %s.)"; -MSG_rtl_fileop_invparm_touch="Error: Missing parameters (in: touch %s.)"; +MSG_rtl_fileop_invalid_dir="1;Error: Invalid or non-existent directory \`%s'."; +MSG_rtl_fileop_invparm_chgrp="1;Error: Missing parameters (in: chgrp %s.)"; +MSG_rtl_fileop_invparm_chmod="1;Error: Missing parameters (in: chmod %s.)"; +MSG_rtl_fileop_invparm_chown="1;Error: Missing parameters (in: chown %s.)"; +MSG_rtl_fileop_invparm_cp="1;Error: Missing parameters (in: cp %s.)"; +MSG_rtl_fileop_invparm_cp_follow="1;Error: Missing parameters (in: cp_follow %s.)"; +MSG_rtl_fileop_invparm="2;Error: Missing parameters (in: %s %s.)"; +MSG_rtl_fileop_invparm_fileop="1;Error: rtl_fileop() called w/ invalid parameter(s): %s"; +MSG_rtl_fileop_invparm_install="1;Error: Missing parameters (in: install %s.)"; +MSG_rtl_fileop_invparm_ln_symbolic="1;Error: Missing parameters (in: ln_symbolic %s.)"; +MSG_rtl_fileop_invparm_mv="1;Error: Missing parameters (in: mv %s.)"; +MSG_rtl_fileop_invparm_touch="1;Error: Missing parameters (in: touch %s.)"; -MSG_rtl_install_v2_rc="%s"; +MSG_rtl_install_v2_rc="1;%s"; -MSG_rtl_log_vars_header="Variables for this %s:"; -MSG_rtl_log_unknown_tag="==> FIXME TODO XXX UNKNOWN TAG \`%s' PASSED TO rtl_log_msg()\n"; +MSG_rtl_log_vars_header="1;Variables for this %s:"; +MSG_rtl_log_unknown_tag="1;==> FIXME TODO XXX UNKNOWN TAG \`%s' PASSED TO rtl_log_msg()\n"; -MSG_rtl_platform_rc1="Command line: %s %s"; -MSG_rtl_platform_rc2="Command line: %s"; +MSG_rtl_platform_rc1="2;Command line: %s %s"; +MSG_rtl_platform_rc2="1;Command line: %s"; # vim:foldmethod=marker ft=sh -- cgit v1.2.3