User talk:DaKang233

From Valve Developer Community
Jump to: navigation, search
Icon-message-48px.png
Welcome to User talk:1416006136!
This is the start of the 1416006136 discussion page.

To add a new message, click on "Add Topic/Reply" button below, and set the "Subject".
To add a Reply, do the same as above, but leave the "Subject" blank.
Note.pngNote:Please talk in English or in Chinese. Also, please use {{Message}}.

Update a Template

Icon-user.png
Empty.png
Yakumo koishi15:38, 24 December 2021 (UTC)
并不是什么大事,只是你能不能更新下Template:PreservedEnt:zh原页面进行了一次大修,但恕我功底不行没法进行更新()
ERR
Empty.png
DaKang2337:49, 25 December 2021 (UTC+8)
我会更新的。
ERR
Empty.png
DaKang2338:49, 25 December 2021 (UTC+8)
我现在更新了 Template:PreservedEnt:zh 页面。
Icon-user.png
Empty.png
Yakumo koishi1:07, 25 December 2021 (UTC)
Got it, thx

翻译建议

Icon-user.png
Empty.png
Coma11:09, 2 July 2022 (UTC)
先生您好,您在曾经地翻译中对 遮挡器(occluder)、位移(Displacement)、可见性分支区域(visleaf)等部分内容地翻译并不合适、有一定机翻的现象,请您翻译时仔细斟酌并现行更正。将感谢您从百忙中抽出的时间,望您知晓,谢谢!
ERR
Empty.png
DaKang23312:23, 7 July 2022 (UTC+8)
好的,我知道了。感谢您的建议!

Translating articles

Icon-user.png
Empty.png
FloraC14:36, 15 July 2022 (UTC)
First I'd like to express my thanks for your contribution. I think certain practice in the translation can be debated, specifically, marking that the page is translated by someone on some date at the beginning of the article. Since the wiki is a community project, every user may contribute, and we already have the history saved by the server. I'm afraid the mark could discourage further updates and/or improvements from other users.

首先感谢阁下的贡献。本人认为文章翻译的一个做法有待商榷,具体来说是在文章开头标记某人某日翻译。维基乃由社区共同维护,每位用户都可以贡献,服务器自会留存历史记录。本人担忧这一标记会阻碍其他用户进一步更新或改进。

Not related, but I suggest both brush and solid should be translated to 固体.

另外,本人认为「brush」和「solid」都应翻译为「固体」。
ERR
Empty.png
DaKang2331:50, 16 July 2022 (UTC+8)
Ok, I got it. Thank you for your suggestions! I will adopt these suggestions.

Test

Icon-user.png
Empty.png
大康19:25, 27 January 2023 (UTC)
testing

About the edit for "Left 4 Dead 2/Script Functions/en".

Icon-user.png
Empty.png
Orinuse13:13, 19 August 2023 (UTC)
您好!维基的华文词汇我不流利,请体谅。最新的编辑看起来将所用的 "<code>" 改成 "{{Code}}"。 这应该花了不少的时间,但是我认为编辑之后的颜色反差干扰了读者的专心能力,所以我只留了我觉得是不错的部分,希望可理解。以下是我在什么情况下留了"{{Code}}":
  • "Launch options".
  • I/O 输入与输出。
  • 描述里的函数。
  • 如果排列不被逗号分开又在一条线里, 变量们的名字如果与写脚本有关联。
  • 任何可运行的代码或命令。

以上的不是该跟的规则,只是我编辑的总结,未来我也可能会纠正自己的编辑。如果您对我的编辑有任何的问题,请随时提问。

ERR
Empty.png
DaKang2336:31, 20 August 2023 (UTC+8)(edited)
我觉得那是不错的主意。
我之前认为页面上全是<code>显得代码部分很难被分辨,所以我计划把代码部分的文字使用的<code>标签改为{{Code}}模板。
这固然花费了一些时间,但我是通过使用正则表达式来替换文本,所以工作量会少很多。原先的页面上有些使用<code>标签的文本在正文文本之间是没有空格的,所以我也顺便为它们添加了空格以隔开正文和代码,这也方便其他非英语读者将其复制到翻译器里进行翻译,同时也美观。
各种函数名称(列 Function 中的)确实可以不使用{{Code}}模板,这样看起来比较顺眼。
不过我认为 Signature 部分可以使用{{CodeBlock}}。例如:
Function Signature Description
__KeyValueFromInt
__KeyValueFromFloat
__KeyValueFromString
__KeyValueFromVector
bool __KeyValueFromInt(string key, int value)
bool __KeyValueFromFloat(string key, float value)
bool __KeyValueFromString(string key, string value)
bool __KeyValueFromVector(string key, Vector value)
Sets an entity keyvalue from a specific data type. Returns true if successfully set, false if it the key does not exist.

