Please follow the same thread in docs-devel list ;)

ain

On Thu, Jul 9, 2009 at 15:41, Ivo Hinkelmann<ivo.hinkelm...@sun.com> 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:
> <paragraph>
> <emph>Number:</emph> Numeric expression .....
> </paragraph>
>
> after:
> <paragraph>
>       <emph>Number:</emph> Numeric expression .....
> </paragraph>
>
> 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:
> <paragraph><emph>Number:</emph> Numeric expression .....</paragraph>
>
> 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\<emph\>Number:\</emph\>
>>> 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
>> 00000000  20 20 20 20 20 20 20 20  20 5c 3c 65 6d 70 68 5c  |
>> \<emph\|
>> 00000010  3e 4e 75 6d 62 65 72 3a  5c 3c 2f 65 6d 70 68 5c
>>  |>Number:\</emph\|
>> 00000020  3e 20 4e 75 6d 65 72 69  63 20 65 78 70 72 65 73  |> Numeric
>> expres|
>> 00000030  73 69 6f 6e 20 74 68 61  74 20 63 6f 6e 74 61 69  |sion that
>> contai|
>> 00000040  6e 73 20 74 68 65 20 73  65 72 69 61 6c 20 74 69  |ns the serial
>> ti|
>> 00000050  6d 65 20 76 61 6c 75 65  20 74 68 61 74 20 69 73  |me value that
>> is|
>> 00000060  20 75 73 65 64 20 74 6f  20 72 65 74 75 72 6e 20  | used to
>> return |
>> 00000070  74 68 65 20 68 6f 75 72  20 76 61 6c 75 65 2e 0a  |the hour
>> value..|
>> 00000080
>> 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

Reply via email to