|
|
df9758 |
#!/bin/bash
|
|
|
df9758 |
#
|
|
|
df9758 |
# render_loadConfig.sh -- This function specifies translation
|
|
|
df9758 |
# markers and replacements for anaconda progress `04-repos.png' slide.
|
|
|
df9758 |
#
|
|
|
df9758 |
# Copyright (C) 2009-2011 Alain Reguera Delgado
|
|
|
df9758 |
#
|
|
|
df9758 |
# This program is free software; you can redistribute it and/or
|
|
|
df9758 |
# modify it under the terms of the GNU General Public License as
|
|
|
df9758 |
# published by the Free Software Foundation; either version 2 of the
|
|
|
df9758 |
# License, or (at your option) any later version.
|
|
|
df9758 |
#
|
|
|
df9758 |
# This program is distributed in the hope that it will be useful, but
|
|
|
df9758 |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
df9758 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
df9758 |
# General Public License for more details.
|
|
|
df9758 |
#
|
|
|
df9758 |
# You should have received a copy of the GNU General Public License
|
|
|
df9758 |
# along with this program; if not, write to the Free Software
|
|
|
df9758 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
df9758 |
# USA.
|
|
|
df9758 |
# ----------------------------------------------------------------------
|
|
|
df9758 |
# $Id$
|
|
|
df9758 |
# ----------------------------------------------------------------------
|
|
|
df9758 |
|
|
|
df9758 |
function render_loadConfig {
|
|
|
df9758 |
|
|
|
df9758 |
local INDEX=''
|
|
|
df9758 |
|
|
|
df9758 |
# Define translation markers.
|
|
|
df9758 |
SRC[0]='=TITLE='
|
|
|
df9758 |
for INDEX in {1..6};do
|
|
|
df9758 |
SRC[$INDEX]="=TEXT${INDEX}="
|
|
|
df9758 |
done
|
|
|
027d9d |
SRC[7]='=URL='
|
|
|
df9758 |
|
|
|
df9758 |
# Define replacements for translation markers.
|
|
|
027d9d |
DST[0]="`gettext "CentOS Repositories/"`"
|
|
|
df9758 |
|
|
|
df9758 |
DST[1]="`gettext "The following repositories exist in CentOS to install software from:"`"
|
|
|
df9758 |
|
|
|
df9758 |
DST[2]="`gettext "<flowSpan style=\\\"font-weight:bold\\\">[base]</flowSpan> (aka <flowSpan style=\\\"font-weight:bold\\\">[os]</flowSpan>) - The RPMS released on a CentOS ISO."`"
|
|
|
df9758 |
|
|
|
df9758 |
DST[3]="`gettext "<flowSpan style=\\\"font-weight:bold\\\">[updates]</flowSpan> - Updates to the [base] repository."`"
|
|
|
df9758 |
|
|
|
df9758 |
DST[4]="`gettext "<flowSpan style=\\\"font-weight:bold\\\">[extras]</flowSpan> - Items by CentOS that are not upstream (does not upgrade [base])."`"
|
|
|
df9758 |
|
|
|
df9758 |
DST[5]="`gettext "<flowSpan style=\\\"font-weight:bold\\\">[centosplus]</flowSpan> - Items by CentOS that are not upstream (does upgrade [base])"`"
|
|
|
df9758 |
|
|
|
df9758 |
DST[6]=''
|
|
|
df9758 |
|
|
|
027d9d |
DST[7]="=URL_WIKI=AdditionalResources/Repositories/"
|
|
|
df9758 |
|
|
|
df9758 |
}
|