Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

咋直接用中文呢? #3

Closed
youdang opened this issue Jul 29, 2013 · 7 comments
Closed

咋直接用中文呢? #3

youdang opened this issue Jul 29, 2013 · 7 comments

Comments

@youdang
Copy link

youdang commented Jul 29, 2013

不是应该用tr括起来,然后再用linguist翻译吗?
BTW,赞一下~~

@torinkwok
Copy link
Owner

所有UI可见字符串我的确是用tr括起来了阿,另外BTW是什么

@dodola
Copy link

dodola commented Jul 29, 2013

@tongG
BTW=By the way
g_CheckBoxHTML为啥要写成绝对地址嘞?

@torinkwok
Copy link
Owner

g_CheckBoxHTML现在废弃了,绝对地址是debug时候用的

@torinkwok
Copy link
Owner

@dodola

@torinkwok
Copy link
Owner

@youdang

@youdang
Copy link
Author

youdang commented Jul 29, 2013

中文正确的用法不是,
tr("hello")
然后统一用lupdate工具提取出这些字符串,生成qs文件,然后用linguist工具翻译,并发布成qm文件,再在程序里面用QTranslator载入。

@torinkwok
Copy link
Owner

@youdang 对!忽略这点了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants