diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-03-21 17:26:26 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-03-21 17:26:54 +0000 |
| commit | 6847c9ac0001d0b79d496bba591f048fd01278eb (patch) | |
| tree | 18dd11248e6996fe70daacbffbd2769c78e2e178 /share/templates | |
| parent | Empty string exception for CLI verbs (diff) | |
| download | inkscape-6847c9ac0001d0b79d496bba591f048fd01278eb.tar.gz inkscape-6847c9ac0001d0b79d496bba591f048fd01278eb.zip | |
Update share/templates/README
Diffstat (limited to 'share/templates')
| -rw-r--r-- | share/templates/README | 46 |
1 files changed, 21 insertions, 25 deletions
diff --git a/share/templates/README b/share/templates/README index fbcdae3be..b6eb3c353 100644 --- a/share/templates/README +++ b/share/templates/README @@ -1,30 +1,26 @@ This folder contains the templates for new documents created in -Inkscape. You will normally see them listed in the File > New -submenu. A template may store any document-specific settings (such as -initial zoom and view, paper size, background and borders, metadata, -window geometry, grid and guide settings, export hints) as well as any -objects. To add a new template, simply save or copy it to this folder; -nothing else is required. +Inkscape. They're listed in the "File > New From Template..." submenu. +A template may store any document-specific settings (such as initial +zoom and view, paper size, background and borders, metadata, window +geometry, grid and guide settings, export hints) as well as any +objects. To add a new template, simply use "File > Save Template". +Alternatively you can manually save or copy it into this folder or +(preferred option) to the corresponding "templates" directory in your +profile directory. -Procedural templates are located in the adjacent 'extension' -directory. By convention, they begin with 'empty'. +Procedural templates are located in the adjacent 'extensions' +directory. By convention, they begin with 'empty_'. -Internationalization: +## Default template ## -Files of the mask default.*.svg are the translations of default.svg -template into different languages. The default.svg itself is in -English. These translations contain a translated name of the default -layer and possibly different canvas size. Each language version of -Inkscape will only use one of these templates and ignore the rest. - -The other files are internationalized the same way as -share/filters/filters/svg The i18n.py script called from the makefile -will extract strings from the *.svg files into a *.svg.h -file. Intltool is then able to extracts these strings just like from -normal .h files. - -The internationalized default files (A4 only) are created using the -PERL script "create_defaults.pl" (called automatically by cmake) -and are based on default.svg. To add a new language, add it to the -database at the beginning of the PERL script. +At startup or when creating a new document, Inkscape will load the +default template, which is named "default.svg". A localized version in +the current locale (default.*.svg) will be preferred over the English +version if available. To customize the default template simply use +"File > Save Template" and make sure to enable "Set as default +template". Alternatively you can manually edit the files in this +folder or (preferred option) save or copy them to the corresponding +"templates" directory in your profile directory. Default templates in +the profile directory will always be preferred over the stock versions +that ship with Inkscape (i.e. the files in this folder). |
