Hi All,

    (Resending the mail as the original one with a screenshort was held 
due to size restrictions)

   I have posted a patch for configuring the path to Project po/xliff 
directories from the
pootle admin page.

See
http://bugs.locamotion.org/show_bug.cgi?id=452

The patch essentially give the admin the ability to configure the 
already existing project
l10n directory from the admin/projects.html page

The typical use case is like this. An admin who had already checked out 
a few projects
in a server system the Pootle is running would like to configure the 
access to the project
translation directories from admin/projects.html page, he gives the 
absolute path or relative
path from the Pootle/po directory in the 'Project L10N Directory' , then 
the system will
go ahead and will create the needed links from to the project po files 
so that the users will
be able to work on the new project created.

For example when configuring a new project., gedit, I'm giving the path 
to the project
po file path /export/home/user/projects/gnome/trunk/gedit/po in the 
'Project L10N
Directory' field, then the project link will be updated with the .po 
files in that path after
you click on'Save Changes'. You don't have to do this as a combination 
of CLI/GUI
task, but can do this in as a single shot GUI task.

The patch only creates sym link (removes existing symlinks if any) and 
does not do any
deletion of directories.

One concern that I heard in the #pootle channel is that the ability to 
do this will compromise
system security (in case the Pootle system is shared by different admins 
who are hostile
to each other) by somebody who will try out different path combinations 
and get the
access to secret po files which he is not authorized to read... Would 
like to get feedback
regarding this.


Screenshot at
http://bugs.locamotion.org/attachment.cgi?id=167

Regards,
Suresh


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to