LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-sh-i18n

Internationalization support library for Git shell scripts

TLDR

Source for i18n support
$ . "$(git --exec-path)/git-sh-i18n"
copy

SYNOPSIS

git-sh-i18n

DESCRIPTION

git-sh-i18n is a shell scriptlet designed to be sourced (using .) by Git's porcelain programs implemented in shell script. It provides wrappers for the GNU gettext and eval_gettext functions accessible through the gettext.sh script, and provides pass-through fallbacks on systems without GNU gettext.The gettext function translates a given string and outputs the result. The eval_gettext function translates a given string with variable placeholders, evaluating any variables in the result using git-sh-i18n--envsubst. This is not for end-user use; it is meant for Git's internal shell scripts.

INSTALL

sudo apt install git
copy
sudo dnf install git
copy
sudo pacman -S git
copy
sudo apk add git
copy
sudo zypper install git
copy
brew install git
copy
nix profile install nixpkgs#git
copy

CAVEATS

Internal library, not a standalone command. Sourced by Git shell scripts via . "$(git --exec-path)/git-sh-i18n". Not intended for direct end-user use. On systems without GNU gettext, the functions are dummy pass-throughs that simply output the untranslated string.

HISTORY

git-sh-i18n is part of Git's internationalization system, enabling translated messages in shell-based git commands.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid