From 949ed3f5157c46542fa4d4ed0e3c21c57a2a5d53 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Apr 22 2011 20:45:04 +0000 Subject: Update cli_replaceTMarkers.sh: - Add =REPO_TLDIR= translation marker and expand it using cli_getRepoTLDir function output. --- diff --git a/Scripts/Functions/cli_replaceTMarkers.sh b/Scripts/Functions/cli_replaceTMarkers.sh index 4dc6732..8ee0a62 100755 --- a/Scripts/Functions/cli_replaceTMarkers.sh +++ b/Scripts/Functions/cli_replaceTMarkers.sh @@ -67,6 +67,7 @@ function cli_replaceTMarkers { SRC[20]='=URL_IRC=' SRC[21]='=LOCALE_LL=' SRC[22]='=LOCALE=' + SRC[23]='=REPO_TLDIR=' # Define replacements for translation markers. DST[0]="$(cli_getCopyrightInfo '--copyright-year')" @@ -100,6 +101,7 @@ function cli_replaceTMarkers { DST[20]='http://www.centos.org/modules/tinycontent/index.php?id=8' DST[21]="$(cli_getCurrentLocale '--langcode-only')" DST[22]="$(cli_getCurrentLocale)" + DST[23]="$(cli_getRepoTLDir)" # Do replacement of nested translation markers. while [[ $COUNTDST -lt ${#DST[@]} ]];do