- 论坛徽章:
- 0
|
之前有人讨论了:
http://bbs.chinaunix.net/thread-1275329-1-1.html
但是大家只是指出了原因, 并没有解决方案
原来的程序是英文的:
typedef struct tag_tool_info{
char *description;
.......
} TOOL_INFO;
static TOOL_INFO tool_info_list[]=
{
{ "file", ... },
{ "edit", ... },
{ "view", ... },
...
}; |
这样编译没问题, 但是需要国际化:
static TOOL_INFO tool_info_list[]=
{
{ _("file"), ... },
{ _("edit"), ... },
{ _("view"), ... },
...
}; |
这样就不行了, 请问有什么简洁的解决方案吗?
[ 本帖最后由 connet 于 2008-11-26 14:28 编辑 ] |
|