Is the placeholder {no} right?

Is the placeholder {no} right?

Bởi Zhigang Sun -
Số lượng các câu trả lời: 2
Hình của Language pack maintainers

In component condition, there are two strings, addcompletions and addgrades, which use placeholder - {no}. It is the first time I meet placeholder like this. I'm afraid that it should be {$a->no}. Any one can comfirm it?

Để phản hồi tới Zhigang Sun

Re: Is the placeholder {no} right?

Bởi David Mudrák -
Hình của Language pack maintainers

Thanks for raising this. The placeholder {no} is quite rare and it is used by Moodle forms library for repeating elements. It is replaced with the number when displaying - for example "Add 3 activity conditions to form" (you may know the similar string from a question editing form).

So please, just leave it {no} as it is.