-
-
Notifications
You must be signed in to change notification settings - Fork 50
c-api/intro.po 번역 #634
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
c-api/intro.po 번역 #634
Conversation
와! 감사합니다. 안그래도 작업이 거의 된 것 같은데, 혹 어떤 어려움이 있으신가해서 연락 한번 드리려고 했습니다. 그런데 그동안 브랜치가 3.9로 옮겨갔습니다. 3.9 브랜치로 rebase 후에 3.9 브랜치로 PR 부탁드립니다. 혹시 이 절차가 잘 진행되지 않는다거나 다른 어려움이 있으시면 알려주세요. 제가 어떻게 해 보겠습니다. |
Update intro.po
파이썬/C API 파이썬 임베딩하기
1d1e2d5
to
128afac
Compare
3.9 올라오면서 바뀐게 없는지 리베이스는 간단하게 되었습니다 :) 호기롭게 시작한 것에 비해 인터럽트가 많이 걸려서 3.9 나오기 전까지 작업을 못 마친게 아쉽네요 |
감사합니다. 사실은 3.9로 올라오면서 Py_UNREACHABLE() 부분이 조금 바뀌고 내용이 추가되었습니다. 그래서 리베이스 후��� 이 영역의 메시지가 약간 어긋나있고, 번역되지 않은 메시지도 3개 남아있게 되었습니다. 손보실 수 있으실까요? |
네네 오늘 저녁에 한번 보도록 하겠습니다 |
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.
수고하셨습니다. 몇가지 사소한 에러에 대해 코멘트 남깁니다.
c-api/intro.po
Outdated
|
||
#: /Users/flowdas/works/docs/python-docs-ko/src/Doc/c-api/intro.rst:46 | ||
msgid "Include Files" | ||
msgstr "" | ||
msgstr "파일 인클루드" |
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.
위키백과 - 헤더 파일 에 따르면 헤더 파일을 "인클루드 파일" 로도 부른다는 것을 발견해 "인클루드 파일" 로 수정했습니다
c-api/intro.po
Outdated
"와 :envvar:`exec_prefix` 는 파이썬의 :program:`configure` 스크립트에 해당���는 파라미터로 정의되며" | ||
" *버전* 은 ``'%d.%d' % sys.version_info[:2]`` 입니다. 윈도우에서는 헤더 파일들은 " | ||
":file:`{prefix}/include` 안에 설치되어 있습니다. :envvar:`prefix` 는 인스톨러에 의해 지정된 설치" | ||
" 렉터리 입니다." |
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.
수정했습니다. 감사합니다.
c-api/intro.po
Outdated
@@ -135,6 +168,10 @@ msgid "" | |||
"the platform independent headers under :envvar:`prefix` include the " | |||
"platform specific headers from :envvar:`exec_prefix`." | |||
msgstr "" | |||
"헤더를 인클루드 하기 위해선 두 디렉터리 모두 (두 디렉토리가 다를 경우) 컴파일러의 검색 패스에 추가하십시오. 부모 디렉터리를 " |
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.
수정했습니다. 감사합니다.
c-api/intro.po
Outdated
@@ -186,91 +235,106 @@ msgid "" | |||
" In this case, it's better to report the error to the caller. If the " | |||
"error cannot be reported to caller, :c:func:`Py_FatalError` can be used." | |||
msgstr "" | |||
"코드 경로가 매우 가능성이 낮지만 예외적인 경우에 도달할 수 있는 경우, 이 매크로를 사용해서는 안됩니다. 예를 들어, 메모리 " |
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.
수정했습니다. 감사합니다.
c-api/intro.po
Outdated
|
||
#: /Users/flowdas/works/docs/python-docs-ko/src/Doc/c-api/intro.rst:173 | ||
msgid "" | ||
"Use this for unused arguments in a function definition to silence " | ||
"compiler warnings. Example: ``int func(int a, int Py_UNUSED(b)) { return " | ||
"a; }``." | ||
msgstr "" | ||
"함수의 미사용 인자에 사용하여 컴파일러 경고를 무시하십시오. 예시: ``int func(int a, int Py_UNUSED(b))" |
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.
네 "무시합니다" 가 조금 더 자연스러운 듯 합니다. 수정했습니다. 감사합니다.
c-api/intro.po
Outdated
"객체를 참조하는 위치의 갯수를 셉니다. 객체를 참조하는 위치는 다른 객체일 수도 있고, C 전역 변수이거나 C 함수 안의 지역 " | ||
"변수일 수도 있습니다. 객체의 참조 횟수가 0이 되면 객체는 할당이 해제됩니다. 객체가 다른 객체에 대한 참조를 가지고 있을 경우 " | ||
"해당 객체의 참조 횟수가 감소합니다. 이러한 참조 횟수의 감소로 인해 다른 객체의 참조 횟수가 0으로 감소하면 다른 객체들이 차례로" | ||
" 할당이 해제될 수 있습니다. (서로를 참조하는 객체에 대해 분명한 문제점이 있으나 현재 해결책은 \"그러지 마세요.\" 입니다.)" |
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.
수정했습니다. 감사합니다.
c-api/intro.po
Outdated
"참조 횟수는 항상 명시적으로 조작됩니다. 일반적인 방법은 매크로 :c:func:`Py_INCREF` 를 사용하여 객체의 참조 횟수를" | ||
" 하나 증가시키고, :c:func:`Py_DECREF` 를 사용하여 참조 횟수를 하나 감소시키는 것입니다. " | ||
":c:func:`Py_DECREF` 매크로는 참조 횟수가 0이 되는지를 확인하고 객체의 할당해제자(deallocator) 를 " | ||
"호출해야 하므로 참조 횟수를 증가시키는 매크로보다 상당히 복잡합니다. 할당 해제자는 객체의 유형 구조체에 포함된 함수 포인터입니다." |
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.
의미상으로는 크게 다르지 않으나 type 은 용어집에 등장하는 단어이니 "유형" 대신 "형"으로 통일하는 것이 좋겠습니다. 몇군데 더 있습니다.
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.
L929 의 A full list of the various types of debugging builds...
의 type 은 용어집에서 설명하는 type 의 ���주가 아닌것 같아 '유형' 을 유지했는데 괜찮을까요?
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.
예, 그 부분은 용어집의 type 을 뜻하지 않는듯합니다.
c-api/intro.po
Outdated
"Py_DECREF 를 호출할 ���임이 있다는 것을 의미합니다. 소유권은 양도될 수도 있습니다. 즉, 참조의 소유권을 받은 코드가 " | ||
"소유권이 더 이상 필요하지 않을 때 :c:func:`Py_DECREF` 또는 :c:func:`Py_XDECREF` 를 호출하거나 " | ||
"책임을 (대게 자신의 호출자에게) 넘김으로써 결국 참조 횟수를 감소시킬 책임이 생긴다는 것을 의미합니다. 함수가 참조의 소유권을 " | ||
"호출자에게 넘길때 발신자는 *새로운* 참조를 받는다고 합니다. 소유권이 옮겨지지 않을 때 호출자는 참조를 *빌린다* 라��� 합니다. " |
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.
수정했습니다. 감사합니다.
c-api/intro.po
Outdated
"파이썬/C API에서 중요한 역할을 하는 다른 데이터 형은 거의 없습니다. 대부분은 :c:type:`int`, " | ||
":c:type:`long`, :c:type:`double` 그리고 :c:type:`char\\*` 같은 평범한 C 형입니다. " | ||
"모듈에서 내보내는 함수나 새 객체 형의 데이터 속성들을 나열하는데 사용되는 정적 테이블을 표현하는데 사용되는 구조체 형이 몇가지 " | ||
"있으며, 허수를 표현하기 위해 사용되는 구조체 형도 있습니다. 이러한 형들은 해당 형들을 사용하는 함수와 함께 다뤄질 것입니다." |
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.
수정했습니다. 감사합니다.
c-api/intro.po
Outdated
|
||
#: /Users/flowdas/works/docs/python-docs-ko/src/Doc/c-api/intro.rst:760 | ||
msgid "" | ||
"A number of assertions are added to the dictionary and set " | ||
"implementations. In addition, the set object acquires a " | ||
":meth:`test_c_api` method." | ||
msgstr "" | ||
msgstr "많은 어설션이 사전과 집합 구현에 추가됩니다. 또한 집합 객체는 :meth:`test_c_api` 메소드가 추가됩니다." |
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.
dictionary 도 용어집에 등장하는 것이라 "딕셔너리"로 통일하고 있습니다.
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.
수정했습니다. 감사합니다.
* directory 번역을 디렉터리 로 통일 * type 번역을 용어집 번역인 형 으로 통일 * 발신자 -> 호출자 , 사전 -> 딕셔너리
생각보다 늦게 완료되었습니다 😥 리뷰 부탁드립니다 🙏
#34