summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-02 15:26:49 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-02 15:26:49 (EST)
commite53da2e1ce4de59440c83136fd989376aa45d860 (patch)
treeef0e84bcce02c14c4c4678311aa9be89fc37df69
parent904df8c842ad0f322a67f62a2c9c956cfd7abf25 (diff)
locale: Make en_US a link to C
-rw-r--r--locale/C/libopkbuild_2.sh2
-rw-r--r--locale/C/opkbuild.sh2
l---------locale/en_US1
-rw-r--r--locale/en_US/libopkbuild_2.sh59
-rw-r--r--locale/en_US/opkbuild.sh119
5 files changed, 3 insertions, 180 deletions
diff --git a/locale/C/libopkbuild_2.sh b/locale/C/libopkbuild_2.sh
index 185d628..3cd4b25 100644
--- a/locale/C/libopkbuild_2.sh
+++ b/locale/C/libopkbuild_2.sh
@@ -1,4 +1,4 @@
-# C/POSIX message strings for the "libopkbuild_2" text domain
+# C/POSIX/English message strings for the "libopkbuild_2" text domain
#
# Copyright (C) 2012, 2019 Patrick McDermott
#
diff --git a/locale/C/opkbuild.sh b/locale/C/opkbuild.sh
index efeafd1..8dfc0cb 100644
--- a/locale/C/opkbuild.sh
+++ b/locale/C/opkbuild.sh
@@ -1,4 +1,4 @@
-# C/POSIX message strings for the "opkbuild" text domain
+# C/POSIX/English message strings for the "opkbuild" text domain
#
# Copyright (C) 2012, 2019 Patrick McDermott
#
diff --git a/locale/en_US b/locale/en_US
new file mode 120000
index 0000000..96d80cd
--- /dev/null
+++ b/locale/en_US
@@ -0,0 +1 @@
+C \ No newline at end of file
diff --git a/locale/en_US/libopkbuild_2.sh b/locale/en_US/libopkbuild_2.sh
deleted file mode 100644
index 726bfcc..0000000
--- a/locale/en_US/libopkbuild_2.sh
+++ /dev/null
@@ -1,59 +0,0 @@
-# English message strings for the "libopkbuild_2" text domain
-#
-# Copyright (C) 2012, 2019 Patrick McDermott
-#
-# This file is part of opkbuild.
-#
-# opkbuild is free software: you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# opkbuild is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with opkbuild. If not, see <http://www.gnu.org/licenses/>.
-
-# lib/output.sh
-msg_libopkbuild_2_output_error_format='%s: Error: %s'
-msg_libopkbuild_2_output_warning_format='%s: Warning: %s'
-msg_libopkbuild_2_output_info_format='%s: %s'
-
-# lib/package.sh
-msg_libopkbuild_2_unable_to_detect_package_format='Unable to detect package format'
-msg_libopkbuild_2_bad_binary_name='Bad binary package name: "%s"'
-msg_libopkbuild_2_duplicate_clean_binary_name='Duplicate clean binary package name: "%s"'
-
-# lib/package/*.sh
-msg_libopkbuild_2_bad_section='Binary package "%s" has invalid section name "%s"'
-
-# lib/control.sh
-msg_libopkbuild_2_control_empty_line='%s: empty line'
-msg_libopkbuild_2_control_bad_nv='%s: badly formatted control field'
-msg_libopkbuild_2_control_unknown_field='%s: unrecognized field "%s"'
-msg_libopkbuild_2_control_duplicate_field='%s: duplicate field "%s"'
-msg_libopkbuild_2_control_found_contination='%s: found continuation line where expected start of field'
-msg_libopkbuild_2_list_item_separator=', '
-msg_libopkbuild_2_control_missing_fields='%s: missing fields: %s'
-msg_libopkbuild_2_substvar_deep_nesting='Possible recursion in substitutions'
-msg_libopkbuild_2_substvar_invalid='Invalid substitution variable "%s"'
-msg_libopkbuild_2_substvar_unknown='Unknown substitution variable "%s"'
-
-# lib/changelog.sh
-msg_libopkbuild_2_changelog_found_blank_line='%s: found blank line where expected %s'
-msg_libopkbuild_2_changelog_found_heading='%s: found start of entry where expected %s'
-msg_libopkbuild_2_changelog_bad_heading='%s: badly formatted heading line'
-msg_libopkbuild_2_changelog_bad_source='%s: invalid source package name "%s"'
-msg_libopkbuild_2_changelog_bad_source_version='%s: invalid source package version identifier "%s"'
-msg_libopkbuild_2_changelog_found_trailer='%s: found trailer where expected %s'
-msg_libopkbuild_2_changelog_bad_trailer='%s: badly formatted trailer line'
-msg_libopkbuild_2_changelog_found_change='%s: found change data where expected %s'
-msg_libopkbuild_2_changelog_bad_line='%s: unrecognized line'
-msg_libopkbuild_2_changelog_found_eof='%s: found eof where expected %s'
-msg_libopkbuild_2_changelog_expect_first_heading='first heading'
-msg_libopkbuild_2_changelog_expect_start_changes='next heading or eof'
-msg_libopkbuild_2_changelog_expect_next_or_eof='start of change data'
-msg_libopkbuild_2_changelog_expect_changes_or_trailer='more change data or trailer'
diff --git a/locale/en_US/opkbuild.sh b/locale/en_US/opkbuild.sh
deleted file mode 100644
index fbe983f..0000000
--- a/locale/en_US/opkbuild.sh
+++ /dev/null
@@ -1,119 +0,0 @@
-# English message strings for the "opkbuild" text domain
-#
-# Copyright (C) 2012, 2019 Patrick McDermott
-#
-# This file is part of opkbuild.
-#
-# opkbuild is free software: you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# opkbuild is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with opkbuild. If not, see <http://www.gnu.org/licenses/>.
-
-# src/opkbuild.sh
-msg_opkbuild_usage='Usage: %s [<option>...]'
-msg_opkbuild_help='
-Options:
- -b build only binary packages
- -B build only architecture-dependent binary packages
- -P build only platform-dependent binary packages
- -S build only the source package
- -F build the source package and all binary packages
- -T <target> target of the "build" makefile to build
- -a <host-arch> distribution architecture for which architecture-
- dependent packages should be built (default: system
- architecture)
- -p <host-plat> application platform for which platform-specific
- packages should be configured (default: system
- platform)
- -D check build dependencies (default behavior)
- -d do not check build dependencies
- -C clean source packaging after build (default behavior
- unless the -T option is given)
- -c do not clean source packaging
- -r <uid0-cmd> command to assume user ID 0 (default: fakeroot)
- -h display this help and exit
- -V display the version and exit
-'
-msg_opkbuild_version='%s (%s) %s
-Copyright (C) 2012-2014, 2018-2020 Patrick McDermott
-License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
-This is free software: you are free to change and redistribute it.
-There is NO WARRANTY, to the extent permitted by law.
-
-Written by Patrick McDermott.'
-msg_opkbuild_bsf_mutex='Options -b, -S, and -F are mutually exclusive'
-msg_opkbuild_bad_opt='Invalid option "%s"'
-msg_opkbuild_uid0_cmd_not_found='UID 0 command "%s" not found'
-msg_opkbuild_uid0_cmd_bad_uid='UID 0 command "%s" doesn'\''t give UID 0'
-msg_opkbuild_setup_arch_plat='Detecting architecture and platform...'
-msg_opkbuild_make_work_area='Making work area...'
-msg_opkbuild_parse_package_metadata='Parsing package metadata...'
-msg_opkbuild_build_source='Building source package...'
-msg_opkbuild_cant_make_src_pkg_dir='Can'\''t make data directory for source package'
-msg_opkbuild_cant_install_src_pkg_file='Can'\''t install source package file'
-msg_opkbuild_cant_rm_src_pkg_data='Can'\''t clean up data directory for source package'
-msg_opkbuild_build_arch_stat_header='Build system:'
-msg_opkbuild_arch_stat_arch=' Architecture: %s'
-msg_opkbuild_arch_stat_plat=' Platform: %s'
-msg_opkbuild_host_arch_stat_header='Host system:'
-
-# src/ob-checkbuilddeps.sh
-msg_opkbuild_checking_build_deps='Checking build dependencies...'
-msg_opkbuild_missing_build_deps='Missing build dependencies: %s'
-
-# src/ob-buildenv.sh
-msg_opkbuild_setup_build_env='Setting up build environment...'
-
-# src/ob-unpacksource.sh
-msg_opkbuild_already_unpacked='Sources already unpacked'
-msg_opkbuild_unpacking_native='Copying native source directory...'
-msg_opkbuild_cant_unpack_native='Can'\''t copy native source directory'
-msg_opkbuild_no_sources='No native or upstream sources found'
-msg_opkbuild_multiple_upstream_sources='Multiple upstream source archives found'
-msg_opkbuild_unsupported_archive_compression='Compression format with extension "%s" nsupported'
-msg_opkbuild_no_upstream_dirs='No directories found in upstream source archive'
-msg_opkbuild_multiple_top_upstream_dirs='Multiple top-level directories found in upstream source archive'
-msg_opkbuild_unpacking_upstream='Extracting upstream source archive...'
-msg_opkbuild_cant_unpack_upstream='Can'\''t extract upstream source archive'
-msg_opkbuild_cant_move_native='Can'\''t move extracted upstream source directory'
-
-# src/ob-applypatches.sh
-msg_opkbuild_skipping_patch='Skipping applied patch "%s"...'
-msg_opkbuild_applying_patch='Applying patch "%s"...'
-msg_opkbuild_cant_apply_patch='Can'\''t apply patch "%s"'
-msg_opkbuild_no_patches='No patches to be applied'
-
-# src/ob-installplatconf.sh
-msg_opkbuild_no_plat_config='No config files to be copied'
-msg_opkbuild_bad_config_syntax='Syntax error in platform configuration file list "%s"'
-msg_opkbuild_cant_make_config_dest_dir='Can'\''t make directory "%s" for platform configuration'
-msg_opkbuild_no_config_dir='No platform configuration files found'
-msg_opkbuild_copying_config_file='Copying configuration file "%s" to "%s"...'
-msg_opkbuild_cant_copy_config_file='Can'\''t copy configuration file'
-
-# src/ob-installdocs.sh
-msg_opkbuild_cant_get_doc_pkg='Can'\''t find package to provide documentation files'
-msg_opkbuild_cant_make_doc_dir='Can'\''t make documentation directory'
-msg_opkbuild_docs_already_installed='Package documentation already installed into package "%s"'
-msg_opkbuild_installing_docs='Installing package documentation into package "%s"...'
-msg_opkbuild_cant_cp_doc_file='Can'\''t copy documentation file "%s"'
-msg_opkbuild_docs_already_linked='Link to documentation already made in package "%s"'
-msg_opkbuild_linking_docs='Making link to documentation in package "%s"...'
-msg_opkbuild_cant_ln_doc_dir='Can'\''t make link to documentation directory'
-
-# src/ob-gencontrol.sh
-msg_opkbuild_gen_control='Generating control files for package "%s"...'
-
-# src/ob-buildopk
-msg_opkbuild_build_opk='Packing "%s"...'
-
-# src/ob-genchanges.sh
-msg_opkbuild_gen_changes='Generating "%s"...'