← Back to team overview

openshot.developers team mailing list archive

Re: How to update translations template

 

Hi Helen,

To make a string translatable, you need to enclose it with _(), so "Desktop"
becomes _("Desktop"). I expect there is a script that is run that
creates/updates the translation template (I'm sure Jonathan can explain that
part) , but you need to make sure the string is enclosed as above for the
script to include it.

Hope this helps,
Andy.

2009/9/20 Helen McCall <wildnfree@xxxxxxxxxxxxxxxx>

> Hello Jonathan,
>
> I am trying to fix
>
>
> [Bug 433140] Re: 0.9.34: warning
> when exporting a video or saving a
> project
>
> All it needs is for Line 52 of classes/project.py to have the string
> "Desktop" included in the translations template and have it then added
> to the .po files.
>
> I am unsure of how to edit the translations template in a way which will
> not break the system.
>
> Can you please brief me on how I do this so I can do it in future if any
> other similar bugs arise, and also to help me learn how to add the
> Help-Manual series to the translations system?
>
> Many thanks,
>
> Helen
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openshot.developers<https://launchpad.net/%7Eopenshot.developers>
> Post to     : openshot.developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openshot.developers<https://launchpad.net/%7Eopenshot.developers>
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References