Is the placeholder {no} right?

Is the placeholder {no} right?

by Zhigang Sun -
Number of replies: 2
Picture of 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?

In reply to Zhigang Sun

Re: Is the placeholder {no} right?

by David Mudrák -
Picture of 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.