Skip to content

Commit

Permalink
Merge pull request #251 from Readon/master
Browse files Browse the repository at this point in the history
update chinese version to latest.
  • Loading branch information
Readon authored Mar 31, 2024
2 parents 438af40 + 21343d3 commit e4d25c8
Show file tree
Hide file tree
Showing 6 changed files with 324 additions and 279 deletions.

Large diffs are not rendered by default.

92 changes: 45 additions & 47 deletions source/locale/zh_CN/LC_MESSAGES/SpinalHDL/Libraries/flow.po
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@

msgid ""
msgstr ""
"Project-Id-Version: SpinalHDLReport-Msgid-Bugs-To:POT-Creation-"
"Date:2023-12-01 11:48+0800PO-Revision-Date:YEAR-MO-DA HO:MI+ZONELast-"
"Translator:FULL NAME <EMAIL@ADDRESS>Language:zh_CNLanguage-Team:zh_CN "
"<[email protected]>Plural-Forms:nplurals=1; plural=0;MIME-Version:1.0Content-"
"Type:text/plain; charset=UTF-8\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESSPOT-Creation-Date:2023-12-02 00:23"
"+0800PO-Revision-Date:YEAR-MO-DA HO:MI+ZONELast-Translator:FULL NAME "
"<EMAIL@ADDRESS>Language-Team:LANGUAGE <[email protected]>MIME-Version:1.0Content-"
"Type:text/plain; charset=UTF-8\n"
"Project-Id-Version: SpinalHDLReport-Msgid-Bugs-To:POT-Creation-Date:2023-12-"
"01 11:48+0800PO-Revision-Date:YEAR-MO-DA HO:MI+ZONELast-Translator:FULL NAME "
"<EMAIL@ADDRESS>Language:zh_CNLanguage-Team:zh_CN <[email protected]>Plural-"
"Forms:nplurals=1; plural=0;MIME-Version:1.0Content-Type:text/plain; "
"charset=UTF-8\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESSPOT-Creation-Date:2023-12-02 00:23+0800PO-"
"Revision-Date:YEAR-MO-DA HO:MI+ZONELast-Translator:FULL NAME <EMAIL@ADDRESS"
">Language-Team:LANGUAGE <[email protected]>MIME-Version:1.0Content-Type:text/plain; "
"charset=UTF-8\n"
"POT-Creation-Date: 2024-03-30 15:02+0000\n"
"PO-Revision-Date: 2024-01-25 03:01+0000\n"
"Last-Translator: tsy0123 <[email protected]>\n"
"PO-Revision-Date: 2024-03-31 12:30+0000\n"
"Last-Translator: Readon <[email protected]>\n"
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
"spinaldoc-rtd/spinalhdllibrariesflow/zh_Hans/>\n"
"Language: zh_CN\n"
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects"
"/spinaldoc-rtd/spinalhdllibrariesflow/zh_Hans/>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 5.5-dev\n"
"Generated-By: Babel 2.14.0\n"

#: ../../SpinalHDL/Libraries/flow.rst:3
Expand Down Expand Up @@ -95,129 +95,128 @@ msgstr "函数"

#: ../../SpinalHDL/Libraries/flow.rst:39
msgid "Syntax"
msgstr ""
msgstr "语法"

#: ../../SpinalHDL/Libraries/flow.rst:41
msgid "Return"
msgstr ""
msgstr "返回类型"

#: ../../SpinalHDL/Libraries/flow.rst:42
msgid "Latency"
msgstr ""
msgstr "延迟"

#: ../../SpinalHDL/Libraries/flow.rst:43
msgid "Flow(type : Data)"
msgstr ""
msgstr "Flow(type : Data)"

#: ../../SpinalHDL/Libraries/flow.rst ../../SpinalHDL/Libraries/flow.rst:44
msgid "Create a Flow of a given type"
msgstr ""
msgstr "创建给定类型的流"

#: ../../SpinalHDL/Libraries/flow.rst:45 ../../SpinalHDL/Libraries/flow.rst:50
#: ../../SpinalHDL/Libraries/flow.rst:55 ../../SpinalHDL/Libraries/flow.rst:59
#: ../../SpinalHDL/Libraries/flow.rst:74
#, fuzzy
msgid "Flow[T]"
msgstr "Flow"
msgstr "Flow[T]"

