| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function locale_updateMessageShell { |
| |
| |
| cli_printMessage '-' --as-separator-line |
| |
| |
| |
| |
| local FILE="${WORKDIR}/${TEXTDOMAIN}" |
| |
| |
| |
| local EXTENSION='sh' |
| |
| |
| |
| |
| |
| |
| |
| local FILES=$(cli_getFilesList $ACTIONVAL --pattern="${FLAG_FILTER}\.${EXTENSION}") |
| |
| |
| cli_printMessage "${FILE}.pot" --as-updating-line |
| |
| |
| |
| /usr/bin/xgettext --output=${FILE}.pot \ |
| --copyright-holder="The CentOS L10n SIG" \ |
| --width=70 --sort-by-file ${FILES} |
| |
| |
| ${FUNCNAM}_updateMessageMetadata "${FILE}.pot" |
| |
| |
| |
| ${FUNCNAM}_updateMessagePObjects "${FILE}" |
| |
| } |