diff options
author | EuAndreh <eu@euandre.org> | 2020-11-04 17:38:20 -0300 |
---|---|---|
committer | nixpkgs-review <nixpkgs-review@example.com> | 2020-11-04 17:38:31 -0300 |
commit | 74e220677ac2cb1bef16d0f62092d56db6f62e1d (patch) | |
tree | 584206f01cc1b1a2dffedbffb943d4d7fb601ac2 /locale/eo/LC_MESSAGES/_tils/2020-08-28-grep-online-repositories.po | |
parent | Update mdpo version: 0.2.36 -> 0.2.37 (diff) | |
download | euandre.org-74e220677ac2cb1bef16d0f62092d56db6f62e1d.tar.gz euandre.org-74e220677ac2cb1bef16d0f62092d56db6f62e1d.tar.xz |
Add all code blocks to translation po files
Diffstat (limited to 'locale/eo/LC_MESSAGES/_tils/2020-08-28-grep-online-repositories.po')
-rw-r--r-- | locale/eo/LC_MESSAGES/_tils/2020-08-28-grep-online-repositories.po | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/locale/eo/LC_MESSAGES/_tils/2020-08-28-grep-online-repositories.po b/locale/eo/LC_MESSAGES/_tils/2020-08-28-grep-online-repositories.po index 04c099f..483fc9a 100644 --- a/locale/eo/LC_MESSAGES/_tils/2020-08-28-grep-online-repositories.po +++ b/locale/eo/LC_MESSAGES/_tils/2020-08-28-grep-online-repositories.po @@ -86,3 +86,81 @@ msgstr "" msgid "When no argument is provided, it prints the usage text:" msgstr "" + +msgid "" +"#!/usr/bin/env bash\n" +"set -eu\n" +"\n" +"end=\"\\033[0m\"\n" +"red=\"\\033[0;31m\"\n" +"red() { echo -e \"${red}${1}${end}\"; }\n" +"\n" +"usage() {\n" +" red \"Missing argument $1.\\n\"\n" +" cat <<EOF\n" +"Usage:\n" +" $0 <REGEX_PATTERN> <REPOSITORY_URL>\n" +"\n" +" Arguments:\n" +" REGEX_PATTERN Regular expression that \"git grep\" can search\n" +" REPOSITORY_URL URL address that \"git clone\" can download the repository from\n" +"\n" +"Examples:\n" +" Searching \"make get-git\" in cgit repository:\n" +" git search 'make get-git' https://git.zx2c4.com/cgit/\n" +" git search 'make get-git' https://git.zx2c4.com/cgit/ -- \\$(git rev-list --all)\n" +"EOF\n" +" exit 2\n" +"}\n" +"\n" +"\n" +"REGEX_PATTERN=\"${1:-}\"\n" +"REPOSITORY_URL=\"${2:-}\"\n" +"[[ -z \"${REGEX_PATTERN}\" ]] && usage 'REGEX_PATTERN'\n" +"[[ -z \"${REPOSITORY_URL}\" ]] && usage 'REPOSITORY_URL'\n" +"\n" +"mkdir -p /tmp/git-search\n" +"DIRNAME=\"$(echo \"${REPOSITORY_URL%/}\" | rev | cut -d/ -f1 | rev)\"\n" +"if [[ ! -d \"/tmp/git-search/${DIRNAME}\" ]]; then\n" +" git clone \"${REPOSITORY_URL}\" \"/tmp/git-search/${DIRNAME}\"\n" +"fi\n" +"pushd \"/tmp/git-search/${DIRNAME}\"\n" +"\n" +"shift 3 || shift 2 # when \"--\" is missing\n" +"git grep \"${REGEX_PATTERN}\" \"${@}\"\n" +msgstr "" + +msgid "" +"$ git search 'make get-git' https://git.zx2c4.com/cgit/\n" +"Clonage dans '/tmp/git-search/cgit'...\n" +"remote: Enumerating objects: 542, done.\n" +"remote: Counting objects: 100% (542/542), done.\n" +"remote: Compressing objects: 100% (101/101), done.\n" +"warning: object 51dd1eff1edc663674df9ab85d2786a40f7ae3a5: gitmodulesParse: could not parse gitmodules blob\n" +"remote: Total 7063 (delta 496), reused 446 (delta 441), pack-reused 6521\n" +"Réception d'objets: 100% (7063/7063), 8.69 Mio | 5.39 Mio/s, fait.\n" +"Résolution des deltas: 100% (5047/5047), fait.\n" +"/tmp/git-search/cgit ~/dev/libre/songbooks/docs\n" +"README: $ make get-git\n" +"\n" +"$ git search 'make get-git' https://git.zx2c4.com/cgit/\n" +"/tmp/git-search/cgit ~/dev/libre/songbooks/docs\n" +"README: $ make get-git\n" +msgstr "" + +msgid "" +"$ git search\n" +"Missing argument REGEX_PATTERN.\n" +"\n" +"Usage:\n" +" /home/andreh/dev/libre/dotfiles/scripts/ad-hoc/git-search <REGEX_PATTERN> <REPOSITORY_URL>\n" +"\n" +" Arguments:\n" +" REGEX_PATTERN Regular expression that \"git grep\" can search\n" +" REPOSITORY_URL URL address that \"git clone\" can download the repository from\n" +"\n" +"Examples:\n" +" Searching \"make get-git\" in cgit repository:\n" +" git search 'make get-git' https://git.zx2c4.com/cgit/\n" +" git search 'make get-git' https://git.zx2c4.com/cgit/ -- $(git rev-list --all)\n" +msgstr "" |