#: ../../SpinalHDL/Libraries/flow.rst:47
msgid "master/slave Flow(type : Data)"
msgstr ""
msgstr "master/slave Flow(type : Data)"

#: ../../SpinalHDL/Libraries/flow.rst
msgid "Initialized with corresponding in/out setup"
msgstr ""
msgstr "通过相应的输入/输出设置进行初始化"

#: ../../SpinalHDL/Libraries/flow.rst:52
msgid "x.m2sPipe()"
msgstr ""
msgstr "x.m2sPipe()"

#: ../../SpinalHDL/Libraries/flow.rst
msgid "Return a Flow drived by x"
msgstr ""
msgstr "返回一个由 x 驱动的流"

#: ../../SpinalHDL/Libraries/flow.rst
msgid "through a register stage that cut valid/payload paths"
msgstr ""
msgstr "通过寄存器,切断valid/payload路径"

#: ../../SpinalHDL/Libraries/flow.rst:56 ../../SpinalHDL/Libraries/flow.rst:60
#: ../../SpinalHDL/Libraries/flow.rst:70
msgid "1"
msgstr ""
msgstr "1"

#: ../../SpinalHDL/Libraries/flow.rst:57
msgid "x.stage()"
msgstr ""
msgstr "x.stage()"

#: ../../SpinalHDL/Libraries/flow.rst:58
msgid "Equivalent to x.m2sPipe()"
msgstr ""
msgstr "等价于 x.m2sPipe()"

#: ../../SpinalHDL/Libraries/flow.rst
msgid "x << y"
msgstr ""
msgstr "x << y"

#: ../../SpinalHDL/Libraries/flow.rst
msgid "y >> x"
msgstr ""
msgstr "y >> x"

#: ../../SpinalHDL/Libraries/flow.rst:63
msgid "Connect y to x"
msgstr ""
msgstr "将 y 连接到 x"

#: ../../SpinalHDL/Libraries/flow.rst:65 ../../SpinalHDL/Libraries/flow.rst:75
msgid "0"
msgstr ""
msgstr "0"

#: ../../SpinalHDL/Libraries/flow.rst
msgid "x <-< y"
msgstr ""
msgstr "x <-< y"

#: ../../SpinalHDL/Libraries/flow.rst
msgid "y >-> x"
msgstr ""
msgstr "y >-> x"

#: ../../SpinalHDL/Libraries/flow.rst:68
msgid "Connect y to x through a m2sPipe"
msgstr ""
msgstr "通过 m2sPipe 将 y 连接到 x"

#: ../../SpinalHDL/Libraries/flow.rst:71
msgid "x.throwWhen(cond : Bool)"
msgstr ""
msgstr "x.throwWhen(cond : Bool)"

#: ../../SpinalHDL/Libraries/flow.rst
msgid "Return a Flow connected to x"
msgstr ""
msgstr "返回连接到 x 的流"

#: ../../SpinalHDL/Libraries/flow.rst
msgid "When cond is high, transaction are dropped"
msgstr ""
msgstr "当 cond 为高时,放弃传输的事务"

#: ../../SpinalHDL/Libraries/flow.rst:76
msgid "x.toReg()"
msgstr ""
msgstr "x.toReg()"

#: ../../SpinalHDL/Libraries/flow.rst:77
msgid "Return a register which is loaded with ``payload`` when valid is high"
msgstr ""
msgstr "返回一个寄存器,当valid为高时,该寄存器将加载 ``payload``"

#: ../../SpinalHDL/Libraries/flow.rst:80
msgid "x.setIdle()"
msgstr ""
msgstr "x.setIdle()"

#: ../../SpinalHDL/Libraries/flow.rst:81
msgid ""
"Set the Flow in an Idle state: ``valid`` is ``False`` and don't care "
"about ``payload``."
msgstr ""
msgstr "将流量设置为闲置状态: ``valid`` 设为 ``False`` ,且不关心 ``payload``。"

#: ../../SpinalHDL/Libraries/flow.rst:84
msgid "x.push(newPayload: T)"
msgstr ""
msgstr "x.push(newPayload: T)"

#: ../../SpinalHDL/Libraries/flow.rst:85
msgid "Assign a new valid payload to the Flow. ``valid`` is set to ``True``."
msgstr ""
msgstr "为流设置新的有效payload。 ``valid`` 被设为 ``True``。"

#: ../../SpinalHDL/Libraries/flow.rst:90
msgid "Code example"
Expand Down Expand Up @@ -356,4 +355,3 @@ msgstr "通常用于比较参考/dut数据"

