From 5e06af10629bf2dcabfb618997eee21353e16036 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 02 Jan 2021 18:28:18 -0500 Subject: locale: Add C and POSIX locales --- 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 . + +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 . - -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 -- cgit v0.9.1