正则表达式 source <转>

一步一步学Ruby(九):Ruby正则表达式(上)
http://www.cnblogs.com/cnblogsfans/archive/2009/02/02/1382745.html
一步一步学Ruby(十):Ruby正则表达式(下)
http://www.cnblogs.com/cnblogsfans/archive/2009/02/03/1383505.html
<trans-unit id="One Size" approved="yes"> <source>One Size</source> <target state="final">Taille</target> </trans-unit> <trans-unit id="Apricot" approved="yes"> <source>Apricot</source> <target state="final">Abricot</target> </trans-unit> <trans-unit id="White+Red" approved="yes"> <source>White+Red</source> <target state="final">Blanc + Rouge</target> </trans-unit> <trans-unit id="White+Yellow" approved="yes"> <source>White+Yellow</source> <target state="final">Blanc + Jaune</target> </trans-unit> <trans-unit id="Green+Blue" approved="yes"> <source>Green+Blue</source> <target state="final">Vert trèfle + bleu</target> </trans-unit> <trans-unit id="Pink+Green" approved="yes"> <source>Pink+Green</source> <target state="final">Rose + Vert trèfle</target> </trans-unit> <trans-unit id="Aqua" approved="yes"> <source>Aqua</source> <target state="final">Aqua</target> </trans-unit> <trans-unit id="Cream" approved="yes"> <source>Cream</source> <target state="final">Crème</target> </trans-unit> <trans-unit id="Baby Pink" approved="yes"> <source>Baby Pink</source> <target state="final">Bébé rose</target> </trans-unit> <trans-unit id="White+Hot Pink" approved="yes"> <source>White+Hot Pink</source> <target state="final">Blanc + rose chaud</target> </trans-unit> <trans-unit id="Ginger" approved="yes"> <source>Ginger</source> <target state="final">Gingembre</target> </trans-unit> <trans-unit id="Blush" approved="yes"> <source>Blush</source> <target state="final">Blush</target> </trans-unit> <trans-unit id="Autre" approved="yes"> <source>Autre</source> <target state="final">Autres</target> </trans-unit> <trans-unit id="Other" approved="yes"> <source>Other</source> <target state="final">Autres</target> </trans-unit> <trans-unit id="White+Black+Blue" approved="yes"> <source>White+Black+Blue</source> <target state="final">Blanc + Noir + Bleu</target> </trans-unit> <trans-unit id="Apricot+Black+Blue" approved="yes"> <source>Apricot+Black+Blue</source> <target state="final">Abricot + Noir + Bleu</target> </trans-unit> <trans-unit id="Light Blue" approved="yes"> <source>Light Blue</source> <target state="final">Light Bleu</target> </trans-unit> <trans-unit id="Olive" approved="yes"> <source>Olive</source> <target state="final">Olive</target> </trans-unit> <trans-unit id="Sea Blue" approved="yes"> <source>Sea Blue</source> <target state="final">Bleu Sea</target> </trans-unit> <trans-unit id="Dark Pink" approved="yes"> <source>Dark Pink</source> <target state="final">Rose foncé</target> </trans-unit> <trans-unit id="White+Black" approved="yes"> <source>White+Black</source> <target state="final">Blanc + Noir</target> </trans-unit> <trans-unit id="Dusty Green" approved="yes"> <source>Dusty Green</source> <target state="final">Dusty vert</target> </trans-unit> <trans-unit id="Mustard Green" approved="yes"> <source>Mustard Green</source> <target state="final">Moutarde verte</target> </trans-unit> <trans-unit id="Violet" approved="yes"> <source>Violet</source> <target state="final">Violet</target> </trans-unit> <trans-unit id="Light Yellow" approved="yes"> <source>Light Yellow</source> <target state="final">Jaune clair</target> </trans-unit> <trans-unit id="Black+White" approved="yes"> <source>Black+White</source> <target state="final">Noir + blanc</target> </trans-unit> <trans-unit id="Dark Blue" approved="yes"> <source>Dark Blue</source> <target state="final">Dark Bleu</target> </trans-unit> <trans-unit id="Navy Blue" approved="yes"> <source>Navy Blue</source> <target state="final">Bleu Marine</target> </trans-unit> <trans-unit id="Dark Grey" approved="yes"> <source>Dark Grey</source> <target state="final">Gris foncé</target> </trans-unit> <trans-unit id="Mint" approved="yes"> <source>Mint</source> <target state="final">Menthe</target> </trans-unit> <trans-unit id="Rose" approved="yes"> <source>Rose</source> <target state="final">Rose</target> </trans-unit> <trans-unit id="Light Purple" approved="yes"> <source>Light Purple</source> <target state="final">Light Purple</target> </trans-unit> <trans-unit id="Watermelon Red" approved="yes"> <source>Watermelon Red</source> <target state="final">Incarnadin rouge</target> </trans-unit> <trans-unit id="Light Pink" approved="yes"> <source>Light Pink</source> <target state="final">Light Rose</target> </trans-unit> <trans-unit id="Nude" approved="yes"> <source>Nude</source> <target state="final">Nu</target> </trans-unit> <trans-unit id="Azure" approved="yes"> <source>Azure</source> <target state="final">Azur</target> </trans-unit> <trans-unit id="Pale Yellow" approved="yes"> <source>Pale Yellow</source> <target state="final">Jaune pâle</target> </trans-unit> <trans-unit id="Camel" approved="yes"> <source>Camel</source> <target state="final">Chameau</target> </trans-unit> <trans-unit id="Light Grey" approved="yes"> <source>Light Grey</source> <target state="final">Light Gris</target> </trans-unit> <trans-unit id="Silver Grey" approved="yes"> <source>Silver Grey</source> <target state="final">Argent Gris</target> </trans-unit> <trans-unit id="Mint Green" approved="yes"> <source>Mint Green</source> <target state="final">Vert Menthe</target> </trans-unit> <trans-unit id="Rust Red" approved="yes"> <source>Rust Red</source> <target state="final">Rust-Rouge</target> </trans-unit> <trans-unit id="Cinnamon" approved="yes"> <source>Cinnamon</source> <target state="final">Cannelle</target> </trans-unit> <trans-unit id="Ancient Gold" approved="yes"> <source>Ancient Gold</source> <target state="final">Or antique</target> </trans-unit> <trans-unit id="Antique Silver" approved="yes"> <source>Antique Silver</source> <target state="final">Argent antique</target> </trans-unit> <trans-unit id="Multi Colors" approved="yes"> <source>Multi Colors</source> <target state="final">Multicolore</target> </trans-unit> <trans-unit id="Multi Couleurs" approved="yes"> <source>Multi Couleurs</source> <target state="final">Multicolore</target> </trans-unit> <trans-unit id="Ancient Gold+White" approved="yes"> <source>Ancient Gold+White</source> <target state="final">Ancien or + blanc</target> </trans-unit> <trans-unit id="Black Diamond" approved="yes"> <source>Black Diamond</source> <target state="final">Noir Diamond</target> </trans-unit> <trans-unit id="Light Coffee" approved="yes"> <source>Light Coffee</source> <target state="final">Café Lumière</target> </trans-unit> <trans-unit id="Fluo Yellow" approved="yes"> <source>Fluo Yellow</source> <target state="final">Jaune Fluo</target> </trans-unit> <trans-unit id="Light Brown" approved="yes"> <source>Light Brown</source> <target state="final">Châtain</target> </trans-unit> <trans-unit id="White Coffee" approved="yes"> <source>White Coffee</source> <target state="final">Blanc Coffee</target> </trans-unit> <trans-unit id="Neon Green" approved="yes"> <source>Neon Green</source> <target state="final">Neon Vert</target> </trans-unit> <trans-unit id="Colorful" approved="yes"> <source>Colorful</source> <target state="final">Colorful</target> </trans-unit> <trans-unit id="Gold+Black" approved="yes"> <source>Gold+Black</source> <target state="final">Or + noir</target> </trans-unit> <trans-unit id="Gold+Blue" approved="yes"> <source>Gold+Blue</source> <target state="final">Or + bleu</target> </trans-unit> <trans-unit id="Gold+Brown" approved="yes"> <source>Gold+Brown</source> <target state="final">Or + Marron</target> </trans-unit> <trans-unit id="White+Blue" approved="yes"> <source>White+Blue</source> <target state="final">Blanc + Bleu</target> </trans-unit> <trans-unit id="White+Brown" approved="yes"> <source>White+Brown</source> <target state="final">Blanc + Marron</target> </trans-unit> <trans-unit id="Army Green" approved="yes"> <source>Army Green</source> <target state="final">Army Vert</target> </trans-unit> <trans-unit id="Deep Red" approved="yes"> <source>Deep Red</source> <target state="final">Deep Rouge</target> </trans-unit> <trans-unit id="Pearl White" approved="yes"> <source>Pearl White</source> <target state="final">Pearl Blanc</target> </trans-unit> <trans-unit id="Dark Coffee" approved="yes"> <source>Dark Coffee</source> <target state="final">Café noir</target> </trans-unit> <trans-unit id="Black+Black Diamond" approved="yes"> <source>Black+Black Diamond</source> <target state="final">Noir + Noir Diamond</target> </trans-unit> <trans-unit id="Gun Black" approved="yes"> <source>Gun Black</source> <target state="final">Noir Gun</target> </trans-unit> <trans-unit id="Ancient Gold+Grey" approved="yes"> <source>Ancient Gold+Grey</source> <target state="final">Ancien or + Gris</target> </trans-unit> <trans-unit id="Ancient Gold+Black" approved="yes"> <source>Ancient Gold+Black</source> <target state="final">Ancien or + noir</target> </trans-unit> <trans-unit id="Ancient Gold+Blue" approved="yes"> <source>Ancient Gold+Blue</source> <target state="final">Ancien or + bleu</target> </trans-unit> <trans-unit id="Ancient Gold+Pink" approved="yes"> <source>Ancient Gold+Pink</source> <target state="final">Ancien or + rose</target> </trans-unit> <trans-unit id="Antique Silver+Black" approved="yes"> <source>Antique Silver+Black</source> <target state="final">Antique Argent + Noir</target> </trans-unit> <trans-unit id="Antique Silver+Grey" approved="yes"> <source>Antique Silver+Grey</source> <target state="final">Antique Argent + Gris</target> </trans-unit> <trans-unit id="Antique Silver+Blue" approved="yes"> <source>Antique Silver+Blue</source> <target state="final">Antique Argent + Bleu</target> </trans-unit> <trans-unit id="Antique Silver+White" approved="yes"> <source>Antique Silver+White</source> <target state="final">Antique Argent + blanc</target> </trans-unit> <trans-unit id="Antique Silver+Pink" approved="yes"> <source>Antique Silver+Pink</source> <target state="final">Antique Argent + rose</target> </trans-unit>翻译其中法语部分内容成为挪威语 ,如翻译<target state="final">Antique Argent + rose</target>中间的Antique Argent + rose为挪威语,其他标签,大小写,空格,换行,均不动
最新发布
10-30
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值