Fix pattern to replace placeholders in I18n.translate

**Problem**

The string pattern `"_#$#_"` used in I18n.translate to replace escaped $ will replace the first occurrence only.

**Fix**

Use regex `/_#\$#_/g` to replace all occurrences of escaped $ signs in the given string.