Spaces in new m51 strings

View: New views
6 Messages — Rating Filter:   Alert me  

Spaces in new m51 strings

by Hristo Simeonov Hristov-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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,
--
Hristo Simeonov Hristov
Leader of OpenOffice.org - Bulgarian
GnuPG key 0xD0D895EB: 0282 D8D0 90D3 963F E57E B0A7 2670 88D9 D0D8 95EB


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Spaces in new m51 strings

by Rafaella Braconi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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-unsubscribe@...
For additional commands, e-mail: dev-help@...


Parent Message unknown Re: Spaces in new m51 strings

by Hristo Simeonov Hristov-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For example in helpcontent2/source/text/sbasic/shared.pot
#: 03030201.xhp#par_id3154366.8.help.text
msgid ""
"         <emph>Number:</emph> Numeric expression that contains the serial "
"time value that is used to return the hour value."
msgstr ""

in helpcontent2/source/text/shared/05.pot
#: 00000001.xhp#bm_id3143272.help.text
msgid ""
"<bookmark_value>support on the Web</bookmark_value>         "
"<bookmark_value>getting support</bookmark_value>         "
"<bookmark_value>forums and support</bookmark_value>         "
"<bookmark_value>Web support</bookmark_value>"
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-unsubscribe@...
> For additional commands, e-mail: dev-help@...



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Spaces in new m51 strings

by Ain Vagula :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please tell about this to documentation devel-list too.

ain

On Tue, Jul 7, 2009 at 23:59, Hristo Hristov<icobgr@...> wrote:

> For example in helpcontent2/source/text/sbasic/shared.pot
> #: 03030201.xhp#par_id3154366.8.help.text
> msgid ""
> "         <emph>Number:</emph> Numeric expression that contains the serial "
> "time value that is used to return the hour value."
> msgstr ""
>
> in helpcontent2/source/text/shared/05.pot
> #: 00000001.xhp#bm_id3143272.help.text
> msgid ""
> "<bookmark_value>support on the Web</bookmark_value>         "
> "<bookmark_value>getting support</bookmark_value>         "
> "<bookmark_value>forums and support</bookmark_value>         "
> "<bookmark_value>Web support</bookmark_value>"
> 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-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Parent Message unknown Re: Spaces in new m51 strings

by Ivo Hinkelmann - Sun Germany - :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Pavel,

( cc'ed ufi and dev@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-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Spaces in new m51 strings

by Ain Vagula :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

ain

On Thu, Jul 9, 2009 at 15:41, Ivo Hinkelmann<Ivo.Hinkelmann@...> wrote:

> Hi Pavel,
>
> ( cc'ed ufi and dev@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-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...