AlanJia2017 Publish time 2018-07-01 12:33

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


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

evanhenry Publish time 2018-07-05 10:17

Edited by evanhenry at 2018-7-5 10:21

static/image/common/user_online.gif vot static/image/common/clock.gif 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}

vot Publish time 2018-07-02 19:50

我无法在代码中的任何位置找到“agree_with”关键字
这个代码放在哪里?

AlanJia2017 Publish time 2018-07-04 16:38

static/image/common/user_online.gif vot static/image/common/clock.gif 2018-7-2 19:50
我无法在代码中的任何位置找到“agree_with”关键字
这个代码放在哪里?

额,好吧。我这模板太老了吧。
尴尬...

AlanJia2017 Publish time 2018-07-04 16:39

我也查找了下,你的代码没有任何问题

vot Publish time 2018-07-04 19:52

我找到了关键字。
现在想着如何解决问题。:)

vot Publish time 2018-07-04 21:34

Edit the file:
/source/language/XX/member/lang_template.php

Find the ending line:
);
Add before:
// Added by Valery Votintsev, discuz.ml
    'agree_with'            => 'I agree with the ',//'同意',



vot Publish time 2018-07-04 22:00

Fixed in rev.#822

AlanJia2017 Publish time 2018-07-05 05:34

本帖最后由 AlanJia2017 于 2018-7-5 05:53 编辑

static/image/common/user_online.gif vot static/image/common/clock.gif 2018-7-4 22:00
Fixed in rev.#822
官方的新模板也是用的agree。你加了一个agree_with,对老旧模板做了兼容:lol

vot Publish time 2018-07-05 20:08

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 :)
Pages: [1] 2
View full version: 注册时的同意按钮语言包错误