lib/pot.js
function fixHeaders(contents) {
  contents = contents.replace(/x-poedit-keywordslist:/i, 'X-Poedit-KeywordsList:');
  contents = contents.replace(/x-poedit-searchpath-/ig, 'X-Poedit-SearchPath-');
  contents = contents.replace(/x-poedit-searchpathexcluded-/ig, 'X-Poedit-SearchPathExcluded-');
  contents = contents.replace(/x-poedit-sourcecharset:/i, 'X-Poedit-SourceCharset:');
  return contents;
}
function fixHeaders(contents) {
  contents = contents.replace(/x-poedit-keywordslist:/i, 'X-Poedit-KeywordsList:');
  contents = contents.replace(/x-poedit-searchpath-/ig, 'X-Poedit-SearchPath-');
  contents = contents.replace(/x-poedit-searchpathexcluded-/ig, 'X-Poedit-SearchPathExcluded-');
  contents = contents.replace(/x-poedit-sourcecharset:/i, 'X-Poedit-SourceCharset:');
  return contents;
}
function fixHeaders ( contents ) { contents = contents . replace ( / x-poedit-keywordslist: / i , 'X-Poedit-KeywordsList:' ) ; contents = contents . replace ( / x-poedit-searchpath- / ig , 'X-Poedit-SearchPath-' ) ; contents = contents . replace ( / x-poedit-searchpathexcluded- / ig , 'X-Poedit-SearchPathExcluded-' ) ; contents = contents . replace ( / x-poedit-sourcecharset: / i , 'X-Poedit-SourceCharset:' ) ; return contents ; }
Fix POT file headers.

Updates case-sensitive Poedit headers.

@param {string} pot POT file contents.
@returns {string}
Fix POT file headers .