#~ msgid "Assign a new valid payload to the Flow. ``valid`` is set to ``True``."
#~ msgstr "为数据流分配一个新的有效负载。 ``valid`` 设置为 ``True`` 。"

48 changes: 21 additions & 27 deletions source/locale/zh_CN/LC_MESSAGES/SpinalHDL/Libraries/regIf.po
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@

msgid ""
msgstr ""
"Project-Id-Version: SpinalHDLReport-Msgid-Bugs-To:POT-Creation-"
"Date:2023-12-01 11:48+0800PO-Revision-Date:YEAR-MO-DA HO:MI+ZONELast-"
"Translator:FULL NAME <EMAIL@ADDRESS>Language:zh_CNLanguage-Team:zh_CN "
"<[email protected]>Plural-Forms:nplurals=1; plural=0;MIME-Version:1.0Content-"
"Type:text/plain; charset=UTF-8\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESSPOT-Creation-Date:2023-12-02 00:23"
"+0800PO-Revision-Date:YEAR-MO-DA HO:MI+ZONELast-Translator:FULL NAME "
"<EMAIL@ADDRESS>Language-Team:LANGUAGE <[email protected]>MIME-Version:1.0Content-"
"Type:text/plain; charset=UTF-8\n"
"Project-Id-Version: SpinalHDLReport-Msgid-Bugs-To:POT-Creation-Date:2023-12-"
"01 11:48+0800PO-Revision-Date:YEAR-MO-DA HO:MI+ZONELast-Translator:FULL NAME "
"<EMAIL@ADDRESS>Language:zh_CNLanguage-Team:zh_CN <[email protected]>Plural-"
"Forms:nplurals=1; plural=0;MIME-Version:1.0Content-Type:text/plain; "
"charset=UTF-8\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESSPOT-Creation-Date:2023-12-02 00:23+0800PO-"
"Revision-Date:YEAR-MO-DA HO:MI+ZONELast-Translator:FULL NAME <EMAIL@ADDRESS"
">Language-Team:LANGUAGE <[email protected]>MIME-Version:1.0Content-Type:text/plain; "
"charset=UTF-8\n"
"POT-Creation-Date: 2024-02-26 12:25+0000\n"
"PO-Revision-Date: 2024-02-18 15:28+0000\n"
"PO-Revision-Date: 2024-03-12 16:01+0000\n"
"Last-Translator: Readon <[email protected]>\n"
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
"spinaldoc-rtd/spinalhdllibrariesregif/zh_Hans/>\n"
"Language: zh_CN\n"
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects"
"/spinaldoc-rtd/spinalhdllibrariesregif/zh_Hans/>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 5.5-dev\n"
"Generated-By: Babel 2.14.0\n"

#: ../../SpinalHDL/Libraries/regIf.rst:3
Expand Down Expand Up @@ -676,9 +676,8 @@ msgid "create RAW/MASK/STATUS for pulse event"
msgstr "为脉冲事件创建RAW/MASK/STATUS"

#: ../../SpinalHDL/Libraries/regIf.rst:453
#, fuzzy
msgid "``InterruptLevelFactory(regNamePre: String, triggers: Bool*)``"
msgstr "``InterruptFactory(regNamePre: String, triggers: Bool*)``"
msgstr "``InterruptLevelFactory(regNamePre: String, triggers: Bool*)``"

#: ../../SpinalHDL/Libraries/regIf.rst:453
msgid "create MASK/STATUS for level_int merge"
Expand Down Expand Up @@ -714,32 +713,28 @@ msgid "create MASK/STATUS for level_int merge at addrOffset"
msgstr "在addrOffset处为level_int合并创建MASK/STATUS"

#: ../../SpinalHDL/Libraries/regIf.rst:457
#, fuzzy
msgid ""
"``interrupt_W1SCmask_FactoryAt(addrOffset: BigInt, regNamePre: String, "
"triggers: Bool*)``"
msgstr ""
"``InterruptFactoryAt(addrOffset: Int, regNamePre: String, triggers: "
"Bool*)``"
"``interrupt_W1SCmask_FactoryAt(addrOffset: BigInt, regNamePre: String, "
"triggers: Bool*)``"

