+2007-06-17 Bruno Haible <bruno@clisp.org>
+
+ * po-mode.el (po-any-msgstr-regexp): Add support for plural forms.
+ The patch from 2001-03-10 did not work.
+ (po-untranslated-regexp): Recognize also empty msgstr[i] values.
+
+2007-06-17 Bruno Haible <bruno@clisp.org>
+
+ * po-mode.el (po-edit-out-full): Don't ask the user for confirmation.
+
2007-06-17 Bruno Haible <bruno@clisp.org>
* po-mode.el: Untabify.
"Regexp matching a whole msgid field, whether obsolete or not.")
(defvar po-any-msgstr-regexp
- ;; "^\\(#~[ \t]*\\)?msgstr.*\n\\(\\(#~[ \t]*\\)?\".*\n\\)*"
- "^\\(#~[ \t]*\\)?msgstr\\(\\[[0-9]\\]\\)?.*\n\\(\\(#~[ \t]*\\)?\".*\n\\)*"
+ "^\\(#~[ \t]*\\)?msgstr.*\n\\(\\(#~[ \t]*\\)?\".*\n\\)*\\(\\(#~[ \t]*\\)?msgstr\\[[0-9]\\].*\n\\(\\(#~[ \t]*\\)?\".*\n\\)*\\)*"
"Regexp matching a whole msgstr or msgstr[] field, whether obsolete or not.")
(defvar po-msgstr-idx-keyword-regexp
"Regexp which should be true after a full msgstr string matched.")
(defvar po-untranslated-regexp
- (concat "^msgstr[ \t]*\"\"\n" po-after-entry-regexp)
+ (concat "^msgstr\\(\\[[0-9]\\]\\)?[ \t]*\"\"\n" po-after-entry-regexp)
"Regexp matching a whole msgstr field, but only if active and empty.")
(defun po-next-untranslated-entry ()