From 65506bae820a6f4c53e3674dcd058eaadd61b126 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Fri, 10 Oct 2014 21:02:13 +0200 Subject: Updated README (bzr r13341.1.268) --- share/templates/README | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/share/templates/README b/share/templates/README index 38a0be05c..423f25092 100644 --- a/share/templates/README +++ b/share/templates/README @@ -1,21 +1,28 @@ -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 in this folder; nothing else -is required. +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. -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. +Procedural templates are located in the adjacent 'extension' +directory. By convention, they begin with 'empty'. -Internationalization -This file is internationalized the same way as share/filters/filters/svg -The i18n.py script called from the makefile will extract strings from the *.svg -into a *.svg.h file. Intltool is then able to extracts these strings just like -from normal .h files. +Internationalization: + +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. + +These 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" and are based on default.svg. To add -- cgit v1.2.3