[gedit] Manage the schemas with intltool
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Manage the schemas with intltool
- Date: Sat, 15 May 2010 21:18:14 +0000 (UTC)
commit 1c390104c7dd2eb20abfb19a29555b16fb4e4f58
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat May 15 23:17:19 2010 +0200
Manage the schemas with intltool
configure.ac | 2 +-
data/Makefile.am | 1 +
data/org.gnome.gedit.gschema.xml.in | 268 --------------------------------
data/org.gnome.gedit.gschema.xml.in.in | 268 ++++++++++++++++++++++++++++++++
po/POTFILES.in | 2 +
po/POTFILES.skip | 1 +
6 files changed, 273 insertions(+), 269 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2522cc5..90c316f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -533,7 +533,7 @@ Makefile
data/gedit.desktop.in
data/gedit-bugreport.sh
data/gedit.pc
-data/org.gnome.gedit.gschema.xml
+data/org.gnome.gedit.gschema.xml.in
data/Makefile
docs/Makefile
docs/reference/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index 8aa92b4..740ae6a 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -22,6 +22,7 @@ bugreportdir = $(libexecdir)/gedit-2
bugreport_SCRIPTS = gedit-bugreport.sh
gsettingsschema_DATA = org.gnome.gedit.gschema.xml
+ INTLTOOL_XML_NOMERGE_RULE@
if GSETTINGS_SCHEMAS_INSTALL
install-data-hook:
diff --git a/data/org.gnome.gedit.gschema.xml.in.in b/data/org.gnome.gedit.gschema.xml.in.in
new file mode 100644
index 0000000..b3bf6eb
--- /dev/null
+++ b/data/org.gnome.gedit.gschema.xml.in.in
@@ -0,0 +1,268 @@
+<schemalist>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit" path="/apps/gedit/">
+ <child name="preferences" schema="org.gnome.gedit.preferences"/>
+ <child name="state" schema="org.gnome.gedit.state"/>
+ <child name="plugins" schema="org.gnome.gedit.plugins"/>
+ </schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences" path="/apps/gedit/preferences/">
+ <child name="editor" schema="org.gnome.gedit.preferences.editor"/>
+ <child name="ui" schema="org.gnome.gedit.preferences.ui"/>
+ <child name="print" schema="org.gnome.gedit.preferences.print"/>
+ <child name="encodings" schema="org.gnome.gedit.preferences.encodings"/>
+ </schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.editor" path="/apps/gedit/preferences/editor/">
+ <key name="use-default-font" type="b">
+ <default>true</default>
+ <_summary>Use Default Font</_summary>
+ <_description>Whether to use the system's default fixed width font for editing text instead of a font specific to gedit. If this option is turned off, then the font named in the "Editor Font" option will be used instead of the system font.</_description>
+ </key>
+ <key name="editor-font" type="s">
+ <default l10n="messages">'Monospace 12'</default>
+ <_summary>Editor Font</_summary>
+ <_description>A custom font that will be used for the editing area. This will only take effect if the "Use Default Font" option is turned off.</_description>
+ </key>
+ <key name="scheme" type="s">
+ <default>'classic'</default>
+ <_summary>Style Scheme</_summary>
+ <_description>The ID of a GtkSourceView Style Scheme used to color the text.</_description>
+ </key>
+ <key name="create-backup-copy" type="b">
+ <default>true</default>
+ <_summary>Create Backup Copies</_summary>
+ <_description>Whether gedit should create backup copies for the files it saves. You can set the backup file extension with the "Backup Copy Extension" option.</_description>
+ </key>
+ <key name="auto-save" type="b">
+ <default>false</default>
+ <_summary>Autosave</_summary>
+ <_description>Whether gedit should automatically save modified files after a time interval. You can set the time interval with the "Autosave Interval" option.</_description>
+ </key>
+ <key name="auto-save-interval" type="u">
+ <default>10</default>
+ <_summary>Autosave Interval</_summary>
+ <_description>Number of minutes after which gedit will automatically save modified files. This will only take effect if the "Autosave" option is turned on.</_description>
+ </key>
+ <key name="undo-actions-limit" type="u">
+ <default>25</default>
+ <_summary>Undo Actions Limit (DEPRECATED)</_summary>
+ <_description>Maximum number of actions that gedit will be able to undo or redo. Use "-1" for unlimited number of actions. Deprecated since 2.12.0</_description>
+ </key>
+ <key name="max-undo-actions" type="u">
+ <default>2000</default>
+ <_summary>Maximum Number of Undo Actions</_summary>
+ <_description>Maximum number of actions that gedit will be able to undo or redo. Use "-1" for unlimited number of actions.</_description>
+ </key>
+ <key name="wrap-mode" type="s">
+ <default>'GTK_WRAP_WORD'</default>
+ <_summary>Line Wrapping Mode</_summary>
+ <_description>Specifies how to wrap long lines in the editing area. Use "GTK_WRAP_NONE" for no wrapping, "GTK_WRAP_WORD" for wrapping at word boundaries, and "GTK_WRAP_CHAR" for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</_description>
+ </key>
+ <key name="tabs-size" type="u">
+ <default>8</default>
+ <_summary>Tab Size</_summary>
+ <_description>Specifies the number of spaces that should be displayed instead of Tab characters.</_description>
+ </key>
+ <key name="insert-spaces" type="b">
+ <default>false</default>
+ <_summary>Insert spaces</_summary>
+ <_description>Whether gedit should insert spaces instead of tabs.</_description>
+ </key>
+ <key name="auto-indent" type="b">
+ <default>false</default>
+ <_summary>Automatic indent</_summary>
+ <_description>Whether gedit should enable automatic indentation.</_description>
+ </key>
+ <key name="display-line-numbers" type="b">
+ <default>false</default>
+ <_summary>Display Line Numbers</_summary>
+ <_description>Whether gedit should display line numbers in the editing area.</_description>
+ </key>
+ <key name="highlight-current-line" type="b">
+ <default>false</default>
+ <_summary>Highlight Current Line</_summary>
+ <_description>Whether gedit should highlight the current line.</_description>
+ </key>
+ <key name="bracket-matching" type="b">
+ <default>false</default>
+ <_summary>Highlight Matching Bracket</_summary>
+ <_description>Whether gedit should highlight the bracket matching the selected one.</_description>
+ </key>
+ <key name="display-right-margin" type="b">
+ <default>false</default>
+ <_summary>Display Right Margin</_summary>
+ <_description>Whether gedit should display the right margin in the editing area.</_description>
+ </key>
+ <key name="right-margin-position" type="u">
+ <default>80</default>
+ <_summary>Right Margin Position</_summary>
+ <_description>Specifies the position of the right margin.</_description>
+ </key>
+ <key name="smart-home-end" type="s">
+ <default>'after'</default>
+ <_summary>Smart Home End</_summary>
+ <_description>Specifies how the cursor moves when the HOME and END keys are pressed. Use "DISABLED" to always move at the start/end of the line, "AFTER" to move to the start/end of the line the first time the keys are pressed and to the start/end of the text ignoring whitespaces the second time the keys are pressed, "BEFORE" to move to the start/end of the text before moving to the start/end of the line and "ALWAYS" to always move to the start/end of the text instead of the start/end of the line.</_description>
+ </key>
+ <key name="writable-vfs-schemes" type="as">
+ <default>['dav', 'davs', 'ftp', 'sftp', 'smb', 'ssh']</default>
+ <_summary>Writable VFS schemes</_summary>
+ <_description>List of VFS schemes gedit supports in write mode. The 'file' scheme is writable by default.</_description>
+ </key>
+ <key name="restore-cursor-position" type="b">
+ <default>true</default>
+ <_summary>Restore Previous Cursor Position</_summary>
+ <_description>Whether gedit should restore the previous cursor position when a file is loaded.</_description>
+ </key>
+ <key name="syntax-highlighting" type="b">
+ <default>true</default>
+ <_summary>Enable Syntax Highlighting</_summary>
+ <_description>Whether gedit should enable syntax highlighting.</_description>
+ </key>
+ <key name="search-highlighting" type="b">
+ <default>true</default>
+ <_summary>Enable Search Highlighting</_summary>
+ <_description>Whether gedit should highlight all the occurrences of the searched text.</_description>
+ </key>
+ </schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.ui" path="/apps/gedit/preferences/ui/">
+ <key name="toolbar-visible" type="b">
+ <default>true</default>
+ <_summary>Toolbar is Visible</_summary>
+ <_description>Whether the toolbar should be visible in editing windows.</_description>
+ </key>
+ <key name="toolbar-buttons-style" type="s">
+ <default>'@TOOLBAR_STYLE@'</default>
+ <_summary>Toolbar Buttons Style</_summary>
+ <_description>Style for the toolbar buttons. Possible values are "GEDIT_TOOLBAR_SYSTEM" to use the system's default style, "GEDIT_TOOLBAR_ICONS" to display icons only, "GEDIT_TOOLBAR_ICONS_AND_TEXT" to display both icons and text, and "GEDIT_TOOLBAR_ICONS_BOTH_HORIZ" to display prioritized text beside icons. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</_description>
+ </key>
+ <key name="statusbar-visible" type="b">
+ <default>true</default>
+ <_summary>Status Bar is Visible</_summary>
+ <_description>Whether the status bar at the bottom of editing windows should be visible.</_description>
+ </key>
+ <key name="side-pane-visible" type="b">
+ <default>false</default>
+ <_summary>Side Pane is Visible</_summary>
+ <_description>Whether the side pane at the left of editing windows should be visible.</_description>
+ </key>
+ <key name="bottom-pane-visible" type="b">
+ <default>false</default>
+ </key>
+ <key name="max-recents" type="u">
+ <default>5</default>
+ <_summary>Maximum Recent Files</_summary>
+ <_description>Specifies the maximum number of recently opened files that will be displayed in the "Recent Files" submenu.</_description>
+ </key>
+ </schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.print" path="/apps/gedit/preferences/print/">
+ <key name="print-syntax-highlighting" type="b">
+ <default>true</default>
+ <_summary>Print Syntax Highlighting</_summary>
+ <_description>Whether gedit should print syntax highlighting when printing documents.</_description>
+ </key>
+ <key name="print-header" type="b">
+ <default>true</default>
+ <_summary>Print Header</_summary>
+ <_description>Whether gedit should include a document header when printing documents.</_description>
+ </key>
+ <key name="print-wrap-mode" type="s">
+ <default>'GTK_WRAP_WORD'</default>
+ <_summary>Printing Line Wrapping Mode</_summary>
+ <_description>Specifies how to wrap long lines for printing. Use "GTK_WRAP_NONE" for no wrapping, "GTK_WRAP_WORD" for wrapping at word boundaries, and "GTK_WRAP_CHAR" for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</_description>
+ </key>
+ <key name="print-line-numbers" type="u">
+ <default>0</default>
+ <_summary>Print Line Numbers</_summary>
+ <_description>If this value is 0, then no line numbers will be inserted when printing a document. Otherwise, gedit will print line numbers every such number of lines.</_description>
+ </key>
+ <key name="print-font-body-pango" type="s">
+ <default l10n="messages">'Monospace 9'</default>
+ <_summary>Body Font for Printing</_summary>
+ <_description>Specifies the font to use for a document's body when printing documents.</_description>
+ </key>
+ <key name="print-font-header-pango" type="s">
+ <default l10n="messages">'Sans 11'</default>
+ <_summary>Header Font for Printing</_summary>
+ <_description>Specifies the font to use for page headers when printing a document. This will only take effect if the "Print Header" option is turned on.</_description>
+ </key>
+ <key name="print-font-numbers-pango" type="s">
+ <default l10n="messages">'Sans 8'</default>
+ <_summary>Line Number Font for Printing</_summary>
+ <_description>Specifies the font to use for line numbers when printing. This will only take effect if the "Print Line Numbers" option is non-zero.</_description>
+ </key>
+ </schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.encodings" path="/apps/gedit/preferences/encodings/">
+ <key name="auto-detected" type="as">
+ <default l10n="messages">['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']</default>
+ <_summary>Automatically Detected Encodings</_summary>
+ <_description>Sorted list of encodings used by gedit for automatically detecting the encoding of a file. "CURRENT" represents the current locale encoding. Only recognized encodings are used.</_description>
+ </key>
+ <key name="shown-in-menu" type="as">
+ <default l10n="messages">['ISO-8859-15']</default>
+ <_summary>Encodings shown in menu</_summary>
+ <_description>List of encodings shown in the Character Encoding menu in open/save file selector. Only recognized encodings are used.</_description>
+ </key>
+ </schema>
+ <schema id="org.gnome.gedit.state" path="/apps/gedit/state/">
+ <child name="window" schema="org.gnome.gedit.state.window"/>
+ <child name="file-filter" schema="org.gnome.gedit.state.file-filter"/>
+ <child name="history-entry" schema="org.gnome.gedit.state.history-entry"/>
+ </schema>
+ <schema id="org.gnome.gedit.state.window" path="/apps/gedit/state/window/">
+ <key name="state" type="i">
+ <default>0</default>
+ </key>
+ <key name="size" type="(ii)">
+ <default>(650, 500)</default>
+ </key>
+ <key name="side-panel-size" type="i">
+ <default>200</default>
+ </key>
+ <key name="side-panel-active-page" type="i">
+ <default>0</default>
+ </key>
+ <key name="bottom-panel-size" type="i">
+ <default>140</default>
+ </key>
+ <key name="bottom-panel-active-page" type="i">
+ <default>0</default>
+ </key>
+ </schema>
+ <schema id="org.gnome.gedit.state.file-filter" path="/apps/gedit/state/file-filter/">
+ <key name="filter-id" type="i">
+ <default>0</default>
+ </key>
+ </schema>
+ <schema id="org.gnome.gedit.state.history-entry" path="/apps/gedit/state/history-entry/">
+ <key name="search-for-entry" type="as">
+ <default>['']</default>
+ </key>
+ <key name="replace-with-entry" type="as">
+ <default>['']</default>
+ </key>
+ </schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.plugins" path="/apps/gedit/plugins/">
+ <key name="active-plugins" type="as">
+ <default>[ ACTIVE_PLUGINS@]</default>
+ <_summary>Active plugins</_summary>
+ <_description>List of active plugins. It contains the "Location" of the active plugins. See the .gedit-plugin file for obtaining the "Location" of a given plugin.</_description>
+ </key>
+ </schema>
+ <schema id="org.gnome.Desktop.Lockdown" path="/desktop/gnome/lockdown/">
+ <key name="disable-command-line" type="b">
+ <default>false</default>
+ </key>
+ <key name="disable-printing" type="b">
+ <default>false</default>
+ </key>
+ <key name="disable-print-setup" type="b">
+ <default>false</default>
+ </key>
+ <key name="disable-save-to-disk" type="b">
+ <default>false</default>
+ </key>
+ </schema>
+ <schema id="org.gnome.Desktop.Interface" path="/desktop/gnome/interface/">
+ <key name="monospace-font-name" type="s">
+ <default>'Monospace 10'</default>
+ </key>
+ </schema>
+</schemalist>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 2d9f797..bd4d564 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
# Please keep this file sorted alphabetically.
[encoding: UTF-8]
data/gedit.desktop.in.in
+data/org.gnome.gedit.gschema.xml.in.in
gedit/dialogs/gedit-close-confirmation-dialog.c
gedit/dialogs/gedit-encodings-dialog.c
[type: gettext/glade]gedit/dialogs/gedit-encodings-dialog.ui
@@ -11,6 +12,7 @@ gedit/dialogs/gedit-search-dialog.c
[type: gettext/glade]gedit/dialogs/gedit-search-dialog.ui
gedit/gedit.c
gedit/gedit-app.c
+gedit/gedit-command-line.c
gedit/gedit-commands-file.c
gedit/gedit-commands-help.c
gedit/gedit-commands-search.c
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 6f4bb45..1e0ef70 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -1,4 +1,5 @@
data/gedit.desktop.in
+data/org.gnome.gedit.gschema.xml.in
gedit/gedit-document-output-stream.c
gedit/dialogs/gedit-style-scheme-dialog.c
gedit/dialogs/gedit-style-scheme-dialog.ui
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]