[Kbabel] Validation dialog -1 msg number error

Dwayne Bailey dwayne@obsidian.co.za
Thu, 09 Jan 2003 10:37:24 +0200


This is a multi-part message in MIME format.
--------------000302020902040700010001
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Attached is a test PO.  Sorry it's for invalid whitespace - you'll need 
my whitespace checker.

It has two whitespace errors.  When you do a check from catalogmanager 
the validation results window shows a line number of -1.  Due to the 
fact that there are two errors of the same type.

Ideally the dialog should show an entry for each error found - thus 
multiple lines for a file with multiple errors.

An entry that does return -1 for whatever reason should be opened on the 
first msgid.  Opening on -1 creates problems for the user as kbabel 
responds strangely.

-- 
Kind regards
Dwayne Bailey

Obsidian Systems
dwayne@obsidian.co.za     +27-21-448 9265 / 7827 (work)
+27-21-448 9574 (fax)     +27-83-443 7114 (cell)

"An English-only, or even an English-mainly, policy necessarily condemns
most people, and thus the country as a whole, to a permanent state of
mediocrity, since people are unable to be spontaneous, creative and
self-confident if they cannot use their first language"
          Dr Neville Alexander - 'Where English can Serve but not Empower.'

--------------000302020902040700010001
Content-Type: text/plain;
 name="multiple-whitespace-errors.po"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="multiple-whitespace-errors.po"

# translation of test.po to 
# Test file to validate mutiple errors
# Dwayne Bailey <dwayne@translate.org.za>, 2003
#
msgid ""
msgstr ""
"Project-Id-Version: multiple-errors\n"
"Last-Translator: Dwayne Bailey <dwayne@translate.org.za>\n"
"PO-Revision-Date: 2003-01-09 09:35+0200\n"
"Language-Team:  <english@translate.org.za>\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.2\n"

# msgstr incorrectly translated with whitespace - 2*<sp>
# Expected Result = error
msgid "Some translation string"
msgstr "  "

# msgstr incorrectly translated with whitespace - 3*<sp>
# Expected Result = error
msgid "Another invalid string"
msgstr "   "


--------------000302020902040700010001--