|
osdir.com mailing list archive F.A.Q. -since 2001! |
|
|
|
Subject: Re: questions of tx push install guide - msg#00021List: fedora-docs-list
by Date: Prev Next Date Index by Thread: Prev Next Thread Index
ä 2012å02æ04æ 16:02, Dimitris Glezos åé:
> On Fri, Feb 3, 2012 at 11:03 PM, alick <alick9188@xxxxxxxxx> wrote: > >> Another question: currently there are 871 pot files in f16 branch. It >> means that there should be 871 resources of install-guide on transifex. >> But now there are only 51 (from 'tx status' output). How should we set >> up to allow all pot files to appear on transifex? > > Just upload/push them. > I manage to set up 847 resources locally in .tx/config file. 24 from all 871 are excluded because they are not used (from publican print_unused). However, when tx push -s, I got HTTP 403 error. Seems like I don't have the privilege to push source files to transifex? The script used to set up '.tx/config' is as follows. It is modified from the one in tx client doc. #!/bin/bash project="fedora-install-guide" potfilelist="potfilelist" excludefilelist="excludefilelist" for POTFILE in `cat potfilelist`; do if ! egrep -q "^${POTFILE}$" ${excludefilelist}; then FILE="${POTFILE%.pot}" #echo $FILE tx set --auto-local -r ${project}.$FILE --source-language=en \ --source-file pot/$FILE.pot "<lang>/$FILE.po" --execute fi done Note that the file "potfilelist" can be produced by: ls pot/ > potfilelist And the file "excludefilelist" can be produced by: publican print_unused --nocolours > excludefilelist (manual edit needed...) -- alick Fedora 16 (Verne) user https://fedoraproject.org/wiki/User:Alick -- docs mailing list docs@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/docs
Thread at a glance:
Previous Message by Date:Re: How to deal with bogus entry in DB?ä 2012å02æ04æ 22:40, alick åé: > Hi docs folks, > > I think I have got a tough jouney to publish zh-CN translation of > install guide. > > In the install-guide working directory, I want to install the book and > get these error messages: > > (f16>)$ publican install_book --site_config ../web/homepage.cfg --lang > zh-CN > > DEBUG: Publican: config loaded > ERROR: bogus entry found in DB: > zh-TW/Fedora/12/pdf/Installation_Quick_Start_Guide > ERROR: bogus entry found in DB: zh-TW/Fedora/12/pdf/Virtualization_Guide > I was told the error message about bogus entry do not mean that something went wrong with new book install, and can be ignored. I'll just ignore it at the present. -- alick Fedora 16 (Verne) user https://fedoraproject.org/wiki/User:Alick -- docs mailing list docs@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/docs Next Message by Date:Re: questions of tx push install guideOn Mon, Feb 6, 2012 at 9:58 PM, alick <alick9188@xxxxxxxxx> wrote: > I manage to set up 847 resources locally in .tx/config file. 24 from all > 871 are excluded because they are not used (from publican print_unused). > > However, when tx push -s, I got HTTP 403 error. Seems like I don't have > the privilege to push source files to transifex? You need to be a maintainer to the project you want to push source files. You can push translation files if you're simply a member of the team. -d -- Dimitris Glezos Founder and CEO, Transifex US Tel: +1.650.440.2308 Social Localization Crowdsourcing http://www.transifex.com/ -- http://angel.co/transifex -- docs mailing list docs@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/docs Previous Message by Thread:Re: questions of tx push install guideOn Fri, Feb 3, 2012 at 11:03 PM, alick <alick9188@xxxxxxxxx> wrote: > [fedora-install-guide.Adding_Partitions-section-2-ilist-1-litem-1] > file_filter = <lang>/Adding_Partitions-section-2-ilist-1-litem-1.po > source = pot/Adding_Partitions-section-2-ilist-1-litem-1.pot > source_lang = en > > I suspect that the line begin with 'source =' should be 'source_file =', > but I am not sure. Indeed. Here's a link to the help page, just in case: http://help.transifex.net/features/client/index.html#txconfig > Another question: currently there are 871 pot files in f16 branch. It > means that there should be 871 resources of install-guide on transifex. > But now there are only 51 (from 'tx status' output). How should we set > up to allow all pot files to appear on transifex? Just upload/push them. I'm glad I'm not the one downloading 66.196 PO files for 76 langs.. lol :) -d -- Dimitris Glezos Social Localization Crowdsourcing http://www.transifex.com/ -- http://angel.co/transifex -- docs mailing list docs@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/docs Next Message by Thread:Re: questions of tx push install guideOn Mon, Feb 6, 2012 at 9:58 PM, alick <alick9188@xxxxxxxxx> wrote: > I manage to set up 847 resources locally in .tx/config file. 24 from all > 871 are excluded because they are not used (from publican print_unused). > > However, when tx push -s, I got HTTP 403 error. Seems like I don't have > the privilege to push source files to transifex? You need to be a maintainer to the project you want to push source files. You can push translation files if you're simply a member of the team. -d -- Dimitris Glezos Founder and CEO, Transifex US Tel: +1.650.440.2308 Social Localization Crowdsourcing http://www.transifex.com/ -- http://angel.co/transifex -- docs mailing list docs@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/docs
blog comments powered by Disqus
|
|