summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-02 18:28:18 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-02 18:32:01 (EST)
commit5e06af10629bf2dcabfb618997eee21353e16036 (patch)
treeafdd08cfe116d9a0d6f4c7fa701dc4093e32539e
parentf7809b045500b65a754a3b42279c808f237b58a9 (diff)
locale: Add C and POSIX locales
-rw-r--r--NEWS2
-rw-r--r--locale/C.sh34
l---------locale/POSIX.sh1
l---------[-rw-r--r--]locale/en_US.sh35
-rw-r--r--locale/local.mk2
5 files changed, 40 insertions, 34 deletions
diff --git a/NEWS b/NEWS
index 9f06151..f7cd2a7 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,8 @@ Changes in this release:
when appropriate (as determined by libopkbuild).
* oh-shlibdeps no longer overwrites the contents of existing substvars
files.
+ * "C" and "POSIX" locales have been added. They are identical to the
+ "en_US" locale.
opkhelper version 3.1.3
-----------------------
diff --git a/locale/C.sh b/locale/C.sh
new file mode 100644
index 0000000..db39953
--- /dev/null
+++ b/locale/C.sh
@@ -0,0 +1,34 @@
+# opkhelper
+# locale/en_US/opkhelper
+# English message strings for the "opkhelper" text domain.
+#
+# Copyright (C) 2012 Patrick "P. J." McDermott
+#
+# This program 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 2 of the License, or
+# (at your option) any later version.
+#
+# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
+
+msg_opkhelper_bad_opt='Invalid option'
+msg_opkhelper_installing_files='Installing files for package "%s"...'
+msg_opkhelper_files_not_installed='Some files have not been installed into packages'
+msg_opkhelper_strip_so='Stripping shared library "%s"...'
+msg_opkhelper_strip_exe='Stripping executable object "%s"...'
+msg_opkhelper_strip_a='Stripping static library "%s"...'
+msg_opkhelper_chown='Setting ownership of files...'
+msg_opkhelper_chmod_lib='Setting mode of library files...'
+msg_opkhelper_chmod_include='Setting mode of header files...'
+msg_opkhelper_chmod_man='Setting mode of manual files...'
+msg_opkhelper_chmod_bin='Setting mode of program files in "%s"...'
+msg_opkhelper_no_capable_build_sys='No capable build system found'
+msg_opkhelper_no_capable_host_arch='No capable build system host architecture found'
+msg_opkhelper_shlib_no_lib='Library "%s" not found'
+msg_opkhelper_shlib_no_pkg='No package found containing library "%s"'
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 db39953..166a440 100644..120000
--- a/locale/en_US.sh
+++ b/locale/en_US.sh
@@ -1,34 +1 @@
-# opkhelper
-# locale/en_US/opkhelper
-# English message strings for the "opkhelper" text domain.
-#
-# Copyright (C) 2012 Patrick "P. J." McDermott
-#
-# This program 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 2 of the License, or
-# (at your option) any later version.
-#
-# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
-
-msg_opkhelper_bad_opt='Invalid option'
-msg_opkhelper_installing_files='Installing files for package "%s"...'
-msg_opkhelper_files_not_installed='Some files have not been installed into packages'
-msg_opkhelper_strip_so='Stripping shared library "%s"...'
-msg_opkhelper_strip_exe='Stripping executable object "%s"...'
-msg_opkhelper_strip_a='Stripping static library "%s"...'
-msg_opkhelper_chown='Setting ownership of files...'
-msg_opkhelper_chmod_lib='Setting mode of library files...'
-msg_opkhelper_chmod_include='Setting mode of header files...'
-msg_opkhelper_chmod_man='Setting mode of manual files...'
-msg_opkhelper_chmod_bin='Setting mode of program files in "%s"...'
-msg_opkhelper_no_capable_build_sys='No capable build system found'
-msg_opkhelper_no_capable_host_arch='No capable build system host architecture found'
-msg_opkhelper_shlib_no_lib='Library "%s" not found'
-msg_opkhelper_shlib_no_pkg='No package found containing library "%s"'
+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