Às 22:46 de 26-05-2016, Junio C Hamano escreveu:
> Vasco Almeida writes:
>
>> > require_work_tree_exists () {
>> > + program_name=$0
>> >if test "z$(git rev-parse --is-bare-repository)" != zfalse
>> >then
>> > - die "fatal: $0 cannot be used without a working tree."
>> > +
Vasco Almeida writes:
> require_work_tree_exists () {
> + program_name=$0
> if test "z$(git rev-parse --is-bare-repository)" != zfalse
> then
> - die "fatal: $0 cannot be used without a working tree."
> + die "$(gettext "fatal: \$program_name cannot be use
Positional arguments, such as $0, $1, etc, need to be stored on shell
variables for use in translatable strings, according to gettext manual.
Add git-sh-setup.sh to LOCALIZED_SH variable in Makefile to enable
extraction of string marked for translation by xgettext.
Although git-sh-setup.sh is a s
3 matches
Mail list logo