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