'desc'=>__('Adjust the theme scheme menu transparency, the smaller the value, the more transparent. The default value is 0.8','sakura'),/*调整切换主题菜单透明度,值越小越透明。默认透明度0.8*/
'id'=>'sakura_skin_alpha',
'std'=>'0.8',
'type'=>'select',
'options'=>array(
'0'=>__('Transparent','sakura'),/*全透明*/
'0.1'=>__('Transparency 0.1','sakura'),/*透明度0.1*/
'0.2'=>__('Transparency 0.2','sakura'),/*透明度0.2*/
'0.3'=>__('Transparency 0.3','sakura'),/*透明度0.3*/
'0.4'=>__('Transparency 0.4','sakura'),/*透明度0.4*/
'0.5'=>__('Transparency 0.5','sakura'),/*透明度0.5*/
'0.6'=>__('Transparency 0.6','sakura'),/*透明度0.6*/
'0.7'=>__('Transparency 0.7','sakura'),/*透明度0.7*/
'0.8'=>__('Transparency 0.8','sakura'),/*透明度0.8*/
'0.9'=>__('Transparency 0.9','sakura'),/*透明度0.9*/
'1'=>__('Opaque','sakura'),/*不透明*/
));
$options[]=array(
'name'=>__('Change web background','sakura'),/*切换网页背景*/
'desc'=>__('The foreground switches the background of the webpage. There are 8 urls separated by commas. The order corresponds to the foreground scheme tool button position (the order of the buttons is from left to right, top to bottom). If no background is needed, fill in the corresponding position as none.<strong>Note: If the theme is updated from v3.2.3 and below, be sure to change the [Version Control] parameter under the [Other] tab of this configuration page to any new value!</strong>','sakura'),/*前台切换网页背景,共8个url,使用英文逗号分隔,顺序对应前台切换主题按钮位置(按钮顺序从左至右,从上至下),如不需要背景则填写对应位置为none。<strong>注意:如果主题是从v3.2.3及以下更新过来的,请务必将本配置页的【其他】标签下的【版本控制】参数修改为任意新值!</strong>*/
'desc'=>__('The best size is 130px*130px.','sakura'),/*最佳尺寸130px*130px。*/
'id'=>'focus_logo',
'type'=>'upload');
$options[]=array(
'name'=>__('Text LOGO','sakura'),/*文字版LOGO*/
'desc'=>__('The home page does not display the avatar above, but displays a paragraph of text (use the avatar above if left blank).The text is recommended not to be too long, about 16 bytes is appropriate.','sakura'),/*首页不显示上方的头像,而是显示一段文字(此处留空则使用上方的头像)。文字建议不要过长,16个字节左右为宜。*/
'id'=>'focus_logo_text',
'std'=>'',
'type'=>'text');
$options[]=array(
'name'=>__('logo','sakura'),
'desc'=>__('The best height size is 40px。','sakura'),/*最佳高度尺寸40px。*/
'id'=>'akina_logo',
'type'=>'upload');
$options[]=array(
'name'=>__('Favicon','sakura'),
'desc'=>__('It is the small logo on the browser tab, fill in the url','sakura'),/*就是浏览器标签栏上那个小 logo,填写url*/
'name'=>__('Home article feature images (only valid for standard mode)','sakura'),/*首页文章特色图(仅对标准风格生效)*/
'id'=>'list_type',
'std'=>"round",
'type'=>"radio",
'options'=>array(
'round'=>__('Round','sakura'),/*圆形*/
'square'=>__('Square','sakura'),/*方形*/
));
$options[]=array(
'name'=>__('Home article feature images alignment (only for graphic mode, default left and right alternate)','sakura'),/*首页文章特色图对齐方式(仅对图文风格生效,默认左右交替)*/
'id'=>'feature_align',
'std'=>"alternate",
'type'=>"radio",
'options'=>array(
'left'=>__('Left','sakura'),/*向左对齐*/
'right'=>__('Right','sakura'),/*向右对齐*/
'alternate'=>__('Alternate','sakura'),/*左右交替*/
));
$options[]=array(
'name'=>__('Comment shrink','sakura'),/*评论收缩*/
'id'=>'toggle-menu',
'std'=>"yes",
'type'=>"radio",
'options'=>array(
'yes'=>__('Open','sakura'),/*开启*/
'no'=>__('Close','sakura'),/*关闭*/
));
$options[]=array(
'name'=>__('Display author information at the end of the article?','sakura'),/*文章末尾显示作者信息?*/
'desc'=>__('Check to enable','sakura'),/*勾选启用*/
'id'=>'show_authorprofile',
'std'=>'1',
'type'=>'checkbox');
$options[]=array(
'name'=>__('Paging mode','sakura'),/*分页模式*/
'id'=>'pagenav_style',
'std'=>"ajax",
'type'=>"radio",
'options'=>array(
'ajax'=>__('Ajax load','sakura'),/*ajax加载*/
'np'=>__('Previous and next page','sakura'),/*上一页和下一页*/
));
$options[]=array(
'name'=>__('Automatically load the next page','sakura'),/*自动加载下一页*/
'desc'=>__('(seconds) Set to automatically load the next page time, the default is not automatically loaded','sakura'),/*(秒)设置自动加载下一页时间,默认不自动加载*/
'id'=>'auto_load_post',
'std'=>'233',
'type'=>'select',
'options'=>array(
'0'=>__('0','sakura'),
'1'=>__('1','sakura'),
'2'=>__('2','sakura'),
'3'=>__('3','sakura'),
'4'=>__('4','sakura'),
'5'=>__('5','sakura'),
'6'=>__('6','sakura'),
'7'=>__('7','sakura'),
'8'=>__('8','sakura'),
'9'=>__('9','sakura'),
'10'=>__('10','sakura'),
'233'=>__('Do not load automatically','sakura'),/*不自动加载*/
'desc'=>__('Enable by default, check off, display avatar, signature, SNS','sakura'),/*默认开启,勾选关闭,显示头像、签名、SNS*/
'id'=>'focus_infos',
'std'=>'0',
'type'=>'checkbox');
$options[]=array(
'name'=>__('Social information style','sakura'),/*社交信息样式*/
'id'=>'social_style',
'std'=>"v2",
'type'=>"radio",
'options'=>array(
'v2'=>__('Merge with signature','sakura'),/*与签名合并*/
'v1'=>__('Independent line','sakura'),/*独立成行*/
));
$options[]=array(
'name'=>__('Cover manifest','sakura'),/*封面图片库*/
'desc'=>sprintf(__('Fill in the manifest path for random picture display, without adding a slash at the end, for example: https://cdn.jsdelivr.net/gh/mashirozx/sakura@3.3.3, please refer to <a href = "https: //github.com/mashirozx/Sakura/wiki/options">Wiki </a>. Click <a href = "%s">here</a> to update manifest','sakura'),rest_url('sakura/v1/database/update')),/*填写 manifest 路径 ,用于随机图片展示,最后不用加斜杠,例:https://cdn.jsdelivr.net/gh/mashirozx/sakura@3.3.3 ,更多信息请参考<a href="https://github.com/mashirozx/Sakura/wiki/options">Wiki</a>*/
'desc'=>__('Default on, check off','sakura'),/*默认开启,勾选关闭*/
'id'=>'focus_height',
'std'=>'0',
'type'=>'checkbox');
$options[]=array(
'name'=>__('Enable video','sakura'),/*开启视频*/
'desc'=>__('Check on','sakura'),/*勾选开启*/
'id'=>'focus_amv',
'std'=>'0',
'type'=>'checkbox');
$options[]=array(
'name'=>__('Live','sakura'),
'desc'=>__('Check to enable, the video will continue to play automatically, you need to enable Pjax','sakura'),/*勾选开启,视频自动续播,需要开启Pjax功能*/
'id'=>'focus_mvlive',
'std'=>'0',
'type'=>'checkbox');
$options[]=array(
'name'=>__('Video address','sakura'),/*视频地址*/
'desc'=>__('The source address of the video, the address is spliced below the video name, the slash is not required at the end of the address','sakura'),/*视频的来源地址,该地址拼接下面的视频名,地址尾部不需要加斜杠*/
'id'=>'amv_url',
'std'=>'',
'type'=>'text');
$options[]=array(
'name'=>__('Video name','sakura'),/*视频名称*/
'desc'=>__('abc.mp4, just fill in the video file name abc, multiple videos separated by commas such as abc, efg, do not care about the order, because the loading is random extraction','sakura'),/*abc.mp4 ,只需要填写视频文件名 abc 即可,多个用英文逗号隔开如 abc,efg ,无需在意顺序,因为加载是随机的抽取的 */
'name'=>__('Whether to turn on the top-feature','sakura'),/*是否开启聚焦*/
'desc'=>__('Default on','sakura'),
'id'=>'top_feature',
'std'=>'1',
'type'=>'checkbox');
$options[]=array(
'name'=>__('Top-feature style','sakura'),/*聚焦样式*/
'id'=>'top_feature_style',
'std'=>"left_and_right",
'type'=>"radio",
'options'=>array(
'left_and_right'=>__('Alternate left and right','sakura'),/*左右交替*/
'bottom_to_top'=>__('From bottom to top','sakura'),/*从下往上*/
));
$options[]=array(
'name'=>__('Top-feature title','sakura'),/*聚焦标题*/
'desc'=>__('Default is Discovery, you can also change it to other, of course you can\'t use it as an advertisement!Not allowed!!','sakura'),/*默认为聚焦,你也可以修改为其他,当然不能当广告用!不允许!!*/
'desc'=>__('tencent://message/?uin={{QQ number}}. for example, tencent://message/?uin=123456','sakura'),/*tencent://message/?uin={{QQ号码}},如tencent://message/?uin=123456*/
'desc'=>__('CSND community address','sakura'),/*CSND社区地址*/
'id'=>'csdn',
'std'=>'',
'type'=>'text');
$options[]=array(
'name'=>__('Zhihu','sakura'),/*知乎*/
'desc'=>__('Zhihu address','sakura'),/*知乎地址*/
'id'=>'zhihu',
'std'=>'',
'type'=>'text');
$options[]=array(
'name'=>__('Email-name','sakura'),/*邮箱-用户名*/
'desc'=>__('The name part of name@domain.com, only the frontend has js runtime environment can get the full address, you can rest assured to fill in','sakura'),/*name@domain.com 的 name 部分,前端仅具有js运行环境时才能获取完整地址,可放心填写*/
'id'=>'email_name',
'std'=>'',
'type'=>'text');
$options[]=array(
'name'=>__('Email-domain','sakura'),/*邮箱-域名*/
'desc'=>__('The domain.com part of name@domain.com','sakura'),/*ame@domain.com 的 domain.com 部分*/
'name'=>__('Dashboard panel custom color scheme','sakura'),/*后台面板自定义配色方案*/
'desc'=>__('You can design the dashboard panel (/wp-admin/) style yourself below, but before you start, please go to <a href="/wp-admin/profile.php">here</a> to change the color scheme to custom.(Custom).<br><b>Tip: </b>How to match colors? Maybe <a href="https://mashiro.top/color-thief/">this</a> can help you.','sakura'),/*你可以在下面自行设计后台面板(/wp-admin/)样式,不过在开始之前请到<a href="/wp-admin/profile.php">这里</a>将配色方案改为自定义(Custom)。<br><b>Tip: </b>如何搭配颜色?或许<a href="https://mashiro.top/color-thief/">这个</a>可以帮到你。*/
'id'=>'scheme_tip',
'std'=>'',
'type'=>'typography ');
$options[]=array(
'name'=>__('Panel main color A','sakura'),/*面板主色调A*/
'desc'=>__('Forcibly do not use the background address to log in, fill in the new landing page address, such as http://www.xxx.com/login [Note] Before you fill out, test your new page can be opened normally, so as not to enter the background or other problems happening','sakura'),/*强制不使用后台地址登陆,填写新建的登陆页面地址,比如 http://www.xxx.com/login【注意】填写前先测试下你新建的页面是可以正常打开的,以免造成无法进入后台等情况*/
'desc'=>__('Note: Fill in the format http(s)://your CDN domain name/. <br>In other words, the original path is http://your.domain/wp-content/uploads/2018/05/xx.png and the picture will load from http://your CDN domain/2018/05/xx.png','sakura'),/*注意:填写格式为 http(s)://你的CDN域名/。<br>也就是说,原路径为 http://your.domain/wp-content/uploads/2018/05/xx.png 的图片将从 http://你的CDN域名/2018/05/xx.png 加载*/
'id'=>'qiniu_cdn',
'std'=>'',
'type'=>'text');
$options[]=array(
'name'=>__('Use the front-end library locally (lib.js、lib.css)','sakura'),/*本地调用前端库(lib.js、lib.css)*/
'desc'=>__('The front-end library don\'t load from jsDelivr, not recommand','sakura'),/*前端库不走 jsDelivr,不建议启用*/
'id'=>'jsdelivr_cdn_test',
'std'=>'0',
'type'=>'checkbox');
$options[]=array(
'name'=>__('Use js and css file of the theme (sakura-app.js、style.css) locally','sakura'),/*本地调用主题 js、css 文件(sakura-app.js、style.css)*/
'desc'=>__('The js and css files of the theme do not load from jsDelivr, please open when DIY','sakura'),/*主题的 js、css 文件不走 jsDelivr,DIY 时请开启*/
'name'=>__('Footer float music player','sakura'),/*页脚悬浮播放器*/
'desc'=>__('If you don\'t need the player just leave it blank.Fill in the "song list" ID of Netease Cloud Music, eg: https://music.163.com/#/playlist?id=2288037900 The ID is 2288037900','sakura'),/*如果不需要播放器留空即可。填写网易云音乐的「歌单」ID,eg:https://music.163.com/#/playlist?id=2288037900的ID是2288037900*/
'id'=>'playlist_id',
'std'=>'2288037900',
'type'=>'text');
$options[]=array(
'name'=>__('Version Control','sakura'),/*版本控制*/
'desc'=>__('Used to update frontend cookies and browser caches, any string can be used','sakura'),/*用于更新前端 cookie 及浏览器缓存,可使用任意字符串*/
'desc'=>__('Announcement content, the text exceeds 142 bytes will be scrolled display (mobile device is invalid)','sakura'),/*公告内容,文字超出142个字节将会被滚动显示(移动端无效),一个汉字 = 3字节,一个字母 = 1字节,自己计算吧*/
'id'=>'notice_title',
'std'=>'',
'type'=>'text');
$options[]=array(
'name'=>__('The categories of articles that don\'t not show on homepage','sakura'),/*首页不显示的分类文章*/
'desc'=>__('Fill in category ID, multiple IDs are divided by a comma ","','sakura'),/*填写分类ID,多个用英文“ , ”分开*/
'id'=>'classify_display',
'std'=>'',
'type'=>'text');
$options[]=array(
'name'=>__('Images category','sakura'),/*图片展示分类*/
'desc'=>__('Fill in category ID, multiple IDs are divided by a comma ","','sakura'),/*填写分类ID,多个用英文“ , ”分开*/
'desc'=>__('Register your application <a href="https://api.imgur.com/oauth2/addclient">here</a>, note we only need the Client ID here.','sakura'),
'id'=>'imgur_client_id',
'std'=>'',
'type'=>'text');
$options[]=array(
'name'=>__('SM.MS Secret Token','sakura'),
'desc'=>__('Register your application <a href="https://sm.ms/home/apitoken">here</a>.','sakura'),
'id'=>'smms_client_id',
'std'=>'',
'type'=>'text');
$options[]=array(
'name'=>__('Chevereto API v1 key','sakura'),
'desc'=>__('Get your API key here: '.akina_option('cheverto_url').'/dashboard/settings/api','sakura'),
'id'=>'chevereto_api_key',
'std'=>'',
'type'=>'text');
$options[]=array(
'name'=>__('Chevereto URL','sakura'),
'desc'=>__('Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto.com','sakura'),
'id'=>'cheverto_url',
'std'=>'https://your.cherverto.com',
'type'=>'text');
$options[]=array(
'name'=>__('Comment images proxy','sakura'),
'desc'=>__('A front-ed proxy for the uploaded images. Leave it blank if you do not need.','sakura'),
'id'=>'cmt_image_proxy',
'std'=>'https://images.weserv.nl/?url=',
'type'=>'text');
$options[]=array(
'name'=>__('Imgur upload proxy','sakura'),
'desc'=>__('A back-ed proxy to upload images. You may set a self hosted proxy with Nginx, following my <a href="https://2heng.xin/2018/06/06/javascript-upload-images-with-imgur-api/">turtal</a>. This feature is mainly for Chinese who cannot access to Imgur due to the GFW. The default and official setting is 【<a href="https://api.imgur.com/3/image/">https://api.imgur.com/3/image/</a>】','sakura'),
'id'=>'imgur_upload_image_proxy',
'std'=>'https://api.imgur.com/3/image/',
'type'=>'text');
$options[]=array(
'name'=>__('Enable live search','sakura'),/*启用实时搜索*/
'desc'=>__('Real-time search in the foreground, call the Rest API to update the cache every hour, you can manually set the cache time in functions.php','sakura'),/*前台实现实时搜索,调用 Rest API 每小时更新一次缓存,可在 functions.php 里手动设置缓存时间*/
'id'=>'live_search',
'std'=>'0',
'type'=>'checkbox');
$options[]=array(
'name'=>__('Include comments in live search','sakura'),/*实时搜索包含评论*/
'desc'=>__('Search for comments in real-time search (not recommended if there are too many comments on the site)','sakura'),/*在实时搜索中搜索评论(如果网站评论数量太多不建议开启)*/
'name'=>__('Whether to enable the clipboard copyright','sakura'),/*是否开启剪贴板版权标识*/
'desc'=>__('Automatically add a copyright to the clipboard when copying more than 30 bytes, which is enabled by default.','sakura'),/*复制超过30个字节时自动向剪贴板添加版权标识,默认开启*/
'desc'=>__('For sending system mail, the sender address displayed in the user\'s mailbox, do not use Chinese, the default system email address is bibi@your_domain_name','sakura'),/*用于发送系统邮件,在用户的邮箱中显示的发件人地址,不要使用中文,默认系统邮件地址为 bibi@你的域名*/
'desc'=>__('WordPress will use email to notify users when their comments receive a reply by default. Tick this item allows users to set their own comments reply notification','sakura'),/*WordPress默认会使用邮件通知用户评论收到回复,开启此项允许用户设置自己的评论收到回复时是否使用邮件通知*/
'type_2'=>__('fetch data at backend (high security)','sakura'),/*后端获取数据(安全性高)*/
'type_3'=>__('fetch data at backend (high security,slow)','sakura'),/*后端获取数据(安全性高, 慢)*/
));
$options[]=array(
'name'=>__('Comment UA infomation','sakura'),/*评论UA信息*/
'desc'=>__('Check to enable, display the user\'s browser, operating system information','sakura'),/*勾选开启,显示用户的浏览器,操作系统信息*/
'id'=>'open_useragent',
'std'=>'0',
'type'=>'checkbox');
$options[]=array(
'name'=>__('Enable disqus','sakura'),/*开启多说插件支持*/
'desc'=>__('Enable disqus for comment','sakura'),/*多说已经凉了*/
'id'=>'general_disqus_plugin_support',
'std'=>'0',
'type'=>'checkbox');
$options[]=array(
'name'=>__('Time Zone adjustment','sakura'),/*时区调整*/
'desc'=>__('If the comment has a time difference problem adjust here, fill in an integer, the calculation method: actual_time = display_error_time - the_integer_you_entered (unit: hour)','sakura'),/*如果评论出现时差问题在这里调整,填入一个整数,计算方法:实际时间=显示错误的时间-你输入的整数(单位:小时)*/