[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Bug#36129: kbabel does not ignore translator comments in "copy
From:       Stanislav Visnovsky <visnovsky () nenya ! ms ! mff ! cuni ! cz>
Date:       2001-12-13 15:57:17
[Download RAW message or body]


Hi!

Please note that you can change context info regular expression in
Settings -> Configure KBabel -> Miscellaneous. The default value is indeed
incorrect, at the moment I'm using ^_:.+\\n\n
Maybe it is not that accurate, but it is the best I've found.
I will commit a new default value for KDE 3.0 *really* soon.

Stanislav

On 13 Dec 2001 dwayne@obsidian.co.za wrote:

> Package: kbabel
> Version: 0.9.5 (using KDE 2.2.2 -1)
> Severity: normal
> Installed from:    Red Hat Linux 7.2
> Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
> OS:                Linux (i686) release 2.4.7-10
> OS/Compiler notes:
> 
> Kbabel assumes that a translator comment
> 
> msgid "_: Blah comment"
> 
> is the first line.  While translator comments may actually take up more than one \
> line. 
> Translator comments are terminated with \n.
> 
> When doing a "Copy msgid to msgstr"  kbabel should ignore the first part of the \
> message up to the newline. 
> ie "_: .*\n"
> 
> The following .po entries illustrate this.
> 
> msgid ""
> "_: This is a multiline translator comment.  I need to make it longer so that "
> "it wraps lines.  You will notice that when you do a copy from msgid->msgstr "
> "it copies some of the comment.\n"
> "It should only copy data after the first newline."
> msgstr ""
> 
> 
> (Submitted via bugs.kde.org)
> (Called from KBugReport dialog)
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic