From 0192f1f2f28cf177d7c0e4c6995253c8fe5034dd Mon Sep 17 00:00:00 2001 From: Frank419 Date: Thu, 29 Aug 2024 15:52:39 +0800 Subject: [PATCH] Misc changes. Updated locale. --- README.md | 1 + languages/minimalistflex.pot | 47 +++++++++++++++++---------------- languages/zh_CN.mo | Bin 22287 -> 22289 bytes languages/zh_CN.po | 49 +++++++++++++++++++---------------- readme.txt | 1 + 5 files changed, 52 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index def602e..f7c3fbd 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ As a bonus, we have 4 pre-built color palettes for you. ### 1.0.4 * Addressed a security issue where many places have not used proper escaping / no escaping at all. * Added correct styling for the main content without a sidebar. +* Added correct singular placeholders. ### 1.0.3 * Addressed an important issue where the menu items cannot be opened due to an improper usage of e.preventDefault(). diff --git a/languages/minimalistflex.pot b/languages/minimalistflex.pot index a22c37b..8038709 100644 --- a/languages/minimalistflex.pot +++ b/languages/minimalistflex.pot @@ -2,14 +2,14 @@ # This file is distributed under the GNU General Public License v3.0 or later. msgid "" msgstr "" -"Project-Id-Version: MinimalistFlex 1.0.2\n" +"Project-Id-Version: MinimalistFlex 1.0.4\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/minimalistflex\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-08-28T02:53:46+00:00\n" +"POT-Creation-Date: 2024-08-29T07:51:25+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: minimalistflex\n" @@ -81,7 +81,7 @@ msgstr "" #. translators: %1$s: Number of comments. %2$s: Post title. #: comments.php:19 msgctxt "comments title" -msgid "One comment on \"%2$s\"" +msgid "%1$s comment on \"%2$s\"" msgid_plural "%1$s comments on \"%2$s\"" msgstr[0] "" msgstr[1] "" @@ -112,61 +112,61 @@ msgstr "" msgid "Theme MinimalistFlex." msgstr "" -#: functions.php:66 +#: functions.php:67 msgctxt "sidebar name" msgid "Main Sidebar" msgstr "" -#: functions.php:68 +#: functions.php:69 msgid "Widgets in this area will be shown on all posts and pages." msgstr "" -#: functions.php:75 +#: functions.php:76 msgctxt "sidebar name" msgid "Above Content" msgstr "" -#: functions.php:77 +#: functions.php:78 msgid "Widgets in this area will be shown above the main content." msgstr "" -#: functions.php:84 +#: functions.php:85 msgctxt "sidebar name" msgid "Below Content" msgstr "" -#: functions.php:86 +#: functions.php:87 msgid "Widgets in this area will be shown below the main content." msgstr "" -#: functions.php:93 +#: functions.php:94 msgctxt "sidebar name" msgid "Footer" msgstr "" -#: functions.php:95 +#: functions.php:96 msgid "Widgets in this area will be shown in the footer. Always shows." msgstr "" -#: functions.php:102 +#: functions.php:103 msgctxt "sidebar name" msgid "Footer 2" msgstr "" -#: functions.php:104 +#: functions.php:105 msgid "Widgets in this area will be shown in the footer to construct a multi column footer. Only shows when the footer is set to display it. Also twice as wide as other footer widget areas." msgstr "" -#: functions.php:111 +#: functions.php:112 msgctxt "sidebar name" msgid "Footer 3" msgstr "" -#: functions.php:113 +#: functions.php:114 msgid "Widgets in this area will be shown in the footer to construct a multi column footer. Only shows when the footer is set to display it." msgstr "" -#: functions.php:125 +#: functions.php:126 msgid "Main Menu" msgstr "" @@ -614,7 +614,7 @@ msgid "You may customize how your footer looks like here." msgstr "" #: includes/customizer.php:447 -#: templates/loop.php:107 +#: templates/loop.php:108 msgid "Read More" msgstr "" @@ -895,7 +895,7 @@ msgstr "" #: page.php:24 #: singular.php:48 -#: templates/loop.php:72 +#: templates/loop.php:73 msgid "Pages: " msgstr "" @@ -966,27 +966,28 @@ msgstr "" msgid "The thhumbnail image link for %s" msgstr "" -#: templates/loop.php:56 +#. translators: %d: Number of comments. +#: templates/loop.php:57 msgctxt "comment count" -msgid "1 Comment" +msgid "%d Comment" msgid_plural "%d Comments" msgstr[0] "" msgstr[1] "" #. translators: %s: Post publish time. -#: templates/loop.php:88 +#: templates/loop.php:89 #: templates/publisher.php:19 msgid "Published on %s" msgstr "" #. translators: %s: Post last modified time. -#: templates/loop.php:94 +#: templates/loop.php:95 #: templates/publisher.php:25 msgid "Last modified on %s" msgstr "" #. translators: %s: Post title. -#: templates/loop.php:103 +#: templates/loop.php:104 msgid "Read more of %s" msgstr "" diff --git a/languages/zh_CN.mo b/languages/zh_CN.mo index b9557243af85a5854474ab2f529faa5c12e55202..159436124c1fe07939c8c8835c6f74caa325caa7 100644 GIT binary patch delta 2089 zcmXZceN2^Q7{~GZ0XiN^IUt;r6gbo&(Q@G-LXWn;QYT537h$!QzrVCkk?iu#B4vR*W2<>o47ZN(pbe>|5Pe(v}Cy080w&h}&8 zj$_{Ou^~V1oO>YQ+;p6Pqi_w5!453KE*y(Jn2+CL0p7zWFsIzP(KsE8aWQIM8>)W~ zM)7OR#qV$=-Ys|jP=oh$&=5rpD8($S#^Kn2kKhus6*X=fYT*OsDO7+LvBz`nH+-1- z!O6}&i#@3I1~C&eEB#>O+)C#{G(3(v`9#!!dd$X!sEI9Di*Mj8JcSxJh&p*_igQ!3 z6gS~YRR1418tG3{$i_F znscpv87k0L)O^3w1{|=46K0>aUovl)1E^GntAYjUP?>A8db9ZoMrdDe^^I0fq5|y3 zF#EeNt)tJpf_fY`%mLH};cBvk5uAxl<{tBVe2w-(Ub4o0hzj&F)?v;wTn8@2GCYkV z+27rzpj3E_)<#*V$fH&-LEYh#=4904oPnj-h&R)C?bhE+bUMIl9E0ts`JJfs_oE)= zAx!rvoTi`+d+`OljEe9vUYI5>LIt?oeAR42Ex5tzTTmPC#eDqK+RvF+t^a4M-$P%I z!OiB|heuJr2lLD~aUAvCsDREOpRW58mC`tQ)`qX6PTGOG+b)db=g6(NYsf9QyxO3? z0CnK)wd7wX+)o1!*&Q}-q82Wg6Kq(93Zw<~m25#iVRsPs;Sab5-ytf^`_=r%e6T(U ztN^ufIVNyc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nz$5|;41fdcM~e$8(!arT6ixO;Zbk@#QoCyfAIP(4D}fP zqfm|I5Ag-y0{11XqP`oI(8tJ^YJZ@PbQ1TW1z$kzv=eo=U08|7kz27V$Sqi2GO8~| zZFonL^Vbgd(ZBunPY~olxP!W`}SV?!_N*2X-uo5*oEInqP`KiCUbB zt*H1Ns1rPdigy*C!hb>v#IjYbQGmn9=B*FMVDO09c+5f7C%H9PPQB4xiTYQ&8I^bs zCa@o~F}5hW;(XK_Yr(h3go@g^QydwW02A9hTw|_cQPR4SA=-(PT4GU%|Jr z2Z!)6>{%MU6>HfZ1H1MVQknHVgO0_CFWrKl6DK^=Vp3-C$r z??5fQ#eEO6sCT=^Q2*5IgbH{X^$0JxSH1lPX43wb`!6c+h}7pfX97!a9eYm@oKKyL z=coGPBl(RF&ZVx$R|oy+x#QLcMVA<>zfbwS&aYh+{iQGFCd-4`R6$*3#-bOWNzbWk T$Qa#FUOT-pQJ>zN*j@2I4fO&p diff --git a/languages/zh_CN.po b/languages/zh_CN.po index ae94951..d7a308e 100644 --- a/languages/zh_CN.po +++ b/languages/zh_CN.po @@ -4,12 +4,13 @@ # SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText : # SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText : # SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText : +# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText : msgid "" msgstr "" "Project-Id-Version: MinimalistFlex 1.0.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/minimalistflex\n" -"POT-Creation-Date: 2024-08-28T02:53:46+00:00\n" -"PO-Revision-Date: 2024-08-28 10:57+0800\n" +"POT-Creation-Date: 2024-08-29T07:51:25+00:00\n" +"PO-Revision-Date: 2024-08-29 15:52+0800\n" "Last-Translator: 枫原万叶 \n" "Language-Team: Chinese \n" "Language: zh_CN\n" @@ -102,7 +103,7 @@ msgstr "%s 的所有文章" #. translators: %1$s: Number of comments. %2$s: Post title. #: comments.php:19 msgctxt "comments title" -msgid "One comment on \"%2$s\"" +msgid "%1$s comment on \"%2$s\"" msgid_plural "%1$s comments on \"%2$s\"" msgstr[0] "「%2$s」上有 %1$s 条评论" @@ -131,48 +132,48 @@ msgstr "返回页首" msgid "Theme MinimalistFlex." msgstr "MinimalistFlex 主题。" -#: functions.php:66 +#: functions.php:67 msgctxt "sidebar name" msgid "Main Sidebar" msgstr "主要侧栏" -#: functions.php:68 +#: functions.php:69 msgid "Widgets in this area will be shown on all posts and pages." msgstr "在此区域中的小工具将会显示在所有的文章和页面中。" -#: functions.php:75 +#: functions.php:76 msgctxt "sidebar name" msgid "Above Content" msgstr "主要内容上方" -#: functions.php:77 +#: functions.php:78 msgid "Widgets in this area will be shown above the main content." msgstr "在此区域中的小工具将会显示在主要内容的上方。" -#: functions.php:84 +#: functions.php:85 msgctxt "sidebar name" msgid "Below Content" msgstr "主要内容下方" -#: functions.php:86 +#: functions.php:87 msgid "Widgets in this area will be shown below the main content." msgstr "在此区域中的小工具将会显示在主要内容的下方。" -#: functions.php:93 +#: functions.php:94 msgctxt "sidebar name" msgid "Footer" msgstr "页脚" -#: functions.php:95 +#: functions.php:96 msgid "Widgets in this area will be shown in the footer. Always shows." msgstr "在此区域中的小工具将会显示在页脚中。此小工具区域始终显示。" -#: functions.php:102 +#: functions.php:103 msgctxt "sidebar name" msgid "Footer 2" msgstr "页脚 2" -#: functions.php:104 +#: functions.php:105 msgid "" "Widgets in this area will be shown in the footer to construct a multi column " "footer. Only shows when the footer is set to display it. Also twice as wide " @@ -181,12 +182,12 @@ msgstr "" "在此区域中的小工具将会在页脚中显示,以形成多栏布局。仅当被设置为显示时才会显" "示。宽度为其它页脚小工具区域的两倍。" -#: functions.php:111 +#: functions.php:112 msgctxt "sidebar name" msgid "Footer 3" msgstr "页脚 3" -#: functions.php:113 +#: functions.php:114 msgid "" "Widgets in this area will be shown in the footer to construct a multi column " "footer. Only shows when the footer is set to display it." @@ -194,7 +195,7 @@ msgstr "" "在此区域中的小工具将会在页脚中显示,以形成多栏布局。仅当被设置为显示时才会显" "示。" -#: functions.php:125 +#: functions.php:126 msgid "Main Menu" msgstr "主菜单" @@ -647,7 +648,7 @@ msgstr "页脚" msgid "You may customize how your footer looks like here." msgstr "您可以在此配置您站点的页脚。" -#: includes/customizer.php:447 templates/loop.php:107 +#: includes/customizer.php:447 templates/loop.php:108 msgid "Read More" msgstr "阅读更多" @@ -927,7 +928,7 @@ msgstr "文章作者" msgid "Admin" msgstr "管理员" -#: page.php:24 singular.php:48 templates/loop.php:72 +#: page.php:24 singular.php:48 templates/loop.php:73 msgid "Pages: " msgstr "页面:" @@ -991,24 +992,25 @@ msgstr "文章 %s 的特色图片。此图片也将链接到对应的文章。" msgid "The thhumbnail image link for %s" msgstr "%s 的特色图片链接" -#: templates/loop.php:56 +#. translators: %d: Number of comments. +#: templates/loop.php:57 msgctxt "comment count" -msgid "1 Comment" +msgid "%d Comment" msgid_plural "%d Comments" msgstr[0] "%d 条评论" #. translators: %s: Post publish time. -#: templates/loop.php:88 templates/publisher.php:19 +#: templates/loop.php:89 templates/publisher.php:19 msgid "Published on %s" msgstr "发表于 %s" #. translators: %s: Post last modified time. -#: templates/loop.php:94 templates/publisher.php:25 +#: templates/loop.php:95 templates/publisher.php:25 msgid "Last modified on %s" msgstr "最后编辑于 %s" #. translators: %s: Post title. -#: templates/loop.php:103 +#: templates/loop.php:104 msgid "Read more of %s" msgstr "阅读 %s 的更多内容" @@ -1069,3 +1071,4 @@ msgstr "MinimalistFlex 暗背景色" msgctxt "Color name" msgid "MinimalistFlex White" msgstr "MinimalistFlex 白色" + diff --git a/readme.txt b/readme.txt index 8918f77..059d880 100644 --- a/readme.txt +++ b/readme.txt @@ -51,6 +51,7 @@ As a bonus, we have 4 pre-built color palettes for you. = 1.0.4 = * Addressed a security issue where many places have not used proper escaping / no escaping at all. * Added correct styling for the main content without a sidebar. +* Added correct singular placeholders. = 1.0.3 = * Addressed an important issue where the menu items cannot be opened due to an improper usage of e.preventDefault().