diff options
author | EuAndreh <eu@euandre.org> | 2021-10-03 12:22:57 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-10-03 12:22:57 -0300 |
commit | dfd56b73b2fc4edae07ec4dc46b0cf7b8525a3ae (patch) | |
tree | 3c25ee05556849257abd125411938e4e3a408296 /src/locale | |
parent | tests/: Copy files to temp directory to avoid messing with existing generated... (diff) | |
download | git-permalink-dfd56b73b2fc4edae07ec4dc46b0cf7b8525a3ae.tar.gz git-permalink-dfd56b73b2fc4edae07ec4dc46b0cf7b8525a3ae.tar.xz |
po/extract-strings.sh: Use dedicated file for extracting strings
Diffstat (limited to 'src/locale')
-rw-r--r-- | src/locale/en.sh | 5 | ||||
-rw-r--r-- | src/locale/eo.sh | 8 | ||||
-rw-r--r-- | src/locale/fr.sh | 8 | ||||
-rw-r--r-- | src/locale/pt.sh | 8 |
4 files changed, 14 insertions, 15 deletions
diff --git a/src/locale/en.sh b/src/locale/en.sh index 998bdfe..64dbe48 100644 --- a/src/locale/en.sh +++ b/src/locale/en.sh @@ -1,4 +1,5 @@ #!/bin/sh +# shellcheck disable=2034 set -eu MSG_USAGE="$(cat <<-'EOF' @@ -16,7 +17,7 @@ MSG_HELP="$(cat <<-'EOF' EOF )" -MSG_MISSING_FILE="$(echo <<-'EOF' +MSG_MISSING_FILE="$(cat <<-'EOF' Missing FILE argument. EOF )" @@ -33,5 +34,3 @@ MSG_OPEN="$(cat <<-'EOF' Opening %s EOF )" - -# diff --git a/src/locale/eo.sh b/src/locale/eo.sh index f4b92c2..e6c7ca1 100644 --- a/src/locale/eo.sh +++ b/src/locale/eo.sh @@ -1,4 +1,6 @@ -#!/bin/sh set -eu +#!/bin/sh +# shellcheck disable=2034 +set -eu MSG_USAGE="$(cat <<-'EOF' Uzmaniero: git permalink [-phV] DOSIERO [LINIONO] @@ -15,7 +17,7 @@ MSG_HELP="$(cat <<-'EOF' EOF )" -MSG_MISSING_FILE="$(echo <<-'EOF' +MSG_MISSING_FILE="$(cat <<-'EOF' La argumento DOSIERO mankas. EOF )" @@ -32,5 +34,3 @@ MSG_OPEN="$(cat <<-'EOF' Malfermado de %s EOF )" - -# diff --git a/src/locale/fr.sh b/src/locale/fr.sh index 6cd91bd..11bb792 100644 --- a/src/locale/fr.sh +++ b/src/locale/fr.sh @@ -1,4 +1,6 @@ -#!/bin/sh set -eu +#!/bin/sh +# shellcheck disable=2034 +set -eu MSG_USAGE="$(cat <<-'EOF' Usage: git permalink [-phV] FICHIER [LINENO] @@ -15,7 +17,7 @@ MSG_HELP="$(cat <<-'EOF' EOF )" -MSG_MISSING_FILE="$(echo <<-'EOF' +MSG_MISSING_FILE="$(cat <<-'EOF' L'argument FICHIER manque. EOF )" @@ -32,5 +34,3 @@ MSG_OPEN="$(cat <<-'EOF' Ouverture de %s EOF )" - -# diff --git a/src/locale/pt.sh b/src/locale/pt.sh index 6d6ed04..df89a55 100644 --- a/src/locale/pt.sh +++ b/src/locale/pt.sh @@ -1,4 +1,6 @@ -#!/bin/sh set -eu +#!/bin/sh +# shellcheck disable=2034 +set -eu MSG_USAGE="$(cat <<-'EOF' Uso: git permalink [-phV] ARQUIVO [NOLINHA] @@ -15,7 +17,7 @@ MSG_HELP="$(cat <<-'EOF' EOF )" -MSG_MISSING_FILE="$(echo <<-'EOF' +MSG_MISSING_FILE="$(cat <<-'EOF' Faltando argumento ARQUIVO. EOF )" @@ -32,5 +34,3 @@ MSG_OPEN="$(cat <<-'EOF' Abrindo %s EOF )" - -# |