[Xfce-i18n] Desktop files

Brian J. Tarricone kelnos at xfce.org
Tue Dec 14 09:41:37 CET 2004

that sounds like a server-side issue.  auke, could you look into this 
(see error in quote below)?

at any rate, the procedure you outlined below won't work in the case 
that the file in *our* CVS has been updated since you last checked it 
out.  in that case your diff file will include changes that *remove* any 
translations added since you checked it out.  what you actually want to 
do is first check out the file from *our* CVS, update it, send that file 
to the list, then check that into *your* CVS.  *never* update *before* 
copying your own file in.  you need to copy your file in and *then* 
update, so any changes to *our* CVS get merged into your copy.  
otherwise, as i said, you may accidentally create a patch that reverts 
stuff from our repository.


Peeter Vois wrote:

> Hi
> I did as follows:
> 1) Checked out the current version from XFCE:
> cvs -d:pserver:anoncvs at cvs.xfce.org:/cvsroot/xfce -z3 co translations
> 2) Copied our translated files into proper directories
> 3) cd translations
> 4) cvs -d:pserver:anoncvs at cvs.xfce.org:/cvsroot/xfce diff -u
> And I got errors like this:
> ? xfce4/libxfcegui4/po/et.po
> ? xfce4/xfce4-appfinder/po/et.po
> cvs diff: Diffing .
> cvs diff: failed to create lock directory for 
> `/cvsroot/xfce/CVSROOT/Emptydir' 
> (/cvsroot/xfce/CVSROOT/Emptydir/#cvs.lock): Permission denied
> cvs diff: failed to obtain dir lock in repository 
> `/cvsroot/xfce/CVSROOT/Emptydir'
> cvs [diff aborted]: read lock failed - giving up
> I was trying to find from the manual page how to disable the lock. I 
> was not successful.
> Peeter
> Brian J. Tarricone wrote:
>> Peeter Vois wrote:
>>> How would it be nice to send translated *.desktop files? Our team 
>>> has its own repository for translations. So, the link to the common 
>>> original file in the XFCE repository is lost. Making diff with the 
>>> latest file from XFCE repository will not work, because if somebody 
>>> has added another language in between, the diff would remove it.
>> i'm not sure why you need your own repository, though i can see why 
>> it might be useful.  regardless, you'll need to sync at least the 
>> ,desktop files with current xfce CVS, and submit a diff against 
>> that.  i'm not sure if there's a good automated way of doing that, 
>> however.  perhaps you could write a script to:
>> 1) check the .desktop file out of your private tree
>> 2) copy it to the xfce public tree in the proper location
>> 3) run cvs update to merge changes from the public tree
>> 4) run cvs diff to get a diff against the official file
>> i'm not sure how effective that would be.  you may have to do some 
>> manual merging sometimes.  since the .desktop file translation needs 
>> are only 2-3 lines per file, it may be easiest to either not keep 
>> them in your private repository, or always fetch the public version 
>> to translate, and then update your private tree after doing that.  it 
>> shouldn't really be much of a big deal; i wouldn't expect the english 
>> portion of the .desktop files to change at all from this point on.  
>> (go ahead, somebody change theirs just to prove me wrong ^_~.)
>> thanks,
>> brian
>> _______________________________________________
>> Xfce-i18n mailing list
>> Xfce-i18n at xfce.org
>> http://lunar-linux.org/mailman/listinfo/xfce-i18n
> _______________________________________________
> Xfce-i18n mailing list
> Xfce-i18n at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce-i18n

More information about the Xfce-i18n mailing list