]> granicus.if.org Git - git/commitdiff
Merge branch 'va/i18n-even-more'
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 Jul 2016 18:24:10 +0000 (11:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Jul 2016 18:24:10 +0000 (11:24 -0700)
More markings of messages for i18n, with updates to various tests
to pass GETTEXT_POISON tests.

One patch from the original submission dropped due to conflicts
with jk/upload-pack-hook, which is still in flux.

* va/i18n-even-more: (38 commits)
  t5541: become resilient to GETTEXT_POISON
  i18n: branch: mark comment when editing branch description for translation
  i18n: unmark die messages for translation
  i18n: submodule: escape shell variables inside eval_gettext
  i18n: submodule: join strings marked for translation
  i18n: init-db: join message pieces
  i18n: remote: allow translations to reorder message
  i18n: remote: mark URL fallback text for translation
  i18n: standardise messages
  i18n: sequencer: add period to error message
  i18n: merge: change command option help to lowercase
  i18n: merge: mark messages for translation
  i18n: notes: mark options for translation
  i18n: notes: mark strings for translation
  i18n: transport-helper.c: change N_() call to _()
  i18n: bisect: mark strings for translation
  t5523: use test_i18ngrep for negation
  t4153: fix negated test_i18ngrep call
  t9003: become resilient to GETTEXT_POISON
  tests: unpack-trees: update to use test_i18n* functions
  ...

16 files changed:
1  2 
Makefile
bisect.c
builtin/apply.c
builtin/checkout.c
builtin/pull.c
builtin/remote.c
builtin/repack.c
git-rebase--interactive.sh
git-sh-setup.sh
git-submodule.sh
sequencer.c
t/t0008-ignores.sh
t/t1308-config-set.sh
t/t5520-pull.sh
t/t7403-submodule-sync.sh
wt-status.c

diff --cc Makefile
Simple merge
diff --cc bisect.c
Simple merge
diff --cc builtin/apply.c
index 7fc5c3e30745d50a05accb3a83ccfa8871963df6,205c9f8f3301b17456e5c19d68dff8e6cbfca6b6..1a488f9e888b6e9ebb1357a6cf3f7f007cf732fe
@@@ -3357,9 -3224,9 +3357,9 @@@ static int load_patch_target(struct app
                             const char *name,
                             unsigned expected_mode)
  {
 -      if (cached || check_index) {
 +      if (state->cached || state->check_index) {
                if (read_file_or_gitlink(ce, buf))
-                       return error(_("read of %s failed"), name);
+                       return error(_("failed to read %s"), name);
        } else if (name) {
                if (S_ISGITLINK(expected_mode)) {
                        if (ce)
Simple merge
diff --cc builtin/pull.c
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc git-sh-setup.sh
index 85db5f1c63c3c6fa0fff95a747538e47f02ec46d,2eda134800b08e3dfcdc2084b221280b8d95e178..0c34aa62f6b1b33be67f4221290c9c5ce55beabe
@@@ -341,10 -372,10 +372,10 @@@ git_dir_init () 
                }
        fi
        test -n "$GIT_DIR" && GIT_DIR=$(cd "$GIT_DIR" && pwd) || {
-               echo >&2 "Unable to determine absolute path of git directory"
+               gettextln "Unable to determine absolute path of git directory" >&2
                exit 1
        }
 -      : ${GIT_OBJECT_DIRECTORY="$(git rev-parse --git-path objects)"}
 +      : "${GIT_OBJECT_DIRECTORY="$(git rev-parse --git-path objects)"}"
  }
  
  if test -z "$NONGIT_OK"
Simple merge
diff --cc sequencer.c
Simple merge
Simple merge
Simple merge
diff --cc t/t5520-pull.sh
Simple merge
Simple merge
diff --cc wt-status.c
Simple merge