categories.subr (250536) | categories.subr (250537) |
---|---|
1if [ ! "$_PACKAGES_CATEGORIES_SUBR" ]; then _PACKAGES_CATEGORIES_SUBR=1 2# 3# Copyright (c) 2013 Devin Teske 4# All Rights Reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 10 unchanged lines hidden (view full) --- 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# | 1if [ ! "$_PACKAGES_CATEGORIES_SUBR" ]; then _PACKAGES_CATEGORIES_SUBR=1 2# 3# Copyright (c) 2013 Devin Teske 4# All Rights Reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 10 unchanged lines hidden (view full) --- 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# |
27# $FreeBSD: head/usr.sbin/bsdconfig/share/packages/categories.subr 250536 2013-05-12 00:40:49Z dteske $ | 27# $FreeBSD: head/usr.sbin/bsdconfig/share/packages/categories.subr 250537 2013-05-12 00:44:40Z dteske $ |
28# 29############################################################ INCLUDES 30 31BSDCFG_SHARE="/usr/share/bsdconfig" 32. $BSDCFG_SHARE/common.subr || exit 1 33f_dprintf "%s: loading includes..." packages/categories.subr 34f_include $BSDCFG_SHARE/strings.subr 35 --- 65 unchanged lines hidden (view full) --- 101# 102# Load descriptions for package categories. Note that we don't internationalize 103# category names because this would be confusing for people used to that browse 104# the FTP mirrors or are otherwise familiar with an interface that does not 105# provide internationalized names. The descriptions can be used to provide i18n 106# users a description of the non-i18n category name. 107# 108f_category() { f_category_desc_set "$1" "$2"; } | 28# 29############################################################ INCLUDES 30 31BSDCFG_SHARE="/usr/share/bsdconfig" 32. $BSDCFG_SHARE/common.subr || exit 1 33f_dprintf "%s: loading includes..." packages/categories.subr 34f_include $BSDCFG_SHARE/strings.subr 35 --- 65 unchanged lines hidden (view full) --- 101# 102# Load descriptions for package categories. Note that we don't internationalize 103# category names because this would be confusing for people used to that browse 104# the FTP mirrors or are otherwise familiar with an interface that does not 105# provide internationalized names. The descriptions can be used to provide i18n 106# users a description of the non-i18n category name. 107# 108f_category() { f_category_desc_set "$1" "$2"; } |
109f_category All "$msg_all_available_packages_in_all_categories" | 109f_category All "$msg_all_desc" |
110f_category accessibility "$msg_accessibility_desc" 111f_category afterstep "$msg_afterstep_desc" 112f_category arabic "$msg_arabic_desc" 113f_category archivers "$msg_archivers_desc" 114f_category astro "$msg_astro_desc" 115f_category audio "$msg_audio_desc" 116f_category benchmarks "$msg_benchmarks_desc" 117f_category biology "$msg_biology_desc" --- 90 unchanged lines hidden --- | 110f_category accessibility "$msg_accessibility_desc" 111f_category afterstep "$msg_afterstep_desc" 112f_category arabic "$msg_arabic_desc" 113f_category archivers "$msg_archivers_desc" 114f_category astro "$msg_astro_desc" 115f_category audio "$msg_audio_desc" 116f_category benchmarks "$msg_benchmarks_desc" 117f_category biology "$msg_biology_desc" --- 90 unchanged lines hidden --- |