Re: [l10n-dev] Spaces in new m51 strings

2009-07-09 Thread Ain Vagula
Please follow the same thread in docs-devel list ;)

ain

On Thu, Jul 9, 2009 at 15:41, Ivo Hinkelmann wrote:
> Hi Pavel,
>
> ( cc'ed ufi and d...@l10n list )
>
> yes you are right ... I looked at the wrong entry :S
>
> The problem is that the cws hcshared21 indent the xhp file like this:
>
> before:
> 
> Number: Numeric expression .
> 
>
> after:
> 
>       Number: Numeric expression .
> 
>
> Everything within the paragraph tag is take as string. So I can either trim
> the leading spaces out of all strings in the l10n tooling or just modify
> those files with the wrong indention.
>
> imho this would be the correct format for the source xhp file:
> Number: Numeric expression .
>
> all in one line but how to tell this the xml editors.
>
> Any opinions?
>
> Cheers,
> Ivo
>
> Pavel Janík schrieb:
>>
>> Hi,
>>
>> On 8.7.2009, at 14:40, Ivo Hinkelmann wrote:
>>
>>> the first string is like this in the sdf:
>>>
>>>
>>> helpcontent2^Isource\text\sbasic\shared\03030104.xhp^I0^Ihelp^Ipar_id3156423^I8^I^I^I0^Ien-US^I\Number:\
>>> Numeric expression that contains the serial date number that is used to
>>> determine the month of the year.^I^I^I^I2002-02-02 02:02:02$
>>
>> not here - here it contains:
>>
>> paveljanik:/Volumes/Build/pavel/AQUA pavel$ grep "Numeric expression that
>> contains the serial time value that is used to return the hour value."
>> BuildDir/DEV300_m51/Build-1/GSI/en-US.sdf | awk -F'    ' '{print
>> $11}'|hexdump -C
>>   20 20 20 20 20 20 20 20  20 5c 3c 65 6d 70 68 5c  |
>> \> 0010  3e 4e 75 6d 62 65 72 3a  5c 3c 2f 65 6d 70 68 5c
>>  |>Number:\> 0020  3e 20 4e 75 6d 65 72 69  63 20 65 78 70 72 65 73  |> Numeric
>> expres|
>> 0030  73 69 6f 6e 20 74 68 61  74 20 63 6f 6e 74 61 69  |sion that
>> contai|
>> 0040  6e 73 20 74 68 65 20 73  65 72 69 61 6c 20 74 69  |ns the serial
>> ti|
>> 0050  6d 65 20 76 61 6c 75 65  20 74 68 61 74 20 69 73  |me value that
>> is|
>> 0060  20 75 73 65 64 20 74 6f  20 72 65 74 75 72 6e 20  | used to
>> return |
>> 0070  74 68 65 20 68 6f 75 72  20 76 61 6c 75 65 2e 0a  |the hour
>> value..|
>> 0080
>> paveljanik:/Volumes/Build/pavel/AQUA pavel$
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org
> For additional commands, e-mail: dev-h...@l10n.openoffice.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org
For additional commands, e-mail: dev-h...@l10n.openoffice.org



Re: [l10n-dev] Spaces in new m51 strings

2009-07-09 Thread Ivo Hinkelmann

Hi Pavel,

( cc'ed ufi and d...@l10n list )

yes you are right ... I looked at the wrong entry :S

The problem is that the cws hcshared21 indent the xhp file like this:

before:

Number: Numeric expression .


after:

   Number: Numeric expression .


Everything within the paragraph tag is take as string. So I can either 
trim the leading spaces out of all strings in the l10n tooling or just 
modify those files with the wrong indention.


imho this would be the correct format for the source xhp file:
Number: Numeric expression .

all in one line but how to tell this the xml editors.

Any opinions?

Cheers,
Ivo

Pavel Janík schrieb:

Hi,

On 8.7.2009, at 14:40, Ivo Hinkelmann wrote:


the first string is like this in the sdf:

helpcontent2^Isource\text\sbasic\shared\03030104.xhp^I0^Ihelp^Ipar_id3156423^I8^I^I^I0^Ien-US^I\Number:\ 
Numeric expression that contains the serial date number that is used 
to determine the month of the year.^I^I^I^I2002-02-02 02:02:02$


not here - here it contains:

paveljanik:/Volumes/Build/pavel/AQUA pavel$ grep "Numeric expression 
that contains the serial time value that is used to return the hour 
value." BuildDir/DEV300_m51/Build-1/GSI/en-US.sdf | awk -F'' '{print 
$11}'|hexdump -C
  20 20 20 20 20 20 20 20  20 5c 3c 65 6d 70 68 5c  | 
