gramps/gramps2/data/gramps.schemas.in
Alex Roitman cfd5ae93fb 2006-06-24 Alex Roitman <shura@gramps-project.org>
* src/NameDisplay.py (_format_base): Add format string display;
	(_format_raw, _format): Add format string methods.
	* src/GrampsCfg.py (name_changed): Switch back to int key.
	* data/gramps.schemas.in: Add name-format-str key for custom name
	display format string.
	* src/Config/_GrampsConfigKeys.py: Re-generate the file.
	* src/Config/gen_schema_keys.py (copy): Add Id string; 
	Write header into the generated file.



svn: r6967
2006-06-25 05:39:32 +00:00

692 lines
24 KiB
Plaintext

<!-- $Id$ -->
<gconfschemafile>
<schemalist>
<schema>
<key>/schemas/apps/gramps/preferences/relation-shade</key>
<applyto>/apps/gramps/preferences/relation-shade</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>1</default>
<locale name="C">
<short>Use shading to highlight data in Relationship View</short>
<long>If True, shading is used to highlight data in Relationship View</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/online-maps</key>
<applyto>/apps/gramps/preferences/online-maps</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>
<locale name="C">
<short>Use online maps</short>
<long>If True, the Map View will connect to OpenGIS servers to download maps.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/family-details</key>
<applyto>/apps/gramps/preferences/family-details</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>1</default>
<locale name="C">
<short>Show event details on the Family View</short>
<long>If set to True, event reports are shown on the Family View.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/complete-color</key>
<applyto>/apps/gramps/preferences/complete-color</applyto>
<owner>gramps</owner>
<type>string</type>
<default>#008b00</default>
<locale name="C">
<short>Color used to highlight compete items in a list</short>
<long>Color used to highlight compete items in a list</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/todo-color</key>
<applyto>/apps/gramps/preferences/todo-color</applyto>
<owner>gramps</owner>
<type>string</type>
<default>#ff0000</default>
<locale name="C">
<short>Color used to highlight TODO items in a list</short>
<long>Color used to highlight TODO items in a list</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/custom-marker-color</key>
<applyto>/apps/gramps/preferences/custom-marker-color</applyto>
<owner>gramps</owner>
<type>string</type>
<default>#8b008b</default>
<locale name="C">
<short>Color used to highlight custom marker items in a list</short>
<long>Color used to highlight custom marker items in a list</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/family-warn</key>
<applyto>/apps/gramps/preferences/family-warn</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>1</default>
<locale name="C">
<short>Warn when adding parents in a way that may cause duplicate families.</short>
<long>If set to True, a warning dialog will be displayed whenever the user is a risk of creating a duplicate family when adding parents to a person.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/hide-ep-msg</key>
<applyto>/apps/gramps/preferences/hide-ep-msg</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>
<locale name="C">
<short>Display informational message when editing a person</short>
<long>If set to True, an informational dialog will be displayed whenever the user edits a person.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/last-view</key>
<applyto>/apps/gramps/preferences/last-view</applyto>
<owner>gramps</owner>
<type>int</type>
<default>0</default>
<locale name="C">
<short>Last view displayed</short>
<long>Indicates the last view displayed. This view will be displayed when the system is restarted.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/family-siblings</key>
<applyto>/apps/gramps/preferences/family-siblings</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>1</default>
<locale name="C">
<short>Show siblings on the Family View</short>
<long>If set to True, siblings will be shown on the Family View.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/behavior/autoload</key>
<applyto>/apps/gramps/behavior/autoload</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>
<locale name="C">
<short>Load last database on startup</short>
<long>If set to 1, the last database will be loaded on the startup.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/behavior/spellcheck</key>
<applyto>/apps/gramps/behavior/spellcheck</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>
<locale name="C">
<short>Enable the spelling checker, if available</short>
<long>If set to 1, the spelling checker will be enabled if it is available on the system.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/behavior/betawarn</key>
<applyto>/apps/gramps/behavior/betawarn</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>
<locale name="C">
<short>Hide beta warning on startup</short>
<long>If set to 1, the warning about beta version will not be
displayed on the startup.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/behavior/welcome</key>
<applyto>/apps/gramps/behavior/welcome</applyto>
<owner>gramps</owner>
<type>int</type>
<default>100</default>
<locale name="C">
<short>Welcome message has already been displayed for this version</short>
<long>This key keeps the version for which the welcome message
has already been displayed. The integer denotes the major, minor,
and release numerals, e.g. 200 denotes the 2.0.0 version.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/date-format</key>
<applyto>/apps/gramps/preferences/date-format</applyto>
<owner>gramps</owner>
<type>int</type>
<default>0</default>
<locale name="C">
<short>Date display format</short>
<long>This key determines the date display format. O corresponds to
the MM/DD/YYYY (US format), 1 corrsponds to DD/MM/YYYY (European
format), and 2 corresponds to YYYY-MM-DD (ISO format).</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/interface/dont-ask</key>
<applyto>/apps/gramps/interface/dont-ask</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>
<locale name="C">
<short>Do not prompt on save</short>
<long>This key disables prompting when data has changed
and the Cancel button has been pressed.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/interface/height</key>
<applyto>/apps/gramps/interface/height</applyto>
<owner>gramps</owner>
<type>int</type>
<default>500</default>
<locale name="C">
<short>Height of the interface.</short>
<long>Specifies the height of the interface when GRAMPS starts.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/interface/width</key>
<applyto>/apps/gramps/interface/width</applyto>
<owner>gramps</owner>
<type>int</type>
<default>775</default>
<locale name="C">
<short>Width of the interface.</short>
<long>Specifies the width of the interface when GRAMPS starts.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/interface/filter</key>
<applyto>/apps/gramps/interface/filter</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>
<locale name="C">
<short>Display Filter controls</short>
<long>If set to 1, the Filter controls will be displayed in People View.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/fprefix</key>
<applyto>/apps/gramps/preferences/fprefix</applyto>
<owner>gramps</owner>
<type>string</type>
<default>F%04d</default>
<locale name="C">
<short>Default family GRAMPS ID pattern</short>
<long>The new GRAMPS IDs for the family are generated according
to this format string.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/eprefix</key>
<applyto>/apps/gramps/preferences/eprefix</applyto>
<owner>gramps</owner>
<type>string</type>
<default>E%04d</default>
<locale name="C">
<short>Default event GRAMPS ID pattern</short>
<long>The new GRAMPS IDs for the events are generated according
to this format string.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/rprefix</key>
<applyto>/apps/gramps/preferences/rprefix</applyto>
<owner>gramps</owner>
<type>string</type>
<default>E%04d</default>
<locale name="C">
<short>Default repository GRAMPS ID pattern</short>
<long>The new GRAMPS IDs for the repositories are generated according
to this format string.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/iprefix</key>
<applyto>/apps/gramps/preferences/iprefix</applyto>
<owner>gramps</owner>
<type>string</type>
<default>I%04d</default>
<locale name="C">
<short>Default person GRAMPS ID pattern</short>
<long>The new GRAMPS IDs for the person are generated according
to this format string.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/oprefix</key>
<applyto>/apps/gramps/preferences/oprefix</applyto>
<owner>gramps</owner>
<type>string</type>
<default>O%04d</default>
<locale name="C">
<short>Default media object GRAMPS ID pattern</short>
<long>The new GRAMPS IDs for the media object are generated
according to this format string.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/pprefix</key>
<applyto>/apps/gramps/preferences/pprefix</applyto>
<owner>gramps</owner>
<type>string</type>
<default>P%04d</default>
<locale name="C">
<short>Default place GRAMPS ID pattern</short>
<long>The new GRAMPS IDs for the place are generated according
to this format string.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/sprefix</key>
<applyto>/apps/gramps/preferences/sprefix</applyto>
<owner>gramps</owner>
<type>string</type>
<default>S%04d</default>
<locale name="C">
<short>Default source GRAMPS ID pattern</short>
<long>The new GRAMPS IDs for the source are generated according
to this format string.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/goutput-preference</key>
<applyto>/apps/gramps/preferences/goutput-preference</applyto>
<owner>gramps</owner>
<type>string</type>
<default>No default format</default>
<locale name="C">
<short>Preferred format for graphical reports</short>
<long>Preferred format for graphical reports.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/output-preference</key>
<applyto>/apps/gramps/preferences/output-preference</applyto>
<owner>gramps</owner>
<type>string</type>
<default>No default format</default>
<locale name="C">
<short>Preferred format for text reports</short>
<long>Preferred format for text reports.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/paper-preference</key>
<applyto>/apps/gramps/preferences/paper-preference</applyto>
<owner>gramps</owner>
<type>string</type>
<default>Letter</default>
<locale name="C">
<short>Preferred page size</short>
<long>Preferred page size.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/paths/recent-file</key>
<applyto>/apps/gramps/paths/recent-file</applyto>
<owner>gramps</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Last database GRAMPS has worked with</short>
<long>Full pathname of the last GRDB database GRAMPS has worked with.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/paths/recent-import-dir</key>
<applyto>/apps/gramps/paths/recent-import-dir</applyto>
<owner>gramps</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Last directory from which the import was made</short>
<long>Full pathname of the directory from which GRAMPS has last imported data.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/paths/recent-export-dir</key>
<applyto>/apps/gramps/paths/recent-export-dir</applyto>
<owner>gramps</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Last directory into which the export was made</short>
<long>Full pathname of the directory into which GRAMPS has last exported data.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/name-format</key>
<applyto>/apps/gramps/preferences/name-format</applyto>
<owner>gramps</owner>
<type>int</type>
<default>0</default>
<locale name="C">
<short>Name display format</short>
<long>This key determines the name display format. Use
0 for "Surname, Firstname",
1 for "Firstname Surname",
2 for "Patronymic Firstname", and
3 for "Firstname" style.
For custom styles, use -1 and set the name-format-str key.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/preferences/name-format-str</key>
<applyto>/apps/gramps/preferences/name-format-str</applyto>
<owner>gramps</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Name display format string</short>
<long>This key determines the custom name display format.
Its value is unimportant unless the name-format keyis set to -1.
When used, the following substitutions are made:
%t -> title, %f -> given name, %p -> prefix, %s -> suffix,
%l -> family name, %y -> patronymic, %c -> call name.
The capital letters are substituted for capitalized name components.
The %% is substituted with the single % character.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/paths/report-directory</key>
<applyto>/apps/gramps/paths/report-directory</applyto>
<owner>gramps</owner>
<type>string</type>
<default>./</default>
<locale name="C">
<short>Default report directory</short>
<long>Full pathname of the default report directory.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/researcher/researcher-addr</key>
<applyto>/apps/gramps/researcher/researcher-addr</applyto>
<owner>gramps</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Researcher street address</short>
<long>Researcher stret address.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/researcher/researcher-city</key>
<applyto>/apps/gramps/researcher/researcher-city</applyto>
<owner>gramps</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Researcher city</short>
<long>Researcher city.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/researcher/researcher-country</key>
<applyto>/apps/gramps/researcher/researcher-country</applyto>
<owner>gramps</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Researcher country</short>
<long>Researcher country.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/researcher/researcher-email</key>
<applyto>/apps/gramps/researcher/researcher-email</applyto>
<owner>gramps</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Researcher email address</short>
<long>Researcher email address.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/researcher/researcher-name</key>
<applyto>/apps/gramps/researcher/researcher-name</applyto>
<owner>gramps</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Researcher name</short>
<long>Researcher name.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/researcher/researcher-phone</key>
<applyto>/apps/gramps/researcher/researcher-phone</applyto>
<owner>gramps</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Researcher phone</short>
<long>Researcher phone.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/researcher/researcher-postal</key>
<applyto>/apps/gramps/researcher/researcher-postal</applyto>
<owner>gramps</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Researcher postal code</short>
<long>Researcher postal code.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/researcher/researcher-state</key>
<applyto>/apps/gramps/researcher/researcher-state</applyto>
<owner>gramps</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Researcher state</short>
<long>Researcher state.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/behavior/startup</key>
<applyto>/apps/gramps/behavior/startup</applyto>
<owner>gramps</owner>
<type>int</type>
<default>0</default>
<locale name="C">
<short>Startup druid has been run</short>
<long>If set to 1, this key indicates that the startup druid
has already been run.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/interface/size-checked</key>
<applyto>/apps/gramps/interface/size-checked</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>
<locale name="C">
<short>Screen size has been checked</short>
<long>If set to 1, this key indicates that the screen size
has already been checked and the initial interface decision
made. No action will be taken if the screen is too smal,
since the user may have overridden our settings.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/interface/statusbar</key>
<applyto>/apps/gramps/interface/statusbar</applyto>
<owner>gramps</owner>
<type>int</type>
<default>1</default>
<locale name="C">
<short>Information shown in statusbar</short>
<long>If set to 0 or 1, the statusbar will the name and GRAMPS ID
of an active person. If set to 2, the statusbar will show the
relationship of the active person to the Default Person.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/behavior/surname-guessing</key>
<applyto>/apps/gramps/behavior/surname-guessing</applyto>
<owner>gramps</owner>
<type>int</type>
<default>0</default>
<locale name="C">
<short>Default surname guessing style</short>
<long>This key determines the style of the surname guessing when
the new person is added to the database. Use 0 for Father's surname,
1 for no guessing, 2 for the combination of mother's and father's
surnames, and 3 for the Icelandic style.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/interface/toolbar-on</key>
<applyto>/apps/gramps/interface/toolbar-on</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>1</default>
<locale name="C">
<short>Show toolbar</short>
<long>If set to 1, the toolbar will be shown in the main
GRAMPS window.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/behavior/use-lds</key>
<applyto>/apps/gramps/behavior/use-lds</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>
<locale name="C">
<short>Use LDS options</short>
<long>If set to 1, the LDS ordinance options will be shown.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/behavior/use-tips</key>
<applyto>/apps/gramps/behavior/use-tips</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>
<locale name="C">
<short>Display Tip of the Day</short>
<long>If set to 1, Tip of the Day will be displayed on startup.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/behavior/pop-plugin-status</key>
<applyto>/apps/gramps/behavior/pop-plugin-status</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>
<locale name="C">
<short>Automatically pop plugin status window</short>
<long>If set to 1, Plugin Status Window will pop automatically
when problems are detected on plugins load and reload.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/interface/view</key>
<applyto>/apps/gramps/interface/view</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>1</default>
<locale name="C">
<short>Sidebar View</short>
<long>If set to 1, the Sidebar View will be enabled. If set to 0,
the Notebook View will be used instead.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/interface/sidebar-text</key>
<applyto>/apps/gramps/interface/sidebar-text</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>1</default>
<locale name="C">
<short>Include text on sidebar buttons</short>
<long>If set to True, the Sidebar buttons will contain a text description of the view, otherwise it will only display the button.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/paths/website-directory</key>
<applyto>/apps/gramps/paths/website-directory</applyto>
<owner>gramps</owner>
<type>string</type>
<default>./</default>
<locale name="C">
<short>Default website directory</short>
<long>Full pathname of the default website directory.</long>
</locale>
</schema>
</schemalist>
</gconfschemafile>