From e493dc0247f05ee9f700d50e8ddaa09b5a1ab06a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Thu, 26 Aug 2021 20:39:04 +0200 Subject: Implements localised message files. --- etc/build.msgs.C | 1 + etc/build.msgs.en | 39 +++++++++++++++++++++++++++++++++++++++ etc/pkgtool.msgs.C | 1 + etc/pkgtool.msgs.en | 35 +++++++++++++++++++++++++++++++++++ etc/rtl.msgs.C | 1 + etc/rtl.msgs.en | 35 +++++++++++++++++++++++++++++++++++ 6 files changed, 112 insertions(+) create mode 120000 etc/build.msgs.C create mode 100644 etc/build.msgs.en create mode 120000 etc/pkgtool.msgs.C create mode 100644 etc/pkgtool.msgs.en create mode 120000 etc/rtl.msgs.C create mode 100644 etc/rtl.msgs.en (limited to 'etc') diff --git a/etc/build.msgs.C b/etc/build.msgs.C new file mode 120000 index 00000000..9cd7e665 --- /dev/null +++ b/etc/build.msgs.C @@ -0,0 +1 @@ +build.msgs.en \ No newline at end of file diff --git a/etc/build.msgs.en b/etc/build.msgs.en new file mode 100644 index 00000000..9eee95b2 --- /dev/null +++ b/etc/build.msgs.en @@ -0,0 +1,39 @@ +# +# 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_group_begin="[%3d%% ] [%03d/%03d] Starting \`%s' build group..."; +MSG_group_finish="[%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_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_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..."; + +# vim:foldmethod=marker ft=sh diff --git a/etc/pkgtool.msgs.C b/etc/pkgtool.msgs.C new file mode 120000 index 00000000..8b2e808d --- /dev/null +++ b/etc/pkgtool.msgs.C @@ -0,0 +1 @@ +pkgtool.msgs.en \ No newline at end of file diff --git a/etc/pkgtool.msgs.en b/etc/pkgtool.msgs.en new file mode 100644 index 00000000..bf3fc772 --- /dev/null +++ b/etc/pkgtool.msgs.en @@ -0,0 +1,35 @@ +# +# 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'."; + +# vim:foldmethod=marker ft=sh diff --git a/etc/rtl.msgs.C b/etc/rtl.msgs.C new file mode 120000 index 00000000..6cbc93ed --- /dev/null +++ b/etc/rtl.msgs.C @@ -0,0 +1 @@ +rtl.msgs.en \ No newline at end of file diff --git a/etc/rtl.msgs.en b/etc/rtl.msgs.en new file mode 100644 index 00000000..aee15ab4 --- /dev/null +++ b/etc/rtl.msgs.en @@ -0,0 +1,35 @@ +# +# 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_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_install_v2_rc="%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_platform_rc1="Command line: %s %s"; +MSG_rtl_platform_rc2="Command line: %s"; + +# vim:foldmethod=marker ft=sh -- cgit v1.2.3