Fix theme name collicision.

This commit is contained in:
Frank419 2024-08-20 07:54:14 +08:00
parent 942a4c151f
commit a251c77096
6 changed files with 103 additions and 1326 deletions

View File

@ -75,7 +75,7 @@ if( is_home() ) {
<?php <?php
printf( printf(
/* translators: %s: Link to theme author website. */ /* translators: %s: Link to theme author website. */
__( 'Theme <a href="%s">minimalistflex</a>.', 'minimalistflex' ), __( 'Theme <a href="%s">MinimalistFlex</a>.', 'minimalistflex' ),
esc_url( 'https://onmyodev.com/' ) esc_url( 'https://onmyodev.com/' )
) )
?> ?>

View File

@ -806,8 +806,8 @@ function minimalistflex_customize_register( $wp_customize ) {
'label' => __( 'Footer Options', 'minimalistflex' ), 'label' => __( 'Footer Options', 'minimalistflex' ),
'description' => __( 'Choose what to display in your footer credit section.', 'minimalistflex' ), 'description' => __( 'Choose what to display in your footer credit section.', 'minimalistflex' ),
'choices' => Array( 'choices' => Array(
'both' => __( 'Both minimalistflex credits and custom footer text.', 'minimalistflex' ), 'both' => __( 'Both MinimalistFlex credits and custom footer text.', 'minimalistflex' ),
'minimalistflex' => __( 'minimalistflex credits only.', 'minimalistflex' ), 'minimalistflex' => __( 'MinimalistFlex credits only.', 'minimalistflex' ),
'custom' => __( 'Custom footer text only.', 'minimalistflex' ), 'custom' => __( 'Custom footer text only.', 'minimalistflex' ),
'none' => __( 'Neither.', 'minimalistflex' ) 'none' => __( 'Neither.', 'minimalistflex' )
) )

View File

@ -2,32 +2,26 @@
# This file is distributed under the GNU General Public License v3.0 or later. # This file is distributed under the GNU General Public License v3.0 or later.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Crystal 1.0.0\n" "Project-Id-Version: MinimalistFlex 1.0.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/crystal\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/minimalistflex\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-08-19T08:59:02+00:00\n" "POT-Creation-Date: 2024-08-19T23:49:40+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.11.0\n" "X-Generator: WP-CLI 2.11.0\n"
"X-Domain: crystal\n" "X-Domain: minimalistflex\n"
#. Theme Name of the theme #. Theme Name of the theme
#: style.css #: style.css
msgid "Crystal" msgid "MinimalistFlex"
msgstr ""
#. Theme URI of the theme
#. Author URI of the theme
#: style.css
msgid "https://onmyodev.com/"
msgstr "" msgstr ""
#. Description of the theme #. Description of the theme
#: style.css #: style.css
msgid "Crystal is an elegant, easy to use theme that aims to provide a smooth user experience. As a classic theme, we try to provide as many options as possible, while not being overwhelming. With full support of flexible header images, custom colors and layout, multiple widget areas, you can still customize your site in a lot of ways. Compatibility is also an important affair: Crystal is tested on many versions with a minimum of WordPress 4.9 and PHP 5.6, ensuring that almost everyone can enjoy the theme without worrying to upgrade. Mobile users are also considered well: Crystal is fully responsive on its own, and works well even on very small screen sizes!" msgid "MinimalistFlex is an elegant, easy to use theme that aims to provide a smooth user experience. As a classic theme, we try to provide as many options as possible, while not being overwhelming. With full support of flexible header images, custom colors and layout, multiple widget areas, you can still customize your site in a lot of ways. Compatibility is also an important affair: MinimalistFlex is tested on many versions with a minimum of WordPress 4.9 and PHP 5.6, ensuring that almost everyone can enjoy the theme without worrying to upgrade. Mobile users are also considered well: MinimalistFlex is fully responsive on its own, and works well even on very small screen sizes!"
msgstr "" msgstr ""
#. Author of the theme #. Author of the theme
@ -35,6 +29,11 @@ msgstr ""
msgid "Frank419" msgid "Frank419"
msgstr "" msgstr ""
#. Author URI of the theme
#: style.css
msgid "https://onmyodev.com/"
msgstr ""
#: 404.php:11 #: 404.php:11
msgid "You&apos;ve reached the edge of the world." msgid "You&apos;ve reached the edge of the world."
msgstr "" msgstr ""
@ -105,7 +104,7 @@ msgstr ""
#. translators: %s: Link to theme author website. #. translators: %s: Link to theme author website.
#: footer.php:78 #: footer.php:78
msgid "Theme <a href=\"%s\">Crystal</a>." msgid "Theme <a href=\"%s\">MinimalistFlex</a>."
msgstr "" msgstr ""
#: functions.php:59 #: functions.php:59
@ -843,11 +842,11 @@ msgid "Choose what to display in your footer credit section."
msgstr "" msgstr ""
#: includes/customizer.php:809 #: includes/customizer.php:809
msgid "Both Crystal credits and custom footer text." msgid "Both MinimalistFlex credits and custom footer text."
msgstr "" msgstr ""
#: includes/customizer.php:810 #: includes/customizer.php:810
msgid "Crystal credits only." msgid "MinimalistFlex credits only."
msgstr "" msgstr ""
#: includes/customizer.php:811 #: includes/customizer.php:811
@ -1018,50 +1017,50 @@ msgstr ""
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Primary" msgid "MinimalistFlex Primary"
msgstr "" msgstr ""
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Secondary" msgid "MinimalistFlex Secondary"
msgstr "" msgstr ""
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Success" msgid "MinimalistFlex Success"
msgstr "" msgstr ""
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Warning" msgid "MinimalistFlex Warning"
msgstr "" msgstr ""
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Danger" msgid "MinimalistFlex Danger"
msgstr "" msgstr ""
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Tint" msgid "MinimalistFlex Tint"
msgstr "" msgstr ""
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Tint Alt" msgid "MinimalistFlex Tint Alt"
msgstr "" msgstr ""
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Default" msgid "MinimalistFlex Default"
msgstr "" msgstr ""
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Dark Background" msgid "MinimalistFlex Dark Background"
msgstr "" msgstr ""
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal White" msgid "MinimalistFlex White"
msgstr "" msgstr ""

View File

@ -1,27 +1,12 @@
# Copyright (C) 2024 Kaedehara Kazuha # Copyright (C) 2024 Frank419
# This file is distributed under the GNU General Public License v3.0 or later. # This file is distributed under the GNU General Public License v3.0 or later.
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText : # SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
# SPDX-FileCopyrightText: 2024 SPDX-FileCopyrightText :
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Crystal 1.0.0\n" "Project-Id-Version: MinimalistFlex 1.0.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/crystal\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/minimalistflex\n"
"POT-Creation-Date: 2024-08-19T08:59:02+00:00\n" "POT-Creation-Date: 2024-08-19T23:49:40+00:00\n"
"PO-Revision-Date: 2024-08-19 17:43+0800\n" "PO-Revision-Date: 2024-08-20 07:50+0800\n"
"Last-Translator: 枫原万叶 <hufang2007@icloud.com>\n" "Last-Translator: 枫原万叶 <hufang2007@icloud.com>\n"
"Language-Team: Chinese <kde-i18n-doc@kde.org>\n" "Language-Team: Chinese <kde-i18n-doc@kde.org>\n"
"Language: zh_CN\n" "Language: zh_CN\n"
@ -34,41 +19,41 @@ msgstr ""
#. Theme Name of the theme #. Theme Name of the theme
#: style.css #: style.css
msgid "Crystal" msgid "MinimalistFlex"
msgstr "Crystal" msgstr "MinimalistFlex"
#. Theme URI of the theme
#. Author URI of the theme
#: style.css
msgid "https://onmyodev.com/"
msgstr "https://onmyodev.com/"
#. Description of the theme #. Description of the theme
#: style.css #: style.css
msgid "" msgid ""
"Crystal is an elegant, easy to use theme that aims to provide a smooth user " "MinimalistFlex is an elegant, easy to use theme that aims to provide a "
"experience. As a classic theme, we try to provide as many options as " "smooth user experience. As a classic theme, we try to provide as many "
"possible, while not being overwhelming. With full support of flexible header " "options as possible, while not being overwhelming. With full support of "
"images, custom colors and layout, multiple widget areas, you can still " "flexible header images, custom colors and layout, multiple widget areas, you "
"customize your site in a lot of ways. Compatibility is also an important " "can still customize your site in a lot of ways. Compatibility is also an "
"affair: Crystal is tested on many versions with a minimum of WordPress 4.9 " "important affair: MinimalistFlex is tested on many versions with a minimum "
"and PHP 5.6, ensuring that almost everyone can enjoy the theme without " "of WordPress 4.9 and PHP 5.6, ensuring that almost everyone can enjoy the "
"worrying to upgrade. Mobile users are also considered well: Crystal is fully " "theme without worrying to upgrade. Mobile users are also considered well: "
"responsive on its own, and works well even on very small screen sizes!" "MinimalistFlex is fully responsive on its own, and works well even on very "
"small screen sizes!"
msgstr "" msgstr ""
"Crystal 是一款优雅的,便于使用的主题,其致力于为所有用户提供良好的用户体验。" "MinimalistFlex 是一款优雅的,便于使用的主题,其致力于为所有用户提供良好的用户"
"作为一款经典主题,我们提供了尽可能多的选项,允许您控制您站点的方方面面,同时" "体验。作为一款经典主题,我们提供了尽可能多的选项,允许您控制您站点的方方面"
"也确保选项不会难以理解。主题支持可变大小的页眉图像、自定义颜色、布局、多个小" "面,同时也确保选项不会难以理解。主题支持可变大小的页眉图像、自定义颜色、布"
"组件区域等功能。我们同样很重视兼容性:Crystal 在诸多的 WordPress 版本上进行测" "局、多个小组件区域等功能。我们同样很重视兼容性:MinimalistFlex 在诸多的 "
"试,其中的最低版本为 WordPress 4.9 和 PHP 5.6,确保大多数用户无需升级就可以顺" "WordPress 版本上进行测试,其中的最低版本为 WordPress 4.9 和 PHP 5.6,确保大多"
"利地使用主题。移动用户也不会被遗忘:Crystal 从设计之初就确保响应式设计始终可" "数用户无需升级就可以顺利地使用主题。移动用户也不会被遗忘:MinimalistFlex 从设"
"用,就算在很小的屏幕尺寸上也能良好工作!" "计之初就确保响应式设计始终可用,就算在很小的屏幕尺寸上也能良好工作!"
#. Author of the theme #. Author of the theme
#: style.css #: style.css
msgid "Frank419" msgid "Frank419"
msgstr "Frank419" msgstr "Frank419"
#. Author URI of the theme
#: style.css
msgid "https://onmyodev.com/"
msgstr "https://onmyodev.com/"
#: 404.php:11 #: 404.php:11
msgid "You&apos;ve reached the edge of the world." msgid "You&apos;ve reached the edge of the world."
msgstr "您到达了世界的边界。" msgstr "您到达了世界的边界。"
@ -135,8 +120,9 @@ msgstr "返回页首"
#. translators: %s: Link to theme author website. #. translators: %s: Link to theme author website.
#: footer.php:78 #: footer.php:78
msgid "Theme <a href=\"%s\">Crystal</a>." #, fuzzy
msgstr "<a href=\"%s\">Crystal</a> 主题。" msgid "Theme <a href=\"%s\">MinimalistFlex</a>."
msgstr "<a href=\"%s\">MinimalistFlex</a> 主题。"
#: functions.php:59 #: functions.php:59
msgctxt "sidebar name" msgctxt "sidebar name"
@ -893,12 +879,12 @@ msgid "Choose what to display in your footer credit section."
msgstr "选择要在页脚的致谢部分中显示什么内容。" msgstr "选择要在页脚的致谢部分中显示什么内容。"
#: includes/customizer.php:809 #: includes/customizer.php:809
msgid "Both Crystal credits and custom footer text." msgid "Both MinimalistFlex credits and custom footer text."
msgstr "同时显示 Crystal 致谢内容和自定义页脚文本。" msgstr "同时显示 MinimalistFlex 致谢内容和自定义页脚文本。"
#: includes/customizer.php:810 #: includes/customizer.php:810
msgid "Crystal credits only." msgid "MinimalistFlex credits only."
msgstr "仅显示 Crystal 致谢内容。" msgstr "仅显示 MinimalistFlex 致谢内容。"
#: includes/customizer.php:811 #: includes/customizer.php:811
msgid "Custom footer text only." msgid "Custom footer text only."
@ -1056,101 +1042,50 @@ msgstr "标签:"
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Primary" msgid "MinimalistFlex Primary"
msgstr "Crystal 主要颜色" msgstr "MinimalistFlex 颜色"
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Secondary" msgid "MinimalistFlex Secondary"
msgstr "Crystal 次要颜色" msgstr "MinimalistFlex 次级色"
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Success" msgid "MinimalistFlex Success"
msgstr "Crystal 成功色" msgstr "MinimalistFlex 成功色"
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Warning" msgid "MinimalistFlex Warning"
msgstr "Crystal 警告色" msgstr "MinimalistFlex 警告色"
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Danger" msgid "MinimalistFlex Danger"
msgstr "Crystal 危险色" msgstr "MinimalistFlex 危险色"
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Tint" msgid "MinimalistFlex Tint"
msgstr "Crystal 强调色" msgstr "MinimalistFlex 强调色"
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Tint Alt" msgid "MinimalistFlex Tint Alt"
msgstr "Crystal 替代强调色" msgstr "MinimalistFlex 替代强调色"
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Default" msgid "MinimalistFlex Default"
msgstr "Crystal 默认颜色" msgstr "MinimalistFlex 默认颜色"
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal Dark Background" msgid "MinimalistFlex Dark Background"
msgstr "Crystal 暗背景色" msgstr "MinimalistFlex 暗背景色"
#: theme.json #: theme.json
msgctxt "Color name" msgctxt "Color name"
msgid "Crystal White" msgid "MinimalistFlex White"
msgstr "Crystal 白色" msgstr "MinimalistFlex 白色"
#~ msgid "L3 Background"
#~ msgstr "L3 背景色"
#~ msgid "L1 Text"
#~ msgstr "L1 文本色"
#~ msgid "L2 Text"
#~ msgstr "L2 文本色"
#~ msgid "The L3 background color (darkest)."
#~ msgstr "L3 背景色(最深的背景色)。"
#~ msgid "The L1 text color (darkest). Less used than the default color."
#~ msgstr "L1 文本色(最深的文本色)。并没有默认颜色那么常用。"
#~ msgid "The L2 text color. Rarely used."
#~ msgstr "L2 文本色。极少使用。"
#~ msgid "Kaedehara Kazuha"
#~ msgstr "枫原万叶"
#~ msgid "L1 Background Color"
#~ msgstr "L1 背景色"
#~ msgid "L2 Background Color"
#~ msgstr "L2 背景色"
#~ msgid "L3 Text Color"
#~ msgstr "L3 文本色"
#~ msgid "Link Color"
#~ msgstr "链接色"
#~ msgid "Tint Color C"
#~ msgstr "强调色 C"
#~ msgid "The L3 text color (lightest). Rarely used."
#~ msgstr "L3 文本色。极少使用。"
#~ msgctxt "customizer section"
#~ msgid "Interface"
#~ msgstr "界面"
#~ msgid ""
#~ "Enter the height you wish to use for the thumbnail images (in pixels). "
#~ "Alternatively, enter \"auto\" if you don't wish to crop the images."
#~ msgstr ""
#~ "输入一个您希望使用的特色图像高度以像素为单位。您也可以输入「auto」来禁"
#~ "用对特色图像的剪裁。"

File diff suppressed because it is too large Load Diff

View File

@ -6,53 +6,53 @@
"palette": [ "palette": [
{ {
"color": "#00aaff", "color": "#00aaff",
"name": "Crystal Primary", "name": "MinimalistFlex Primary",
"slug": "crystal-primary" "slug": "minimalistflex-primary"
}, },
{ {
"color": "#666666", "color": "#666666",
"name": "Crystal Secondary", "name": "MinimalistFlex Secondary",
"slug": "crystal-secondary" "slug": "minimalistflex-secondary"
}, },
{ {
"color": "#00dc37", "color": "#00dc37",
"name": "Crystal Success", "name": "MinimalistFlex Success",
"slug": "crystal-success" "slug": "minimalistflex-success"
}, },
{ {
"color": "#ebb400", "color": "#ebb400",
"name": "Crystal Warning", "name": "MinimalistFlex Warning",
"slug": "crystal-warning" "slug": "minimalistflex-warning"
}, },
{ {
"color": "#ff5500", "color": "#ff5500",
"name": "Crystal Danger", "name": "MinimalistFlex Danger",
"slug": "crystal-danger" "slug": "minimalistflex-danger"
}, },
{ {
"color": "#ffd900", "color": "#ffd900",
"name": "Crystal Tint", "name": "MinimalistFlex Tint",
"slug": "crystal-tint" "slug": "minimalistflex-tint"
}, },
{ {
"color": "#5b9cff", "color": "#5b9cff",
"name": "Crystal Tint Alt", "name": "MinimalistFlex Tint Alt",
"slug": "crystal-tint-alt" "slug": "minimalistflex-tint-alt"
}, },
{ {
"color": "#000000", "color": "#000000",
"name": "Crystal Default", "name": "MinimalistFlex Default",
"slug": "crystal-default" "slug": "minimalistflex-default"
}, },
{ {
"color": "#333333", "color": "#333333",
"name": "Crystal Dark Background", "name": "MinimalistFlex Dark Background",
"slug": "crystal-dark-bg" "slug": "minimalistflex-dark-bg"
}, },
{ {
"color": "#ffffff", "color": "#ffffff",
"name": "Crystal White", "name": "MinimalistFlex White",
"slug": "crystal-white" "slug": "minimalistflex-white"
} }
] ]
} }