summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--lib/locale.sh2
-rw-r--r--locale/en_MID/libopkbuild_1.sh49
-rw-r--r--locale/en_MID/libopkbuild_2.sh49
-rw-r--r--locale/en_US/libopkbuild_1.sh49
-rw-r--r--locale/en_US/libopkbuild_2.sh49
-rw-r--r--locale/local.mk4
7 files changed, 102 insertions, 102 deletions
diff --git a/Makefile.am b/Makefile.am
index 0d455c7..f77e1b6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -59,7 +59,7 @@ libopkbuild_sources =
EXTRA_libopkbuild_sources =
libopkbuild_ldadd = $(libopkbuild_sources:.sh=.sho)
libopkbuild_dependencies = $(libopkbuild_ldadd)
-libopkbuild_shsoversion = 1
+libopkbuild_shsoversion = 2
man1_MANS = $(man1_sources:.1in=.1)
man3_MANS = $(man3_sources:.3in=.3)
diff --git a/lib/locale.sh b/lib/locale.sh
index 27fdd25..c1fae2d 100644
--- a/lib/locale.sh
+++ b/lib/locale.sh
@@ -18,7 +18,7 @@
# along with opkbuild. If not, see <http://www.gnu.org/licenses/>.
_OB_DEFAULT_LOCALE='en_US'
-_OB_INTERNAL_TEXT_DOMAIN='libopkbuild_1'
+_OB_INTERNAL_TEXT_DOMAIN="libopkbuild_${LIBOPKBUILD_SHSOVERSION}"
_OB_TEXT_DOMAIN=
_OB_LOCALE_PATH="${LOCALEDIR}/%s/LC_MESSAGES/%s.ms"
diff --git a/locale/en_MID/libopkbuild_1.sh b/locale/en_MID/libopkbuild_1.sh
deleted file mode 100644
index df81d5a..0000000
--- a/locale/en_MID/libopkbuild_1.sh
+++ /dev/null
@@ -1,49 +0,0 @@
-# Dummy test strings for the "libopkbuild_1" text domain
-#
-# Copyright (C) 2012 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/package.sh
-msg_libopkbuild_1_unable_to_detect_package_format='«unable_to_detect_package_format»'
-msg_libopkbuild_1_bad_binary_name='«bad_binary_name»'
-msg_libopkbuild_1_duplicate_clean_binary_name='«duplicate_clean_binary_name»'
-
-# lib/control.sh
-msg_libopkbuild_1_control_empty_line='«control_empty_line»'
-msg_libopkbuild_1_control_bad_nv='«control_bad_nv»'
-msg_libopkbuild_1_control_unknown_field='«control_unknown_field»'
-msg_libopkbuild_1_control_duplicate_field='«control_duplicate_field»'
-msg_libopkbuild_1_control_found_contination='«control_found_continuation»'
-msg_libopkbuild_1_list_item_separator='«list_item_separator»'
-msg_libopkbuild_1_control_missing_fields='«control_missing_fields»'
-msg_libopkbuild_1_substvar_deep_nesting='«substvar_deep_nesting»'
-
-# lib/changelog.sh
-msg_libopkbuild_1_changelog_found_blank_line='«changelog_found_blank_line»'
-msg_libopkbuild_1_changelog_found_heading='«changelog_found_heading»'
-msg_libopkbuild_1_changelog_bad_heading='«changelog_bad_heading»'
-msg_libopkbuild_1_changelog_bad_source='«changelog_bad_source»'
-msg_libopkbuild_1_changelog_bad_source_version='«changelog_bad_source_version»'
-msg_libopkbuild_1_changelog_found_trailer='«changelog_found_trailer»'
-msg_libopkbuild_1_changelog_bad_trailer='«changelog_bad_trailer»'
-msg_libopkbuild_1_changelog_found_change='«changelog_found_change»'
-msg_libopkbuild_1_changelog_bad_line='«changelog_bad_line»'
-msg_libopkbuild_1_changelog_found_eof='«changelog_found_eof»'
-msg_libopkbuild_1_changelog_expect_first_heading='«changelog_expect_first_heading»'
-msg_libopkbuild_1_changelog_expect_start_changes='«changelog_expect_start_changes»'
-msg_libopkbuild_1_changelog_expect_next_or_eof='«changelog_expect_next_or_eof»'
-msg_libopkbuild_1_changelog_expect_changes_or_trailer='«changelog_expect_changes_or_trailer»'
diff --git a/locale/en_MID/libopkbuild_2.sh b/locale/en_MID/libopkbuild_2.sh
new file mode 100644
index 0000000..05bdf35
--- /dev/null
+++ b/locale/en_MID/libopkbuild_2.sh
@@ -0,0 +1,49 @@
+# Dummy test strings for the "libopkbuild_2" text domain
+#
+# Copyright (C) 2012 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/package.sh
+msg_libopkbuild_2_unable_to_detect_package_format='«unable_to_detect_package_format»'
+msg_libopkbuild_2_bad_binary_name='«bad_binary_name»'
+msg_libopkbuild_2_duplicate_clean_binary_name='«duplicate_clean_binary_name»'
+
+# lib/control.sh
+msg_libopkbuild_2_control_empty_line='«control_empty_line»'
+msg_libopkbuild_2_control_bad_nv='«control_bad_nv»'
+msg_libopkbuild_2_control_unknown_field='«control_unknown_field»'
+msg_libopkbuild_2_control_duplicate_field='«control_duplicate_field»'
+msg_libopkbuild_2_control_found_contination='«control_found_continuation»'
+msg_libopkbuild_2_list_item_separator='«list_item_separator»'
+msg_libopkbuild_2_control_missing_fields='«control_missing_fields»'
+msg_libopkbuild_2_substvar_deep_nesting='«substvar_deep_nesting»'
+
+# lib/changelog.sh
+msg_libopkbuild_2_changelog_found_blank_line='«changelog_found_blank_line»'
+msg_libopkbuild_2_changelog_found_heading='«changelog_found_heading»'
+msg_libopkbuild_2_changelog_bad_heading='«changelog_bad_heading»'
+msg_libopkbuild_2_changelog_bad_source='«changelog_bad_source»'
+msg_libopkbuild_2_changelog_bad_source_version='«changelog_bad_source_version»'
+msg_libopkbuild_2_changelog_found_trailer='«changelog_found_trailer»'
+msg_libopkbuild_2_changelog_bad_trailer='«changelog_bad_trailer»'
+msg_libopkbuild_2_changelog_found_change='«changelog_found_change»'
+msg_libopkbuild_2_changelog_bad_line='«changelog_bad_line»'
+msg_libopkbuild_2_changelog_found_eof='«changelog_found_eof»'
+msg_libopkbuild_2_changelog_expect_first_heading='«changelog_expect_first_heading»'
+msg_libopkbuild_2_changelog_expect_start_changes='«changelog_expect_start_changes»'
+msg_libopkbuild_2_changelog_expect_next_or_eof='«changelog_expect_next_or_eof»'
+msg_libopkbuild_2_changelog_expect_changes_or_trailer='«changelog_expect_changes_or_trailer»'
diff --git a/locale/en_US/libopkbuild_1.sh b/locale/en_US/libopkbuild_1.sh
deleted file mode 100644
index 8f18f9c..0000000
--- a/locale/en_US/libopkbuild_1.sh
+++ /dev/null
@@ -1,49 +0,0 @@
-# English message strings for the "libopkbuild_1" text domain
-#
-# Copyright (C) 2012 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/package.sh
-msg_libopkbuild_1_unable_to_detect_package_format='Unable to detect package format'
-msg_libopkbuild_1_bad_binary_name='Bad binary package name: "%s"'
-msg_libopkbuild_1_duplicate_clean_binary_name='Duplicate clean binary package name: "%s"'
-
-# lib/control.sh
-msg_libopkbuild_1_control_empty_line='empty line'
-msg_libopkbuild_1_control_bad_nv='badly formatted control field'
-msg_libopkbuild_1_control_unknown_field='unrecognized field "%s"'
-msg_libopkbuild_1_control_duplicate_field='duplicate field "%s"'
-msg_libopkbuild_1_control_found_contination='found continuation line where expected start of field'
-msg_libopkbuild_1_list_item_separator=', '
-msg_libopkbuild_1_control_missing_fields='missing fields: %s'
-msg_libopkbuild_1_substvar_deep_nesting='Possible recursion in substitutions'
-
-# lib/changelog.sh
-msg_libopkbuild_1_changelog_found_blank_line='found blank line where expected %s'
-msg_libopkbuild_1_changelog_found_heading='found start of entry where expected %s'
-msg_libopkbuild_1_changelog_bad_heading='badly formatted heading line'
-msg_libopkbuild_1_changelog_bad_source='invalid source package name "%s"'
-msg_libopkbuild_1_changelog_bad_source_version='invalid source package version identifier "%s"'
-msg_libopkbuild_1_changelog_found_trailer='found trailer where expected %s'
-msg_libopkbuild_1_changelog_bad_trailer='badly formatted trailer line'
-msg_libopkbuild_1_changelog_found_change='found change data where expected %s'
-msg_libopkbuild_1_changelog_bad_line='unrecognized line'
-msg_libopkbuild_1_changelog_found_eof='found eof where expected %s'
-msg_libopkbuild_1_changelog_expect_first_heading='first heading'
-msg_libopkbuild_1_changelog_expect_start_changes='next heading or eof'
-msg_libopkbuild_1_changelog_expect_next_or_eof='start of change data'
-msg_libopkbuild_1_changelog_expect_changes_or_trailer='more change data or trailer'
diff --git a/locale/en_US/libopkbuild_2.sh b/locale/en_US/libopkbuild_2.sh
new file mode 100644
index 0000000..bf70a12
--- /dev/null
+++ b/locale/en_US/libopkbuild_2.sh
@@ -0,0 +1,49 @@
+# English message strings for the "libopkbuild_2" text domain
+#
+# Copyright (C) 2012 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/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/control.sh
+msg_libopkbuild_2_control_empty_line='empty line'
+msg_libopkbuild_2_control_bad_nv='badly formatted control field'
+msg_libopkbuild_2_control_unknown_field='unrecognized field "%s"'
+msg_libopkbuild_2_control_duplicate_field='duplicate field "%s"'
+msg_libopkbuild_2_control_found_contination='found continuation line where expected start of field'
+msg_libopkbuild_2_list_item_separator=', '
+msg_libopkbuild_2_control_missing_fields='missing fields: %s'
+msg_libopkbuild_2_substvar_deep_nesting='Possible recursion in substitutions'
+
+# lib/changelog.sh
+msg_libopkbuild_2_changelog_found_blank_line='found blank line where expected %s'
+msg_libopkbuild_2_changelog_found_heading='found start of entry where expected %s'
+msg_libopkbuild_2_changelog_bad_heading='badly formatted heading line'
+msg_libopkbuild_2_changelog_bad_source='invalid source package name "%s"'
+msg_libopkbuild_2_changelog_bad_source_version='invalid source package version identifier "%s"'
+msg_libopkbuild_2_changelog_found_trailer='found trailer where expected %s'
+msg_libopkbuild_2_changelog_bad_trailer='badly formatted trailer line'
+msg_libopkbuild_2_changelog_found_change='found change data where expected %s'
+msg_libopkbuild_2_changelog_bad_line='unrecognized line'
+msg_libopkbuild_2_changelog_found_eof='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/local.mk b/locale/local.mk
index fd9e02d..69fd0cc 100644
--- a/locale/local.mk
+++ b/locale/local.mk
@@ -1,4 +1,4 @@
locale_sources = \
- locale/en_MID/libopkbuild_1.sh \
- locale/en_US/libopkbuild_1.sh \
+ locale/en_MID/libopkbuild_2.sh \
+ locale/en_US/libopkbuild_2.sh \
locale/en_US/opkbuild.sh