prism-code-editor
Version:
Lightweight, extensible code editor component for the web using Prism
35 lines (34 loc) • 708 B
JavaScript
import { l as languages } from "../../index-DF54SWhA.js";
languages.po = languages.gettext = {
"comment": [
{
pattern: /# .*/g,
alias: "translator-comment"
},
{
pattern: /#\..*/g,
alias: "extracted-comment"
},
{
pattern: /#:.*/g,
alias: "reference-comment"
},
{
pattern: /#,.*/g,
alias: "flag-comment"
},
{
pattern: /#\|.*/g,
alias: "previously-untranslated-comment"
},
/#.*/g
],
"string": {
pattern: /(^|[^\\])"(?:\\.|[^\\"])*"/g,
lookbehind: true
},
"keyword": /^msg(?:ctxt|id|id_plural|str)\b/m,
"number": /\b\d+\b/,
"punctuation": /[[\]]/
};
//# sourceMappingURL=gettext.js.map