\0010  3e 4e 75 6d 62 65 72 3a  5c 3c 2f 65 6d 70 68 5c  
|>Number:\0020  3e 20 4e 75 6d 65 72 69  63 20 65 78 70 72 65 73  |> Numeric 
expres|
0030  73 69 6f 6e 20 74 68 61  74 20 63 6f 6e 74 61 69  |sion that 
contai|
0040  6e 73 20 74 68 65 20 73  65 72 69 61 6c 20 74 69  |ns the 
serial ti|
0050  6d 65 20 76 61 6c 75 65  20 74 68 61 74 20 69 73  |me value 
that is|
0060  20 75 73 65 64 20 74 6f  20 72 65 74 75 72 6e 20  | used to 
return |
0070  74 68 65 20 68 6f 75 72  20 76 61 6c 75 65 2e 0a  |the hour 
value..|

0080
paveljanik:/Volumes/Build/pavel/AQUA pavel$



-
To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org
For additional commands, e-mail: dev-h...@l10n.openoffice.org



Re: [l10n-dev] Spaces in new m51 strings

2009-07-07 Thread Ain Vagula
Please tell about this to documentation devel-list too.

ain

On Tue, Jul 7, 2009 at 23:59, Hristo Hristov wrote:
> For example in helpcontent2/source/text/sbasic/shared.pot
> #: 03030201.xhp#par_id3154366.8.help.text
> msgid ""
> "         Number: Numeric expression that contains the serial "
> "time value that is used to return the hour value."
> msgstr ""
>
> in helpcontent2/source/text/shared/05.pot
> #: 0001.xhp#bm_id3143272.help.text
> msgid ""
> "support on the Web         "
> "getting support         "
> "forums and support         "
> "Web support"
> msgstr ""
>
> But there are a lot of such strings. I get this POT files from Pavel's 
> location:
> ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/POT/OpenOffice.org-
> DEV300_m51-POT.tar.gz
>
> --
> Hristo Simeonov Hristov
> Leader of OpenOffice.org - Bulgarian
> GnuPG key 0xD0D895EB: 0282 D8D0 90D3 963F E57E B0A7 2670 88D9 D0D8 95EB
> On 7.7.2009 11:21:09 Rafaella Braconi wrote:
>> Hi,
>>
>> On 07/06/09 20:39, Hristo Hristov wrote:
>> > Hi,
>> > I'm merging the new m51 strings and I see a lot of strings with spaces at
>> > the begining of the strings. Is these spcaces are normal?
>> > regards,
>>
>> can you please provide a couple of examples?
>>
>> Rafaella
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org
>> For additional commands, e-mail: dev-h...@l10n.openoffice.org
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org
> For additional commands, e-mail: dev-h...@l10n.openoffice.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org
For additional commands, e-mail: dev-h...@l10n.openoffice.org



Re: [l10n-dev] Spaces in new m51 strings

2009-07-07 Thread Hristo Hristov
For example in helpcontent2/source/text/sbasic/shared.pot
#: 03030201.xhp#par_id3154366.8.help.text
msgid ""
" Number: Numeric expression that contains the serial "
"time value that is used to return the hour value."
msgstr ""

in helpcontent2/source/text/shared/05.pot
#: 0001.xhp#bm_id3143272.help.text
msgid ""
"support on the Web "
"getting support "
"forums and support "
"Web support"
msgstr ""

But there are a lot of such strings. I get this POT files from Pavel's 
location: 
ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/POT/OpenOffice.org-
DEV300_m51-POT.tar.gz

-- 
Hristo Simeonov Hristov
Leader of OpenOffice.org - Bulgarian
GnuPG key 0xD0D895EB: 0282 D8D0 90D3 963F E57E B0A7 2670 88D9 D0D8 95EB
On 7.7.2009 11:21:09 Rafaella Braconi wrote:
> Hi,
>
> On 07/06/09 20:39, Hristo Hristov wrote:
> > Hi,
> > I'm merging the new m51 strings and I see a lot of strings with spaces at
> > the begining of the strings. Is these spcaces are normal?
> > regards,
>
> can you please provide a couple of examples?
>
> Rafaella
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org
> For additional commands, e-mail: dev-h...@l10n.openoffice.org



-
To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org
For additional commands, e-mail: dev-h...@l10n.openoffice.org



Re: [l10n-dev] Spaces in new m51 strings

2009-07-07 Thread Rafaella Braconi

Hi,

On 07/06/09 20:39, Hristo Hristov wrote:

Hi,
I'm merging the new m51 strings and I see a lot of strings with spaces at the 
begining of the strings. Is these spcaces are normal?

regards,
  

can you please provide a couple of examples?

Rafaella

-
To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org
For additional commands, e-mail: dev-h...@l10n.openoffice.org