From e64a80c6106004eb26b74dbfa86e5e55da0af660 Mon Sep 17 00:00:00 2001 From: Dumbledore Date: Wed, 30 Oct 2019 12:20:59 +0000 Subject: [PATCH] Multi language initial --- functions.php | 18 +- languages/en_US.mo | Bin 0 -> 2124 bytes languages/en_US.po | 1424 ++++++++++++++++++++++++++++++++++++++++++++ languages/zh_CN.mo | Bin 0 -> 1228 bytes languages/zh_CN.po | 1422 +++++++++++++++++++++++++++++++++++++++++++ options.php | 472 +++++++-------- style.css | 2 +- 7 files changed, 3092 insertions(+), 246 deletions(-) create mode 100644 languages/en_US.mo create mode 100644 languages/en_US.po create mode 100644 languages/zh_CN.mo create mode 100644 languages/zh_CN.po diff --git a/functions.php b/functions.php index 1e90aab..707b040 100644 --- a/functions.php +++ b/functions.php @@ -37,7 +37,7 @@ function akina_setup() { * If you're building a theme based on Akina, use a find and replace * to change 'akina' to the name of your theme in all the template files. */ - load_theme_textdomain( 'akina', get_template_directory() . '/languages' ); + load_theme_textdomain( 'sakura', get_template_directory() . '/languages' ); /* @@ -113,14 +113,14 @@ function akina_setup() { * Disable the emoji's */ function disable_emojis() { - remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); - remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); - remove_action( 'wp_print_styles', 'print_emoji_styles' ); - remove_action( 'admin_print_styles', 'print_emoji_styles' ); - remove_filter( 'the_content_feed', 'wp_staticize_emoji' ); - remove_filter( 'comment_text_rss', 'wp_staticize_emoji' ); - remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' ); - add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' ); + remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); + remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); + remove_action( 'wp_print_styles', 'print_emoji_styles' ); + remove_action( 'admin_print_styles', 'print_emoji_styles' ); + remove_filter( 'the_content_feed', 'wp_staticize_emoji' ); + remove_filter( 'comment_text_rss', 'wp_staticize_emoji' ); + remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' ); + add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' ); } add_action( 'init', 'disable_emojis' ); diff --git a/languages/en_US.mo b/languages/en_US.mo new file mode 100644 index 0000000000000000000000000000000000000000..a404888b1d2bf86708ebfe12acd977d6311c62d3 GIT binary patch literal 2124 zcmc(fO>Epm6vqcB5SH&kDFqHgQ4y4Q+1->j@hTEDBoH;Ft8NP1mZ^7=b?dbkdz|iG zP*kWw3u*XJL>dL9gpVMILIeTPBt=5Nt>T7+gaks$e&hlNKpeR6AA7p%N{9;wMt=Uy zd-FW+V{HGpdDA4pxD#?0ey#YOVomW+#Wo}-{kJLZR7`{N$Yf12KbgB6GUq!W zH%kQr+XUwT_vW|}Gr1>Pa>+oOf*PgqO2};xc_wmP54ja0Yup6c3b`F3Ym@!l1_{Pq z(+{ubNDs3OZqb9hWL3xjXCs`lP@}>j8JCZkj_;8yXRc9*$Kz!E^YM+*iQ3d@%vLw% zrZ(O_T|2u**3Zv0Mo*CHiTBlN^~JH;_+04In3$=KPlgNCmG?+>cBMA6&{+JUetwbE zrjOU&INSK>g~s9vsm;DypLt0s^$*X~kDsf)GG3owBK3s@y2GOzZ+%J{V;@u(r`OM& zR2j_8G){g@8cWaDCYS#u?5}GtS4Y>Ng_%zs-&Vy zM^xDrRUV2eyQ9jUsB%f1F0|S?!VRJI=d~xf>zR(N(=0pcyDXMDpdG|HNSpR36I`dM zM6yduCbW(OO?K%Wdmc!1CK9m$<_T@kWwvKA;kY`5#UA$AFxLh-D@Jskayxe@8{6N% zzqb`G8BfG|99wW3+f+)3BY0UnShARDr>Rk3uE$09p}{__v*jnl4RKfNwGAh4+QT~S zJZy^C)7oR)=5Clr#^HHW&{RAHd#Gr8na4{^6m%Mo$1)b`w6s3QEqXe&OM&Wjr_wZ> zcHd{yySr)f{&Z`DK8p=|T6vfYnWauOjpg&2;S`I=-|H65K6rZTp{FvBbC&1mjVCG= zj~kxXTFg4WYw(`1PMwB@HWS{*E5{r+?+ut9qUCbw98c$LJ=va0=gJZWEEgwsS>I)} z%Qfy9IVOaQ2bxpfnyLrnQb80gNU#?gx!epaU7 zRG7lzB!ib9zYWskd%`KI?G4958pw=#MP^ytm3BJ9ET6Xr)1u>I1Nj1l35M1@A7Z{G bA`3=^njV$EjNq#aoMB7EQFrs{|JU$0IAn(p literal 0 HcmV?d00001 diff --git a/languages/en_US.po b/languages/en_US.po new file mode 100644 index 0000000..f5e53b6 --- /dev/null +++ b/languages/en_US.po @@ -0,0 +1,1424 @@ +msgid "" +msgstr "" +"Project-Id-Version: Sakura\n" +"POT-Creation-Date: 2019-10-30 19:30+0800\n" +"PO-Revision-Date: 2019-10-30 19:37+0800\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: en_US\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.2\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-Flags-xgettext: --add-comments=translators:\n" +"X-Poedit-WPHeader: style.css\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: *.js\n" + +#: 404.php:17 header.php:35 +#, php-format +msgid "第 %s 页" +msgstr "Page %s" + +#: 404.php:54 search.php:42 +msgid "Search..." +msgstr "Search..." + +#: archive.php:55 author.php:76 +msgid "Previous" +msgstr "Previous" + +#: comments.php:21 layouts/duoshuo.php:12 +msgid "查看评论" +msgstr "Check comments" + +#: comments.php:43 +msgid "暂无评论" +msgstr "No comment" + +#: comments.php:59 +msgid "Leave a Reply to" +msgstr "Leave a Reply to" + +#: comments.php:60 +msgid "Cancel Reply" +msgstr "Cancel Reply" + +#: comments.php:61 +msgid "BiuBiuBiu~" +msgstr "BiuBiuBiu~" + +#: comments.php:62 +msgid "你是我一生只会遇见一次的惊喜" +msgstr "" + +#: comments.php:92 +msgid "昵称或QQ号" +msgstr "" + +#: comments.php:92 +msgid "必须 Name* " +msgstr "" + +#: comments.php:94 +msgid "邮箱" +msgstr "" + +#: comments.php:94 +msgid "必须 Email* " +msgstr "" + +#: comments.php:96 +msgid "网站 (选填 Site)" +msgstr "" + +#: comments.php:98 functions.php:1591 +msgid "QQ" +msgstr "" + +#: footer.php:62 +msgid "搜索..." +msgstr "" + +#: footer.php:75 footer.php:83 +msgid "想要找点什么呢?" +msgstr "" + +#: footer.php:85 +msgid "Search" +msgstr "" + +#: functions.php:53 +msgid "导航菜单" +msgstr "" + +#: functions.php:402 +msgid " 编辑" +msgstr "" + +#: functions.php:1295 functions.php:1298 +msgid "Dashboard" +msgstr "" + +#: functions.php:1511 +msgid "ERROR: This email domain (@" +msgstr "" + +#: inc/categories-images.php:45 inc/categories-images.php:66 +msgid "分类/标签图像" +msgstr "" + +#: inc/categories-images.php:48 inc/categories-images.php:68 +#: inc/categories-images.php:197 +msgid "添加图像" +msgstr "" + +#: inc/categories-images.php:69 inc/categories-images.php:198 +msgid "删除图像" +msgstr "" + +#: inc/categories-images.php:211 +msgid "图像" +msgstr "" + +#: inc/categories-images.php:223 +msgid "暂无" +msgstr "" + +#: inc/options-framework.php:243 +msgid "Clear" +msgstr "" + +#: inc/options-framework.php:244 +msgid "Default" +msgstr "" + +#: inc/options-framework.php:245 +msgid "Select Color" +msgstr "" + +#: inc/options-framework.php:291 +msgid "保存设置" +msgstr "" + +#: inc/options-framework.php:292 +msgid "恢复默认" +msgstr "" + +#: inc/options-framework.php:292 +msgid "如果单击“确定”会导致之前所有的设置都丢失,确定要这样做吗?" +msgstr "" + +#: inc/options-framework.php:324 +msgid "Default options restored." +msgstr "" + +#: inc/options-framework.php:378 +msgid "Options saved." +msgstr "" + +#: inc/options-media-uploader.php:51 +msgid "未选择文件" +msgstr "" + +#: inc/options-media-uploader.php:54 inc/options-media-uploader.php:113 +msgid "上传" +msgstr "" + +#: inc/options-media-uploader.php:56 inc/options-media-uploader.php:114 +msgid "移除" +msgstr "" + +#: inc/options-media-uploader.php:59 +msgid "Upgrade your version of WordPress for full media support." +msgstr "" + +#: inc/options-media-uploader.php:83 +msgid "View File" +msgstr "" + +#: inc/template-tags.php:28 +#, php-format +msgctxt "post date" +msgid "Posted on %s" +msgstr "" + +#: inc/template-tags.php:33 +#, php-format +msgctxt "post author" +msgid "by %s" +msgstr "" + +#. translators: used between list items, there is a space after the comma +#: inc/template-tags.php:50 inc/template-tags.php:56 +msgid ", " +msgstr "" + +#: inc/template-tags.php:52 +#, php-format +msgid "Posted in %1$s" +msgstr "" + +#: inc/template-tags.php:58 +#, php-format +msgid "Tagged %1$s" +msgstr "" + +#. translators: %s: post title +#: inc/template-tags.php:65 +#, php-format +msgid "Leave a Comment on %s" +msgstr "" + +#. translators: %s: Name of current post +#: inc/template-tags.php:72 tpl/content-page.php:35 +#, php-format +msgid "Edit %s" +msgstr "" + +#: inc/theme_plus.php:64 +msgid " 天前" +msgstr "" + +#: inc/theme_plus.php:65 +msgid " 小时前" +msgstr "" + +#: inc/theme_plus.php:66 +msgid " 分钟前" +msgstr "" + +#: inc/theme_plus.php:67 +msgid " 秒前" +msgstr "" + +#: inc/theme_plus.php:187 layouts/authorprofile.php:11 +msgid "Author" +msgstr "" + +#: options.php:34 options.php:46 +msgid "1" +msgstr "" + +#: options.php:35 options.php:47 +msgid "2" +msgstr "" + +#: options.php:36 options.php:48 +msgid "3" +msgstr "" + +#: options.php:37 options.php:49 +msgid "4" +msgstr "" + +#: options.php:38 options.php:50 +msgid "5" +msgstr "" + +#: options.php:39 +msgid "6" +msgstr "" + +#: options.php:40 +msgid "7" +msgstr "" + +#: options.php:112 +msgid "基本设置" +msgstr "Basic settings" + +#: options.php:116 +msgid "站点名称" +msgstr "Site title" + +#: options.php:117 +msgid "樱花庄的白猫" +msgstr "" + +#: options.php:123 +msgid "作者" +msgstr "Author" + +#: options.php:124 +msgid "Mashiro" +msgstr "" + +#: options.php:130 +msgid "主题风格" +msgstr "Theme style" + +#: options.php:133 +msgid "自定义主题颜色" +msgstr "Custom theme color" + +#: options.php:138 +msgid "切换主题菜单透明度" +msgstr "\"Switch theme button\" transparency" + +#: options.php:139 +msgid "调整切换主题菜单透明度,值越小越透明,默认透明度0.8" +msgstr "" +"The smaller the value, the more transparent, the default transparency is " +"0.8" + +#: options.php:144 +msgid "全透明" +msgstr "Fully transparent 0" + +#: options.php:145 +msgid "透明度0.1" +msgstr "Transparency 0.1" + +#: options.php:146 +msgid "透明度0.2" +msgstr "Transparency 0.1" + +#: options.php:147 +msgid "透明度0.3" +msgstr "Transparency 0.1" + +#: options.php:148 +msgid "透明度0.4" +msgstr "Transparency 0.1" + +#: options.php:149 +msgid "透明度0.5" +msgstr "Transparency 0.1" + +#: options.php:150 +msgid "透明度0.6" +msgstr "Transparency 0.1" + +#: options.php:151 +msgid "透明度0.7" +msgstr "Transparency 0.1" + +#: options.php:152 +msgid "透明度0.8" +msgstr "Transparency 0.1" + +#: options.php:153 +msgid "透明度0.9" +msgstr "Transparency 0.1" + +#: options.php:154 +msgid "不透明" +msgstr "Opaque 1" + +#: options.php:158 +msgid "切换网页背景" +msgstr "" + +#: options.php:159 +msgid "" +"前台切换网页背景,共8个url,使用空格分隔,顺序对应前台切换主题按钮位置(按" +"钮顺序从左至右,从上至下),如不需要背景则填写对应位置为none。注意:" +"如果主题是从v3.2.3及以下更新过来的,请务必将本配置页的【其他】标签下的【版" +"本控制】参数修改为任意新值!\n" +msgstr "" + +#: options.php:166 +msgid "个人头像" +msgstr "" + +#: options.php:167 +msgid "最佳高度尺寸130*130px。" +msgstr "" + +#: options.php:172 +msgid "文字版LOGO" +msgstr "" + +#: options.php:173 +msgid "" +"首页不显示上方的头像,而是显示一段文字(此处留空则使用上方的头像)。文字建" +"议不要过长,16个字节左右为宜。" +msgstr "" + +#: options.php:179 +msgid "logo" +msgstr "" + +#: options.php:180 +msgid "最佳高度尺寸40px。" +msgstr "" + +#: options.php:185 +msgid "Favicon" +msgstr "" + +#: options.php:186 +msgid "就是浏览器标签栏上那个小 logo,填写url" +msgstr "" + +#: options.php:192 +msgid "自定义关键词和描述" +msgstr "" + +#: options.php:193 +msgid "开启之后可自定义填写关键词和描述" +msgstr "" + +#: options.php:199 +msgid "网站关键词" +msgstr "" + +#: options.php:200 +msgid "各关键字间用半角逗号\",\"分割,数量在5个以内最佳。" +msgstr "" + +#: options.php:206 +msgid "网站描述" +msgstr "" + +#: options.php:207 +msgid "用简洁的文字描述本站点,字数建议在120个字以内。" +msgstr "" + +#: options.php:213 +msgid "展开导航菜单" +msgstr "" + +#: options.php:214 +msgid "勾选开启,默认收缩" +msgstr "" + +#: options.php:220 +msgid "头部装饰图" +msgstr "" + +#: options.php:221 +msgid "默认开启,勾选关闭,显示在文章页面,独立页面以及分类页" +msgstr "" + +#: options.php:227 +msgid "搜索按钮" +msgstr "" + +#: options.php:232 options.php:280 options.php:573 options.php:583 +#: options.php:593 options.php:603 +msgid "开启" +msgstr "" + +#: options.php:233 options.php:281 options.php:574 options.php:584 +#: options.php:594 options.php:604 +msgid "关闭" +msgstr "" + +#: options.php:237 +msgid "首页文章风格" +msgstr "" + +#: options.php:242 +msgid "标准" +msgstr "" + +#: options.php:243 +msgid "图文" +msgstr "" + +#: options.php:247 +msgid "首页文章特色图(仅对标准风格生效)" +msgstr "" + +#: options.php:252 +msgid "圆形" +msgstr "" + +#: options.php:253 +msgid "方形" +msgstr "" + +#: options.php:257 +msgid "首页文章特色图对齐方式(仅对图文风格生效,默认左右交替)" +msgstr "" + +#: options.php:262 +msgid "向左对齐" +msgstr "" + +#: options.php:263 +msgid "向右对齐" +msgstr "" + +#: options.php:264 options.php:455 +msgid "左右交替" +msgstr "" + +#: options.php:268 +msgid "默认文章特色图" +msgstr "" + +#: options.php:269 +msgid "" +"在未设置文章特色图的情况下展示的默认图像,留空则调用本地随机封面(要展示的" +"图片放入 /wp-content/themes/Sakura/feature/gallery/ 目录)" +msgstr "" + +#: options.php:275 +msgid "评论收缩" +msgstr "" + +#: options.php:285 +msgid "文章末尾显示作者信息?" +msgstr "" + +#: options.php:286 +msgid "勾选启用" +msgstr "" + +#: options.php:292 +msgid "分页模式" +msgstr "" + +#: options.php:297 +msgid "ajax加载" +msgstr "" + +#: options.php:298 +msgid "上一页和下一页" +msgstr "" + +#: options.php:302 +msgid "自动加载下一页" +msgstr "" + +#: options.php:303 +msgid "(秒)设置自动加载下一页时间,默认不自动加载" +msgstr "" + +#: options.php:308 +msgid "0秒" +msgstr "" + +#: options.php:309 +msgid "1秒" +msgstr "" + +#: options.php:310 +msgid "2秒" +msgstr "" + +#: options.php:311 +msgid "3秒" +msgstr "" + +#: options.php:312 +msgid "4秒" +msgstr "" + +#: options.php:313 +msgid "5秒" +msgstr "" + +#: options.php:314 +msgid "6秒" +msgstr "" + +#: options.php:315 +msgid "7秒" +msgstr "" + +#: options.php:316 +msgid "8秒" +msgstr "" + +#: options.php:317 +msgid "9秒" +msgstr "" + +#: options.php:318 +msgid "10秒" +msgstr "" + +#: options.php:319 +msgid "233秒,即不倒计时自动加载" +msgstr "" + +#: options.php:323 +msgid "博主描述" +msgstr "" + +#: options.php:324 +msgid "一段自我描述的话" +msgstr "" + +#: options.php:330 +msgid "页脚信息" +msgstr "" + +#: options.php:331 +msgid "页脚说明文字,支持HTML代码" +msgstr "" + +#: options.php:337 +msgid "Google 统计代码" +msgstr "" + +#: options.php:338 +msgid "UA-xxxxx-x" +msgstr "" + +#: options.php:344 +msgid "站长统计(不建议使用)" +msgstr "" + +#: options.php:345 +msgid "填写统计代码,将被隐藏" +msgstr "" + +#: options.php:351 +msgid "自定义CSS样式" +msgstr "" + +#: options.php:352 +msgid "直接填写CSS代码,不需要写style标签" +msgstr "" + +#: options.php:360 +msgid "第一屏" +msgstr "" + +#: options.php:364 +msgid "总开关" +msgstr "" + +#: options.php:365 options.php:389 +msgid "默认开启,勾选关闭" +msgstr "" + +#: options.php:371 +msgid "社交信息" +msgstr "" + +#: options.php:372 +msgid "默认开启,勾选关闭,显示头像、签名、SNS" +msgstr "" + +#: options.php:378 +msgid "社交信息样式" +msgstr "" + +#: options.php:383 +msgid "与签名合并" +msgstr "" + +#: options.php:384 +msgid "独立成行" +msgstr "" + +#: options.php:388 +msgid "全屏显示" +msgstr "" + +#: options.php:395 +msgid "开启视频" +msgstr "" + +#: options.php:396 +msgid "勾选开启" +msgstr "" + +#: options.php:402 +msgid "Live" +msgstr "" + +#: options.php:403 +msgid "勾选开启,视频自动续播,需要开启Pjax功能" +msgstr "" + +#: options.php:409 +msgid "视频地址" +msgstr "" + +#: options.php:410 +msgid "视频的来源地址,该地址拼接下面的视频名,地址尾部不需要加斜杠" +msgstr "" + +#: options.php:416 +msgid "视频名称" +msgstr "" + +#: options.php:417 +msgid "" +"abc.mp4 ,只需要填写视频文件名 abc 即可,多个用英文逗号隔开如 abc,efg ,无" +"需在意顺序,因为加载是随机的抽取的 " +msgstr "" + +#: options.php:423 +msgid "封面图" +msgstr "" + +#: options.php:424 +msgid "" +"此处留空则使用内置API(将需要随机展示的图片放入 /cover/gallery/ 目录)" +msgstr "" + +#: options.php:430 +msgid "背景图滤镜" +msgstr "" + +#: options.php:435 +msgid "无" +msgstr "" + +#: options.php:436 +msgid "浅色" +msgstr "" + +#: options.php:437 +msgid "暗淡" +msgstr "" + +#: options.php:438 +msgid "网格" +msgstr "" + +#: options.php:439 +msgid "点点" +msgstr "" + +#: options.php:443 +msgid "是否开启聚焦" +msgstr "" + +#: options.php:444 +msgid "默认开启" +msgstr "" + +#: options.php:450 +msgid "聚焦样式" +msgstr "" + +#: options.php:456 +msgid "从下往上" +msgstr "" + +#: options.php:460 +msgid "聚焦标题" +msgstr "" + +#: options.php:461 +msgid "默认为聚焦,你也可以修改为其他,当然不能当广告用!不允许!!" +msgstr "" + +#: options.php:468 +msgid "聚焦图一" +msgstr "" + +#: options.php:469 options.php:497 options.php:525 +msgid "尺寸257px*160px" +msgstr "" + +#: options.php:475 options.php:476 +msgid "聚焦图一标题" +msgstr "" + +#: options.php:482 options.php:483 +msgid "聚焦图一描述" +msgstr "" + +#: options.php:489 options.php:490 +msgid "聚焦图一链接" +msgstr "" + +#: options.php:496 +msgid "聚焦图二" +msgstr "" + +#: options.php:503 options.php:504 +msgid "聚焦图二标题" +msgstr "" + +#: options.php:510 options.php:511 +msgid "聚焦图二描述" +msgstr "" + +#: options.php:517 options.php:518 +msgid "聚焦图二链接" +msgstr "" + +#: options.php:524 +msgid "聚焦图三" +msgstr "" + +#: options.php:531 options.php:532 +msgid "聚焦图三标题" +msgstr "" + +#: options.php:538 options.php:539 +msgid "聚焦图三描述" +msgstr "" + +#: options.php:545 options.php:546 +msgid "聚焦图三链接" +msgstr "" + +#: options.php:554 +msgid "文章页" +msgstr "" + +#: options.php:558 +msgid "文章样式" +msgstr "" + +#: options.php:563 +msgid "默认样式" +msgstr "" + +#: options.php:564 +msgid "GitHub 样式" +msgstr "" + +#: options.php:568 +msgid "文章点赞" +msgstr "" + +#: options.php:578 +msgid "文章分享" +msgstr "" + +#: options.php:588 +msgid "上一篇下一篇" +msgstr "" + +#: options.php:598 +msgid "博主信息" +msgstr "" + +#: options.php:608 +msgid "支付宝打赏" +msgstr "" + +#: options.php:609 +msgid "支付宝二维码" +msgstr "" + +#: options.php:614 +msgid "微信打赏" +msgstr "" + +#: options.php:615 options.php:627 +msgid "微信二维码" +msgstr "" + +#: options.php:622 +msgid "社交网络" +msgstr "" + +#: options.php:626 +msgid "微信" +msgstr "" + +#: options.php:632 +msgid "新浪微博" +msgstr "" + +#: options.php:633 +msgid "新浪微博地址" +msgstr "" + +#: options.php:639 +msgid "腾讯QQ" +msgstr "" + +#: options.php:640 +msgid "tencent://message/?uin={{QQ号码}},如tencent://message/?uin=123456" +msgstr "" + +#: options.php:646 +msgid "Telegram" +msgstr "" + +#: options.php:647 +msgid "Telegram链接" +msgstr "" + +#: options.php:653 +msgid "QQ空间" +msgstr "" + +#: options.php:654 +msgid "QQ空间地址" +msgstr "" + +#: options.php:660 +msgid "GitHub" +msgstr "" + +#: options.php:661 +msgid "GitHub地址" +msgstr "" + +#: options.php:667 +msgid "Lofter" +msgstr "" + +#: options.php:668 +msgid "lofter地址" +msgstr "" + +#: options.php:674 +msgid "BiliBili" +msgstr "" + +#: options.php:675 +msgid "B站地址" +msgstr "" + +#: options.php:681 +msgid "优酷视频" +msgstr "" + +#: options.php:682 +msgid "优酷地址" +msgstr "" + +#: options.php:688 +msgid "网易云音乐" +msgstr "" + +#: options.php:689 +msgid "网易云音乐地址" +msgstr "" + +#: options.php:695 +msgid "Twitter" +msgstr "" + +#: options.php:696 +msgid "推特地址" +msgstr "" + +#: options.php:702 +msgid "Facebook" +msgstr "" + +#: options.php:703 +msgid "脸书地址" +msgstr "" + +#: options.php:709 +msgid "Google+" +msgstr "" + +#: options.php:710 +msgid "G+地址" +msgstr "" + +#: options.php:716 +msgid "简书" +msgstr "" + +#: options.php:717 +msgid "简书地址" +msgstr "" + +#: options.php:723 +msgid "CSDN" +msgstr "" + +#: options.php:724 +msgid "CSND社区地址" +msgstr "" + +#: options.php:730 +msgid "知乎" +msgstr "" + +#: options.php:731 +msgid "知乎地址" +msgstr "" + +#: options.php:737 +msgid "邮箱-用户名" +msgstr "" + +#: options.php:738 +msgid "" +"name@domain.com 的 name 部分,前端仅具有js运行环境时才能获取完整地址,可放" +"心填写" +msgstr "" + +#: options.php:744 +msgid "邮箱-域名" +msgstr "" + +#: options.php:745 +msgid "name@domain.com 的 domain.com 部分" +msgstr "" + +#: options.php:752 +msgid "后台配置" +msgstr "" + +#: options.php:757 +msgid "后台面板自定义配色方案" +msgstr "" + +#: options.php:758 +msgid "" +"你可以在下面自行设计后台面板(/wp-admin/)样式,不过在开始之前请到这里将配色方案改为自定义(Custom)。" +"
Tip: 如何搭配颜色?或许这个可以帮到你。" +msgstr "" + +#: options.php:764 +msgid "面板主色调A" +msgstr "" + +#: options.php:767 options.php:775 options.php:783 options.php:791 +msgid "" +"(array) (optional) An array of CSS color definitions which are used " +"to give the user a feel for the theme." +msgstr "" + +#: options.php:772 +msgid "面板主色调B" +msgstr "" + +#: options.php:780 +msgid "面板主色调C" +msgstr "" + +#: options.php:788 +msgid "面板主色调D" +msgstr "" + +#: options.php:796 +msgid "面板图标配色——base" +msgstr "" + +#: options.php:799 options.php:807 options.php:815 +msgid "" +"(array) (optional) An array of CSS color definitions used to color " +"any SVG icons." +msgstr "" + +#: options.php:804 +msgid "面板图标配色——focus" +msgstr "" + +#: options.php:812 +msgid "面板图标配色——current" +msgstr "" + +#: options.php:820 +msgid "其他自定义面板样式(CSS)" +msgstr "" + +#: options.php:821 +msgid "如果还需要对面板其他样式进行调整可以把style放到这里" +msgstr "" + +#: options.php:827 +msgid "后台登陆界面背景图" +msgstr "" + +#: options.php:828 +msgid "该地址为空则使用默认图片" +msgstr "" + +#: options.php:833 +msgid "后台登陆界面logo" +msgstr "" + +#: options.php:834 +msgid "用于登录界面显示" +msgstr "" + +#: options.php:840 +msgid "登陆/注册相关设定" +msgstr "" + +#: options.php:847 +msgid "指定登录地址" +msgstr "" + +#: options.php:848 +msgid "" +"强制不使用后台地址登陆,填写新建的登陆页面地址,比如 http://www.xxx.com/" +"login【注意】填写前先测试下你新建的页面是可以正常打开的,以免造成无法进入后" +"台等情况" +msgstr "" + +#: options.php:854 +msgid "指定注册地址" +msgstr "" + +#: options.php:855 +msgid "该链接使用在登录页面作为注册入口,建议填写" +msgstr "" + +#: options.php:861 +msgid "允许用户注册" +msgstr "" + +#: options.php:862 +msgid "勾选开启,允许用户在前台注册" +msgstr "" + +#: options.php:868 +msgid "登录后自动跳转" +msgstr "" + +#: options.php:869 +msgid "勾选开启,管理员跳转至后台,用户跳转至主页" +msgstr "" + +#: options.php:875 +msgid "注册验证(仅前端,后端强制开启)" +msgstr "" + +#: options.php:876 +msgid "勾选开启滑动验证" +msgstr "" + +#: options.php:883 +msgid "CDN" +msgstr "" + +#: options.php:887 +msgid "图片库 CDN" +msgstr "" + +#: options.php:888 +msgid "" +"注意:填写格式为 http(s)://你的CDN域名/。
也就是说,原路径为 http://" +"your.domain/wp-content/uploads/2018/05/xx.png 的图片将从 http://你的CDN域" +"名/2018/05/xx.png 加载" +msgstr "" + +#: options.php:894 +msgid "本地调用前端库(lib.js、lib.css)" +msgstr "" + +#: options.php:895 +msgid "前端库不走 jsDelivr,不建议启用" +msgstr "" + +#: options.php:901 +msgid "本地调用主题 js、css 文件(sakura-app.js、style.css)" +msgstr "" + +#: options.php:902 +msgid "主题的 js、css 文件不走 jsDelivr,DIY 时请开启" +msgstr "" + +#: options.php:909 +msgid "其他" +msgstr "" + +#: options.php:913 +msgid "关于" +msgstr "" + +#: options.php:914 +msgid "Theme Sakura v" +msgstr "" + +#: options.php:932 +msgid "页脚悬浮播放器" +msgstr "" + +#: options.php:933 +msgid "" +"如果不需要播放器留空即可。填写网易云音乐的「歌单」ID,eg:https://" +"music.163.com/#/playlist?id=2288037900的ID是2288037900" +msgstr "" + +#: options.php:939 +msgid "版本控制" +msgstr "" + +#: options.php:940 +msgid "用于更新前端 cookie 及浏览器缓存,可使用任意字符串" +msgstr "" + +#: options.php:946 +msgid "开启PJAX局部刷新(建议开启)" +msgstr "" + +#: options.php:947 +msgid "原理与Ajax相同" +msgstr "" + +#: options.php:953 +msgid "开启NProgress加载进度条" +msgstr "" + +#: options.php:954 +msgid "默认不开启,勾选开启" +msgstr "" + +#: options.php:960 +msgid "开启公告" +msgstr "" + +#: options.php:961 +msgid "默认不显示,勾选开启" +msgstr "" + +#: options.php:967 +msgid "公告内容" +msgstr "" + +#: options.php:968 +msgid "" +"公告内容,文字超出142个字节将会被滚动显示(移动端无效),一个汉字 = 3字节," +"一个字母 = 1字节,自己计算吧" +msgstr "" + +#: options.php:974 +msgid "首页不显示的分类文章" +msgstr "" + +#: options.php:975 options.php:982 +msgid "填写分类ID,多个用英文“ , ”分开" +msgstr "" + +#: options.php:981 +msgid "图片展示分类" +msgstr "" + +#: options.php:988 +msgid "统计接口" +msgstr "" + +#: options.php:993 +msgid "WP-Statistics 插件(专业性统计,可排除无效访问)" +msgstr "" + +#: options.php:994 +msgid "主题内建(简单的统计,计算每一次页面访问请求)" +msgstr "" + +#: options.php:998 +msgid "统计数据显示格式" +msgstr "" + +#: options.php:1003 +msgid "23333 次访问(默认)" +msgstr "" + +#: options.php:1004 +msgid "23,333 次访问(英式)" +msgstr "" + +#: options.php:1005 +msgid "23 333 次访问(法式)" +msgstr "" + +#: options.php:1006 +msgid "23k 次访问(中式)" +msgstr "" + +#: options.php:1010 +msgid "启用实时搜索" +msgstr "" + +#: options.php:1011 +msgid "" +"前台实现实时搜索,调用 Rest API 每小时更新一次缓存,可在 functions.php 里手" +"动设置缓存时间" +msgstr "" + +#: options.php:1017 +msgid "实时搜索包含评论" +msgstr "" + +#: options.php:1018 +msgid "在实时搜索中搜索评论(如果网站评论数量太多不建议开启)" +msgstr "" + +#: options.php:1024 +msgid "启用 baguetteBox" +msgstr "" + +#: options.php:1025 +msgid "" +"默认禁用,请" +"阅读说明" +msgstr "" + +#: options.php:1031 +msgid "文章内图片启用 lazyload" +msgstr "" + +#: options.php:1032 +msgid "默认启用" +msgstr "" + +#: options.php:1038 +msgid "lazyload spinner" +msgstr "" + +#: options.php:1039 +msgid "图片加载时要显示的占位图,填写图片 url" +msgstr "" + +#: options.php:1045 +msgid "是否开启剪贴板版权标识" +msgstr "" + +#: options.php:1046 +msgid "复制超过30个字节时自动向剪贴板添加版权标识,默认开启" +msgstr "" + +#: options.php:1052 +msgid "发件地址前缀" +msgstr "" + +#: options.php:1053 +msgid "" +"用于发送系统邮件,在用户的邮箱中显示的发件人地址,不要使用中文,默认系统邮" +"件地址为 bibi@你的域名" +msgstr "" + +#: options.php:1059 +msgid "允许私密评论" +msgstr "" + +#: options.php:1060 +msgid "允许用户设置自己的评论对其他人不可见" +msgstr "" + +#: options.php:1066 +msgid "机器人验证" +msgstr "" + +#: options.php:1067 +msgid "开启机器人验证" +msgstr "" + +#: options.php:1073 +msgid "评论UA信息" +msgstr "" + +#: options.php:1074 +msgid "勾选开启,用户的浏览器,操作系统信息" +msgstr "" + +#: options.php:1080 +msgid "开启多说插件支持" +msgstr "" + +#: options.php:1081 +msgid "多说已经凉了" +msgstr "" + +#: options.php:1087 +msgid "时区调整" +msgstr "" + +#: options.php:1088 +msgid "" +"如果评论出现时差问题在这里调整,填入一个整数,计算方法:实际时间=显示错误的" +"时间-你输入的整数(单位:小时)" +msgstr "" + +#: search.php:19 +#, php-format +msgid "搜索结果: %s" +msgstr "" + +#: tpl/content-none.php:14 +msgid "没有找到任何东西!" +msgstr "" + +#: tpl/content-none.php:21 +#, php-format +msgid "准备好发布你的第一篇文章了么? 点击这里开始." +msgstr "" + +#: tpl/content-none.php:25 +msgid "没有找到你想要的,看看其他的吧。" +msgstr "" + +#: tpl/content-none.php:43 +msgid "我们似乎没有找到你想要的东西. 或许你可以搜索一下试试." +msgstr "" + +#: tpl/content-page.php:24 tpl/content-single.php:25 tpl/single-image.php:28 +msgid "Pages:" +msgstr "" + +#: user/page-login.php:18 +msgid "Remember Me" +msgstr "" + +#. Theme Name of the plugin/theme +msgid "Sakura" +msgstr "" + +#. Theme URI of the plugin/theme +msgid "https://2heng.xin/theme-sakura/" +msgstr "" + +#. Description of the plugin/theme +msgid "Akina主题分支(原版地址 http://www.akina.pw/themeakina)" +msgstr "" + +#. Author of the plugin/theme +msgid "Mashiro, Louie, Fuzzz" +msgstr "" + +#. Author URI of the plugin/theme +msgid "http://2heng.xin" +msgstr "" + +#. Template Name of the plugin/theme +msgid "archive" +msgstr "" + +#. Template Name of the plugin/theme +msgid "links" +msgstr "" diff --git a/languages/zh_CN.mo b/languages/zh_CN.mo new file mode 100644 index 0000000000000000000000000000000000000000..4681c3755b04978797dc615ef9d7e04e4ee8430d GIT binary patch literal 1228 zcmchW%}*0S6u?Ktuhkgv%waAbL}uL<6JeWPsGvlU^5NHMGwzP<;&!*$nPTg~h>}1s z22BtViGb0Nm_|H+5!{Tn>dE&Lb0=`Jk?&%X5a_ukB#_c59MbGqpz0yzQN3MxQb zK!1ZuX+D6E0&D@E1hxX3foFlofI9FvFa>M_4ggO9i$EDa6>$zI^Q;1A4kA>J{EJOt zTsKhW8H{*4q6w6Fb3mDQ0VwmXMce?&yuW~uvL;}nqo9XDWzHj@hd`ysSUIZ{Xrnem z&Ds0wwhQ6!Axcr#WDXu?d8dT>869Vsh8`9kO8acw_6i)0FzTCGRaMdU&y`?dJ(zy6 zz4fR%w_KV1xcy^scVcR1Z30$;@@jQ)GI%mmnO{P|!e({tb1*$WG*p@Wih{+*!K;;> z^~s%2-%zmpp}O=ma;oJrKEv_u>Lyh5#+WHcpG9skpWB|R;}LqV;8P_%NQR*uxkfHg z!E_wgVqGMrkq!;Vy7YM0IjvLElzz$u8TF~l9V$Fu$FSmN3N*vWD5JT3zK$Pcjnp+| zpl_h3Q7)!xO3HHub0JMB4|N19it~Ag+HL}yS?Y5plGjIjNoONYmb=S*(&L(*WxE+2 zciypua*JGMF7v}a(jK#Hf#Yf%)2)Ut@_<#NzCPm1~laJ_NpX8H=F7K2OSqU12uew9}d(_ z)-a<3aw{uxP83x$!>F2BPiwfImk(>Y#n9;p>llU`T}3@+-(&A^+N&o+3zRNZ*@AHI*j^k|gX literal 0 HcmV?d00001 diff --git a/languages/zh_CN.po b/languages/zh_CN.po new file mode 100644 index 0000000..09956b8 --- /dev/null +++ b/languages/zh_CN.po @@ -0,0 +1,1422 @@ +msgid "" +msgstr "" +"Project-Id-Version: Sakura\n" +"POT-Creation-Date: 2019-10-30 19:26+0800\n" +"PO-Revision-Date: 2019-10-30 19:29+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" +"X-Generator: Poedit 2.2\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Poedit-Flags-xgettext: --add-comments=translators:\n" +"X-Poedit-WPHeader: style.css\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: *.js\n" + +#: 404.php:17 header.php:35 +#, php-format +msgid "第 %s 页" +msgstr "第 %s 页" + +#: 404.php:54 search.php:42 +msgid "Search..." +msgstr "搜索..." + +#: archive.php:55 author.php:76 +msgid "Previous" +msgstr "上一页" + +#: comments.php:21 layouts/duoshuo.php:12 +msgid "查看评论" +msgstr "查看评论" + +#: comments.php:43 +msgid "暂无评论" +msgstr "暂无评论" + +#: comments.php:59 +msgid "Leave a Reply to" +msgstr "回复给" + +#: comments.php:60 +msgid "Cancel Reply" +msgstr "取消回复" + +#: comments.php:61 +msgid "BiuBiuBiu~" +msgstr "BiuBiuBiu~" + +#: comments.php:62 +msgid "你是我一生只会遇见一次的惊喜" +msgstr "你是我一生只会遇见一次的惊喜" + +#: comments.php:92 +msgid "昵称或QQ号" +msgstr "昵称或QQ号" + +#: comments.php:92 +msgid "必须 Name* " +msgstr "" + +#: comments.php:94 +msgid "邮箱" +msgstr "" + +#: comments.php:94 +msgid "必须 Email* " +msgstr "" + +#: comments.php:96 +msgid "网站 (选填 Site)" +msgstr "" + +#: comments.php:98 functions.php:1591 +msgid "QQ" +msgstr "" + +#: footer.php:62 +msgid "搜索..." +msgstr "" + +#: footer.php:75 footer.php:83 +msgid "想要找点什么呢?" +msgstr "" + +#: footer.php:85 +msgid "Search" +msgstr "" + +#: functions.php:53 +msgid "导航菜单" +msgstr "" + +#: functions.php:402 +msgid " 编辑" +msgstr "" + +#: functions.php:1295 functions.php:1298 +msgid "Dashboard" +msgstr "" + +#: functions.php:1511 +msgid "ERROR: This email domain (@" +msgstr "" + +#: inc/categories-images.php:45 inc/categories-images.php:66 +msgid "分类/标签图像" +msgstr "" + +#: inc/categories-images.php:48 inc/categories-images.php:68 +#: inc/categories-images.php:197 +msgid "添加图像" +msgstr "" + +#: inc/categories-images.php:69 inc/categories-images.php:198 +msgid "删除图像" +msgstr "" + +#: inc/categories-images.php:211 +msgid "图像" +msgstr "" + +#: inc/categories-images.php:223 +msgid "暂无" +msgstr "" + +#: inc/options-framework.php:243 +msgid "Clear" +msgstr "" + +#: inc/options-framework.php:244 +msgid "Default" +msgstr "" + +#: inc/options-framework.php:245 +msgid "Select Color" +msgstr "" + +#: inc/options-framework.php:291 +msgid "保存设置" +msgstr "" + +#: inc/options-framework.php:292 +msgid "恢复默认" +msgstr "" + +#: inc/options-framework.php:292 +msgid "如果单击“确定”会导致之前所有的设置都丢失,确定要这样做吗?" +msgstr "" + +#: inc/options-framework.php:324 +msgid "Default options restored." +msgstr "" + +#: inc/options-framework.php:378 +msgid "Options saved." +msgstr "" + +#: inc/options-media-uploader.php:51 +msgid "未选择文件" +msgstr "" + +#: inc/options-media-uploader.php:54 inc/options-media-uploader.php:113 +msgid "上传" +msgstr "" + +#: inc/options-media-uploader.php:56 inc/options-media-uploader.php:114 +msgid "移除" +msgstr "" + +#: inc/options-media-uploader.php:59 +msgid "Upgrade your version of WordPress for full media support." +msgstr "" + +#: inc/options-media-uploader.php:83 +msgid "View File" +msgstr "" + +#: inc/template-tags.php:28 +#, php-format +msgctxt "post date" +msgid "Posted on %s" +msgstr "" + +#: inc/template-tags.php:33 +#, php-format +msgctxt "post author" +msgid "by %s" +msgstr "" + +#. translators: used between list items, there is a space after the comma +#: inc/template-tags.php:50 inc/template-tags.php:56 +msgid ", " +msgstr "" + +#: inc/template-tags.php:52 +#, php-format +msgid "Posted in %1$s" +msgstr "" + +#: inc/template-tags.php:58 +#, php-format +msgid "Tagged %1$s" +msgstr "" + +#. translators: %s: post title +#: inc/template-tags.php:65 +#, php-format +msgid "Leave a Comment on %s" +msgstr "" + +#. translators: %s: Name of current post +#: inc/template-tags.php:72 tpl/content-page.php:35 +#, php-format +msgid "Edit %s" +msgstr "" + +#: inc/theme_plus.php:64 +msgid " 天前" +msgstr "" + +#: inc/theme_plus.php:65 +msgid " 小时前" +msgstr "" + +#: inc/theme_plus.php:66 +msgid " 分钟前" +msgstr "" + +#: inc/theme_plus.php:67 +msgid " 秒前" +msgstr "" + +#: inc/theme_plus.php:187 layouts/authorprofile.php:11 +msgid "Author" +msgstr "" + +#: options.php:34 options.php:46 +msgid "1" +msgstr "" + +#: options.php:35 options.php:47 +msgid "2" +msgstr "" + +#: options.php:36 options.php:48 +msgid "3" +msgstr "" + +#: options.php:37 options.php:49 +msgid "4" +msgstr "" + +#: options.php:38 options.php:50 +msgid "5" +msgstr "" + +#: options.php:39 +msgid "6" +msgstr "" + +#: options.php:40 +msgid "7" +msgstr "" + +#: options.php:112 +msgid "基本设置" +msgstr "" + +#: options.php:116 +msgid "站点名称" +msgstr "" + +#: options.php:117 +msgid "樱花庄的白猫" +msgstr "" + +#: options.php:123 +msgid "作者" +msgstr "" + +#: options.php:124 +msgid "Mashiro" +msgstr "" + +#: options.php:130 +msgid "主题风格" +msgstr "" + +#: options.php:133 +msgid "自定义主题颜色" +msgstr "" + +#: options.php:138 +msgid "切换主题菜单透明度" +msgstr "" + +#: options.php:139 +msgid "调整切换主题菜单透明度,值越小越透明,默认透明度0.8" +msgstr "" + +#: options.php:144 +msgid "全透明" +msgstr "" + +#: options.php:145 +msgid "透明度0.1" +msgstr "" + +#: options.php:146 +msgid "透明度0.2" +msgstr "" + +#: options.php:147 +msgid "透明度0.3" +msgstr "" + +#: options.php:148 +msgid "透明度0.4" +msgstr "" + +#: options.php:149 +msgid "透明度0.5" +msgstr "" + +#: options.php:150 +msgid "透明度0.6" +msgstr "" + +#: options.php:151 +msgid "透明度0.7" +msgstr "" + +#: options.php:152 +msgid "透明度0.8" +msgstr "" + +#: options.php:153 +msgid "透明度0.9" +msgstr "" + +#: options.php:154 +msgid "不透明" +msgstr "" + +#: options.php:158 +msgid "切换网页背景" +msgstr "" + +#: options.php:159 +msgid "" +"前台切换网页背景,共8个url,使用空格分隔,顺序对应前台切换主题按钮位置(按" +"钮顺序从左至右,从上至下),如不需要背景则填写对应位置为none。注意:" +"如果主题是从v3.2.3及以下更新过来的,请务必将本配置页的【其他】标签下的【版" +"本控制】参数修改为任意新值!\n" +msgstr "" + +#: options.php:166 +msgid "个人头像" +msgstr "" + +#: options.php:167 +msgid "最佳高度尺寸130*130px。" +msgstr "" + +#: options.php:172 +msgid "文字版LOGO" +msgstr "" + +#: options.php:173 +msgid "" +"首页不显示上方的头像,而是显示一段文字(此处留空则使用上方的头像)。文字建" +"议不要过长,16个字节左右为宜。" +msgstr "" + +#: options.php:179 +msgid "logo" +msgstr "" + +#: options.php:180 +msgid "最佳高度尺寸40px。" +msgstr "" + +#: options.php:185 +msgid "Favicon" +msgstr "" + +#: options.php:186 +msgid "就是浏览器标签栏上那个小 logo,填写url" +msgstr "" + +#: options.php:192 +msgid "自定义关键词和描述" +msgstr "" + +#: options.php:193 +msgid "开启之后可自定义填写关键词和描述" +msgstr "" + +#: options.php:199 +msgid "网站关键词" +msgstr "" + +#: options.php:200 +msgid "各关键字间用半角逗号\",\"分割,数量在5个以内最佳。" +msgstr "" + +#: options.php:206 +msgid "网站描述" +msgstr "" + +#: options.php:207 +msgid "用简洁的文字描述本站点,字数建议在120个字以内。" +msgstr "" + +#: options.php:213 +msgid "展开导航菜单" +msgstr "" + +#: options.php:214 +msgid "勾选开启,默认收缩" +msgstr "" + +#: options.php:220 +msgid "头部装饰图" +msgstr "" + +#: options.php:221 +msgid "默认开启,勾选关闭,显示在文章页面,独立页面以及分类页" +msgstr "" + +#: options.php:227 +msgid "搜索按钮" +msgstr "" + +#: options.php:232 options.php:280 options.php:573 options.php:583 +#: options.php:593 options.php:603 +msgid "开启" +msgstr "" + +#: options.php:233 options.php:281 options.php:574 options.php:584 +#: options.php:594 options.php:604 +msgid "关闭" +msgstr "" + +#: options.php:237 +msgid "首页文章风格" +msgstr "" + +#: options.php:242 +msgid "标准" +msgstr "" + +#: options.php:243 +msgid "图文" +msgstr "" + +#: options.php:247 +msgid "首页文章特色图(仅对标准风格生效)" +msgstr "" + +#: options.php:252 +msgid "圆形" +msgstr "" + +#: options.php:253 +msgid "方形" +msgstr "" + +#: options.php:257 +msgid "首页文章特色图对齐方式(仅对图文风格生效,默认左右交替)" +msgstr "" + +#: options.php:262 +msgid "向左对齐" +msgstr "" + +#: options.php:263 +msgid "向右对齐" +msgstr "" + +#: options.php:264 options.php:455 +msgid "左右交替" +msgstr "" + +#: options.php:268 +msgid "默认文章特色图" +msgstr "" + +#: options.php:269 +msgid "" +"在未设置文章特色图的情况下展示的默认图像,留空则调用本地随机封面(要展示的" +"图片放入 /wp-content/themes/Sakura/feature/gallery/ 目录)" +msgstr "" + +#: options.php:275 +msgid "评论收缩" +msgstr "" + +#: options.php:285 +msgid "文章末尾显示作者信息?" +msgstr "" + +#: options.php:286 +msgid "勾选启用" +msgstr "" + +#: options.php:292 +msgid "分页模式" +msgstr "" + +#: options.php:297 +msgid "ajax加载" +msgstr "" + +#: options.php:298 +msgid "上一页和下一页" +msgstr "" + +#: options.php:302 +msgid "自动加载下一页" +msgstr "" + +#: options.php:303 +msgid "(秒)设置自动加载下一页时间,默认不自动加载" +msgstr "" + +#: options.php:308 +msgid "0秒" +msgstr "" + +#: options.php:309 +msgid "1秒" +msgstr "" + +#: options.php:310 +msgid "2秒" +msgstr "" + +#: options.php:311 +msgid "3秒" +msgstr "" + +#: options.php:312 +msgid "4秒" +msgstr "" + +#: options.php:313 +msgid "5秒" +msgstr "" + +#: options.php:314 +msgid "6秒" +msgstr "" + +#: options.php:315 +msgid "7秒" +msgstr "" + +#: options.php:316 +msgid "8秒" +msgstr "" + +#: options.php:317 +msgid "9秒" +msgstr "" + +#: options.php:318 +msgid "10秒" +msgstr "" + +#: options.php:319 +msgid "233秒,即不倒计时自动加载" +msgstr "" + +#: options.php:323 +msgid "博主描述" +msgstr "" + +#: options.php:324 +msgid "一段自我描述的话" +msgstr "" + +#: options.php:330 +msgid "页脚信息" +msgstr "" + +#: options.php:331 +msgid "页脚说明文字,支持HTML代码" +msgstr "" + +#: options.php:337 +msgid "Google 统计代码" +msgstr "" + +#: options.php:338 +msgid "UA-xxxxx-x" +msgstr "" + +#: options.php:344 +msgid "站长统计(不建议使用)" +msgstr "" + +#: options.php:345 +msgid "填写统计代码,将被隐藏" +msgstr "" + +#: options.php:351 +msgid "自定义CSS样式" +msgstr "" + +#: options.php:352 +msgid "直接填写CSS代码,不需要写style标签" +msgstr "" + +#: options.php:360 +msgid "第一屏" +msgstr "" + +#: options.php:364 +msgid "总开关" +msgstr "" + +#: options.php:365 options.php:389 +msgid "默认开启,勾选关闭" +msgstr "" + +#: options.php:371 +msgid "社交信息" +msgstr "" + +#: options.php:372 +msgid "默认开启,勾选关闭,显示头像、签名、SNS" +msgstr "" + +#: options.php:378 +msgid "社交信息样式" +msgstr "" + +#: options.php:383 +msgid "与签名合并" +msgstr "" + +#: options.php:384 +msgid "独立成行" +msgstr "" + +#: options.php:388 +msgid "全屏显示" +msgstr "" + +#: options.php:395 +msgid "开启视频" +msgstr "" + +#: options.php:396 +msgid "勾选开启" +msgstr "" + +#: options.php:402 +msgid "Live" +msgstr "" + +#: options.php:403 +msgid "勾选开启,视频自动续播,需要开启Pjax功能" +msgstr "" + +#: options.php:409 +msgid "视频地址" +msgstr "" + +#: options.php:410 +msgid "视频的来源地址,该地址拼接下面的视频名,地址尾部不需要加斜杠" +msgstr "" + +#: options.php:416 +msgid "视频名称" +msgstr "" + +#: options.php:417 +msgid "" +"abc.mp4 ,只需要填写视频文件名 abc 即可,多个用英文逗号隔开如 abc,efg ,无" +"需在意顺序,因为加载是随机的抽取的 " +msgstr "" + +#: options.php:423 +msgid "封面图" +msgstr "" + +#: options.php:424 +msgid "" +"此处留空则使用内置API(将需要随机展示的图片放入 /cover/gallery/ 目录)" +msgstr "" + +#: options.php:430 +msgid "背景图滤镜" +msgstr "" + +#: options.php:435 +msgid "无" +msgstr "" + +#: options.php:436 +msgid "浅色" +msgstr "" + +#: options.php:437 +msgid "暗淡" +msgstr "" + +#: options.php:438 +msgid "网格" +msgstr "" + +#: options.php:439 +msgid "点点" +msgstr "" + +#: options.php:443 +msgid "是否开启聚焦" +msgstr "" + +#: options.php:444 +msgid "默认开启" +msgstr "" + +#: options.php:450 +msgid "聚焦样式" +msgstr "" + +#: options.php:456 +msgid "从下往上" +msgstr "" + +#: options.php:460 +msgid "聚焦标题" +msgstr "" + +#: options.php:461 +msgid "默认为聚焦,你也可以修改为其他,当然不能当广告用!不允许!!" +msgstr "" + +#: options.php:468 +msgid "聚焦图一" +msgstr "" + +#: options.php:469 options.php:497 options.php:525 +msgid "尺寸257px*160px" +msgstr "" + +#: options.php:475 options.php:476 +msgid "聚焦图一标题" +msgstr "" + +#: options.php:482 options.php:483 +msgid "聚焦图一描述" +msgstr "" + +#: options.php:489 options.php:490 +msgid "聚焦图一链接" +msgstr "" + +#: options.php:496 +msgid "聚焦图二" +msgstr "" + +#: options.php:503 options.php:504 +msgid "聚焦图二标题" +msgstr "" + +#: options.php:510 options.php:511 +msgid "聚焦图二描述" +msgstr "" + +#: options.php:517 options.php:518 +msgid "聚焦图二链接" +msgstr "" + +#: options.php:524 +msgid "聚焦图三" +msgstr "" + +#: options.php:531 options.php:532 +msgid "聚焦图三标题" +msgstr "" + +#: options.php:538 options.php:539 +msgid "聚焦图三描述" +msgstr "" + +#: options.php:545 options.php:546 +msgid "聚焦图三链接" +msgstr "" + +#: options.php:554 +msgid "文章页" +msgstr "" + +#: options.php:558 +msgid "文章样式" +msgstr "" + +#: options.php:563 +msgid "默认样式" +msgstr "" + +#: options.php:564 +msgid "GitHub 样式" +msgstr "" + +#: options.php:568 +msgid "文章点赞" +msgstr "" + +#: options.php:578 +msgid "文章分享" +msgstr "" + +#: options.php:588 +msgid "上一篇下一篇" +msgstr "" + +#: options.php:598 +msgid "博主信息" +msgstr "" + +#: options.php:608 +msgid "支付宝打赏" +msgstr "" + +#: options.php:609 +msgid "支付宝二维码" +msgstr "" + +#: options.php:614 +msgid "微信打赏" +msgstr "" + +#: options.php:615 options.php:627 +msgid "微信二维码" +msgstr "" + +#: options.php:622 +msgid "社交网络" +msgstr "" + +#: options.php:626 +msgid "微信" +msgstr "" + +#: options.php:632 +msgid "新浪微博" +msgstr "" + +#: options.php:633 +msgid "新浪微博地址" +msgstr "" + +#: options.php:639 +msgid "腾讯QQ" +msgstr "" + +#: options.php:640 +msgid "tencent://message/?uin={{QQ号码}},如tencent://message/?uin=123456" +msgstr "" + +#: options.php:646 +msgid "Telegram" +msgstr "" + +#: options.php:647 +msgid "Telegram链接" +msgstr "" + +#: options.php:653 +msgid "QQ空间" +msgstr "" + +#: options.php:654 +msgid "QQ空间地址" +msgstr "" + +#: options.php:660 +msgid "GitHub" +msgstr "" + +#: options.php:661 +msgid "GitHub地址" +msgstr "" + +#: options.php:667 +msgid "Lofter" +msgstr "" + +#: options.php:668 +msgid "lofter地址" +msgstr "" + +#: options.php:674 +msgid "BiliBili" +msgstr "" + +#: options.php:675 +msgid "B站地址" +msgstr "" + +#: options.php:681 +msgid "优酷视频" +msgstr "" + +#: options.php:682 +msgid "优酷地址" +msgstr "" + +#: options.php:688 +msgid "网易云音乐" +msgstr "" + +#: options.php:689 +msgid "网易云音乐地址" +msgstr "" + +#: options.php:695 +msgid "Twitter" +msgstr "" + +#: options.php:696 +msgid "推特地址" +msgstr "" + +#: options.php:702 +msgid "Facebook" +msgstr "" + +#: options.php:703 +msgid "脸书地址" +msgstr "" + +#: options.php:709 +msgid "Google+" +msgstr "" + +#: options.php:710 +msgid "G+地址" +msgstr "" + +#: options.php:716 +msgid "简书" +msgstr "" + +#: options.php:717 +msgid "简书地址" +msgstr "" + +#: options.php:723 +msgid "CSDN" +msgstr "" + +#: options.php:724 +msgid "CSND社区地址" +msgstr "" + +#: options.php:730 +msgid "知乎" +msgstr "" + +#: options.php:731 +msgid "知乎地址" +msgstr "" + +#: options.php:737 +msgid "邮箱-用户名" +msgstr "" + +#: options.php:738 +msgid "" +"name@domain.com 的 name 部分,前端仅具有js运行环境时才能获取完整地址,可放" +"心填写" +msgstr "" + +#: options.php:744 +msgid "邮箱-域名" +msgstr "" + +#: options.php:745 +msgid "name@domain.com 的 domain.com 部分" +msgstr "" + +#: options.php:752 +msgid "后台配置" +msgstr "" + +#: options.php:757 +msgid "后台面板自定义配色方案" +msgstr "" + +#: options.php:758 +msgid "" +"你可以在下面自行设计后台面板(/wp-admin/)样式,不过在开始之前请到这里将配色方案改为自定义(Custom)。" +"
Tip: 如何搭配颜色?或许这个可以帮到你。" +msgstr "" + +#: options.php:764 +msgid "面板主色调A" +msgstr "" + +#: options.php:767 options.php:775 options.php:783 options.php:791 +msgid "" +"(array) (optional) An array of CSS color definitions which are used " +"to give the user a feel for the theme." +msgstr "" + +#: options.php:772 +msgid "面板主色调B" +msgstr "" + +#: options.php:780 +msgid "面板主色调C" +msgstr "" + +#: options.php:788 +msgid "面板主色调D" +msgstr "" + +#: options.php:796 +msgid "面板图标配色——base" +msgstr "" + +#: options.php:799 options.php:807 options.php:815 +msgid "" +"(array) (optional) An array of CSS color definitions used to color " +"any SVG icons." +msgstr "" + +#: options.php:804 +msgid "面板图标配色——focus" +msgstr "" + +#: options.php:812 +msgid "面板图标配色——current" +msgstr "" + +#: options.php:820 +msgid "其他自定义面板样式(CSS)" +msgstr "" + +#: options.php:821 +msgid "如果还需要对面板其他样式进行调整可以把style放到这里" +msgstr "" + +#: options.php:827 +msgid "后台登陆界面背景图" +msgstr "" + +#: options.php:828 +msgid "该地址为空则使用默认图片" +msgstr "" + +#: options.php:833 +msgid "后台登陆界面logo" +msgstr "" + +#: options.php:834 +msgid "用于登录界面显示" +msgstr "" + +#: options.php:840 +msgid "登陆/注册相关设定" +msgstr "" + +#: options.php:847 +msgid "指定登录地址" +msgstr "" + +#: options.php:848 +msgid "" +"强制不使用后台地址登陆,填写新建的登陆页面地址,比如 http://www.xxx.com/" +"login【注意】填写前先测试下你新建的页面是可以正常打开的,以免造成无法进入后" +"台等情况" +msgstr "" + +#: options.php:854 +msgid "指定注册地址" +msgstr "" + +#: options.php:855 +msgid "该链接使用在登录页面作为注册入口,建议填写" +msgstr "" + +#: options.php:861 +msgid "允许用户注册" +msgstr "" + +#: options.php:862 +msgid "勾选开启,允许用户在前台注册" +msgstr "" + +#: options.php:868 +msgid "登录后自动跳转" +msgstr "" + +#: options.php:869 +msgid "勾选开启,管理员跳转至后台,用户跳转至主页" +msgstr "" + +#: options.php:875 +msgid "注册验证(仅前端,后端强制开启)" +msgstr "" + +#: options.php:876 +msgid "勾选开启滑动验证" +msgstr "" + +#: options.php:883 +msgid "CDN" +msgstr "" + +#: options.php:887 +msgid "图片库 CDN" +msgstr "" + +#: options.php:888 +msgid "" +"注意:填写格式为 http(s)://你的CDN域名/。
也就是说,原路径为 http://" +"your.domain/wp-content/uploads/2018/05/xx.png 的图片将从 http://你的CDN域" +"名/2018/05/xx.png 加载" +msgstr "" + +#: options.php:894 +msgid "本地调用前端库(lib.js、lib.css)" +msgstr "" + +#: options.php:895 +msgid "前端库不走 jsDelivr,不建议启用" +msgstr "" + +#: options.php:901 +msgid "本地调用主题 js、css 文件(sakura-app.js、style.css)" +msgstr "" + +#: options.php:902 +msgid "主题的 js、css 文件不走 jsDelivr,DIY 时请开启" +msgstr "" + +#: options.php:909 +msgid "其他" +msgstr "" + +#: options.php:913 +msgid "关于" +msgstr "" + +#: options.php:914 +msgid "Theme Sakura v" +msgstr "" + +#: options.php:932 +msgid "页脚悬浮播放器" +msgstr "" + +#: options.php:933 +msgid "" +"如果不需要播放器留空即可。填写网易云音乐的「歌单」ID,eg:https://" +"music.163.com/#/playlist?id=2288037900的ID是2288037900" +msgstr "" + +#: options.php:939 +msgid "版本控制" +msgstr "" + +#: options.php:940 +msgid "用于更新前端 cookie 及浏览器缓存,可使用任意字符串" +msgstr "" + +#: options.php:946 +msgid "开启PJAX局部刷新(建议开启)" +msgstr "" + +#: options.php:947 +msgid "原理与Ajax相同" +msgstr "" + +#: options.php:953 +msgid "开启NProgress加载进度条" +msgstr "" + +#: options.php:954 +msgid "默认不开启,勾选开启" +msgstr "" + +#: options.php:960 +msgid "开启公告" +msgstr "" + +#: options.php:961 +msgid "默认不显示,勾选开启" +msgstr "" + +#: options.php:967 +msgid "公告内容" +msgstr "" + +#: options.php:968 +msgid "" +"公告内容,文字超出142个字节将会被滚动显示(移动端无效),一个汉字 = 3字节," +"一个字母 = 1字节,自己计算吧" +msgstr "" + +#: options.php:974 +msgid "首页不显示的分类文章" +msgstr "" + +#: options.php:975 options.php:982 +msgid "填写分类ID,多个用英文“ , ”分开" +msgstr "" + +#: options.php:981 +msgid "图片展示分类" +msgstr "" + +#: options.php:988 +msgid "统计接口" +msgstr "" + +#: options.php:993 +msgid "WP-Statistics 插件(专业性统计,可排除无效访问)" +msgstr "" + +#: options.php:994 +msgid "主题内建(简单的统计,计算每一次页面访问请求)" +msgstr "" + +#: options.php:998 +msgid "统计数据显示格式" +msgstr "" + +#: options.php:1003 +msgid "23333 次访问(默认)" +msgstr "" + +#: options.php:1004 +msgid "23,333 次访问(英式)" +msgstr "" + +#: options.php:1005 +msgid "23 333 次访问(法式)" +msgstr "" + +#: options.php:1006 +msgid "23k 次访问(中式)" +msgstr "" + +#: options.php:1010 +msgid "启用实时搜索" +msgstr "" + +#: options.php:1011 +msgid "" +"前台实现实时搜索,调用 Rest API 每小时更新一次缓存,可在 functions.php 里手" +"动设置缓存时间" +msgstr "" + +#: options.php:1017 +msgid "实时搜索包含评论" +msgstr "" + +#: options.php:1018 +msgid "在实时搜索中搜索评论(如果网站评论数量太多不建议开启)" +msgstr "" + +#: options.php:1024 +msgid "启用 baguetteBox" +msgstr "" + +#: options.php:1025 +msgid "" +"默认禁用,请" +"阅读说明" +msgstr "" + +#: options.php:1031 +msgid "文章内图片启用 lazyload" +msgstr "" + +#: options.php:1032 +msgid "默认启用" +msgstr "" + +#: options.php:1038 +msgid "lazyload spinner" +msgstr "" + +#: options.php:1039 +msgid "图片加载时要显示的占位图,填写图片 url" +msgstr "" + +#: options.php:1045 +msgid "是否开启剪贴板版权标识" +msgstr "" + +#: options.php:1046 +msgid "复制超过30个字节时自动向剪贴板添加版权标识,默认开启" +msgstr "" + +#: options.php:1052 +msgid "发件地址前缀" +msgstr "" + +#: options.php:1053 +msgid "" +"用于发送系统邮件,在用户的邮箱中显示的发件人地址,不要使用中文,默认系统邮" +"件地址为 bibi@你的域名" +msgstr "" + +#: options.php:1059 +msgid "允许私密评论" +msgstr "" + +#: options.php:1060 +msgid "允许用户设置自己的评论对其他人不可见" +msgstr "" + +#: options.php:1066 +msgid "机器人验证" +msgstr "" + +#: options.php:1067 +msgid "开启机器人验证" +msgstr "" + +#: options.php:1073 +msgid "评论UA信息" +msgstr "" + +#: options.php:1074 +msgid "勾选开启,用户的浏览器,操作系统信息" +msgstr "" + +#: options.php:1080 +msgid "开启多说插件支持" +msgstr "" + +#: options.php:1081 +msgid "多说已经凉了" +msgstr "" + +#: options.php:1087 +msgid "时区调整" +msgstr "" + +#: options.php:1088 +msgid "" +"如果评论出现时差问题在这里调整,填入一个整数,计算方法:实际时间=显示错误的" +"时间-你输入的整数(单位:小时)" +msgstr "" + +#: search.php:19 +#, php-format +msgid "搜索结果: %s" +msgstr "" + +#: tpl/content-none.php:14 +msgid "没有找到任何东西!" +msgstr "" + +#: tpl/content-none.php:21 +#, php-format +msgid "准备好发布你的第一篇文章了么? 点击这里开始." +msgstr "" + +#: tpl/content-none.php:25 +msgid "没有找到你想要的,看看其他的吧。" +msgstr "" + +#: tpl/content-none.php:43 +msgid "我们似乎没有找到你想要的东西. 或许你可以搜索一下试试." +msgstr "" + +#: tpl/content-page.php:24 tpl/content-single.php:25 tpl/single-image.php:28 +msgid "Pages:" +msgstr "" + +#: user/page-login.php:18 +msgid "Remember Me" +msgstr "" + +#. Theme Name of the plugin/theme +msgid "Sakura" +msgstr "" + +#. Theme URI of the plugin/theme +msgid "https://2heng.xin/theme-sakura/" +msgstr "" + +#. Description of the plugin/theme +msgid "Akina主题分支(原版地址 http://www.akina.pw/themeakina)" +msgstr "" + +#. Author of the plugin/theme +msgid "Mashiro, Louie, Fuzzz" +msgstr "" + +#. Author URI of the plugin/theme +msgid "http://2heng.xin" +msgstr "" + +#. Template Name of the plugin/theme +msgid "archive" +msgstr "" + +#. Template Name of the plugin/theme +msgid "links" +msgstr "" diff --git a/options.php b/options.php index c6c9e33..f5df9a7 100644 --- a/options.php +++ b/options.php @@ -22,7 +22,7 @@ function optionsframework_option_name() { * Defines an array of options that will be used to generate the settings page and be saved in the database. * When creating the 'id' fields, make sure to use all lowercase and no spaces. * - * If you are making your theme translatable, you should replace 'options_framework_theme' + * If you are making your theme translatable, you should replace 'sakura' * with the actual text domain for your theme. * * Frame from: https://github.com/devinsays/options-framework-plugin/ @@ -31,23 +31,23 @@ function optionsframework_option_name() { function optionsframework_options() { // 测试数据 $test_array = array( - 'one' => __('1', 'options_framework_theme'), - 'two' => __('2', 'options_framework_theme'), - 'three' => __('3', 'options_framework_theme'), - 'four' => __('4', 'options_framework_theme'), - 'five' => __('5', 'options_framework_theme'), - 'six' => __('6', 'options_framework_theme'), - 'seven' => __('7', 'options_framework_theme') + 'one' => __('1', 'sakura'), + 'two' => __('2', 'sakura'), + 'three' => __('3', 'sakura'), + 'four' => __('4', 'sakura'), + 'five' => __('5', 'sakura'), + 'six' => __('6', 'sakura'), + 'seven' => __('7', 'sakura') ); // 复选框数组 $multicheck_array = array( - 'one' => __('1', 'options_framework_theme'), - 'two' => __('2', 'options_framework_theme'), - 'three' => __('3', 'options_framework_theme'), - 'four' => __('4', 'options_framework_theme'), - 'five' => __('5', 'options_framework_theme') + 'one' => __('1', 'sakura'), + 'two' => __('2', 'sakura'), + 'three' => __('3', 'sakura'), + 'four' => __('4', 'sakura'), + 'five' => __('5', 'sakura') ); // 复选框默认值 @@ -109,25 +109,25 @@ function optionsframework_options() { //基本设置 $options[] = array( - 'name' => __('基本设置', 'options_framework_theme'), + 'name' => __('基本设置', 'sakura'), 'type' => 'heading'); $options[] = array( - 'name' => __('站点名称', 'options_framework_theme'), - 'desc' => __('樱花庄的白猫', 'options_framework_theme'), + 'name' => __('站点名称', 'sakura'), + 'desc' => __('樱花庄的白猫', 'sakura'), 'id' => 'site_name', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('作者', 'options_framework_theme'), - 'desc' => __('Mashiro', 'options_framework_theme'), + 'name' => __('作者', 'sakura'), + 'desc' => __('Mashiro', 'sakura'), 'id' => 'author_name', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __("主题风格", 'akina'), + 'name' => __("主题风格", 'sakura'), 'id' => 'theme_skin', 'std' => "#FE9600", 'desc' => __('自定义主题颜色', ''), @@ -135,8 +135,8 @@ function optionsframework_options() { ); $options[] = array( - 'name' => __('切换主题菜单透明度', 'options_framework_theme'), - 'desc' => __('调整切换主题菜单透明度,值越小越透明,默认透明度0.8', 'options_framework_theme'), + 'name' => __('切换主题菜单透明度', 'sakura'), + 'desc' => __('调整切换主题菜单透明度,值越小越透明,默认透明度0.8', 'sakura'), 'id' => 'sakura_skin_alpha', 'std' => '0.8', 'type' => 'select', @@ -155,76 +155,76 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('切换网页背景', 'options_framework_theme'), + 'name' => __('切换网页背景', 'sakura'), 'desc' => __('前台切换网页背景,共8个url,使用空格分隔,顺序对应前台切换主题按钮位置(按钮顺序从左至右,从上至下),如不需要背景则填写对应位置为none。注意:如果主题是从v3.2.3及以下更新过来的,请务必将本配置页的【其他】标签下的【版本控制】参数修改为任意新值! -', 'options_framework_theme'), +', 'sakura'), 'id' => 'sakura_skin_bg', 'std' => 'none https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/sakura.png https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/plaid2dbf8.jpg https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/star02.png https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/kyotoanimation.png https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/dot_orange.gif https://api.mashiro.top/bing/ https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.2/other-sites/api-index/images/me.png', 'type' => 'textarea'); $options[] = array( - 'name' => __('个人头像', 'options_framework_theme'), - 'desc' => __('最佳高度尺寸130*130px。', 'options_framework_theme'), + 'name' => __('个人头像', 'sakura'), + 'desc' => __('最佳高度尺寸130*130px。', 'sakura'), 'id' => 'focus_logo', 'type' => 'upload'); $options[] = array( - 'name' => __('文字版LOGO', 'options_framework_theme'), - 'desc' => __('首页不显示上方的头像,而是显示一段文字(此处留空则使用上方的头像)。文字建议不要过长,16个字节左右为宜。', 'options_framework_theme'), + 'name' => __('文字版LOGO', 'sakura'), + 'desc' => __('首页不显示上方的头像,而是显示一段文字(此处留空则使用上方的头像)。文字建议不要过长,16个字节左右为宜。', 'sakura'), 'id' => 'focus_logo_text', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('logo', 'options_framework_theme'), - 'desc' => __('最佳高度尺寸40px。', 'options_framework_theme'), + 'name' => __('logo', 'sakura'), + 'desc' => __('最佳高度尺寸40px。', 'sakura'), 'id' => 'akina_logo', 'type' => 'upload'); $options[] = array( - 'name' => __('Favicon', 'options_framework_theme'), - 'desc' => __('就是浏览器标签栏上那个小 logo,填写url', 'options_framework_theme'), + 'name' => __('Favicon', 'sakura'), + 'desc' => __('就是浏览器标签栏上那个小 logo,填写url', 'sakura'), 'id' => 'favicon_link', 'std' => '/wp-content/themes/Sakura/images/favicon.ico', 'type' => 'text'); $options[] = array( - 'name' => __('自定义关键词和描述', 'options_framework_theme'), - 'desc' => __('开启之后可自定义填写关键词和描述', 'options_framework_theme'), + 'name' => __('自定义关键词和描述', 'sakura'), + 'desc' => __('开启之后可自定义填写关键词和描述', 'sakura'), 'id' => 'akina_meta', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('网站关键词', 'options_framework_theme'), - 'desc' => __('各关键字间用半角逗号","分割,数量在5个以内最佳。', 'options_framework_theme'), + 'name' => __('网站关键词', 'sakura'), + 'desc' => __('各关键字间用半角逗号","分割,数量在5个以内最佳。', 'sakura'), 'id' => 'akina_meta_keywords', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('网站描述', 'options_framework_theme'), - 'desc' => __('用简洁的文字描述本站点,字数建议在120个字以内。', 'options_framework_theme'), + 'name' => __('网站描述', 'sakura'), + 'desc' => __('用简洁的文字描述本站点,字数建议在120个字以内。', 'sakura'), 'id' => 'akina_meta_description', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('展开导航菜单', 'options_framework_theme'), - 'desc' => __('勾选开启,默认收缩', 'options_framework_theme'), + 'name' => __('展开导航菜单', 'sakura'), + 'desc' => __('勾选开启,默认收缩', 'sakura'), 'id' => 'shownav', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('头部装饰图', 'options_framework_theme'), - 'desc' => __('默认开启,勾选关闭,显示在文章页面,独立页面以及分类页', 'options_framework_theme'), + 'name' => __('头部装饰图', 'sakura'), + 'desc' => __('默认开启,勾选关闭,显示在文章页面,独立页面以及分类页', 'sakura'), 'id' => 'patternimg', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('搜索按钮', 'akina'), + 'name' => __('搜索按钮', 'sakura'), 'id' => 'top_search', 'std' => "yes", 'type' => "radio", @@ -234,7 +234,7 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('首页文章风格', 'akina'), + 'name' => __('首页文章风格', 'sakura'), 'id' => 'post_list_style', 'std' => "imageflow", 'type' => "radio", @@ -244,7 +244,7 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('首页文章特色图(仅对标准风格生效)', 'akina'), + 'name' => __('首页文章特色图(仅对标准风格生效)', 'sakura'), 'id' => 'list_type', 'std' => "round", 'type' => "radio", @@ -254,7 +254,7 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('首页文章特色图对齐方式(仅对图文风格生效,默认左右交替)', 'akina'), + 'name' => __('首页文章特色图对齐方式(仅对图文风格生效,默认左右交替)', 'sakura'), 'id' => 'feature_align', 'std' => "alternate", 'type' => "radio", @@ -265,14 +265,14 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('默认文章特色图', 'options_framework_theme'), - 'desc' => __('在未设置文章特色图的情况下展示的默认图像,留空则调用本地随机封面(要展示的图片放入 /wp-content/themes/Sakura/feature/gallery/ 目录)', 'options_framework_theme'), + 'name' => __('默认文章特色图', 'sakura'), + 'desc' => __('在未设置文章特色图的情况下展示的默认图像,留空则调用本地随机封面(要展示的图片放入 /wp-content/themes/Sakura/feature/gallery/ 目录)', 'sakura'), 'id' => 'default_feature_image', 'std' => 'https://api.mashiro.top/feature/', 'type' => 'text'); $options[] = array( - 'name' => __('评论收缩', 'akina'), + 'name' => __('评论收缩', 'sakura'), 'id' => 'toggle-menu', 'std' => "yes", 'type' => "radio", @@ -282,14 +282,14 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('文章末尾显示作者信息?', 'options_framework_theme'), - 'desc' => __('勾选启用', 'options_framework_theme'), + 'name' => __('文章末尾显示作者信息?', 'sakura'), + 'desc' => __('勾选启用', 'sakura'), 'id' => 'show_authorprofile', 'std' => '1', 'type' => 'checkbox'); $options[] = array( - 'name' => __('分页模式', 'akina'), + 'name' => __('分页模式', 'sakura'), 'id' => 'pagenav_style', 'std' => "ajax", 'type' => "radio", @@ -299,8 +299,8 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('自动加载下一页', 'options_framework_theme'), - 'desc' => __('(秒)设置自动加载下一页时间,默认不自动加载', 'options_framework_theme'), + 'name' => __('自动加载下一页', 'sakura'), + 'desc' => __('(秒)设置自动加载下一页时间,默认不自动加载', 'sakura'), 'id' => 'auto_load_post', 'std' => '233', 'type' => 'select', @@ -320,36 +320,36 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('博主描述', 'options_framework_theme'), - 'desc' => __('一段自我描述的话', 'options_framework_theme'), + 'name' => __('博主描述', 'sakura'), + 'desc' => __('一段自我描述的话', 'sakura'), 'id' => 'admin_des', 'std' => '一沙一世界,一花一天堂。君掌盛无边,刹那成永恒。', 'type' => 'textarea'); $options[] = array( - 'name' => __('页脚信息', 'options_framework_theme'), - 'desc' => __('页脚说明文字,支持HTML代码', 'options_framework_theme'), + 'name' => __('页脚信息', 'sakura'), + 'desc' => __('页脚说明文字,支持HTML代码', 'sakura'), 'id' => 'footer_info', 'std' => 'Copyright © by Mashiro All Rights Reserved.', 'type' => 'textarea'); $options[] = array( - 'name' => __('Google 统计代码', 'options_framework_theme'), - 'desc' => __('UA-xxxxx-x', 'options_framework_theme'), + 'name' => __('Google 统计代码', 'sakura'), + 'desc' => __('UA-xxxxx-x', 'sakura'), 'id' => 'google_analytics_id', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('站长统计(不建议使用)', 'options_framework_theme'), - 'desc' => __('填写统计代码,将被隐藏', 'options_framework_theme'), + 'name' => __('站长统计(不建议使用)', 'sakura'), + 'desc' => __('填写统计代码,将被隐藏', 'sakura'), 'id' => 'site_statistics', 'std' => '', 'type' => 'textarea'); $options[] = array( - 'name' => __('自定义CSS样式', 'options_framework_theme'), - 'desc' => __('直接填写CSS代码,不需要写style标签', 'options_framework_theme'), + 'name' => __('自定义CSS样式', 'sakura'), + 'desc' => __('直接填写CSS代码,不需要写style标签', 'sakura'), 'id' => 'site_custom_style', 'std' => '', 'type' => 'textarea'); @@ -357,25 +357,25 @@ function optionsframework_options() { //第一屏 $options[] = array( - 'name' => __('第一屏', 'options_framework_theme'), + 'name' => __('第一屏', 'sakura'), 'type' => 'heading'); $options[] = array( - 'name' => __('总开关', 'options_framework_theme'), - 'desc' => __('默认开启,勾选关闭', 'options_framework_theme'), + 'name' => __('总开关', 'sakura'), + 'desc' => __('默认开启,勾选关闭', 'sakura'), 'id' => 'head_focus', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('社交信息', 'options_framework_theme'), - 'desc' => __('默认开启,勾选关闭,显示头像、签名、SNS', 'options_framework_theme'), + 'name' => __('社交信息', 'sakura'), + 'desc' => __('默认开启,勾选关闭,显示头像、签名、SNS', 'sakura'), 'id' => 'focus_infos', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('社交信息样式', 'akina'), + 'name' => __('社交信息样式', 'sakura'), 'id' => 'social_style', 'std' => "v2", 'type' => "radio", @@ -385,49 +385,49 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('全屏显示', 'options_framework_theme'), - 'desc' => __('默认开启,勾选关闭', 'options_framework_theme'), + 'name' => __('全屏显示', 'sakura'), + 'desc' => __('默认开启,勾选关闭', 'sakura'), 'id' => 'focus_height', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('开启视频', 'options_framework_theme'), - 'desc' => __('勾选开启', 'options_framework_theme'), + 'name' => __('开启视频', 'sakura'), + 'desc' => __('勾选开启', 'sakura'), 'id' => 'focus_amv', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('Live', 'options_framework_theme'), - 'desc' => __('勾选开启,视频自动续播,需要开启Pjax功能', 'options_framework_theme'), + 'name' => __('Live', 'sakura'), + 'desc' => __('勾选开启,视频自动续播,需要开启Pjax功能', 'sakura'), 'id' => 'focus_mvlive', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('视频地址', 'options_framework_theme'), - 'desc' => __('视频的来源地址,该地址拼接下面的视频名,地址尾部不需要加斜杠', 'options_framework_theme'), + 'name' => __('视频地址', 'sakura'), + 'desc' => __('视频的来源地址,该地址拼接下面的视频名,地址尾部不需要加斜杠', 'sakura'), 'id' => 'amv_url', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('视频名称', 'options_framework_theme'), - 'desc' => __('abc.mp4 ,只需要填写视频文件名 abc 即可,多个用英文逗号隔开如 abc,efg ,无需在意顺序,因为加载是随机的抽取的 ', 'options_framework_theme'), + 'name' => __('视频名称', 'sakura'), + 'desc' => __('abc.mp4 ,只需要填写视频文件名 abc 即可,多个用英文逗号隔开如 abc,efg ,无需在意顺序,因为加载是随机的抽取的 ', 'sakura'), 'id' => 'amv_title', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('封面图', 'options_framework_theme'), - 'desc' => __('此处留空则使用内置API(将需要随机展示的图片放入 /cover/gallery/ 目录)', 'options_framework_theme'), + 'name' => __('封面图', 'sakura'), + 'desc' => __('此处留空则使用内置API(将需要随机展示的图片放入 /cover/gallery/ 目录)', 'sakura'), 'id' => 'cover_img', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('背景图滤镜', 'akina'), + 'name' => __('背景图滤镜', 'sakura'), 'id' => 'focus_img_filter', 'std' => "filter-nothing", 'type' => "radio", @@ -440,14 +440,14 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('是否开启聚焦', 'options_framework_theme'), - 'desc' => __('默认开启', 'options_framework_theme'), + 'name' => __('是否开启聚焦', 'sakura'), + 'desc' => __('默认开启', 'sakura'), 'id' => 'top_feature', 'std' => '1', 'type' => 'checkbox'); $options[] = array( - 'name' => __('聚焦样式', 'akina'), + 'name' => __('聚焦样式', 'sakura'), 'id' => 'top_feature_style', 'std' => "left_and_right", 'type' => "radio", @@ -457,93 +457,93 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('聚焦标题', 'options_framework_theme'), - 'desc' => __('默认为聚焦,你也可以修改为其他,当然不能当广告用!不允许!!', 'options_framework_theme'), + 'name' => __('聚焦标题', 'sakura'), + 'desc' => __('默认为聚焦,你也可以修改为其他,当然不能当广告用!不允许!!', 'sakura'), 'id' => 'feature_title', 'std' => '聚焦', 'class' => 'mini', 'type' => 'text'); $options[] = array( - 'name' => __('聚焦图一', 'options_framework_theme'), - 'desc' => __('尺寸257px*160px', 'options_framework_theme'), + 'name' => __('聚焦图一', 'sakura'), + 'desc' => __('尺寸257px*160px', 'sakura'), 'id' => 'feature1_img', 'std' => $imagepath.'/temp.png', 'type' => 'upload'); $options[] = array( - 'name' => __('聚焦图一标题', 'options_framework_theme'), - 'desc' => __('聚焦图一标题', 'options_framework_theme'), + 'name' => __('聚焦图一标题', 'sakura'), + 'desc' => __('聚焦图一标题', 'sakura'), 'id' => 'feature1_title', 'std' => 'feature1', 'type' => 'text'); $options[] = array( - 'name' => __('聚焦图一描述', 'options_framework_theme'), - 'desc' => __('聚焦图一描述', 'options_framework_theme'), + 'name' => __('聚焦图一描述', 'sakura'), + 'desc' => __('聚焦图一描述', 'sakura'), 'id' => 'feature1_description', 'std' => 'Description goes here 1', 'type' => 'text'); $options[] = array( - 'name' => __('聚焦图一链接', 'options_framework_theme'), - 'desc' => __('聚焦图一链接', 'options_framework_theme'), + 'name' => __('聚焦图一链接', 'sakura'), + 'desc' => __('聚焦图一链接', 'sakura'), 'id' => 'feature1_link', 'std' => '#', 'type' => 'text'); $options[] = array( - 'name' => __('聚焦图二', 'options_framework_theme'), - 'desc' => __('尺寸257px*160px', 'options_framework_theme'), + 'name' => __('聚焦图二', 'sakura'), + 'desc' => __('尺寸257px*160px', 'sakura'), 'id' => 'feature2_img', 'std' => $imagepath.'/temp.png', 'type' => 'upload'); $options[] = array( - 'name' => __('聚焦图二标题', 'options_framework_theme'), - 'desc' => __('聚焦图二标题', 'options_framework_theme'), + 'name' => __('聚焦图二标题', 'sakura'), + 'desc' => __('聚焦图二标题', 'sakura'), 'id' => 'feature2_title', 'std' => 'feature2', 'type' => 'text'); $options[] = array( - 'name' => __('聚焦图二描述', 'options_framework_theme'), - 'desc' => __('聚焦图二描述', 'options_framework_theme'), + 'name' => __('聚焦图二描述', 'sakura'), + 'desc' => __('聚焦图二描述', 'sakura'), 'id' => 'feature2_description', 'std' => 'Description goes here 2', 'type' => 'text'); $options[] = array( - 'name' => __('聚焦图二链接', 'options_framework_theme'), - 'desc' => __('聚焦图二链接', 'options_framework_theme'), + 'name' => __('聚焦图二链接', 'sakura'), + 'desc' => __('聚焦图二链接', 'sakura'), 'id' => 'feature2_link', 'std' => '#', 'type' => 'text'); $options[] = array( - 'name' => __('聚焦图三', 'options_framework_theme'), - 'desc' => __('尺寸257px*160px', 'options_framework_theme'), + 'name' => __('聚焦图三', 'sakura'), + 'desc' => __('尺寸257px*160px', 'sakura'), 'id' => 'feature3_img', 'std' => $imagepath.'/temp.png', 'type' => 'upload'); $options[] = array( - 'name' => __('聚焦图三标题', 'options_framework_theme'), - 'desc' => __('聚焦图三标题', 'options_framework_theme'), + 'name' => __('聚焦图三标题', 'sakura'), + 'desc' => __('聚焦图三标题', 'sakura'), 'id' => 'feature3_title', 'std' => 'feature3', 'type' => 'text'); $options[] = array( - 'name' => __('聚焦图三描述', 'options_framework_theme'), - 'desc' => __('聚焦图三描述', 'options_framework_theme'), + 'name' => __('聚焦图三描述', 'sakura'), + 'desc' => __('聚焦图三描述', 'sakura'), 'id' => 'feature3_description', 'std' => 'Description goes here 3', 'type' => 'text'); $options[] = array( - 'name' => __('聚焦图三链接', 'options_framework_theme'), - 'desc' => __('聚焦图三链接', 'options_framework_theme'), + 'name' => __('聚焦图三链接', 'sakura'), + 'desc' => __('聚焦图三链接', 'sakura'), 'id' => 'feature3_link', 'std' => '#', 'type' => 'text'); @@ -551,11 +551,11 @@ function optionsframework_options() { //文章页 $options[] = array( - 'name' => __('文章页', 'options_framework_theme'), + 'name' => __('文章页', 'sakura'), 'type' => 'heading'); $options[] = array( - 'name' => __('文章样式', 'akina'), + 'name' => __('文章样式', 'sakura'), 'id' => 'entry_content_theme', 'std' => "sakura", 'type' => "radio", @@ -565,7 +565,7 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('文章点赞', 'akina'), + 'name' => __('文章点赞', 'sakura'), 'id' => 'post_like', 'std' => "yes", 'type' => "radio", @@ -575,7 +575,7 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('文章分享', 'akina'), + 'name' => __('文章分享', 'sakura'), 'id' => 'post_share', 'std' => "yes", 'type' => "radio", @@ -585,7 +585,7 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('上一篇下一篇', 'akina'), + 'name' => __('上一篇下一篇', 'sakura'), 'id' => 'post_nepre', 'std' => "yes", 'type' => "radio", @@ -595,7 +595,7 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('博主信息', 'akina'), + 'name' => __('博主信息', 'sakura'), 'id' => 'author_profile', 'std' => "yes", 'type' => "radio", @@ -605,163 +605,163 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('支付宝打赏', 'options_framework_theme'), - 'desc' => __('支付宝二维码', 'options_framework_theme'), + 'name' => __('支付宝打赏', 'sakura'), + 'desc' => __('支付宝二维码', 'sakura'), 'id' => 'alipay_code', 'type' => 'upload'); $options[] = array( - 'name' => __('微信打赏', 'options_framework_theme'), - 'desc' => __('微信二维码', 'options_framework_theme'), + 'name' => __('微信打赏', 'sakura'), + 'desc' => __('微信二维码', 'sakura'), 'id' => 'wechat_code', 'type' => 'upload'); //社交选项 $options[] = array( - 'name' => __('社交网络', 'options_framework_theme'), + 'name' => __('社交网络', 'sakura'), 'type' => 'heading'); $options[] = array( - 'name' => __('微信', 'options_framework_theme'), - 'desc' => __('微信二维码', 'options_framework_theme'), + 'name' => __('微信', 'sakura'), + 'desc' => __('微信二维码', 'sakura'), 'id' => 'wechat', 'type' => 'upload'); $options[] = array( - 'name' => __('新浪微博', 'options_framework_theme'), - 'desc' => __('新浪微博地址', 'options_framework_theme'), + 'name' => __('新浪微博', 'sakura'), + 'desc' => __('新浪微博地址', 'sakura'), 'id' => 'sina', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('腾讯QQ', 'options_framework_theme'), - 'desc' => __('tencent://message/?uin={{QQ号码}},如tencent://message/?uin=123456', 'options_framework_theme'), + 'name' => __('腾讯QQ', 'sakura'), + 'desc' => __('tencent://message/?uin={{QQ号码}},如tencent://message/?uin=123456', 'sakura'), 'id' => 'qq', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('Telegram', 'options_framework_theme'), - 'desc' => __('Telegram链接', 'options_framework_theme'), + 'name' => __('Telegram', 'sakura'), + 'desc' => __('Telegram链接', 'sakura'), 'id' => 'telegram', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('QQ空间', 'options_framework_theme'), - 'desc' => __('QQ空间地址', 'options_framework_theme'), + 'name' => __('QQ空间', 'sakura'), + 'desc' => __('QQ空间地址', 'sakura'), 'id' => 'qzone', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('GitHub', 'options_framework_theme'), - 'desc' => __('GitHub地址', 'options_framework_theme'), + 'name' => __('GitHub', 'sakura'), + 'desc' => __('GitHub地址', 'sakura'), 'id' => 'github', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('Lofter', 'options_framework_theme'), - 'desc' => __('lofter地址', 'options_framework_theme'), + 'name' => __('Lofter', 'sakura'), + 'desc' => __('lofter地址', 'sakura'), 'id' => 'lofter', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('BiliBili', 'options_framework_theme'), - 'desc' => __('B站地址', 'options_framework_theme'), + 'name' => __('BiliBili', 'sakura'), + 'desc' => __('B站地址', 'sakura'), 'id' => 'bili', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('优酷视频', 'options_framework_theme'), - 'desc' => __('优酷地址', 'options_framework_theme'), + 'name' => __('优酷视频', 'sakura'), + 'desc' => __('优酷地址', 'sakura'), 'id' => 'youku', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('网易云音乐', 'options_framework_theme'), - 'desc' => __('网易云音乐地址', 'options_framework_theme'), + 'name' => __('网易云音乐', 'sakura'), + 'desc' => __('网易云音乐地址', 'sakura'), 'id' => 'wangyiyun', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('Twitter', 'options_framework_theme'), - 'desc' => __('推特地址', 'options_framework_theme'), + 'name' => __('Twitter', 'sakura'), + 'desc' => __('推特地址', 'sakura'), 'id' => 'twitter', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('Facebook', 'options_framework_theme'), - 'desc' => __('脸书地址', 'options_framework_theme'), + 'name' => __('Facebook', 'sakura'), + 'desc' => __('脸书地址', 'sakura'), 'id' => 'facebook', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('Google+', 'options_framework_theme'), - 'desc' => __('G+地址', 'options_framework_theme'), + 'name' => __('Google+', 'sakura'), + 'desc' => __('G+地址', 'sakura'), 'id' => 'googleplus', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('简书', 'options_framework_theme'), - 'desc' => __('简书地址', 'options_framework_theme'), + 'name' => __('简书', 'sakura'), + 'desc' => __('简书地址', 'sakura'), 'id' => 'jianshu', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('CSDN', 'options_framework_theme'), - 'desc' => __('CSND社区地址', 'options_framework_theme'), + 'name' => __('CSDN', 'sakura'), + 'desc' => __('CSND社区地址', 'sakura'), 'id' => 'csdn', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('知乎', 'options_framework_theme'), - 'desc' => __('知乎地址', 'options_framework_theme'), + 'name' => __('知乎', 'sakura'), + 'desc' => __('知乎地址', 'sakura'), 'id' => 'zhihu', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('邮箱-用户名', 'options_framework_theme'), - 'desc' => __('name@domain.com 的 name 部分,前端仅具有js运行环境时才能获取完整地址,可放心填写', 'options_framework_theme'), + 'name' => __('邮箱-用户名', 'sakura'), + 'desc' => __('name@domain.com 的 name 部分,前端仅具有js运行环境时才能获取完整地址,可放心填写', 'sakura'), 'id' => 'email_name', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('邮箱-域名', 'options_framework_theme'), - 'desc' => __('name@domain.com 的 domain.com 部分', 'options_framework_theme'), + 'name' => __('邮箱-域名', 'sakura'), + 'desc' => __('name@domain.com 的 domain.com 部分', 'sakura'), 'id' => 'email_domain', 'std' => '', 'type' => 'text'); //后台配置 $options[] = array( - 'name' => __('后台配置', 'options_framework_theme'), + 'name' => __('后台配置', 'sakura'), 'type' => 'heading' ); //后台面板自定义配色方案 $options[] = array( - 'name' => __('后台面板自定义配色方案', 'options_framework_theme'), - 'desc' => __('你可以在下面自行设计后台面板(/wp-admin/)样式,不过在开始之前请到这里将配色方案改为自定义(Custom)。
Tip: 如何搭配颜色?或许这个可以帮到你。', 'options_framework_theme'), + 'name' => __('后台面板自定义配色方案', 'sakura'), + 'desc' => __('你可以在下面自行设计后台面板(/wp-admin/)样式,不过在开始之前请到这里将配色方案改为自定义(Custom)。
Tip: 如何搭配颜色?或许这个可以帮到你。', 'sakura'), 'id' => 'scheme_tip', 'std' => '', 'type' => 'typography '); $options[] = array( - 'name' => __("面板主色调A", 'akina'), + 'name' => __("面板主色调A", 'sakura'), 'id' => 'dash_scheme_color_a', 'std' => "#c6742b", 'desc' => __('(array) (optional) An array of CSS color definitions which are used to give the user a feel for the theme.', ''), @@ -769,7 +769,7 @@ function optionsframework_options() { ); $options[] = array( - 'name' => __("面板主色调B", 'akina'), + 'name' => __("面板主色调B", 'sakura'), 'id' => 'dash_scheme_color_b', 'std' => "#d88e4c", 'desc' => __('(array) (optional) An array of CSS color definitions which are used to give the user a feel for the theme.', ''), @@ -777,7 +777,7 @@ function optionsframework_options() { ); $options[] = array( - 'name' => __("面板主色调C", 'akina'), + 'name' => __("面板主色调C", 'sakura'), 'id' => 'dash_scheme_color_c', 'std' => "#695644", 'desc' => __('(array) (optional) An array of CSS color definitions which are used to give the user a feel for the theme.', ''), @@ -785,7 +785,7 @@ function optionsframework_options() { ); $options[] = array( - 'name' => __("面板主色调D", 'akina'), + 'name' => __("面板主色调D", 'sakura'), 'id' => 'dash_scheme_color_d', 'std' => "#a19780", 'desc' => __('(array) (optional) An array of CSS color definitions which are used to give the user a feel for the theme.', ''), @@ -793,7 +793,7 @@ function optionsframework_options() { ); $options[] = array( - 'name' => __("面板图标配色——base", 'akina'), + 'name' => __("面板图标配色——base", 'sakura'), 'id' => 'dash_scheme_color_base', 'std' => "#e5f8ff", 'desc' => __('(array) (optional) An array of CSS color definitions used to color any SVG icons.', ''), @@ -801,7 +801,7 @@ function optionsframework_options() { ); $options[] = array( - 'name' => __("面板图标配色——focus", 'akina'), + 'name' => __("面板图标配色——focus", 'sakura'), 'id' => 'dash_scheme_color_focus', 'std' => "#fff", 'desc' => __('(array) (optional) An array of CSS color definitions used to color any SVG icons.', ''), @@ -809,7 +809,7 @@ function optionsframework_options() { ); $options[] = array( - 'name' => __("面板图标配色——current", 'akina'), + 'name' => __("面板图标配色——current", 'sakura'), 'id' => 'dash_scheme_color_current', 'std' => "#fff", 'desc' => __('(array) (optional) An array of CSS color definitions used to color any SVG icons.', ''), @@ -817,101 +817,101 @@ function optionsframework_options() { ); $options[] = array( - 'name' => __('其他自定义面板样式(CSS)', 'options_framework_theme'), - 'desc' => __('如果还需要对面板其他样式进行调整可以把style放到这里', 'options_framework_theme'), + 'name' => __('其他自定义面板样式(CSS)', 'sakura'), + 'desc' => __('如果还需要对面板其他样式进行调整可以把style放到这里', 'sakura'), 'id' => 'dash_scheme_css_rules', 'std' => '#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#f3f2f1}body{background-image:url(https://view.moezx.cc/images/2019/04/21/windows10-2019-4-21-i3.jpg);background-size:cover;background-repeat:no-repeat;background-attachment:fixed;}#wpcontent{background:rgba(255,255,255,.8)}', 'type' => 'textarea'); $options[] = array( - 'name' => __('后台登陆界面背景图', 'options_framework_theme'), - 'desc' => __('该地址为空则使用默认图片', 'options_framework_theme'), + 'name' => __('后台登陆界面背景图', 'sakura'), + 'desc' => __('该地址为空则使用默认图片', 'sakura'), 'id' => 'login_bg', 'type' => 'upload'); $options[] = array( - 'name' => __('后台登陆界面logo', 'options_framework_theme'), - 'desc' => __('用于登录界面显示', 'options_framework_theme'), + 'name' => __('后台登陆界面logo', 'sakura'), + 'desc' => __('用于登录界面显示', 'sakura'), 'id' => 'logo_img', 'std' => $imagepath.'mashiro-logo-s.png', 'type' => 'upload'); $options[] = array( - 'name' => __('登陆/注册相关设定', 'options_framework_theme'), - 'desc' => __('', 'options_framework_theme'), + 'name' => __('登陆/注册相关设定', 'sakura'), + 'desc' => __('', 'sakura'), 'id' => 'login_tip', 'std' => '', 'type' => 'typography '); $options[] = array( - 'name' => __('指定登录地址', 'options_framework_theme'), - 'desc' => __('强制不使用后台地址登陆,填写新建的登陆页面地址,比如 http://www.xxx.com/login【注意】填写前先测试下你新建的页面是可以正常打开的,以免造成无法进入后台等情况', 'options_framework_theme'), + 'name' => __('指定登录地址', 'sakura'), + 'desc' => __('强制不使用后台地址登陆,填写新建的登陆页面地址,比如 http://www.xxx.com/login【注意】填写前先测试下你新建的页面是可以正常打开的,以免造成无法进入后台等情况', 'sakura'), 'id' => 'exlogin_url', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('指定注册地址', 'options_framework_theme'), - 'desc' => __('该链接使用在登录页面作为注册入口,建议填写', 'options_framework_theme'), + 'name' => __('指定注册地址', 'sakura'), + 'desc' => __('该链接使用在登录页面作为注册入口,建议填写', 'sakura'), 'id' => 'exregister_url', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('允许用户注册', 'options_framework_theme'), - 'desc' => __('勾选开启,允许用户在前台注册', 'options_framework_theme'), + 'name' => __('允许用户注册', 'sakura'), + 'desc' => __('勾选开启,允许用户在前台注册', 'sakura'), 'id' => 'ex_register_open', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('登录后自动跳转', 'options_framework_theme'), - 'desc' => __('勾选开启,管理员跳转至后台,用户跳转至主页', 'options_framework_theme'), + 'name' => __('登录后自动跳转', 'sakura'), + 'desc' => __('勾选开启,管理员跳转至后台,用户跳转至主页', 'sakura'), 'id' => 'login_urlskip', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('注册验证(仅前端,后端强制开启)', 'options_framework_theme'), - 'desc' => __('勾选开启滑动验证', 'options_framework_theme'), + 'name' => __('注册验证(仅前端,后端强制开启)', 'sakura'), + 'desc' => __('勾选开启滑动验证', 'sakura'), 'id' => 'login_validate', 'std' => '0', 'type' => 'checkbox'); //CDN 优化 $options[] = array( - 'name' => __('CDN', 'options_framework_theme'), + 'name' => __('CDN', 'sakura'), 'type' => 'heading' ); $options[] = array( - 'name' => __('图片库 CDN', 'options_framework_theme'), - 'desc' => __('注意:填写格式为 http(s)://你的CDN域名/。
也就是说,原路径为 http://your.domain/wp-content/uploads/2018/05/xx.png 的图片将从 http://你的CDN域名/2018/05/xx.png 加载', 'options_framework_theme'), + 'name' => __('图片库 CDN', 'sakura'), + 'desc' => __('注意:填写格式为 http(s)://你的CDN域名/。
也就是说,原路径为 http://your.domain/wp-content/uploads/2018/05/xx.png 的图片将从 http://你的CDN域名/2018/05/xx.png 加载', 'sakura'), 'id' => 'qiniu_cdn', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('本地调用前端库(lib.js、lib.css)', 'options_framework_theme'), - 'desc' => __('前端库不走 jsDelivr,不建议启用', 'options_framework_theme'), + 'name' => __('本地调用前端库(lib.js、lib.css)', 'sakura'), + 'desc' => __('前端库不走 jsDelivr,不建议启用', 'sakura'), 'id' => 'jsdelivr_cdn_test', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('本地调用主题 js、css 文件(sakura-app.js、style.css)', 'options_framework_theme'), - 'desc' => __('主题的 js、css 文件不走 jsDelivr,DIY 时请开启', 'options_framework_theme'), + 'name' => __('本地调用主题 js、css 文件(sakura-app.js、style.css)', 'sakura'), + 'desc' => __('主题的 js、css 文件不走 jsDelivr,DIY 时请开启', 'sakura'), 'id' => 'app_no_jsdelivr_cdn', 'std' => '0', 'type' => 'checkbox'); //其他 $options[] = array( - 'name' => __('其他', 'options_framework_theme'), + 'name' => __('其他', 'sakura'), 'type' => 'heading' ); $options[] = array( - 'name' => __('关于', 'options_framework_theme'), - 'desc' => __('Theme Sakura v'.SAKURA_VERSION.' | 主题说明 | 源码GitHub release', 'options_framework_theme'), + 'name' => __('关于', 'sakura'), + 'desc' => __('Theme Sakura v'.SAKURA_VERSION.' | 主题说明 | 源码GitHub release', 'sakura'), 'id' => 'theme_intro', 'std' => '', 'type' => 'typography '); @@ -929,63 +929,63 @@ function optionsframework_options() { ); $options[] = array( - 'name' => __('页脚悬浮播放器', 'options_framework_theme'), - 'desc' => __('如果不需要播放器留空即可。填写网易云音乐的「歌单」ID,eg:https://music.163.com/#/playlist?id=2288037900的ID是2288037900', 'options_framework_theme'), + 'name' => __('页脚悬浮播放器', 'sakura'), + 'desc' => __('如果不需要播放器留空即可。填写网易云音乐的「歌单」ID,eg:https://music.163.com/#/playlist?id=2288037900的ID是2288037900', 'sakura'), 'id' => 'playlist_id', 'std' => '2288037900', 'type' => 'text'); $options[] = array( - 'name' => __('版本控制', 'options_framework_theme'), - 'desc' => __('用于更新前端 cookie 及浏览器缓存,可使用任意字符串', 'options_framework_theme'), + 'name' => __('版本控制', 'sakura'), + 'desc' => __('用于更新前端 cookie 及浏览器缓存,可使用任意字符串', 'sakura'), 'id' => 'cookie_version', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('开启PJAX局部刷新(建议开启)', 'options_framework_theme'), - 'desc' => __('原理与Ajax相同', 'options_framework_theme'), + 'name' => __('开启PJAX局部刷新(建议开启)', 'sakura'), + 'desc' => __('原理与Ajax相同', 'sakura'), 'id' => 'poi_pjax', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('开启NProgress加载进度条', 'options_framework_theme'), - 'desc' => __('默认不开启,勾选开启', 'options_framework_theme'), + 'name' => __('开启NProgress加载进度条', 'sakura'), + 'desc' => __('默认不开启,勾选开启', 'sakura'), 'id' => 'nprogress_on', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('开启公告', 'options_framework_theme'), - 'desc' => __('默认不显示,勾选开启', 'options_framework_theme'), + 'name' => __('开启公告', 'sakura'), + 'desc' => __('默认不显示,勾选开启', 'sakura'), 'id' => 'head_notice', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('公告内容', 'options_framework_theme'), - 'desc' => __('公告内容,文字超出142个字节将会被滚动显示(移动端无效),一个汉字 = 3字节,一个字母 = 1字节,自己计算吧', 'options_framework_theme'), + 'name' => __('公告内容', 'sakura'), + 'desc' => __('公告内容,文字超出142个字节将会被滚动显示(移动端无效),一个汉字 = 3字节,一个字母 = 1字节,自己计算吧', 'sakura'), 'id' => 'notice_title', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('首页不显示的分类文章', 'options_framework_theme'), - 'desc' => __('填写分类ID,多个用英文“ , ”分开', 'options_framework_theme'), + 'name' => __('首页不显示的分类文章', 'sakura'), + 'desc' => __('填写分类ID,多个用英文“ , ”分开', 'sakura'), 'id' => 'classify_display', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('图片展示分类', 'options_framework_theme'), - 'desc' => __('填写分类ID,多个用英文“ , ”分开', 'options_framework_theme'), + 'name' => __('图片展示分类', 'sakura'), + 'desc' => __('填写分类ID,多个用英文“ , ”分开', 'sakura'), 'id' => 'image_category', 'std' => '', 'type' => 'text'); $options[] = array( - 'name' => __('统计接口', 'akina'), + 'name' => __('统计接口', 'sakura'), 'id' => 'statistics_api', 'std' => "theme_build_in", 'type' => "radio", @@ -995,7 +995,7 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('统计数据显示格式', 'akina'), + 'name' => __('统计数据显示格式', 'sakura'), 'id' => 'statistics_format', 'std' => "type_1", 'type' => "radio", @@ -1007,85 +1007,85 @@ function optionsframework_options() { )); $options[] = array( - 'name' => __('启用实时搜索', 'options_framework_theme'), + 'name' => __('启用实时搜索', 'sakura'), 'desc' => __('前台实现实时搜索,调用 Rest API 每小时更新一次缓存,可在 functions.php 里手动设置缓存时间'), 'id' => 'live_search', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('实时搜索包含评论', 'options_framework_theme'), + 'name' => __('实时搜索包含评论', 'sakura'), 'desc' => __('在实时搜索中搜索评论(如果网站评论数量太多不建议开启)'), 'id' => 'live_search_comment', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('启用 baguetteBox', 'options_framework_theme'), - 'desc' => __('默认禁用,请阅读说明', 'options_framework_theme'), + 'name' => __('启用 baguetteBox', 'sakura'), + 'desc' => __('默认禁用,请阅读说明', 'sakura'), 'id' => 'image_viewer', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('文章内图片启用 lazyload', 'options_framework_theme'), - 'desc' => __('默认启用', 'options_framework_theme'), + 'name' => __('文章内图片启用 lazyload', 'sakura'), + 'desc' => __('默认启用', 'sakura'), 'id' => 'lazyload', 'std' => '1', 'type' => 'checkbox'); $options[] = array( - 'name' => __('lazyload spinner', 'options_framework_theme'), - 'desc' => __('图片加载时要显示的占位图,填写图片 url', 'options_framework_theme'), + 'name' => __('lazyload spinner', 'sakura'), + 'desc' => __('图片加载时要显示的占位图,填写图片 url', 'sakura'), 'id' => 'lazyload_spinner', 'std' => 'https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.2/img/svg/loader/trans.ajax-spinner-preloader.svg', 'type' => 'text'); $options[] = array( - 'name' => __('是否开启剪贴板版权标识', 'options_framework_theme'), - 'desc' => __('复制超过30个字节时自动向剪贴板添加版权标识,默认开启', 'options_framework_theme'), + 'name' => __('是否开启剪贴板版权标识', 'sakura'), + 'desc' => __('复制超过30个字节时自动向剪贴板添加版权标识,默认开启', 'sakura'), 'id' => 'clipboard_copyright', 'std' => '1', 'type' => 'checkbox'); $options[] = array( - 'name' => __('发件地址前缀', 'options_framework_theme'), - 'desc' => __('用于发送系统邮件,在用户的邮箱中显示的发件人地址,不要使用中文,默认系统邮件地址为 bibi@你的域名', 'options_framework_theme'), + 'name' => __('发件地址前缀', 'sakura'), + 'desc' => __('用于发送系统邮件,在用户的邮箱中显示的发件人地址,不要使用中文,默认系统邮件地址为 bibi@你的域名', 'sakura'), 'id' => 'mail_user_name', 'std' => 'bibi', 'type' => 'text'); $options[] = array( - 'name' => __('允许私密评论', 'options_framework_theme'), - 'desc' => __('允许用户设置自己的评论对其他人不可见', 'options_framework_theme'), + 'name' => __('允许私密评论', 'sakura'), + 'desc' => __('允许用户设置自己的评论对其他人不可见', 'sakura'), 'id' => 'open_private_message', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('机器人验证', 'options_framework_theme'), - 'desc' => __('开启机器人验证', 'options_framework_theme'), + 'name' => __('机器人验证', 'sakura'), + 'desc' => __('开启机器人验证', 'sakura'), 'id' => 'norobot', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('评论UA信息', 'options_framework_theme'), - 'desc' => __('勾选开启,用户的浏览器,操作系统信息', 'options_framework_theme'), + 'name' => __('评论UA信息', 'sakura'), + 'desc' => __('勾选开启,用户的浏览器,操作系统信息', 'sakura'), 'id' => 'open_useragent', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('开启多说插件支持', 'options_framework_theme'), - 'desc' => __('多说已经凉了', 'options_framework_theme'), + 'name' => __('开启多说插件支持', 'sakura'), + 'desc' => __('多说已经凉了', 'sakura'), 'id' => 'general_disqus_plugin_support', 'std' => '0', 'type' => 'checkbox'); $options[] = array( - 'name' => __('时区调整', 'options_framework_theme'), - 'desc' => __('如果评论出现时差问题在这里调整,填入一个整数,计算方法:实际时间=显示错误的时间-你输入的整数(单位:小时)', 'options_framework_theme'), + 'name' => __('时区调整', 'sakura'), + 'desc' => __('如果评论出现时差问题在这里调整,填入一个整数,计算方法:实际时间=显示错误的时间-你输入的整数(单位:小时)', 'sakura'), 'id' => 'time_zone_fix', 'std' => '0', 'type' => 'text'); diff --git a/style.css b/style.css index 22019c8..0c08d95 100644 --- a/style.css +++ b/style.css @@ -8,7 +8,7 @@ Description: Akina主题分支(原版地址 http://www.akina.pw/themeakina) Version: 3.2.7 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Text Domain: Sakura +Text Domain: sakura Tags: 樱花庄的白猫 */