2012-01-13

Slitaz -- ge60 / lconvert



Google Earth 6.0.3.2197
建構日期    2011/5/13
建構時間    17:16:07
轉譯器      OpenGL
作業系統    Linux (2.6.37.0)
影片驅動程式 Tungsten Graphics, Inc
最大材質大小 4096x4096
伺服器       kh.google.com


1.
tux@slitaz:/tmp$ lconvert --help

Usage:
lconvert [options] <infile> [<infile>...]

lconvert is part of Qt's Linguist tool chain. It can be used as a
stand-alone tool to convert and filter translation data files.
The following file formats are supported:

ts11 - Qt translation sources (format 1.1)
ts20 - Qt translation sources (format 2.0)
pot - GNU Gettext localization template files
ts - Qt translation sources (latest format)
qph - Qt Linguist 'Phrase Book'
xlf - XLIFF localization files
po - GNU Gettext localization files
qm - Compiled Qt translations
[..]


2.
tux@slitaz:/tmp$ lconvert -i zh-Hant.qm -o zh-Hant.ts


3.
tux@slitaz:/tmp$ head zh-Hant.ts
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>EditDialog</name>
<message>
<source>%</source>
<translation>%</translation>
</message>
<message>
tux@slitaz:/tmp$


4.
tux@slitaz:/tmp$ grep -i -n -e '>fly to<' -e '>directions<' -e '>find businesses<' -C 5 /tmp/zh-Hant.ts
6442- <message>
6443- <source>What you are looking for</source>
6444- <translation>您要尋找的事物</translation>
6445- </message>
6446- <message>
6447: <source>Fly To</source>
6448- <translation>目的地</translation>
6449- </message>
6450- <message>
6451: <source>Fly to</source>
6452- <translation>目的地</translation>
6453- </message>
6454- <message>
6455- <source>Where you are going</source>
6456- <translation>您的目的地</translation>
--
6551- <message>
6552- <source>e.g., 37.407229, -122.107162</source>
6553- <translation> (例如:37.407229、-122.107162)</translation>
6554- </message>
6555- <message>
6556: <source>Directions</source>
6557- <translation>路線</translation>
6558- </message>
6559- <message>
6560: <source>Find Businesses</source>
6561- <translation>尋找商家</translation>
6562- </message>
6563- <message>
6564- <source>e.g., Houston, Texas</source>
6565- <translation> (例如:南投縣埔里鎮)</translation>
tux@slitaz:/tmp$
.