@7shifts/sous-chef 2.12.0 → 2.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3214,7 +3214,7 @@ var getLocalTranslation = function getLocalTranslation(key) {
3214
3214
 
3215
3215
  if (translationParts.length > 1) {
3216
3216
  var literal = translationParts[1];
3217
- return literal.charAt(0).toUpperCase() + literal.slice(1).toLowerCase().replaceAll('_', ' ');
3217
+ return literal.charAt(0).toUpperCase() + literal.slice(1).toLowerCase().replace(/_/g, ' ');
3218
3218
  }
3219
3219
 
3220
3220
  return key;