@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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -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().
|
|
3217
|
+
return literal.charAt(0).toUpperCase() + literal.slice(1).toLowerCase().replace(/_/g, ' ');
|
|
3218
3218
|
}
|
|
3219
3219
|
|
|
3220
3220
|
return key;
|