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

gccgo.po 31-115 行 构造示例任务认领 #5

Open
minux opened this issue Dec 24, 2014 · 4 comments
Open

gccgo.po 31-115 行 构造示例任务认领 #5

minux opened this issue Dec 24, 2014 · 4 comments

Comments

@minux
Copy link
Member

minux commented Dec 24, 2014

No description provided.

@minux minux added the Assigned label Dec 24, 2014
@minux minux modified the milestone: 完成示例程序 Dec 24, 2014
@minux
Copy link
Member Author

minux commented Dec 24, 2014

我不知道70行这个 "object is not a method" 咋构造....

@minux
Copy link
Member Author

minux commented Dec 24, 2014

98-115 我也处理了。

@minux minux changed the title gccgo.po 31-97 行 构造示例任务认领 gccgo.po 31-115 行 构造示例任务认领 Dec 24, 2014
@doylecnn
Copy link

70 行和74 行搜索了好久,找到在gcc报错的位置,对你有帮助吗?反正我是看不懂……
最近一次改动是和method values 有关的修订中

然后,109行和114 行的翻译不对吧……
对应的是
gccgo/tests/argument_1_must_be_a_map.go

#: go/gofrontend/expressions.cc:7271
#, fuzzy
msgid "argument 1 must be a map"
msgstr "实参必须是常数"


gccgo/tests/invalid_type_for_make_function.go

#: go/gofrontend/expressions.cc:7368
#, fuzzy
msgid "invalid type for make function"
msgstr "函数%q+#D的抽象返回类型无效"

109行说的是:第一个参数必须是个map
114行说的是:make 函数得到了一个错误的类型?错误的类型给make 函数?make 函数不能处理该类型?

@minux
Copy link
Member Author

minux commented Dec 25, 2014

2014-12-25 0:26 GMT-05:00 Doyle [email protected]:

70 行和74 行搜索了好久,找到在gcc报错的位置,对你有帮助吗?反正我是看不懂……
最近一次改动是和method values 有关的修订中

恩 我已经查过历史了。method value 那个修改 (https://codereview.appspot.com/10484044/)
其实没改那部分,只不过是稍微化减了一下。

那俩错误其实从 2010年底 go 前端被提交给 gcc 就有了。。。 所以要继续回溯历史就
从公开的地方查不到了。

然后,109行和114 行的翻译不对吧……

这个阶段我没翻译,好多都翻译得驴唇不对马嘴的。。。。我都不知道是怎么翻译出来的。
机器翻译都没那么糟糕。@OlingCat 猜测是直接替换关键词,其实很有可能啊……

或许我下次还是顺便更新一下错误信息吧,有些翻译实在是搞笑。

对应的是
gccgo/tests/argument_1_must_be_a_map.go
#: go/gofrontend/expressions.cc:7271
#, fuzzy
msgid "argument 1 must be a map"
msgstr "实参必须是常数"

gccgo/tests/invalid_type_for_make_function.go
#: go/gofrontend/expressions.cc:7368
#, fuzzy
msgid "invalid type for make function"
msgstr "函数%q+#D的抽象返回类型无效"

109行说的是:第一个参数必须是个map
114行说的是:make 函数得到了一个错误的类型?错误的类型给make 函数?make 函数不能处理该类型?

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

No branches or pull requests

2 participants