Skip to content

Add basic sprintf implementation to JavaScript

Winnie Hellmann requested to merge winh-sprintf into master

What does this MR do?

Add a JavaScript sprintf implementation that only supports named parameters.

Why was this MR needed?

We had no way to add parameters to translations from JavaScript.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/37992

Edited by Winnie Hellmann

Merge request reports

Loading