@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.js
CHANGED
|
@@ -3219,7 +3219,7 @@ var getLocalTranslation = function getLocalTranslation(key) {
|
|
|
3219
3219
|
|
|
3220
3220
|
if (translationParts.length > 1) {
|
|
3221
3221
|
var literal = translationParts[1];
|
|
3222
|
-
return literal.charAt(0).toUpperCase() + literal.slice(1).toLowerCase().
|
|
3222
|
+
return literal.charAt(0).toUpperCase() + literal.slice(1).toLowerCase().replace(/_/g, ' ');
|
|
3223
3223
|
}
|
|
3224
3224
|
|
|
3225
3225
|
return key;
|