26 "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI
"\">"
27 "<id>org.inkscape.template.social</id>"
28 "<name>" N_(
"Social Sizes")
"</name>"
29 "<description>" N_(
"Document formats for social media")
"</description>"
30 "<category>" NC_(
"TemplateCategory",
"Social")
"</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='social_landscape' unit='px' priority='-30' visibility='icon,search'>"
38"<preset name='" N_(
"Facebook cover photo")
"' label='820 × 462 px' height='462' width='820'/>"
39"<preset name='" N_(
"Facebook event image")
"' label='1920 × 1080 px' height='1080' width='1920'/>"
40"<preset name='" N_(
"Facebook image post")
"' label='1200 × 630 px' height='630' width='1200'/>"
41"<preset name='" N_(
"Facebook link image")
"' label='1200 × 630 px' height='630' width='1200'/>"
42"<preset name='" N_(
"Facebook profile picture")
"' label='180 × 180 px' height='180' width='180' icon='social_square'/>"
43"<preset name='" N_(
"Facebook video")
"' label='1280 × 720 px' height='720' width='1280'/>"
44"<preset name='" N_(
"Instagram landscape")
"' label='1080 × 608 px' height='608' width='1080'/>"
45"<preset name='" N_(
"Instagram portrait")
"' label='1080 × 1350 px' height='1350' width='1080' icon='social_portrait'/>"
46"<preset name='" N_(
"Instagram square")
"' label='1080 × 1080 px' height='1080' width='1080' icon='social_square'/>"
47"<preset name='" N_(
"LinkedIn business banner image")
"' label='646 × 220 px' height='220' width='646'/>"
48"<preset name='" N_(
"LinkedIn company logo")
"' label='300 × 300 px' height='300' width='300' icon='social_square'/>"
49"<preset name='" N_(
"LinkedIn cover photo")
"' label='1536 × 768 px' height='768' width='1536'/>"
50"<preset name='" N_(
"LinkedIn dynamic ad")
"' label='100 × 100 px' height='100' width='100' icon='social_square'/>"
51"<preset name='" N_(
"LinkedIn hero image")
"' label='1128 × 376 px' height='376' width='1128'/>"
52"<preset name='" N_(
"LinkedIn sponsored content image")
"' label='1200 × 627 px' height='627' width='1200'/>"
53"<preset name='" N_(
"Snapchat advertisement")
"' label='1080 × 1920 px' height='1920' width='1080' icon='social_portrait'/>"
54"<preset name='" N_(
"Twitter card image")
"' label='1200 × 628 px' height='628' width='1200'/>"
55"<preset name='" N_(
"Twitter header")
"' label='1500 × 500 px' height='500' width='1500'/>"
56"<preset name='" N_(
"Twitter post image")
"' label='1024 × 512 px' height='512' width='1024'/>"
57"<preset name='" N_(
"Twitter profile picture")
"' label='400 × 400 px' height='400' width='400' icon='social_square'/>"
58"<preset name='" N_(
"Twitter video landscape")
"' label='1280 × 720 px' height='720' width='1280'/>"
59"<preset name='" N_(
"Twitter video portrait")
"' label='720 × 1280 px' height='1280' width='720' icon='social_portrait'/>"
60"<preset name='" N_(
"Twitter video square")
"' label='720 × 720 px' height='720' width='720' icon='social_square'/>"
63 "</inkscape-extension>",
64 std::make_unique<TemplateSocial>());
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.