#: ../../SpinalHDL/Libraries/regIf.rst:457
#, fuzzy
msgid "creat RAW/FORCE/MASK(SET/CLR)/STATUS for pulse event at addrOffset"
msgstr "在addrOffset处为脉冲事件创建RAW/FORCE/MASK/STATUS"
msgstr "在addrOffset处为脉冲事件创建RAW/FORCE/MASK(SET/CLR)/STATUS"

#: ../../SpinalHDL/Libraries/regIf.rst:458
#, fuzzy
msgid ""
"``interruptLevel_W1SCmask_FactoryAt(addrOffset: BigInt, regNamePre: "
"String, levels: Bool*)``"
msgstr ""
"``InterruptFactoryAt(addrOffset: Int, regNamePre: String, triggers: "
"Bool*)``"
"``interruptLevel_W1SCmask_FactoryAt(addrOffset: BigInt, regNamePre: String, "
"levels: Bool*)``"

#: ../../SpinalHDL/Libraries/regIf.rst:458
#, fuzzy
msgid "creat RAW/FORCE/MASK(SET/CLR)/STATUS for leveel event at addrOffset"
msgstr "在addrOffset处为脉冲事件创建RAW/FORCE/MASK/STATUS"
msgstr "在addrOffset处为电平事件创建RAW/FORCE/MASK(SET/CLR)/STATUS"

#: ../../SpinalHDL/Libraries/regIf.rst:462
msgid "Example"
Expand Down Expand Up @@ -774,4 +769,3 @@ msgstr "BusIfVistor给予访问BusIf.RegInsts的权限来执行您想要的操

#~ msgid "Interrupt Design Spec"
#~ msgstr "中断设计规范"

14 changes: 7 additions & 7 deletions source/locale/zh_CN/LC_MESSAGES/SpinalHDL/Libraries/stream.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ msgstr ""
"Revision-Date:YEAR-MO-DA HO:MI+ZONELast-Translator:FULL NAME <EMAIL@ADDRESS"
">Language-Team:LANGUAGE <[email protected]>MIME-Version:1.0Content-Type:text/plain; "
"charset=UTF-8\n"
"PO-Revision-Date: 2024-01-25 03:01+0000\n"
"Last-Translator: tsy0123 <675526215@qq.com>\n"
"PO-Revision-Date: 2024-03-30 16:13+0000\n"
"Last-Translator: Readon <xydarcher@qq.com>\n"
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
"spinaldoc-rtd/spinalhdllibrariesstream/zh_Hans/>\n"
"Language: zh_CN\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bitGenerated-By:Babel 2.13.1\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 5.4-dev\n"
"X-Generator: Weblate 5.5-dev\n"

#: ../../SpinalHDL/Libraries/stream.rst:7
msgid "Stream"
Expand Down Expand Up @@ -240,7 +240,7 @@ msgstr "master/slave Stream(type : Data)"

#: ../../SpinalHDL/Libraries/stream.rst
msgid "Initialized with corresponding in/out setup"
msgstr "使用相应的输入/输出设置进行初始化"
msgstr "通过相应的输入/输出设置进行初始化"

#: ../../SpinalHDL/Libraries/stream.rst:108
msgid "x.fire"
Expand Down Expand Up @@ -284,7 +284,7 @@ msgstr "返回由x驱动的Stream反压流"

#: ../../SpinalHDL/Libraries/stream.rst
msgid "through a register stage that cut valid/payload paths"
msgstr "通过寄存器级断开 valid/payload 路径(优化时序)"
msgstr "通过寄存器,切断valid/payload路径"

#: ../../SpinalHDL/Libraries/stream.rst
msgid "Cost = (payload width + 1) flop flop"
Expand Down Expand Up @@ -339,7 +339,7 @@ msgstr "y >> x"

#: ../../SpinalHDL/Libraries/stream.rst:141
msgid "Connect y to x"
msgstr "将y连接到x"
msgstr "将 y 连接到 x"

#: ../../SpinalHDL/Libraries/stream.rst
msgid "x <-< y"
Expand All @@ -351,7 +351,7 @@ msgstr "y >-> x"

#: ../../SpinalHDL/Libraries/stream.rst:146
msgid "Connect y to x through a m2sPipe"
msgstr "通过m2sPipe将y连接到x"
msgstr "通过 m2sPipe 将 y 连接到 x"

#: ../../SpinalHDL/Libraries/stream.rst
msgid "x </< y"
Expand Down
Loading

0 comments on commit e4d25c8

Please sign in to comment.