| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 8077|Reply: 10
Collapse the left

注册时的同意按钮语言包错误

[Copy link]
Post time: 2018-07-01 12:33
| Show all posts |Read mode

{lang agree_with} 正确的 应该是
{lang agree}

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 United States

Post time: 2018-07-05 10:17
| Show all posts
Edited by evanhenry at 2018-7-5 10:21
vot 2018-7-4 22:00
Fixed in rev.#822

I have a better fix for this vot!

Edit,
/source/template/default/member/register.htm

Line 234
Changing {lang agree_with} to {lang agree} is the correct fix for this problem rather than introducing a new line in the lang_template.php

The official version has {lang agree} instead of {lang agree_with}

 Russia

Post time: 2018-07-02 19:50
| Show all posts
我无法在代码中的任何位置找到“agree_with”关键字
这个代码放在哪里?
 Author| Post time: 2018-07-04 16:38
| Show all posts
vot 2018-7-2 19:50
我无法在代码中的任何位置找到“agree_with”关键字
这个代码放在哪里?

额,好吧。我这模板太老了吧。
尴尬...
 Author| Post time: 2018-07-04 16:39
| Show all posts
我也查找了下,你的代码没有任何问题

 Russia

Post time: 2018-07-04 19:52
| Show all posts
我找到了关键字。
现在想着如何解决问题。

 Russia

Post time: 2018-07-04 21:34
| Show all posts
Edit the file:
/source/language/XX/member/lang_template.php

Find the ending line:
  1. );
Copy the Code

Add before:
  1. // Added by Valery Votintsev, discuz.ml
  2.     'agree_with'            => 'I agree with the ',//'同意',
Copy the Code



 Russia

Post time: 2018-07-04 22:00
| Show all posts
Fixed in rev.#822
 Author| Post time: 2018-07-05 05:34
| Show all posts
本帖最后由 AlanJia2017 于 2018-7-5 05:53 编辑
vot 2018-7-4 22:00
Fixed in rev.#822

官方的新模板也是用的agree。你加了一个agree_with,对老旧模板做了兼容

 Russia

Post time: 2018-07-05 20:08
| Show all posts
There are TWO places in the registering page where this keyword is used:
1) Choose "Agree" or "Disagree" when looking the Terms of service.
2) Checkbox in the sentention "{I agree with the } Terms of service".

If you use only the standard key {lang agree}, then you will get the next:
"Agree Terms of services" in the second case.
I think "I agree with the Terms of services" looks better
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-12-04 22:15 GMT+3 , Processed in 0.093075 sec., 9 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list