diff --git a/languages/wpicp-license-zh_CN.mo b/languages/wpicp-license-zh_CN.mo deleted file mode 100644 index 588b660..0000000 Binary files a/languages/wpicp-license-zh_CN.mo and /dev/null differ diff --git a/languages/wpicp-license-zh_CN.po b/languages/wpicp-license-zh_CN.po deleted file mode 100644 index 3a628d7..0000000 --- a/languages/wpicp-license-zh_CN.po +++ /dev/null @@ -1,130 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: WPICP License\n" -"POT-Creation-Date: 2023-02-25 08:51+0800\n" -"PO-Revision-Date: 2023-02-25 09:00+0800\n" -"Last-Translator: 薇晓朵 \n" -"Language-Team: 薇晓朵 \n" -"Language: zh_CN\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: Poedit 3.1.1\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-Flags-xgettext: --add-comments=translators:\n" -"X-Poedit-WPHeader: wpicp-license.php\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" -"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;" -"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.min.js\n" - -#: wpicp-license.php:32 -msgid "WP ICP License Settings" -msgstr "文派 ICP 许可证设置" - -#: wpicp-license.php:33 wpicp-license.php:63 -msgid "ICP License" -msgstr "ICP 备案号" - -#: wpicp-license.php:56 -msgid "WordPress ICP License Namber" -msgstr "文派(WordPress) ICP 备案许可证" - -#: wpicp-license.php:74 -msgid "" -"This plugin is free forever, and its purpose is to supplement the essential " -"functions that the Chinese version of WordPress lacks. More information at " -"WPICP.com" -msgstr "" -"此插件永久免费,目的是补充 WordPress 中文版本所缺少的功能。更多信息请访问 " -"WPICP.com" - -#: wpicp-license.php:75 -msgid "Why do you need?" -msgstr "为什么需要?" - -#: wpicp-license.php:76 -msgid "" -"The ICP license is a state-issued registration, All public websites in " -"mainland China must have an ICP number listed on the homepage of the " -"website. (What would happen if not?)" -msgstr "" -"ICP备案许可证是国家颁发的注册证,中国大陆所有公开网站都必须在网站首页显示有" -"ICP备案号。(如果没有会怎样?)" - -#: wpicp-license.php:77 -msgid "How to use?" -msgstr "如何使用?" - -#: wpicp-license.php:78 -msgid "" -"1. Enter your ICP license information below. (Find My " -"License?)" -msgstr "" -"1. 在下方输入您的 ICP 许可证信息。 (找到我的许可证?)" - -#: wpicp-license.php:79 -msgid "" -"2. Use the shortcode [wpicp_license] to display the license " -"information and link on your website. (Integrate into " -"theme?)" -msgstr "" -"2. 使用简码[wpicp_license]在您的网站上显示许可证信息和链接。(集成到主题?)" - -#: wpicp-license.php:86 -msgid "" -"Enter your ICP license number information. (Correct " -"format?)" -msgstr "" -"输入您的备案号。(正确格式?)" - -#: wpicp-license.php:94 -msgid "ICP License Settings" -msgstr "ICP 许可证设置" - -#. Plugin Name of the plugin/theme -msgid "WPICP License" -msgstr "文派 ICP 许可证" - -#. Plugin URI of the plugin/theme -#. Author URI of the plugin/theme -msgid "https://wpicp.com/" -msgstr "https://wpicp.com/" - -#. Description of the plugin/theme -msgid "Must-have for WordPress sites in China, showing your ICP license." -msgstr "中国WordPress网站必备,显示您的 ICP 备案许可证。" - -#. Author of the plugin/theme -msgid "WPICP.com" -msgstr "文派 ICP" - -#~| msgid "WordPress ICP License Namber" -#~ msgid "ICP License Namber" -#~ msgstr "文派 ICP 许可证" - -#~ msgctxt "wpicp-license" -#~ msgid "ICP License" -#~ msgstr "ICP 备案号" - -#~ msgid "Display ICP license information and link." -#~ msgstr "显示 ICP 许可证信息和链接。" - -#~ msgctxt "wpicp_license" -#~ msgid "ICP License" -#~ msgstr "ICP 备案号" diff --git a/languages/wpicp-license-zh_TW.mo b/languages/wpicp-license-zh_TW.mo deleted file mode 100644 index b71566e..0000000 Binary files a/languages/wpicp-license-zh_TW.mo and /dev/null differ diff --git a/languages/wpicp-license-zh_TW.po b/languages/wpicp-license-zh_TW.po deleted file mode 100644 index 26ecd20..0000000 --- a/languages/wpicp-license-zh_TW.po +++ /dev/null @@ -1,130 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: WPICP License\n" -"POT-Creation-Date: 2023-02-25 01:34+0800\n" -"PO-Revision-Date: 2023-02-25 09:00+0800\n" -"Last-Translator: 薇晓朵 \n" -"Language-Team: 薇曉朵 \n" -"Language: zh_TW\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: Poedit 3.1.1\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-Flags-xgettext: --add-comments=translators:\n" -"X-Poedit-WPHeader: wpicp-license.php\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" -"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;" -"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: *.min.js\n" - -#: wpicp-license.php:32 -msgid "WP ICP License Settings" -msgstr "文派 ICP 許可證設定" - -#: wpicp-license.php:33 wpicp-license.php:63 -msgid "ICP License" -msgstr "ICP 備案號" - -#: wpicp-license.php:56 -msgid "WordPress ICP License Namber" -msgstr "文派(WordPress) ICP 備案許可證" - -#: wpicp-license.php:74 -msgid "" -"This plugin is free forever, and its purpose is to supplement the essential " -"functions that the Chinese version of WordPress lacks. More information at " -"WPICP.com" -msgstr "" -"此外掛永久免費,目的是補充 WordPress 中文版本所缺少的功能。更多資訊請訪問 " -"WPICP.com" - -#: wpicp-license.php:75 -msgid "Why do you need?" -msgstr "為什么需要?" - -#: wpicp-license.php:76 -msgid "" -"The ICP license is a state-issued registration, All public websites in " -"mainland China must have an ICP number listed on the homepage of the " -"website. (What would happen if not?)" -msgstr "" -"ICP備案許可證是國家頒發的註冊證,中國大陸所有公開網站都必須在網站首頁顯示有" -"ICP備案號。(如果沒有會怎樣?)" - -#: wpicp-license.php:77 -msgid "How to use?" -msgstr "如何使用?" - -#: wpicp-license.php:78 -msgid "" -"1. Enter your ICP license information below. (Find My " -"License?)" -msgstr "" -"1. 在下方輸入您的 ICP 許可證資訊。 (找到我的許可證?)" - -#: wpicp-license.php:79 -msgid "" -"2. Use the shortcode [wpicp_license] to display the license " -"information and link on your website. (Integrate into " -"theme?)" -msgstr "" -"2. 使用簡碼[wpicp_license]在您的網站上顯示許可證資訊和連結。(整合到主題?)" - -#: wpicp-license.php:86 -msgid "" -"Enter your ICP license number information. (Correct " -"format?)" -msgstr "" -"輸入您的備案號。(正確格式?)" - -#: wpicp-license.php:94 -msgid "ICP License Settings" -msgstr "ICP 許可證設定" - -#. Plugin Name of the plugin/theme -msgid "WPICP License" -msgstr "文派 ICP 許可證" - -#. Plugin URI of the plugin/theme -#. Author URI of the plugin/theme -msgid "https://wpicp.com/" -msgstr "https://wpicp.com/" - -#. Description of the plugin/theme -msgid "Must-have for WordPress sites in China, showing your ICP license." -msgstr "中國WordPress網站必備,顯示您的 ICP 備案許可證。" - -#. Author of the plugin/theme -msgid "WPICP.com" -msgstr "文派 ICP" - -#~| msgid "WordPress ICP License Namber" -#~ msgid "ICP License Namber" -#~ msgstr "文派 ICP 許可證" - -#~ msgctxt "wpicp-license" -#~ msgid "ICP License" -#~ msgstr "ICP 備案號" - -#~ msgid "Display ICP license information and link." -#~ msgstr "顯示 ICP 許可證資訊和連結。" - -#~ msgctxt "wpicp_license" -#~ msgid "ICP License" -#~ msgstr "ICP 備案號" diff --git a/readme.txt b/readme.txt index 93de4a2..d0f1270 100644 --- a/readme.txt +++ b/readme.txt @@ -1,9 +1,10 @@ === WPICP License === +Contributors: wpfanyi Tags: ICP, ICP License, ICP Beian,备案,备案号 Requires at least: 5.4 Tested up to: 6.1.1 Requires PHP: 5.6 -Stable tag: 1.0 +Stable tag: 1.0.1 License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -48,8 +49,8 @@ Starting with WP ICP License consists of just two steps: installing and setting ###Install WP ICP License form within WordPress### 1. Visit the plugins page within your dashboard and select ‘Add New’; -2. Search for ‘WP ICP License’; -3. Activate WWP ICP License from your Plugins page; +2. Search for ‘WPICP License’; +3. Activate WPICP License from your Plugins page; 4. Go to ‘after activation’ below. @@ -68,6 +69,11 @@ Starting with WP ICP License consists of just two steps: installing and setting == Changelog == +### 1.0.1 ### + +* Fix glotpress language pack issue, thanks for reporting by Alex. +* Delete preset language zh_CN/zh_TW. + ### 1.0.0 ### * Released first edition diff --git a/wpicp-license.php b/wpicp-license.php index 33c5adc..af25f7d 100644 --- a/wpicp-license.php +++ b/wpicp-license.php @@ -7,7 +7,7 @@ * Author URI: https://wpicp.com/ * Text Domain: wpicp-license * Domain Path: /languages - * Version: 1.0 + * Version: 1.0.1 * Network: True * License: GPLv2 or later * License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -40,7 +40,7 @@ function wpicp_license_menu() { /** Load translation */ add_action( 'init', 'wpicp_load_textdomain' ); function wpicp_load_textdomain() { - load_plugin_textdomain( 'wpicp-license', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); + load_plugin_textdomain( 'wpicp-license', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); } // Add settings page and field