Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: finish translate tkinter font#814

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mattwang44 merged 5 commits intopython:3.12fromrockleona:feat/tkinter/font
Feb 15, 2024
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 38 additions & 31 deletionslibrary/tkinter.font.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,18 +8,19 @@ msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-10-26 16:47+0000\n"
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
"PO-Revision-Date:2024-02-15 23:09+0800\n"
"Last-Translator:RockLeon <therockleona@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.4.2\n"

#: ../../library/tkinter.font.rst:2
msgid ":mod:`tkinter.font` --- Tkinter font wrapper"
msgstr ""
msgstr ":mod:`tkinter.font` --- Tkinter 字型包裝器"

#: ../../library/tkinter.font.rst:8
msgid "**Source code:** :source:`Lib/tkinter/font.py`"
Expand All@@ -30,10 +31,11 @@ msgid ""
"The :mod:`tkinter.font` module provides the :class:`Font` class for creating "
"and using named fonts."
msgstr ""
":mod:`tkinter.font` 模組提供類別 :class:`Font`,可以建立及使用已命名的字型。"

#: ../../library/tkinter.font.rst:15
msgid "The different font weights and slants are:"
msgstr ""
msgstr "不同的字重 (font weights) 以及傾斜 (slant) 是:"

#: ../../library/tkinter.font.rst:24
msgid ""
Expand All@@ -43,125 +45,130 @@ msgid ""
"as a single object, rather than specifying a font by its attributes with "
"each occurrence."
msgstr ""
"類別 :class:`Font` 代表一個已命名字型。*Font* 實例會被賦予一個的名字,也可以"
"特指他們的字型家族 (font family)、字級 (size)、以及外觀設定。已命名字型是 Tk "
"建立及辨識字型為單一物件的方式,而不是每次出現時特指字型的屬性。"

#: ../../library/tkinter.font.rst:30
msgid "arguments:"
msgstr "引數:"

#: ../../library/tkinter.font.rst:0
msgid "*font* - font specifier tuple (family, size, options)"
msgstr ""
msgstr "*font* - 字型指定符號元組 (family, size, options)"

#: ../../library/tkinter.font.rst:0
msgid "*name* - unique font name"
msgstr ""
msgstr "*name* - 獨特字型名稱"

#: ../../library/tkinter.font.rst:0
msgid "*exists* - self points to existing named font if true"
msgstr ""
msgstr "*exists* - 如果存在的話,指向現有的已命名字型"

#: ../../library/tkinter.font.rst:36
msgid "additional keyword options (ignored if *font* is specified):"
msgstr ""
msgstr "額外的關鍵字選項(若已指定 *font* 則會忽略):"

#: ../../library/tkinter.font.rst:0
msgid "*family* - font family i.e. Courier, Times"
msgstr ""
msgstr "*family* - 字型家族,例如:Courier、Times"

#: ../../library/tkinter.font.rst:0
msgid "*size* - font size"
msgstr ""
msgstr "*size* - 字級"

#: ../../library/tkinter.font.rst:0
msgid "If *size* is positive it is interpreted as size in points."
msgstr ""
msgstr "如果 *size* 是正數則會直譯成以點 (point) 為單位的字級。"

#: ../../library/tkinter.font.rst:0
msgid "If *size* is a negative number its absolute value is treated"
msgstr ""
msgstr "如果 *size* 是負數則會變成絕對值"

#: ../../library/tkinter.font.rst:0
msgid "as size in pixels."
msgstr ""
msgstr "以像素 (pixel) 為單位的字級。"

#: ../../library/tkinter.font.rst:0
msgid "*weight* - font emphasis (NORMAL, BOLD)"
msgstr ""
msgstr "*weight* - 強調字型,例如:NORMAL(標準體)、BOLD(粗體)"

#: ../../library/tkinter.font.rst:0
msgid "*slant* - ROMAN, ITALIC"
msgstr ""
msgstr "*slant* - 例如:ROMAN(正體)、ITALIC(斜體)"

#: ../../library/tkinter.font.rst:0
msgid "*underline* - font underlining (0 - none, 1 - underline)"
msgstr ""
msgstr "*underline* - 字型加上底線(0 - 無底線、 1 - 加上底線)"

#: ../../library/tkinter.font.rst:0
msgid "*overstrike* - font strikeout (0 - none, 1 - strikeout)"
msgstr ""
msgstr "*overstrike* - 字型加上刪除線(0 - 無刪除線、 1 - 加上刪除線)"

#: ../../library/tkinter.font.rst:50
msgid "Return the attributes of the font."
msgstr ""
msgstr "回傳字型的屬性。"

#: ../../library/tkinter.font.rst:54
msgid "Retrieve an attribute of the font."
msgstr ""
msgstr "取得字型的其中一個屬性。"

#: ../../library/tkinter.font.rst:58
msgid "Modify attributes of the font."
msgstr ""
msgstr "修改字體的多個屬性。"

#: ../../library/tkinter.font.rst:62
msgid "Return new instance of the current font."
msgstr ""
msgstr "回傳目前字體的新實例。"

#: ../../library/tkinter.font.rst:66
msgid ""
"Return amount of space the text would occupy on the specified display when "
"formatted in the current font. If no display is specified then the main "
"application window is assumed."
msgstr ""
"回傳目前字型被格式化時,在特定顯示區域中文字所用的空間。若顯示區域沒有被指"
"定,則會假定主程式視窗為顯示區域。"

#: ../../library/tkinter.font.rst:72
msgid "Return font-specific data. Options include:"
msgstr ""
msgstr "回傳字型特定的資料。其選項包含:"

#: ../../library/tkinter.font.rst:76
msgid "*ascent* - distance between baseline and highest point that a"
msgstr ""
msgstr "*ascent* - 基準線以及最高點的距離"

#: ../../library/tkinter.font.rst:76 ../../library/tkinter.font.rst:79
msgid "character of the font can occupy"
msgstr ""
msgstr "在字型中的一個字母可以佔用的空間"

#: ../../library/tkinter.font.rst:79
msgid "*descent* - distance between baseline and lowest point that a"
msgstr ""
msgstr "*descent* - 基準線以及最低點的距離"

#: ../../library/tkinter.font.rst:82
msgid "*linespace* - minimum vertical separation necessary between any two"
msgstr ""
msgstr "*linespace* - 最小所需的垂直間距"

#: ../../library/tkinter.font.rst:82
msgid "characters of the font that ensures no vertical overlap between lines."
msgstr ""
msgstr "在字型中的任兩個字母之間,確保跨行時不會有垂直重疊。"

#: ../../library/tkinter.font.rst:84
msgid "*fixed* - 1 if font is fixed-width else 0"
msgstr ""
msgstr "*fixed* - 若字型為等寬 (fixed-width) 的則為 1,否則為 0"

#: ../../library/tkinter.font.rst:88
msgid "Return the different font families."
msgstr ""
msgstr "回傳不同的字型家族。"

#: ../../library/tkinter.font.rst:92
msgid "Return the names of defined fonts."
msgstr ""
msgstr "回傳已定義字型的名字。"

#: ../../library/tkinter.font.rst:96
msgid "Return a :class:`Font` representation of a tk named font."
msgstr ""
msgstr "回傳一個 :class:`Font`,代表一個 tk 已命名字型。"

#: ../../library/tkinter.font.rst:98
msgid "The *root* parameter was added."
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp