liuxiran commented on a change in pull request #1799:
URL: https://github.com/apache/apisix-dashboard/pull/1799#discussion_r616365871
##########
File path: web/src/pages/Route/locales/en-US.ts
##########
@@ -75,10 +75,9 @@ export default {
'page.route.form.itemExtraMessage.domain':
'Domain Name or IP, support for generic Domain Name, for example:
*.test.com',
'page.route.form.itemRulesPatternMessage.domain':
- 'Only letters, numbers and * are supported. * can only be at the
beginning, and only single * is supported',
+ 'Only letters, numbers and * are supported, but * needs to be at the
beginning.',
Review comment:
```suggestion
'Only letters, numbers, -,_ and * are supported, but * needs to be at
the beginning.',
```
##########
File path: web/src/pages/Route/locales/zh-CN.ts
##########
@@ -74,10 +74,9 @@ export default {
'page.route.form.itemLabel.redirectURI': '重定向路径',
'page.route.form.itemExtraMessage.domain': '路由匹配的域名列表。支持泛域名,如:*.test.com',
'page.route.form.itemRulesPatternMessage.domain':
- '仅支持字母、数字和 * ,且 * 只能是在开头,支持单个 * ',
+ '仅支持字母、数字和 *,但 * 需要在开头位置。',
Review comment:
```suggestion
'仅支持字母、数字、-、_和 *,但 * 需要在开头位置。',
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]