summaryrefslogtreecommitdiffstats
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/C.sh146
l---------locale/POSIX.sh1
l---------[-rw-r--r--]locale/en_US.sh147
-rw-r--r--locale/local.mk2
4 files changed, 150 insertions, 146 deletions
diff --git a/locale/C.sh b/locale/C.sh
new file mode 100644
index 0000000..59bf104
--- /dev/null
+++ b/locale/C.sh
@@ -0,0 +1,146 @@
+# English message strings
+#
+# Copyright (C) 2013-2015 Patrick McDermott
+#
+# This file is part of the ProteanOS Development Kit.
+#
+# The ProteanOS Development Kit 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.
+#
+# The ProteanOS Development Kit 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 the ProteanOS Development Kit. If not, see
+# <http://www.gnu.org/licenses/>.
+
+# Options
+msg_prokit_opt_h_summary='print this help message'
+msg_prokit_opt_V_summary='print version information'
+
+# src/main.sh
+msg_prokit_uid_0_req='Must be run as the superuser'
+
+# src/fd.sh
+msg_prokit_emfile='Too many open files'
+msg_prokit_cant_fopen='Cannot open file'
+msg_prokit_ebadf='Bad file descriptor'
+
+# src/vardata.sh
+msg_prokit_temp_mkdir_fail='Failed to create temporary directory "%s"'
+msg_prokit_temp_rmdir_fail='Failed to remove temporary directory "%s"'
+
+# src/substvars.sh
+msg_prokit_substvar_invalid='Invalid substitution variable name "%s"'
+msg_prokit_substvar_deep_nesting='Possible recursion in substitutions'
+msg_prokit_substvar_invalid='Invalid substitution variable "%s"'
+msg_prokit_substvar_unknown='Unknown substitution variable "%s"'
+
+# src/control.sh
+msg_prokit_control_empty_line='empty line'
+msg_prokit_control_bad_nv='badly formatted control field'
+msg_prokit_control_duplicate_field='duplicate field "%s"'
+msg_prokit_control_found_contination='found continuation line where expected '\
+'start of field'
+msg_prokit_list_item_separator=', '
+msg_prokit_control_missing_fields='missing fields: %s'
+
+# src/session.sh
+msg_prokit_cant_lock_sessions='Cannot acquire sessions state lock'
+msg_prokit_install_running='Another instance of prokit is installing this '\
+'system'
+
+# src/block.sh
+msg_prokit_block_device_invalid='Not a block device: %s'
+msg_prokit_block_mkdir_fail='Failed to create block device mount point "%s"'
+msg_prokit_block_mount_fail='Failed to mount block device "%s"'
+msg_prokit_block_umount_fail='Failed to unmount block device mounted at "%s"'
+msg_prokit_block_rmdir_fail='Failed to remove block device mount point "%s"'
+
+# src/rand.sh
+msg_prokit_rand_bad_x='Invalid random number generator seed value'
+
+# src/cmd.sh
+msg_prokit_cmd_not_found='Command "%s" not found'
+msg_prokit_cmd_usage='Usage: %s %s %s'
+
+# src/cmd/help.sh
+msg_prokit_cmd_help_head='Usage: %s [<option> ...] <command> [<arg> ...]'
+msg_prokit_cmd_help_opts_head='Options:'
+msg_prokit_cmd_help_summary_head='Commands:'
+msg_prokit_cmd_help_summary='print this help message'
+msg_prokit_cmd_help_usage='[<command>]'
+
+# src/cmd/version.sh
+msg_prokit_cmd_version_summary='print version information'
+msg_prokit_cmd_version_usage=''
+msg_prokit_cmd_version_copyright='Copyright (C) %s %s
+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.'
+
+# src/cmd/install.sh
+msg_prokit_cmd_install_summary='install a system into a directory'
+msg_prokit_cmd_install_usage='[-a <arch>] [-p <plat>] [-m <mirror>] [-F] '\
+'<suite> <root>'
+
+# src/cmd/shell.sh
+msg_prokit_cmd_shell_summary='run a shell in an isolated environment'
+msg_prokit_cmd_shell_usage='<root> [<command> [<argument> ...]]'
+msg_prokit_cmd_shell_exiting='Exiting...'
+
+# src/cmd/opkg.sh
+msg_prokit_cmd_opkg_summary='manage packages with opkg'
+msg_prokit_cmd_opkg_usage='<root> [<option> ...] <sub-command> '\
+'[<argument> ...]'
+
+# src/cmd/build.sh
+msg_prokit_cmd_build_summary='build a package'
+msg_prokit_cmd_build_usage='<root> [-l] [<option> ...] <pkg-dir>'
+msg_prokit_cmd_build_not_a_dir='Not a directory: %s'
+
+# src/cmd/installer-pc.sh
+msg_prokit_cmd_installer_pc_summary='install a PC system onto a block device'
+msg_prokit_cmd_installer_pc_usage='-a <arch> -p <plat> [-m <mirror>] [-F] '\
+'<suite> <device>'
+msg_prokit_cmd_installer_pc_dd='Clearing MBR and partition table...'
+msg_prokit_cmd_installer_pc_dd_fail='Failed to clear MBR and partition table'
+msg_prokit_cmd_installer_pc_fdisk='Creating partition table...'
+msg_prokit_cmd_installer_pc_fdisk_fail='Failed to create partition table'
+msg_prokit_cmd_installer_pc_mkfs='Creating file system...'
+msg_prokit_cmd_installer_pc_mkfs_fail='Failed to create file system'
+
+# src/cmd/mkinitramfs.sh
+msg_prokit_cmd_mkinitramfs_summary='generate an initramfs containing an '\
+'installed system'
+msg_prokit_cmd_mkinitramfs_usage='-l <linux-output> -i <initramfs-output> '\
+'<root>'
+msg_prokit_cmd_mkinitramfs_kernel_not_found='No Linux image found'
+
+# src/profile.sh
+msg_prokit_profile_not_found='Profile "%s" not found'
+msg_prokit_profile_not_detected='No installed system found at "%s"'
+
+# src/package.sh
+msg_prokit_package_format_unknown='Unable to detect package format'
+
+# src/install.sh
+msg_prokit_install_bad_archplat='Invalid combination of architecture "%s" '\
+'and platform "%s"'
+msg_prokit_install_selected_arch='Using architecture %s'
+msg_prokit_install_selected_plat='Using platform %s'
+msg_prokit_install_selected_mirror='Using mirror %s'
+msg_prokit_install_setting_up_chroot='Setting up root...'
+msg_prokit_install_chroot_dir_exists='Directory "%s" exists'
+msg_prokit_install_mkdir_chroot_fail='Failed to create directory "%s"'
+msg_prokit_install_find_pkgs='Configuring opkg and retrieving Packages '\
+'files...'
+msg_prokit_install_downloading_pkg='Downloading %s...'
+msg_prokit_install_downloading_pkg_fail='Failed to download package'
+msg_prokit_install_unpacking_pkg='Unpacking %s...'
+msg_prokit_install_configuring='Configuring packages...'
+msg_prokit_install_checksum_fail='Checksum of package file failed'
diff --git a/locale/POSIX.sh b/locale/POSIX.sh
new file mode 120000
index 0000000..166a440
--- /dev/null
+++ b/locale/POSIX.sh
@@ -0,0 +1 @@
+C.sh \ No newline at end of file
diff --git a/locale/en_US.sh b/locale/en_US.sh
index 59bf104..166a440 100644..120000
--- a/locale/en_US.sh
+++ b/locale/en_US.sh
@@ -1,146 +1 @@
-# English message strings
-#
-# Copyright (C) 2013-2015 Patrick McDermott
-#
-# This file is part of the ProteanOS Development Kit.
-#
-# The ProteanOS Development Kit 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.
-#
-# The ProteanOS Development Kit 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 the ProteanOS Development Kit. If not, see
-# <http://www.gnu.org/licenses/>.
-
-# Options
-msg_prokit_opt_h_summary='print this help message'
-msg_prokit_opt_V_summary='print version information'
-
-# src/main.sh
-msg_prokit_uid_0_req='Must be run as the superuser'
-
-# src/fd.sh
-msg_prokit_emfile='Too many open files'
-msg_prokit_cant_fopen='Cannot open file'
-msg_prokit_ebadf='Bad file descriptor'
-
-# src/vardata.sh
-msg_prokit_temp_mkdir_fail='Failed to create temporary directory "%s"'
-msg_prokit_temp_rmdir_fail='Failed to remove temporary directory "%s"'
-
-# src/substvars.sh
-msg_prokit_substvar_invalid='Invalid substitution variable name "%s"'
-msg_prokit_substvar_deep_nesting='Possible recursion in substitutions'
-msg_prokit_substvar_invalid='Invalid substitution variable "%s"'
-msg_prokit_substvar_unknown='Unknown substitution variable "%s"'
-
-# src/control.sh
-msg_prokit_control_empty_line='empty line'
-msg_prokit_control_bad_nv='badly formatted control field'
-msg_prokit_control_duplicate_field='duplicate field "%s"'
-msg_prokit_control_found_contination='found continuation line where expected '\
-'start of field'
-msg_prokit_list_item_separator=', '
-msg_prokit_control_missing_fields='missing fields: %s'
-
-# src/session.sh
-msg_prokit_cant_lock_sessions='Cannot acquire sessions state lock'
-msg_prokit_install_running='Another instance of prokit is installing this '\
-'system'
-
-# src/block.sh
-msg_prokit_block_device_invalid='Not a block device: %s'
-msg_prokit_block_mkdir_fail='Failed to create block device mount point "%s"'
-msg_prokit_block_mount_fail='Failed to mount block device "%s"'
-msg_prokit_block_umount_fail='Failed to unmount block device mounted at "%s"'
-msg_prokit_block_rmdir_fail='Failed to remove block device mount point "%s"'
-
-# src/rand.sh
-msg_prokit_rand_bad_x='Invalid random number generator seed value'
-
-# src/cmd.sh
-msg_prokit_cmd_not_found='Command "%s" not found'
-msg_prokit_cmd_usage='Usage: %s %s %s'
-
-# src/cmd/help.sh
-msg_prokit_cmd_help_head='Usage: %s [<option> ...] <command> [<arg> ...]'
-msg_prokit_cmd_help_opts_head='Options:'
-msg_prokit_cmd_help_summary_head='Commands:'
-msg_prokit_cmd_help_summary='print this help message'
-msg_prokit_cmd_help_usage='[<command>]'
-
-# src/cmd/version.sh
-msg_prokit_cmd_version_summary='print version information'
-msg_prokit_cmd_version_usage=''
-msg_prokit_cmd_version_copyright='Copyright (C) %s %s
-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.'
-
-# src/cmd/install.sh
-msg_prokit_cmd_install_summary='install a system into a directory'
-msg_prokit_cmd_install_usage='[-a <arch>] [-p <plat>] [-m <mirror>] [-F] '\
-'<suite> <root>'
-
-# src/cmd/shell.sh
-msg_prokit_cmd_shell_summary='run a shell in an isolated environment'
-msg_prokit_cmd_shell_usage='<root> [<command> [<argument> ...]]'
-msg_prokit_cmd_shell_exiting='Exiting...'
-
-# src/cmd/opkg.sh
-msg_prokit_cmd_opkg_summary='manage packages with opkg'
-msg_prokit_cmd_opkg_usage='<root> [<option> ...] <sub-command> '\
-'[<argument> ...]'
-
-# src/cmd/build.sh
-msg_prokit_cmd_build_summary='build a package'
-msg_prokit_cmd_build_usage='<root> [-l] [<option> ...] <pkg-dir>'
-msg_prokit_cmd_build_not_a_dir='Not a directory: %s'
-
-# src/cmd/installer-pc.sh
-msg_prokit_cmd_installer_pc_summary='install a PC system onto a block device'
-msg_prokit_cmd_installer_pc_usage='-a <arch> -p <plat> [-m <mirror>] [-F] '\
-'<suite> <device>'
-msg_prokit_cmd_installer_pc_dd='Clearing MBR and partition table...'
-msg_prokit_cmd_installer_pc_dd_fail='Failed to clear MBR and partition table'
-msg_prokit_cmd_installer_pc_fdisk='Creating partition table...'
-msg_prokit_cmd_installer_pc_fdisk_fail='Failed to create partition table'
-msg_prokit_cmd_installer_pc_mkfs='Creating file system...'
-msg_prokit_cmd_installer_pc_mkfs_fail='Failed to create file system'
-
-# src/cmd/mkinitramfs.sh
-msg_prokit_cmd_mkinitramfs_summary='generate an initramfs containing an '\
-'installed system'
-msg_prokit_cmd_mkinitramfs_usage='-l <linux-output> -i <initramfs-output> '\
-'<root>'
-msg_prokit_cmd_mkinitramfs_kernel_not_found='No Linux image found'
-
-# src/profile.sh
-msg_prokit_profile_not_found='Profile "%s" not found'
-msg_prokit_profile_not_detected='No installed system found at "%s"'
-
-# src/package.sh
-msg_prokit_package_format_unknown='Unable to detect package format'
-
-# src/install.sh
-msg_prokit_install_bad_archplat='Invalid combination of architecture "%s" '\
-'and platform "%s"'
-msg_prokit_install_selected_arch='Using architecture %s'
-msg_prokit_install_selected_plat='Using platform %s'
-msg_prokit_install_selected_mirror='Using mirror %s'
-msg_prokit_install_setting_up_chroot='Setting up root...'
-msg_prokit_install_chroot_dir_exists='Directory "%s" exists'
-msg_prokit_install_mkdir_chroot_fail='Failed to create directory "%s"'
-msg_prokit_install_find_pkgs='Configuring opkg and retrieving Packages '\
-'files...'
-msg_prokit_install_downloading_pkg='Downloading %s...'
-msg_prokit_install_downloading_pkg_fail='Failed to download package'
-msg_prokit_install_unpacking_pkg='Unpacking %s...'
-msg_prokit_install_configuring='Configuring packages...'
-msg_prokit_install_checksum_fail='Checksum of package file failed'
+C.sh \ No newline at end of file
diff --git a/locale/local.mk b/locale/local.mk
index 3ab33d6..78a5489 100644
--- a/locale/local.mk
+++ b/locale/local.mk
@@ -1,2 +1,4 @@
locale_sources = \
+ locale/C.sh \
+ locale/POSIX.sh \
locale/en_US.sh