[Systems] Pootle sudo access.

Rafael Ortiz rafael at activitycentral.com
Thu Feb 3 22:46:43 EST 2011


On Thu, Feb 3, 2011 at 10:24 PM, Sayamindu Dasgupta <sayamindu at gmail.com>wrote:

> Maybe the lack of a POT file in the directory is causing problems ?
> Can you create a dummy POT and see if it works or not ?
> -sdg-
>
> Tried ..also making a templates/dummy.pot

on pootle side the project is created and i can add or delate lenguajes
related to it, but ''rescan the project files or update the files from
templates'' doesn't show files.

obviously because it hasn't created the symlinks.





> On Thu, Feb 3, 2011 at 10:17 PM, Rafael Ortiz
> <rafael at activitycentral.com> wrote:
> > Hi Saya,
> >
> > On Thu, Feb 3, 2011 at 10:12 PM, Sayamindu Dasgupta <sayamindu at gmail.com
> >
> > wrote:
> >>
> >> On Thu, Feb 3, 2011 at 11:32 AM, Rafael Ortiz
> >> <rafael at activitycentral.com> wrote:
> >> >
> >> >
> >> > On Thu, Feb 3, 2011 at 4:34 AM, Sascha Silbe <
> silbe at activitycentral.com>
> >> > wrote:
> >> >>
> >> >> Excerpts from Rafael Ortiz's message of Thu Feb 03 02:09:14 +0100
> 2011:
> >> >>
> >> >> > ******** Switching to branch dextrose3 *********
> >> >> > Running  git checkout --track -b dextrose3 origin/dextrose3
> >> >>
> >> >> I'm pushing directly to master. There shouldn't be a dextrose3
> branch.
> >> >> If there is, it's already in mainline and should be removed from
> there.
> >> >>
> >> >
> >> > ok i changed for this.
> >> > python pootlepopulator.py dextrose3
> >> > git://git.sugarlabs.org/sugar/dextrose3-translations.git sugar master
> >> > But it still not making the po structure for pootle.
> >> > pootlepopulator if not getting to the last part of the code where it
> >> > creates
> >> > symlinks.
> >> >  print '********* Starting to symlink files *********'
> >> >     for i in os.listdir(podir):
> >> >         if i.endswith('.po'):
> >> >             src = os.path.join(podir, i)
> >> >             dst = os.path.join(LINKDIR, p_cat, i.replace('.po', ''),
> >> >                     (os.path.basename(p_dir) +  ".po"))
> >> >             make_symlink(src, dst)
> >> >         if i.endswith('.pot'):
> >> >             src = os.path.join(podir, i)
> >> >             dst = os.path.join(LINKDIR, p_cat, 'templates',
> >> >                     (os.path.basename(p_dir) + ".pot"))
> >> >             make_symlink(src,dst)
> >> >     print '********* Done Symlinking *********'
> >> >
> >> >
> >> >
> >> > (ccing saya if he can help us ;))
> >>
> >>
> >> Does it give any error message ?
> >> -sdg-
> >>
> >>
> > It only shows...
> > ********* Git operation completed, moving to next stage ********
> >
> > ********* Searching for POT file *********
> >
> >>
> >> >
> >> >
> >> >>
> >> >> > Are we still lacking a po structure?.
> >> >>
> >> >> These are exactly the same sources as for the upstream (i.e.
> mainline)
> >> >> sugar and sugar-toolkit packages. So if it works for those, it should
> >> >> work for the new repos.
> >> >>
> >> >> Sascha
> >> >>
> >> >> --
> >> >> http://sascha.silbe.org/
> >> >> http://www.infra-silbe.de/
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Sayamindu Dasgupta
> >> [http://sayamindu.randomink.org/ramblings]
> >> _______________________________________________
> >> Systems mailing list
> >> Systems at lists.sugarlabs.org
> >> http://lists.sugarlabs.org/listinfo/systems
> >
> >
>
>
>
> --
> Sayamindu Dasgupta
> [http://sayamindu.randomink.org/ramblings]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/private/systems/attachments/20110203/e0fd8eba/attachment.html>


More information about the Systems mailing list