Fix i18n.sprintf() parameters being off by one

Should be a post increment, not pre.

This fixes clicking on specific version history items.
This fixes right click on a page and adding a child.
This commit is contained in:
Mike Cochrane 2016-03-03 12:36:33 +13:00
parent 827d989836
commit 8eede847cd

View File

@ -146,7 +146,7 @@ class i18n {
return match;
}
return subMatch1 + params[i += 1];
return subMatch1 + params[i++];
});
}