From d462fc3324f7cb1a20dbc6fc3fab6bbd1d2bc824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BB=94=E5=93=A5?= Date: Fri, 12 Oct 2018 09:26:45 +0800 Subject: [PATCH] * Fix BUG#2215. --- module/entry/lang/en.php | 9 +++++---- module/entry/lang/zh-cn.php | 9 +++++---- module/entry/view/create.html.php | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/module/entry/lang/en.php b/module/entry/lang/en.php index e08a5918bd..a22d2d9ac7 100644 --- a/module/entry/lang/en.php +++ b/module/entry/lang/en.php @@ -30,10 +30,11 @@ $lang->entry->confirmDelete = 'Are you sure delete this entry?'; $lang->entry->help = 'Help'; $lang->entry->note = new stdClass(); -$lang->entry->note->name = 'Name'; -$lang->entry->note->code = 'Code, should be english and number.'; -$lang->entry->note->ip = "Use comma between two IPs. IP segment is supported, e.g. 192.168.1.*"; -$lang->entry->note->allIP = 'All'; +$lang->entry->note->name = 'Name'; +$lang->entry->note->code = 'Code, should be english and number.'; +$lang->entry->note->ip = "Use comma between two IPs. IP segment is supported, e.g. 192.168.1.*"; +$lang->entry->note->allIP = 'All'; +$lang->entry->note->account = 'Account for entry.'; $lang->entry->errmsg['PARAM_CODE_MISSING'] = 'Param code is missing.'; $lang->entry->errmsg['PARAM_TOKEN_MISSING'] = 'Param token is missing.'; diff --git a/module/entry/lang/zh-cn.php b/module/entry/lang/zh-cn.php index d3019c83d6..39f6894608 100644 --- a/module/entry/lang/zh-cn.php +++ b/module/entry/lang/zh-cn.php @@ -30,10 +30,11 @@ $lang->entry->confirmDelete = '您确认要删除该应用吗?'; $lang->entry->help = '使用说明'; $lang->entry->note = new stdClass(); -$lang->entry->note->name = '授权应用名称'; -$lang->entry->note->code = '授权应用代号,必须为字母或数字的组合'; -$lang->entry->note->ip = "允许访问API的应用ip,多个ip用逗号隔开。支持IP段,如192.168.1.*"; -$lang->entry->note->allIP = '无限制'; +$lang->entry->note->name = '授权应用名称'; +$lang->entry->note->code = '授权应用代号,必须为字母或数字的组合'; +$lang->entry->note->ip = "允许访问API的应用ip,多个ip用逗号隔开。支持IP段,如192.168.1.*"; +$lang->entry->note->allIP = '无限制'; +$lang->entry->note->account = '授权应用账号'; $lang->entry->errmsg['PARAM_CODE_MISSING'] = '缺少code参数'; $lang->entry->errmsg['PARAM_TOKEN_MISSING'] = '缺少token参数'; diff --git a/module/entry/view/create.html.php b/module/entry/view/create.html.php index 70d3e6a39e..4b3220f131 100644 --- a/module/entry/view/create.html.php +++ b/module/entry/view/create.html.php @@ -34,7 +34,7 @@ entry->account;?> - + entry->note->account}'");?>