From a29af885ba538514cb5aaf9caa648f18749bbc14 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 16 2012 20:32:56 +0000 Subject: Update `Functions/Locale/locale.sh' file. --- diff --git a/Scripts/Bash/Functions/Locale/locale.sh b/Scripts/Bash/Functions/Locale/locale.sh index dd86f3e..e9b77ae 100755 --- a/Scripts/Bash/Functions/Locale/locale.sh +++ b/Scripts/Bash/Functions/Locale/locale.sh @@ -66,13 +66,6 @@ function locale { # against source locations in the working copy. ACTIONVAL=$(cli_checkRepoDirSource "${ACTIONVAL}") - # Verify directory passed as non-option argument to be sure it - # supports localization. - locale_isLocalizable "${ACTIONVAL}" - if [[ $? -ne 0 ]];then - cli_printMessage "`gettext "The path provided does not support localization."`" --as-error-line - fi - # Define localization working directory using directory passed # as non-option argument. The localization working directory # is the place where POT and PO files are stored inside the @@ -80,12 +73,6 @@ function locale { L10N_WORKDIR=$(echo "${ACTIONVAL}" \ | sed -r -e "s!trunk/(Identity|Scripts|Documentation)!trunk/Locales/\1!")/$(cli_getCurrentLocale) - # Syncronize changes between repository and working copy. At - # this point, changes in the repository are merged in the - # working copy and changes in the working copy committed up to - # repository. - ${CLI_NAME} svn --sync "${L10N_WORKDIR}" - # Execute localization actions provided to centos-art.sh # script through its command-line. Notice that localization # actions will be executed in the same order they were @@ -94,12 +81,6 @@ function locale { ${ACTIONNAM} done - # Syncronize changes between repository and working copy. At - # this point, changes in the repository are merged in the - # working copy and changes in the working copy committed up to - # repository. - ${CLI_NAME} svn --sync "${L10N_WORKDIR}" - done }