• Duy Nguyen's avatar
    Update messages in preparation for i18n · 1a07e59c
    Duy Nguyen authored
    Many messages will be marked for translation in the following
    commits. This commit updates some of them to be more consistent and
    reduce diff noise in those commits. Changes are
    - keep the first letter of die(), error() and warning() in lowercase
    - no full stop in die(), error() or warning() if it's single sentence
    - indentation
    - some messages are turned to BUG(), or prefixed with "BUG:" and will
      not be marked for i18n
    - some messages are improved to give more information
    - some messages are broken down by sentence to be i18n friendly
      (on the same token, combine multiple warning() into one big string)
    - the trailing \n is converted to printf_ln if possible, or deleted
      if not redundant
    - errno_errno() is used instead of explicit strerror()
    Signed-off-by: Duy Nguyen's avatarNguyễn Thái Ngọc Duy <pclouds@gmail.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
archive-zip.c 17 KB