merge(third_party/git): Merge squashed git subtree at v2.23.0
Merge commit '1b593e1ea4' as 'third_party/git'
This commit is contained in:
commit
7ef0d62730
3629 changed files with 1139935 additions and 0 deletions
23
third_party/git/t/t0200/test.c
vendored
Normal file
23
third_party/git/t/t0200/test.c
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/* This is a phony C program that's only here to test xgettext message extraction */
|
||||
|
||||
const char help[] =
|
||||
/* TRANSLATORS: This is a test. You don't need to translate it. */
|
||||
N_("See 'git help COMMAND' for more information on a specific command.");
|
||||
|
||||
int main(void)
|
||||
{
|
||||
/* TRANSLATORS: This is a test. You don't need to translate it. */
|
||||
puts(_("TEST: A C test string"));
|
||||
|
||||
/* TRANSLATORS: This is a test. You don't need to translate it. */
|
||||
printf(_("TEST: A C test string %s"), "variable");
|
||||
|
||||
/* TRANSLATORS: This is a test. You don't need to translate it. */
|
||||
printf(_("TEST: Hello World!"));
|
||||
|
||||
/* TRANSLATORS: This is a test. You don't need to translate it. */
|
||||
printf(_("TEST: Old English Runes"));
|
||||
|
||||
/* TRANSLATORS: This is a test. You don't need to translate it. */
|
||||
printf(_("TEST: ‘single’ and “double” quotes"));
|
||||
}
|
||||
14
third_party/git/t/t0200/test.perl
vendored
Normal file
14
third_party/git/t/t0200/test.perl
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# This is a phony Perl program that's only here to test xgettext
|
||||
# message extraction
|
||||
|
||||
# so the above comment won't be folded into the next one by xgettext
|
||||
1;
|
||||
|
||||
# TRANSLATORS: This is a test. You don't need to translate it.
|
||||
print __("TEST: A Perl test string");
|
||||
|
||||
# TRANSLATORS: This is a test. You don't need to translate it.
|
||||
printf __("TEST: A Perl test variable %s"), "moo";
|
||||
|
||||
# TRANSLATORS: If you see this, Git has a bug
|
||||
print _"TEST: A Perl string xgettext will not get";
|
||||
14
third_party/git/t/t0200/test.sh
vendored
Normal file
14
third_party/git/t/t0200/test.sh
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# This is a phony Shell program that's only here to test xgettext
|
||||
# message extraction
|
||||
|
||||
# so the above comment won't be folded into the next one by xgettext
|
||||
echo
|
||||
|
||||
# TRANSLATORS: This is a test. You don't need to translate it.
|
||||
gettext "TEST: A Shell test string"
|
||||
|
||||
# TRANSLATORS: This is a test. You don't need to translate it.
|
||||
eval_gettext "TEST: A Shell test \$variable"
|
||||
|
||||
# TRANSLATORS: If you see this, Git has a bug
|
||||
_("TEST: A Shell string xgettext won't get")
|
||||
Loading…
Add table
Add a link
Reference in a new issue