[MonoDevelop] generating pot file not working in trunk

Jacob Ilsø Christensen jacobilsoe at gmail.com
Thu Feb 16 16:32:56 EST 2006


Hi.

The POTFILES.in file is a list of all files in MonoDevelop that contain
translatable strings.

The problem is that this file has to be kept in up-to-date manually. Each
time a translatable string is used in some source file not listed in
POTFILES.in, POTFILES.in must be updated to reflect this. The script I wrote
is an attempt to discover what files need to be added to POTFILES.in.

/Jacob

On 2/16/06, hemant <gethemant at gmail.com> wrote:
>
> What exactly are these POTFILES.in ( some language stuff i guess?)
>
> On Fri, 17 Feb 2006 00:18:53 +0530, Jacob Ilsø Christensen
> <jacobilsoe at gmail.com> wrote:
>
> > Hi.
> >
> > I created a small shell script which we could use to find missing
> > entries.
> > It searches .cs files for GettextCatalog and lists those files not
> > present
> > in POTFILES.in. It must be run from the po directory. It does not search
> > glade, xml, boo or java files. Just wanted to hear if this is something
> > we
> > could use and if so we can extend it with extra functionality. We might
> > also
> > searc the opposite direction. I.e. list the files in POTFILES.in that no
> > longer has calls to GettextCatalog, but I guess this is not as
> important.
> >
> > It seems that a bunch of files actually are missing from POTFILES.in.
> >
> > Any comments?
> >
> > /Jacob
> >
> > On 2/8/06, David Makovský (Yakeen) <yakeen at sannyas-on.net> wrote:
> >>
> >> Hi all,
> >>
> >> we have inconsistent and broken POTFILES.in file in trunk...
> >> That's not good situation for translators to keep updated translations,
> >> shouldn't we include an rule for patches that this is rule to keep it
> >> uptodate? Some notice on Wiki will help to remind people when doing
> >> refactoring or adding new files with translation strings...
> >> Have someone any ideas for automatic checks on commits?
> >> Can we have some automatic method for notify translators that some
> files
> >> have changed their strings?
> >>
> >> Regards,
> >> David Makovsky
> >>
> >> _______________________________________________
> >> Monodevelop-list mailing list
> >> Monodevelop-list at lists.ximian.com
> >> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >>
>
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060216/f4304ddf/attachment.html


More information about the Monodevelop-list mailing list