Re: [libreoffice-l10n] Translation of extended tooltips

2020-08-18 Thread Milos Sramek
But where in github?
Milos

On 8/18/20 5:20 PM, sophi wrote:
> Hi Milos,
> Le 18/08/2020 à 16:35, Milos Sramek a écrit :
>> Hi,
>>
>> maybe that you have already noticed - strings of extended tooltips
>> started to appear in the UI strings, there are currently 170 of them.
>> Originally, they were a part of the help files, where they were marked
>> by the  tag. There are currently 6000+ extended tooltips there.
>>
>> This means that their translations need to to be transferred from the
>> help files to the UI files (I exclude the option to translate them again).
>>
>> Maybe the developers will solve this somehow.
> Olivier and Christian were looking at it, yes.
>> Meanwhile I have written a script etiptrans.py which can do that. Its
>> usage is as simple as this 4 commands
> Thanks a lot for your work!
> Could you upload the script to github or the pastebin you prefer so they
> can have a look at it?
> Thanks again,
> Cheers
> Sophie


-- 
email & jabber: sramek.mi...@gmail.com


-- 
To unsubscribe e-mail to: l10n+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-l10n] Translation of extended tooltips

2020-08-18 Thread sophi
Hi Milos,
Le 18/08/2020 à 16:35, Milos Sramek a écrit :
> Hi,
> 
> maybe that you have already noticed - strings of extended tooltips
> started to appear in the UI strings, there are currently 170 of them.
> Originally, they were a part of the help files, where they were marked
> by the  tag. There are currently 6000+ extended tooltips there.
> 
> This means that their translations need to to be transferred from the
> help files to the UI files (I exclude the option to translate them again).
> 
> Maybe the developers will solve this somehow.

Olivier and Christian were looking at it, yes.
> 
> Meanwhile I have written a script etiptrans.py which can do that. Its
> usage is as simple as this 4 commands

Thanks a lot for your work!
Could you upload the script to github or the pastebin you prefer so they
can have a look at it?
Thanks again,
Cheers
Sophie
-- 
Sophie Gautier so...@libreoffice.org
GSM: +33683901545
IRC: sophi
Foundation coordinator
The Document Foundation

-- 
To unsubscribe e-mail to: l10n+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy


[libreoffice-l10n] Translation of extended tooltips

2020-08-18 Thread Milos Sramek
Hi,

maybe that you have already noticed - strings of extended tooltips
started to appear in the UI strings, there are currently 170 of them.
Originally, they were a part of the help files, where they were marked
by the  tag. There are currently 6000+ extended tooltips there.

This means that their translations need to to be transferred from the
help files to the UI files (I exclude the option to translate them again).

Maybe the developers will solve this somehow.

Meanwhile I have written a script etiptrans.py which can do that. Its
usage is as simple as this 4 commands

    etiptrans.py -p ui -l sk download

    etiptrans.py -p help -l sk download

    etiptrans.py -p ui -l sk transfer

    etiptrans.py -p ui -l sk upload

The required access key is taken from an environment variable. It runs
in Linux environment, I think that the Windows 10 Linux environment is
also OK.

The script can do a little more, like checking which files were modified
or what has been changed. It can also transfer  tips from UI to help -
if you already have translated them in UI, but they are not translated
in help. If you want to translate locally (by poedit or so), the script
can help in downloading and uploading files.

It can be used individually for each language by individual translators,
but perhaps also for all languages by somebody who has the required rights.

Do we have a place where to put it, so that anybody can download it?. It
is finished, but needs more testing.  I have to write some documentation


best

Milos

-- 
email & jabber: sramek.mi...@gmail.com


-- 
To unsubscribe e-mail to: l10n+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy