+2001-07-07 Karl Eichwalder <ke@suse.de>
+
+ * po-mode.el (po-compute-counters): Don't count the header entry.
+ Reported by Bernd Schandl.
+
2001-07-01 Bruno Haible <haible@clisp.cons.org>
* po-mode.el (po-content-type-charset-alist): Add entries for
(let ((position 0) (total 0) here)
(save-excursion
(goto-char (point-min))
+ ;; While counting, skip the header entry, for consistency with msgfmt.
+ (po-find-span-of-entry)
+ (when (string= (po-get-msgid nil) "")
+ (po-next-entry))
+ ;; Start counting
(while (re-search-forward po-any-msgstr-regexp nil t)
(and (= (% total 20) 0)
(if flag