aboutsummaryrefslogtreecommitdiff
path: root/src/locale/en.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-10-02 21:21:32 -0300
committerEuAndreh <eu@euandre.org>2021-10-02 21:21:32 -0300
commita23c1b4f9f81a1da2b0aa426f564c8f954b22965 (patch)
tree177c0e77ed3b538bd292de3a6ee298981af6ea5e /src/locale/en.sh
parentaux/ci/report.sh: Use { cmd1; cmd2; } > OUT pattern (ShellCheck offense) (diff)
downloadgit-permalink-a23c1b4f9f81a1da2b0aa426f564c8f954b22965.tar.gz
git-permalink-a23c1b4f9f81a1da2b0aa426f564c8f954b22965.tar.xz
Makefile: Generate src/locale/en.sh for translation
Diffstat (limited to 'src/locale/en.sh')
-rw-r--r--src/locale/en.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/locale/en.sh b/src/locale/en.sh
new file mode 100644
index 0000000..a777eac
--- /dev/null
+++ b/src/locale/en.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+set -eu
+
+#
+# Translatable strings
+#
+
+_G() {
+ echo "$1"
+}
+
+MSG_USAGE="$(_G 'Usage: git permalink [-phV] FILE [LINENO]')"
+MSG_HELP="$(_G '
+Options:
+ -p only print the link, don'"'"'t try to open it
+ -h, --help show this help message
+ -V, --version print the version number
+
+See "man git-permalink" for more information.
+')"
+
+MSG_MISSING_FILE="$(_G 'Missing FILE argument.')"
+
+MSG_UNSUPPORTED_ORIGIN="$(_G 'Unsupported origin: %s.
+
+Add an template override to use git-permalink (see
+"man git-permalink.1" for instructions).')"
+
+MSG_OPEN="$(_G 'Opening %s')"
+
+#