On 21 December 2013 12:21, Andrea Pescetti <pesce...@apache.org> wrote:

> On 09/12/2013 Jürgen Schmidt wrote:
>
>> Here is one example of the first warning and how you can find it in Pootle
>> gsicheck output:
>> Warning: Translation Tag Missmatch, Line 12857, UniqueID
>> helpcontent2/source\text\sbasic\shared\00000003.xhp/
>> help/par_id3143219/81//:
>> Property 'id': FIXED different value in Translation : \<variable
>> id=\"err366\"\>  at Position 0  ""
>> How to find it in Pootle?
>> Navigate to
>> - AOO 4.x help project
>> - select source ->  text ->  sbasic ->  shared.po , see the path to the
>> xhp
>> file in the warning message
>> - search for par_id3143219.81
>> - fix it
>>
>
> Does this mean that we could automate this with some sed (or similar)
> commands so that we can produce a list of Pootle links rather than the
> (generally, quite uninformative for Pootle users) gsicheck output?
>

yes, whenever you have the .po key its very easy, use the following url:
https://translate.apache.org/da/aoo40help/translate.html#search=par_id3143219.81&sfields=locations

and replace par_id3143219.81 with any pootle key.

gsicheck delivers a lot of text but that includes the po files, IMHO, this
can be automated.

I have used that quite a lot.

rgds
jan I.


> Dick already added other useful information about this to
> https://wiki.openoffice.org/wiki/Pootle_User_Guide/
> Translation_Built-in_Help#Finding_errors_from_GSIcheck_in_POOTLE
> but if this can be automated (by postprocessing gsicheck output or by
> adding an option to gsicheck, whatever is easier) it will be much easier
> for translators to just get a list of Pootle links.
>
> Regards,
>   Andrea.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: l10n-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: l10n-h...@openoffice.apache.org
>
>

Reply via email to