Is the placeholder {no} right?

Is the placeholder {no} right?

Nosūtīja Zhigang Sun
Atbilžu skaits: 2
Language pack maintainers attēls

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?

Atbildot uz Zhigang Sun

Re: Is the placeholder {no} right?

Nosūtīja David Mudrák
Language pack maintainers attēls

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.