中英文间空格强迫症修复
This commit is contained in:
@@ -35,7 +35,7 @@ class Widget_Options_Discussion extends Widget_Abstract_Options implements Widge
|
||||
/** 评论日期格式 */
|
||||
$commentDateFormat = new Typecho_Widget_Helper_Form_Element_Text('commentDateFormat', NULL, $this->options->commentDateFormat,
|
||||
_t('评论日期格式'), _t('这是一个默认的格式,当你在模板中调用显示评论日期方法时, 如果没有指定日期格式, 将按照此格式输出.<br />
|
||||
具体写法请参考<a href="http://www.php.net/manual/zh/function.date.php">PHP日期格式写法</a>.'));
|
||||
具体写法请参考 <a href="http://www.php.net/manual/zh/function.date.php">PHP 日期格式写法</a>.'));
|
||||
$commentDateFormat->input->setAttribute('class', 'w-40 mono');
|
||||
$form->addInput($commentDateFormat);
|
||||
|
||||
@@ -46,10 +46,10 @@ class Widget_Options_Discussion extends Widget_Abstract_Options implements Widge
|
||||
$form->addInput($commentsListSize->addRule('isInteger', _t('请填入一个数字')));
|
||||
|
||||
$commentsShowOptions = array(
|
||||
'commentsShowCommentOnly' => _t('仅显示评论, 不显示Pingback和Trackback'),
|
||||
'commentsShowCommentOnly' => _t('仅显示评论, 不显示 Pingback 和 Trackback'),
|
||||
'commentsShowUrl' => _t('评论者名称显示时自动加上其个人主页链接'),
|
||||
'commentsUrlNofollow' => _t('对评论者个人主页链接使用<a href="http://en.wikipedia.org/wiki/Nofollow">nofollow属性</a>'),
|
||||
'commentsAvatar' => _t('启用<a href="http://gravatar.com">Gravatar</a>头像服务, 最高显示评级为 %s 的头像',
|
||||
'commentsUrlNofollow' => _t('对评论者个人主页链接使用 <a href="http://en.wikipedia.org/wiki/Nofollow">nofollow 属性</a>'),
|
||||
'commentsAvatar' => _t('启用 <a href="http://gravatar.com">Gravatar</a> 头像服务, 最高显示评级为 %s 的头像',
|
||||
'</label><select id="commentsShow-commentsAvatarRating" name="commentsAvatarRating">
|
||||
<option value="G"' . ('G' == $this->options->commentsAvatarRating ? ' selected="true"' : '') . '>G - 普通</option>
|
||||
<option value="PG"' . ('PG' == $this->options->commentsAvatarRating ? ' selected="true"' : '') . '>PG - 13岁以上</option>
|
||||
@@ -106,11 +106,11 @@ class Widget_Options_Discussion extends Widget_Abstract_Options implements Widge
|
||||
'commentsWhitelist' => _t('评论者之前须有评论通过了审核'),
|
||||
'commentsRequireMail' => _t('必须填写邮箱'),
|
||||
'commentsRequireURL' => _t('必须填写网址'),
|
||||
'commentsCheckReferer' => _t('检查评论来源页URL是否与文章链接一致'),
|
||||
'commentsCheckReferer' => _t('检查评论来源页 URL 是否与文章链接一致'),
|
||||
'commentsAutoClose' => _t('在文章发布 %s 天以后自动关闭评论',
|
||||
'</label><input name="commentsPostTimeout" type="text" class="text num text-s" value="' . intval($this->options->commentsPostTimeout / (24 * 3600)) . '" id="commentsPost-commentsPostTimeout" />
|
||||
<label for="commentsPost-commentsPostTimeout">'),
|
||||
'commentsPostIntervalEnable' => _t('同一IP发布评论的时间间隔限制为 %s 分钟',
|
||||
'commentsPostIntervalEnable' => _t('同一 IP 发布评论的时间间隔限制为 %s 分钟',
|
||||
'</label><input name="commentsPostInterval" type="text" class="text num text-s" value="' . round($this->options->commentsPostInterval / (60), 1) . '" id="commentsPost-commentsPostInterval" />
|
||||
<label for="commentsPost-commentsPostInterval">')
|
||||
);
|
||||
|
||||
@@ -36,7 +36,7 @@ class Widget_Options_Reading extends Widget_Abstract_Options implements Widget_I
|
||||
$postDateFormat = new Typecho_Widget_Helper_Form_Element_Text('postDateFormat', NULL, $this->options->postDateFormat,
|
||||
_t('文章日期格式'), _t('此格式用于指定显示在文章归档中的日期默认显示格式.<br />
|
||||
在某些主题中这个格式可能不会生效, 因为主题作者可以自定义日期格式.<br />
|
||||
请参考<a href="http://www.php.net/manual/zh/function.date.php">PHP日期格式写法</a>.'));
|
||||
请参考 <a href="http://www.php.net/manual/zh/function.date.php">PHP 日期格式写法</a>.'));
|
||||
$postDateFormat->input->setAttribute('class', 'w-40 mono');
|
||||
$form->addInput($postDateFormat);
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ class Widget_Users_Edit extends Widget_Abstract_Users implements Widget_Interfac
|
||||
|
||||
/** 用户昵称 */
|
||||
$screenName = new Typecho_Widget_Helper_Form_Element_Text('screenName', NULL, NULL, _t('用户昵称'), _t('用户昵称可以与用户名不同, 用于前台显示.<br />
|
||||
如果你将此项留空,将默认使用用户名.'));
|
||||
如果你将此项留空, 将默认使用用户名.'));
|
||||
$form->addInput($screenName);
|
||||
|
||||
/** 用户密码 */
|
||||
|
||||
@@ -46,7 +46,7 @@ class Widget_Users_Profile extends Widget_Users_Edit implements Widget_Interface
|
||||
|
||||
/** 用户昵称 */
|
||||
$screenName = new Typecho_Widget_Helper_Form_Element_Text('screenName', NULL, NULL, _t('昵称'), _t('用户昵称可以与用户名不同, 用于前台显示.<br />
|
||||
如果你将此项留空,将默认使用用户名.'));
|
||||
如果你将此项留空, 将默认使用用户名.'));
|
||||
$form->addInput($screenName);
|
||||
|
||||
/** 个人主页地址 */
|
||||
@@ -96,9 +96,9 @@ class Widget_Users_Profile extends Widget_Users_Edit implements Widget_Interface
|
||||
/** 自动保存 */
|
||||
$markdown = new Typecho_Widget_Helper_Form_Element_Radio('markdown',
|
||||
array('0' => _t('关闭'), '1' => _t('打开')),
|
||||
$this->options->markdown, _t('使用Markdown语法编辑和解析内容'),
|
||||
_t('使用Markdown语法能够使您的撰写过程更加简便直观.<br />
|
||||
此功能开启不会影响以前没有使用Markdown语法编辑的内容.'));
|
||||
$this->options->markdown, _t('使用 Markdown 语法编辑和解析内容'),
|
||||
_t('使用 <a href="http://daringfireball.net/projects/markdown/">Markdown</a> 语法能够使您的撰写过程更加简便直观.<br />
|
||||
此功能开启不会影响以前没有使用 Markdown 语法编辑的内容.'));
|
||||
$form->addInput($markdown);
|
||||
|
||||
/** 自动保存 */
|
||||
|
||||
Reference in New Issue
Block a user