gumara

เหนือกว่าเหตุผล ผมไม่มีเหตุผล

วิธี compile help gnome

Submitted by gumara on Mon, 09/22/2008 - 10:30

ก็ โน๊ตๆ วิธี compile help ของ gnome

  1. เอา src ของ ไฟล์ help ออกมาก่อน จะดาวน์โหลด หรือจะ checkout ก็แล้วแต่ svn co http://svn.gnome.org/svn/cheese/trunk/help/
  2. cd เข้าไปแบบไม่ต้องใช้สมอง หรือจะใช้ก็ไม่ว่ากัน
  3. สร้างโฟลเดอร์ของ th ก่อน mkdir th
  4. คัดลอก po ต้นหบับมาเป็นของภาษาเรา $ xml2po -e -o th/th.po C/[ชื่อไฟล์ ตรงกับชื่อ package].xml
  5. แปลๆ ไอ้ตัว po ภาษาไทยซะ
  6. compile ซะ $ xml2po -e -o th/[ชื่อไฟล์ ตรงกับชื่อ package].xml -p th/th.po C/[ชื่อไฟล์ ตรงกับชื่อ package].xml
  7. ลองรันดู $ yelp file://pwd/th/{file}.xml

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Twitter-style @usersnames are linked to their Twitter account pages.
  • Twitter-style #hashtags are linked to search.twitter.com.

More information about formatting options

rMilk

Comment

Tags

Another ~


Let's chat

User login

del.icio.us/~

tweet me

Add to Technorati Favorites


Stat:

free web tracker