Skip to content
Snippets Groups Projects
  1. Mar 02, 2017
  2. Mar 01, 2017
  3. Feb 10, 2017
    • Katsunori FUJIWARA's avatar
      i18n: update Report-Msgid-Bugs-To property of *.po files · 4acf569facef
      Katsunori FUJIWARA authored
      This patch replaces domain of mercurial-devel ML address by
      mercurial-scm.org for "Report-Msgid-Bugs-To" property of each *.po
      files.
      
      This avoids releasing 4.1.1 with invalid "Report-Msgid-Bugs-To"
      in *.mo file, if corresponded *.po file isn't msgmerge-ed with recent
      hg.pot by translator.
      
      These *.po files aren't covered by check-code.py pattern newly added
      in subsequent patch, because it ignores them.
      4acf569facef
  4. Feb 01, 2017
  5. Jan 04, 2017
  6. Dec 31, 2016
  7. Dec 01, 2016
  8. Nov 25, 2016
  9. Nov 28, 2016
  10. Nov 14, 2016
  11. Oct 17, 2016
  12. Oct 31, 2016
  13. Oct 23, 2016
  14. Oct 11, 2016
  15. Aug 31, 2016
  16. Jul 27, 2016
  17. Jul 31, 2016
  18. Jul 19, 2016
  19. Jul 03, 2016
  20. Jul 01, 2016
  21. May 12, 2016
  22. May 01, 2016
  23. Mar 01, 2016
  24. Feb 29, 2016
  25. Feb 11, 2016
    • Katsunori FUJIWARA's avatar
      i18n: calculate correct line number in source of messages to be translated · a1924bc6e267
      Katsunori FUJIWARA authored
      Before this patch, line number in source of the message to be
      translated is wrong in hg.pot, if corresponded message is placed after
      ".. DIRECTIVE::", because number of lines related to such directive
      isn't added to variable "delta", which holds number of untranslated
      lines in given text.
      
      This patch always adds "2" to "delta", because text block is split
      into translation units by "\n\n".
      a1924bc6e267
  26. Feb 03, 2016
  27. Feb 01, 2016
  28. Jan 18, 2016
  29. Jan 14, 2016
  30. Jan 01, 2016
  31. Dec 22, 2015
  32. Nov 03, 2015
  33. Oct 31, 2015
    • Katsunori FUJIWARA's avatar
      i18n: look translation of both "DEPRECATED" and "(DEPRECATED)" up · 47dd34f2e727
      Katsunori FUJIWARA authored
      Since 44cc9f63a2f1, deprecated commands, options and so on are
      detected by "(DEPRECATED)" instead of "DEPRECATED".
      
      "hg.pot" generated from recent source files doesn't contain msgid
      "DEPRECATED", and looking the translation of "DEPRECATED" up in
      up-to-date *.po files works incorrectly.
      
      But on the other hand, there are still old *.po files, which contain
      msgid "DEPRECATED" but not "(DEPRECATED)". Looking the translation of
      "(DEPRECATED)" up in such old *.po files also works incorrectly.
      
      This patch resolves this problem by looking translation of both
      "DEPRECATED" and "(DEPRECATED)" up.
      
      This should work correctly, because previous patch makes "deprecated"
      checker be applied only on translations, of which msgid contains exact
      "(DEPRECATED)" string.
      
      'p.msgstr' examination in 'deprecatedsetup()' is needed to ignore
      untranslated entries. This also makes 'deprecatedpe.msgstr'
      examination in 'deprecated()' meaningless.
      3.6
      47dd34f2e727
    • Katsunori FUJIWARA's avatar
      i18n: fix regexp pattern to detect translation for DEPRECATED · 33894facc180
      Katsunori FUJIWARA authored
      Since 44cc9f63a2f1, deprecated commands, options and so on are
      detected by "(DEPRECATED)" instead of "DEPRECATED".
      
      Therefore, 'deprecated' checker in i18n/check-translation.py should
      check translation, of which msgid contains "(DEPRECATED)" instead of
      "DEPRECATED".
      
      At glance, it seems to do so, but it actually doesn't, because Python
      regexp treats "()" as grouping of patterns and "(DEPRECATED)" matches
      only against "DEPRECATED".
      33894facc180
  34. Nov 01, 2015
Loading