Commit f5bba250 authored by Rolf Forst's avatar Rolf Forst
Browse files

Update textToReplace

parent af137b31
......@@ -56,6 +56,8 @@ const nameSpace = sanitize2.replace(/([\w\-]+)$/g, str => str[0].toUpperCase() +
const textDomain = directoryName.toLowerCase();
const templatePot = pluginName.replace(/\s/g, '-');
sanitize = directoryName.replace(/-/g, '_');
const optionName = sanitize.toLowerCase();
......@@ -91,6 +93,10 @@ const textToReplace = [{
from: /cms-basis/g,
to: textDomain
},
{
from: /CMS-Basis/g,
to: templatePot
},
{
from: /cms_basis/g,
to: optionName
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment