Blame Scripts/Bash/Functions/Render/render_doIdentityTMarkers.sh

7ac81d
#!/bin/bash
7ac81d
#
b46d06
# render_doIdentityTMarkers.sh -- This function standardizes
ce40cb
# replacements for both specific and common translation markers.  This
ce40cb
# function must be called from render_getIdentityDefs.sh function
ce40cb
# (after instance creation and before final file creation).
ce40cb
# Raplacements are applied to temporal instances used to produce the
ce40cb
# final file.
7ac81d
#
9f5f2e
# Copyright (C) 2009-2011 Alain Reguera Delgado
7ac81d
# 
7cd8e9
# This program is free software; you can redistribute it and/or
7cd8e9
# modify it under the terms of the GNU General Public License as
7cd8e9
# published by the Free Software Foundation; either version 2 of the
7cd8e9
# License, or (at your option) any later version.
7ac81d
# 
7ac81d
# This program is distributed in the hope that it will be useful, but
7ac81d
# WITHOUT ANY WARRANTY; without even the implied warranty of
7ac81d
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
7ac81d
# General Public License for more details.
7ac81d
#
7ac81d
# You should have received a copy of the GNU General Public License
7ac81d
# along with this program; if not, write to the Free Software
7ac81d
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
7ac81d
# USA.
7ac81d
# 
7ac81d
# ----------------------------------------------------------------------
7ac81d
# $Id$
7ac81d
# ----------------------------------------------------------------------
7ac81d
b46d06
function render_doIdentityTMarkers {
7ac81d
ce40cb
    # Apply specific replacements for specific translation markers.
bbd6b9
    if [[ -f $TRANSLATION ]];then
bbd6b9
        render_doIdentityTMarkersSpecifics
bbd6b9
    fi
220ca9
ce40cb
    # Apply common replacements for common translation markers.
b46d06
    render_doIdentityTMarkersCommons
7ac81d
7ac81d
}