-
Notifications
You must be signed in to change notification settings - Fork 3
[Update #14] docblock翻譯 #16
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
Conversation
@LeoOnTheEarth 幫忙 review 一下吧 |
@@ -1,32 +1,32 @@ | |||
## DocBlocks | |||
## 註釋 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
一般 docblock 叫區塊註解
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
註解區塊比較順吧?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
搜尋一下是以區塊註解較多
2014-10-06 22:50 GMT+08:00 Leo [email protected]:
In manual/zh-TW/coding-standards/chapters/docblocks.md:
@@ -1,32 +1,32 @@
-## DocBlocks
+## 註釋註解區塊比較順吧?
—
Reply to this email directly or view it on GitHub
https://github.com/smstw/joomla-coding-standards/pull/16/files#r18460688
.
Best Regard
Simon Asika | Kwang Po Tung | 董冠伯
- Founder: Asikart Extension http://ext.asikart.com/
- CTO: SMS Taiwan http://www.bm-sms.com.tw/
- Mobile: 886-928-565-747
- Github: https://github.com/asika32764
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
那就翻區塊註解吧! 👍
988ff62
to
9e0a9ef
Compare
|
||
Code contributed to the Joomla project that will become the copyright of the project is not allowed to include @author tags. You should update the contribution log in CREDITS.php. Joomla's philosophy is that the code is written "all together" and there is no notion of any one person "owning" any section of code. The @author tags are permitted in third-party libraries that are included in the core libraries. | ||
@author 將成為 Joomla project 版權一部分而貢獻出來的程式不允許使用 @auther 標籤。您必須更新您的(CREDITS.php 在 contribution log)。 Joomla程式原則是"互助",所以並不會在Joomla程式碼提出或是感謝某人提供或擁有任何程式碼。@author標籤 在Joomla第三方核心程式編碼是被允許的。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
將成為 Joomla project 版權一部分而貢獻出來的程式不允許使用 @auther 標籤
我剛剛講過被洗掉了 =_=...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
另外 @bblurock 翻的還是太直接了,要轉化成一些中文的講法
翻譯有時候不是逐句去翻,可以先把一個段落看完,再思考原文的意思再翻會比較好
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bblurock 這段白話文蠻好閱讀的阿,跟原文差異似乎也不大
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
開頭地一句這樣翻吧
貢獻到 Joomla 專案下的程式碼,其版權將屬於 Joomla 專案,因此我們不允許其內包含 @author 標籤。
還有每個英文字 Egnlish 跟中文字之間應該左右都有空格。 可以簡單 Follow 一下這個 規範 - 中文文案排版指北。 |
|
||
Documentation headers for PHP code in: files, classes, class properties, methods and functions, called the docblocks, follow a convention similar to JavaDoc or phpDOC. | ||
被使用在 PHP 程式碼中 (如:文件、類別、類別屬性、方法和函數) 的說明標頭被稱作區塊註解 (docblocks),攥寫方式遵循類似 JavaDoc 或 phpDOC 所使用的慣例。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
撰寫
方式
攥寫
的 攥
是怎麼打出來的啊XD...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
寸哥眼睛你偷開外掛....我都沒注意到
* @category (非必填,極少使用) | ||
* @package (通常是非必填,但當程式碼是持續性就是必填) | ||
* @subpackage (非必填) | ||
* @author (非必填但只被允許在非 Joomla 程式資源裡,像是第三方套件 Geshi) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
像是 Geshi 之類的第三方套件
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修
要把改好的東西 push 上來啊... |
這個 PR 狀況如何? |
改好哩,再麻煩@LeoOnTheEarth der der 有空再看一下。沒問題就可以merge 了 |
OK 了,merge... |
for #14