From e5d2b25b109f8b6dc4a88cca1dc645c7027505ab Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Mon, 28 Jun 2021 19:33:40 -0500 Subject: [PATCH 1/2] remove 'double-wide' characters not in the font I noticed the build printed things like ``` Font missing 3 characters ``` .. this is why. We can't make it an error, because Japanese has hundreds of characters not in the font. --- locale/zh_Latn_pinyin.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/locale/zh_Latn_pinyin.po b/locale/zh_Latn_pinyin.po index bb6fba4dd2..3d754c82c8 100644 --- a/locale/zh_Latn_pinyin.po +++ b/locale/zh_Latn_pinyin.po @@ -535,7 +535,7 @@ msgstr "Bǐtè shízhōng hé dānzì xuǎnzé bìxū gòngxiǎng shízhōng dā #: shared-bindings/rgbmatrix/RGBMatrix.c #, c-format msgid "Bit depth must be from 1 to 6 inclusive, not %d" -msgstr "wèi shēn dù bì xū bāo hán 1 dào 6, ér bù shì %d" +msgstr "wèi shēn dù bì xū bāo hán 1 dào 6, ér bù shì %d" #: shared-bindings/audiobusio/PDMIn.c msgid "Bit depth must be multiple of 8." @@ -610,7 +610,7 @@ msgstr "Huǎnchōng qū bìxū zhìshǎo chángdù 1" #: shared-bindings/_bleio/PacketBuffer.c #, c-format msgid "Buffer too short by %d bytes" -msgstr "Huǎn chōng qū tài duǎn , àn %d zì jié" +msgstr "Huǎn chōng qū tài duǎn , àn %d zì jié" #: ports/atmel-samd/common-hal/displayio/ParallelBus.c #: ports/esp32s2/common-hal/displayio/ParallelBus.c @@ -2169,7 +2169,7 @@ msgid "" "Increase the stack size if you know how. If not:" msgstr "" "diàn lù dàn duī bèi sǔn huài, yīn wéi duī zhàn tài xiǎo.\n" -"rú guǒ nín zhī dào rú hé zēng jiā duī zhàn dà xiǎo. rú guǒ méi yǒu:" +"rú guǒ nín zhī dào rú hé zēng jiā duī zhàn dà xiǎo. rú guǒ méi yǒu:" #: supervisor/shared/safe_mode.c msgid "" @@ -2351,7 +2351,7 @@ msgstr "Wúfǎ xiě rù nvm." #: shared-bindings/alarm/SleepMemory.c msgid "Unable to write to sleep_memory." -msgstr "wú fǎ xiě rù sleep_memory。" +msgstr "wú fǎ xiě rù sleep_memory. #: ports/nrf/common-hal/_bleio/UUID.c msgid "Unexpected nrfx uuid type" @@ -3411,7 +3411,7 @@ msgstr "wúxiào de cānshù" #: shared-bindings/bitmaptools/__init__.c #, c-format msgid "invalid bits_per_pixel %d, must be, 1, 4, 8, 16, 24, or 32" -msgstr "wú xiào bits_per_pixel %d, bì xū shì, 1, 4, 8, 16, 24, huò 32" +msgstr "wú xiào bits_per_pixel %d, bì xū shì, 1, 4, 8, 16, 24, huò 32" #: shared-bindings/bitmaptools/__init__.c #, c-format @@ -3870,7 +3870,7 @@ msgstr "chāo gāo zhuǎnhuàn zhǎng zhěng shùzì shí" #: py/modstruct.c #, c-format msgid "pack expected %d items for packing (got %d)" -msgstr "bāo zhuāng yù qī de %d bāo zhuāng xiàng mù (dé dào %d)" +msgstr "bāo zhuāng yù qī de %d bāo zhuāng xiàng mù (dé dào %d)" #: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c msgid "palette must be 32 bytes long" @@ -4475,7 +4475,7 @@ msgid "zi must be of shape (n_section, 2)" msgstr "zi bìxū jùyǒu xíngzhuàng (n_section,2)" #~ msgid "Buffer too large and unable to allocate" -#~ msgstr "Huǎn chōng qū tài dà , wú fǎ fēn pèi" +#~ msgstr "Huǎn chōng qū tài dà , wú fǎ fēn pèi" #~ msgid "interp is defined for 1D arrays of equal length" #~ msgstr "interp shì wèi děng zhǎng de 1D shùzǔ dìngyì de" From 4d953dcbddd23ac9528a781bafe51ac55432e82e Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Wed, 30 Jun 2021 22:54:03 -0400 Subject: [PATCH 2/2] Fix missing quote in locale/zh_Latn_pinyin.po Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com> --- locale/zh_Latn_pinyin.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/zh_Latn_pinyin.po b/locale/zh_Latn_pinyin.po index 3d754c82c8..81b815f2c1 100644 --- a/locale/zh_Latn_pinyin.po +++ b/locale/zh_Latn_pinyin.po @@ -2351,7 +2351,7 @@ msgstr "Wúfǎ xiě rù nvm." #: shared-bindings/alarm/SleepMemory.c msgid "Unable to write to sleep_memory." -msgstr "wú fǎ xiě rù sleep_memory. +msgstr "wú fǎ xiě rù sleep_memory." #: ports/nrf/common-hal/_bleio/UUID.c msgid "Unexpected nrfx uuid type"