26 "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI
"\">"
27 "<id>org.inkscape.template.video</id>"
28 "<name>" N_(
"Video Sizes")
"</name>"
29 "<description>" N_(
"Document formats using common video resolutions")
"</description>"
30 "<category>" NC_(
"TemplateCategory",
"Video")
"</category>"
32 "<param name='unit' gui-text='" N_(
"Unit")
"' type='string'>px</param>"
33 "<param name='width' gui-text='" N_(
"Width")
"' type='float' min='1.0' max='100000.0'>100.0</param>"
34 "<param name='height' gui-text='" N_(
"Height")
"' type='float' min='1.0' max='100000.0'>100.0</param>"
36 "<template icon='video_landscape' unit='px' priority='-50' visibility='all'>"
38"<preset name='" N_(
"Video SD PAL")
"' label='768 × 576 px' width='768' height='576' />"
39"<preset name='" N_(
"Video SD Widescreen / PAL")
"' label='1024 × 576 px' width='1024' height='576' />"
40"<preset name='" N_(
"Video SD NTSC")
"' label='544 × 480 px' width='544' height='480' />"
41"<preset name='" N_(
"Video SD Widescreen NTSC")
"' label='872 × 486 px' width='872' height='486' />"
42"<preset name='" N_(
"Video HD 720p")
"' label='1280 × 720 px' width='1280' height='720' />"
43"<preset name='" N_(
"Video HD 1080p")
"' label='1920 × 1080 px' width='1920' height='1080' />"
44"<preset name='" N_(
"Video DCI 2k (Full Frame)")
"' label='2048 × 1080 px' width='2048' height='1080' />"
45"<preset name='" N_(
"Video UHD 4k")
"' label='3840 × 2160 px' width='3840' height='2160' />"
46"<preset name='" N_(
"Video DCI 4k (Full Frame)")
"' label='4096 × 2160 px' width='4096' height='2160' />"
47"<preset name='" N_(
"Video UHD 8k")
"' label='7680 × 4320 px' width='7680' height='4320' />"
50 "</inkscape-extension>",
51 std::make_unique<TemplateVideo>());
A way to clear the N_ macro, which is defined as an inline function.
Inkscape::Extension::Extension: Frontend to certain, possibly pluggable, actions.
void build_from_mem(gchar const *buffer, std::unique_ptr< Implementation::Implementation > in_imp)
Create a module from a buffer holding an XML description.