This simply changes the value without executing any other code that may be needed for the entity to fully process the keyvalue, such as code for updating the entity's internal network state. This can create unexpected side effects on already-spawned entities such as visual changes being delayed for clients.

Tip.pngTip:Use Netprops and update the keyvalue's corresponding prop instead, as this correctly updates the networking state and results in an immediate update.

所以,在 Signature 中使用 {{CodeBlock}} 能够更好地区分代码。


I think that's a good idea.
I think all the codes on the page were used the tag <code>, which made it difficult to distinguish with the text and the code, so I planned to replace the tag <code> to the template {{Code}}. Certainly, it took some time, but I replaced them by using Regular Expression, so the workload was much less. There was no space between the code and the text in the previous revision. Therefore, I added spaces for them. This not only is useful for non-English readers to copy them to the translator to translate, but also looks good.
Various function names (in column Function) can indeed look more pleasing without using {{Code}} templates. However, I think the column Signature can use {{CodeBlock}}. For example:

Function Signature Description
__KeyValueFromInt
__KeyValueFromFloat
__KeyValueFromString
__KeyValueFromVector
bool __KeyValueFromInt(string key, int value)
bool __KeyValueFromFloat(string key, float value)
bool __KeyValueFromString(string key, string value)
bool __KeyValueFromVector(string key, Vector value)
Sets an entity keyvalue from a specific data type. Returns true if successfully set, false if it the key does not exist.

This simply changes the value without executing any other code that may be needed for the entity to fully process the keyvalue, such as code for updating the entity's internal network state. This can create unexpected side effects on already-spawned entities such as visual changes being delayed for clients.

Tip.pngTip:Use Netprops and update the keyvalue's corresponding prop instead, as this correctly updates the networking state and results in an immediate update.

So using {{CodeBlock}} could distinguish the code better.

TF2 console command page broken?

Icon-user.png
Empty.png
Adrmcr15:37, 29 August 2023 (UTC)
Not sure if this was specifically your changes that did this, but your recent changes to Template:MultiPage appears to have maybe broken List of Team Fortress 2 console commands and variables; As far as I can tell, it was fine before this.
ERR
Empty.png
DaKang2330:54, 30 August 2023 (UTC+8)
OK, I got it. I will fix it. Thanks for your report.
ERR
Empty.png
DaKang2331:00, 30 August 2023 (UTC+8)
It seems that view the page as other language is fine. This problem may be caused because "Template include size is too large. Some templates will not be included.".

Thank you!

Icon-user.png
Empty.png
Polish Mafia Financier11:37, 27 November 2023 (UTC)
I don't know if anyone has thanked you for this yet, but thank you for all the translation work you do! You're an absolute machine!
ERR
Empty.png
DaKang23320:56, 27 November 2023 (UTC+8)
It's a pleasure. I just have done some work to promote the new standard, and benefit more people. (Mainly because these pages are too unpleasant)

Ibfotsble template seems busred

Icon-user.png
Empty.png
Polish Mafia Financier5:17, 28 November 2023 (UTC)
Some stuff isn't working as of your autolang changes, like custom "dev" parameter text doesn't show up anymore (check HLMV++'s table, it should way ficool2 in the developer field). I think the issue stems from where you changed some "#default" entries used for switch statements over to "1=" for autolang. There's likely other stuff broken in the template now.

Edit: nevermind, I fixed it. I thought it was gonna be a harder issue to figure out but then I stumbled across the issue and fixed it.

ERR
Empty.png
DaKang23312:50, 29 November 2023 (UTC+8)
Well, I just replaced the #default to 1 simply, so some of the #default that shouldn't be replaced were replaced. Maybe I should add more matching criteria next time.

Your translation sign

ERR
UserAvatarFrame-NOUG4AT.png
Noug4at4:02, 5 January 2024 (UTC+7:30)
I have often seen your translations, you constantly indicate yourself at the top of the article for everyone to see (when you have translated it), it looks strange and inappropriate. I think there is no need to do this.
ERR
Empty.png
DaKang23312:39, 14 February 2024 (UTC+8)
It's for certain that the sign isn't necessary, but due to various reasons I will add it to some of the pages I have translated. These reasons are too complex. Simply put, this is a habit of Chinese people to shows how contributions they have done. Of course, I will not add the sign to any other page that is not translated by me or is not Chinese. I am also trying not to add the sign if can. You can find that there are the signs that indicate who translated it in many translated pages in Chinese besides mine. This can be said to be a common phenomenon in the Chinese community.
ERR
UserAvatarFrame-NOUG4AT.png
Noug4at14:39, 14 February 2024 (UTC+7:30)
Fine. Thanks for the answer.
ERR
Empty.png
DaKang23317:16, 14 February 2024 (UTC+8)
You're welcome.