From 3873b9ff75a839ec85694b987da788ab254ec519 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Mon, 8 Oct 2012 14:29:39 +0200 Subject: fix internationalization support for gsettings schemas --- schemas/Makefile.am | 8 +- ...g.mate.accessibility-keyboard.gschema.xml.in.in | 76 +++++++++++ ...rg.mate.accessibility-startup.gschema.xml.in.in | 9 ++ ...mate.applications-at-mobility.gschema.xml.in.in | 14 ++ ...g.mate.applications-at-visual.gschema.xml.in.in | 14 ++ ...org.mate.applications-browser.gschema.xml.in.in | 19 +++ .../org.mate.applications-office.gschema.xml.in.in | 30 +++++ ...rg.mate.applications-terminal.gschema.xml.in.in | 14 ++ schemas/org.mate.file-views.gschema.xml.in.in | 9 ++ schemas/org.mate.interface.gschema.xml.in.in | 144 +++++++++++++++++++++ schemas/org.mate.lockdown.gschema.xml.in.in | 39 ++++++ ...org.mate.peripherals-keyboard.gschema.xml.in.in | 49 +++++++ .../org.mate.peripherals-mouse.gschema.xml.in.in | 54 ++++++++ schemas/org.mate.sound.gschema.xml.in.in | 34 +++++ schemas/org.mate.thumbnail-cache.gschema.xml.in.in | 12 ++ schemas/org.mate.thumbnailers.gschema.xml.in.in | 14 ++ schemas/org.mate.typing-break.gschema.xml.in.in | 24 ++++ 17 files changed, 560 insertions(+), 3 deletions(-) create mode 100644 schemas/org.mate.accessibility-keyboard.gschema.xml.in.in create mode 100644 schemas/org.mate.accessibility-startup.gschema.xml.in.in create mode 100644 schemas/org.mate.applications-at-mobility.gschema.xml.in.in create mode 100644 schemas/org.mate.applications-at-visual.gschema.xml.in.in create mode 100644 schemas/org.mate.applications-browser.gschema.xml.in.in create mode 100644 schemas/org.mate.applications-office.gschema.xml.in.in create mode 100644 schemas/org.mate.applications-terminal.gschema.xml.in.in create mode 100644 schemas/org.mate.file-views.gschema.xml.in.in create mode 100644 schemas/org.mate.interface.gschema.xml.in.in create mode 100644 schemas/org.mate.lockdown.gschema.xml.in.in create mode 100644 schemas/org.mate.peripherals-keyboard.gschema.xml.in.in create mode 100644 schemas/org.mate.peripherals-mouse.gschema.xml.in.in create mode 100644 schemas/org.mate.sound.gschema.xml.in.in create mode 100644 schemas/org.mate.thumbnail-cache.gschema.xml.in.in create mode 100644 schemas/org.mate.thumbnailers.gschema.xml.in.in create mode 100644 schemas/org.mate.typing-break.gschema.xml.in.in (limited to 'schemas') diff --git a/schemas/Makefile.am b/schemas/Makefile.am index d87f89b..59cf1ed 100644 --- a/schemas/Makefile.am +++ b/schemas/Makefile.am @@ -19,11 +19,13 @@ gsettings_SCHEMAS = \ org.mate.typing-break.gschema.xml @GSETTINGS_RULES@ -org.mate.background.gschema.xml.in: org.mate.background.gschema.xml.in.in Makefile - $(AM_V_GEN) $(SED) -e 's^\@datadir\@^$(datadir)^g' < $(srcdir)/org.mate.background.gschema.xml.in.in > org.mate.background.gschema.xml.in +%.gschema.xml.in: %.gschema.xml.in.in Makefile + $(AM_V_GEN) $(SED) -e 's^\@datadir\@^$(datadir)^g' -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@ EXTRA_DIST = \ $(gsettings_SCHEMAS) CLEANFILES = \ - org.mate.background.gschema.xml.in + $(gsettings_SCHEMAS_in) \ + $(gsettings_SCHEMAS) \ + *.gschema.valid diff --git a/schemas/org.mate.accessibility-keyboard.gschema.xml.in.in b/schemas/org.mate.accessibility-keyboard.gschema.xml.in.in new file mode 100644 index 0000000..b7e7a84 --- /dev/null +++ b/schemas/org.mate.accessibility-keyboard.gschema.xml.in.in @@ -0,0 +1,76 @@ + + + + false + + + false + + + false + + + 200 + + + false + + + 300 + <_summary>minimum interval in milliseconds + <_description>Ignore multiple presses of the _same_ key within @delay milliseconds. + + + false + + + false + + + 10 + <_summary>Pixels per seconds + <_description>How many pixels per second to move at the maximum speed. + + + 300 + <_summary>How long to accelerate in milliseconds + <_description>How many milliseconds it takes to go from 0 to maximum speed. + + + 300 + <_summary>Initial delay in milliseconds + <_description>How many milliseconds to wait before mouse movement keys start to operate. + + + false + + + 300 + <_summary>Minimum interval in milliseconds + <_description>Do not accept a key as being pressed unless held for @delay milliseconds. + + + false + + + false + + + false + + + false + + + false + <_description>Disable if two keys are pressed at the same time. + + + false + <_description>Beep when a modifier is pressed. + + + false + + + diff --git a/schemas/org.mate.accessibility-startup.gschema.xml.in.in b/schemas/org.mate.accessibility-startup.gschema.xml.in.in new file mode 100644 index 0000000..0b0cc75 --- /dev/null +++ b/schemas/org.mate.accessibility-startup.gschema.xml.in.in @@ -0,0 +1,9 @@ + + + + [] + <_summary>Startup Assistive Technology Applications + <_description>List of assistive technology applications to start when logging into the MATE desktop. + + + diff --git a/schemas/org.mate.applications-at-mobility.gschema.xml.in.in b/schemas/org.mate.applications-at-mobility.gschema.xml.in.in new file mode 100644 index 0000000..d0466cd --- /dev/null +++ b/schemas/org.mate.applications-at-mobility.gschema.xml.in.in @@ -0,0 +1,14 @@ + + + + 'dasher' + <_summary>Preferred Mobility assistive technology application + <_description>Preferred Mobility assistive technology application to be used for login, menu, or command line. + + + false + <_summary>Start preferred Mobility assistive technology application + <_description>MATE to start preferred Mobility assistive technology application during login. + + + diff --git a/schemas/org.mate.applications-at-visual.gschema.xml.in.in b/schemas/org.mate.applications-at-visual.gschema.xml.in.in new file mode 100644 index 0000000..bb14ffb --- /dev/null +++ b/schemas/org.mate.applications-at-visual.gschema.xml.in.in @@ -0,0 +1,14 @@ + + + + 'orca' + <_summary>Preferred Visual assistive technology application + <_description>Preferred Visual assistive technology application be used for login, menu, or command line. + + + false + <_summary>Start preferred Visual assistive technology application + <_description>MATE to start preferred Visual assistive technology application during login. + + + diff --git a/schemas/org.mate.applications-browser.gschema.xml.in.in b/schemas/org.mate.applications-browser.gschema.xml.in.in new file mode 100644 index 0000000..6fbfc78 --- /dev/null +++ b/schemas/org.mate.applications-browser.gschema.xml.in.in @@ -0,0 +1,19 @@ + + + + 'mozilla' + <_summary>Default browser + <_description>Default browser for all URLs. + + + false + <_summary>Browser needs terminal + <_description>Whether the default browser needs a terminal to run. + + + true + <_summary>Browser understands remote + <_description>Whether the default browser understands netscape remote. + + + diff --git a/schemas/org.mate.applications-office.gschema.xml.in.in b/schemas/org.mate.applications-office.gschema.xml.in.in new file mode 100644 index 0000000..c891a86 --- /dev/null +++ b/schemas/org.mate.applications-office.gschema.xml.in.in @@ -0,0 +1,30 @@ + + + + + + + + 'evolution' + <_summary>Default calendar + <_description>Default calendar application + + + false + <_summary>Calendar needs terminal + <_description>Whether the default calendar application needs a terminal to run + + + + + 'evolution' + <_summary>Default tasks + <_description>Default tasks application + + + false + <_summary>Tasks needs terminal + <_description>Whether the default tasks application needs a terminal to run + + + diff --git a/schemas/org.mate.applications-terminal.gschema.xml.in.in b/schemas/org.mate.applications-terminal.gschema.xml.in.in new file mode 100644 index 0000000..c5a3240 --- /dev/null +++ b/schemas/org.mate.applications-terminal.gschema.xml.in.in @@ -0,0 +1,14 @@ + + + + 'mate-terminal' + <_summary>Terminal application + <_description>Terminal program to use when starting applications that require one. + + + '-x' + <_summary>Exec Arguments + <_description>Argument used to execute programs in the terminal defined by the 'exec' key. + + + diff --git a/schemas/org.mate.file-views.gschema.xml.in.in b/schemas/org.mate.file-views.gschema.xml.in.in new file mode 100644 index 0000000..54289ee --- /dev/null +++ b/schemas/org.mate.file-views.gschema.xml.in.in @@ -0,0 +1,9 @@ + + + + 'crux_teal' + <_summary>File Icon Theme + <_description>Theme used for displaying file icons. + + + diff --git a/schemas/org.mate.interface.gschema.xml.in.in b/schemas/org.mate.interface.gschema.xml.in.in new file mode 100644 index 0000000..d92b342 --- /dev/null +++ b/schemas/org.mate.interface.gschema.xml.in.in @@ -0,0 +1,144 @@ + + + + false + <_summary>Enable Accessibility + <_description>Whether Applications should have accessibility support. + + + true + <_summary>Enable Animations + <_description>Whether animations should be displayed. Note: This is a global key, it changes the behaviour of the window manager, the panel etc. + + + false + <_summary>Menus Have Tearoff + <_description>Whether menus should have a tearoff. + + + false + <_summary>Can Change Accels + <_description>Whether the user can dynamically type a new accelerator when positioned over an active menuitem. + + + 'both-horiz' + <_summary>Toolbar Style + <_description>Toolbar Style. Valid values are "both", "both-horiz", "icons", and "text". + + + true + <_summary>Menus Have Icons + <_description>Whether menus may display an icon next to a menu entry. + + + true + <_summary>Buttons Have Icons + <_description>Whether buttons may display an icon in addition to the button text. + + + false + <_summary>Menubar Detachable + <_description>Whether the user can detach menubars and move them around. + + + false + <_summary>Toolbar Detachable + <_description>Whether the user can detach toolbars and move them around. + + + 'large-toolbar' + <_summary>Toolbar Icon Size + <_description>Size of icons in toolbars, either "small-toolbar" or "large-toolbar". + + + true + <_summary>Cursor Blink + <_description>Whether the cursor should blink. + + + 1200 + <_summary>Cursor Blink Time + <_description>Length of the cursor blink cycle, in milliseconds. + + + 'mate' + <_summary>Icon Theme + <_description>Icon theme to use for the panel, caja etc. + + + 'Clearlooks' + <_summary>Gtk+ Theme + <_description>Basename of the default theme used by gtk+. + + + 'Default' + <_summary>Gtk+ Theme + <_description>Basename of the default theme used by gtk+. + + + '' + <_summary>List of symbolic names and color equivalents + <_description>A '\n' separated list of "name:color" as defined by the 'gtk-color-scheme' setting + + + 'Sans 10' + <_summary>Default font + <_description>Name of the default font used by gtk+. + + + 'callback' + <_summary>GTK IM Preedit Style + <_description>Name of the GTK+ input method Preedit Style used by gtk+. + + + 'callback' + <_summary>GTK IM Status Style + <_description>Name of the GTK+ input method Status Style used by gtk+. + + + '' + <_summary>GTK IM Module + <_description>Name of the input method module used by GTK+. + + + 'Sans 10' + <_summary>Document font + <_description>Name of the default font used for reading documents. + + + 'Monospace 10' + <_summary>Monospace font + <_description>Name of a monospaced (fixed-width) font for use in locations like terminals. + + + false + <_summary>Use Custom Font + <_description>Whether to use a custom font in gtk+ applications. + + + false + <_summary>Status Bar on Right + <_description>Whether to display a status bar meter on the right. + + + 'gio' + <_summary>Module for GtkFileChooser + <_description>Module to use as the filesystem model for the GtkFileChooser widget. Possible values are "gio" and "gtk+". + + + 'F10' + <_summary>Menubar accelerator + <_description>Keyboard shortcut to open the menu bars. + + + true + <_summary>Show the 'Input Methods' menu + <_description>Whether the context menus of entries and text views should offer to change the input method. + + + true + <_summary>Show the 'Unicode Control Character' menu + <_description>Whether the context menus of entries and text views should offer to insert control characters. + + + diff --git a/schemas/org.mate.lockdown.gschema.xml.in.in b/schemas/org.mate.lockdown.gschema.xml.in.in new file mode 100644 index 0000000..a9a1ab9 --- /dev/null +++ b/schemas/org.mate.lockdown.gschema.xml.in.in @@ -0,0 +1,39 @@ + + + + false + <_summary>Disable command line + <_description>Prevent the user from accessing the terminal or specifying a command line to be executed. For example, this would disable access to the panel's "Run Application" dialog. + + + false + <_summary>Disable saving files to disk + <_description>Prevent the user from saving files to disk. For example, this would disable access to all applications' "Save as" dialogs. + + + false + <_summary>Disable printing + <_description>Prevent the user from printing. For example, this would disable access to all applications' "Print" dialogs. + + + false + <_summary>Disable print setup + <_description>Prevent the user from modifying print settings. For example, this would disable access to all applications' "Print Setup" dialogs. + + + false + <_summary>Disable user switching + <_description>Prevent the user from switching to another account while his session is active. + + + false + <_summary>Disable lock screen + <_description>Prevent the user to lock his screen. + + + false + <_summary>Disable URL and MIME type handlers + <_description>Prevent running any URL or MIME type handler applications. + + + diff --git a/schemas/org.mate.peripherals-keyboard.gschema.xml.in.in b/schemas/org.mate.peripherals-keyboard.gschema.xml.in.in new file mode 100644 index 0000000..03c7a43 --- /dev/null +++ b/schemas/org.mate.peripherals-keyboard.gschema.xml.in.in @@ -0,0 +1,49 @@ + + + + + + + + + true + + + true + + + 30 + + + 500 + + + 0 + + + 'on' + <_description>possible values are "on", "off", and "custom". + + + 400 + + + 100 + + + '' + <_summary>Keyboard Bell Custom Filename + <_description>File name of the bell sound to be played. + + + true + <_summary>Remember NumLock state + <_description>When set to true, MATE will remember the state of the NumLock LED between sessions. + + + 'unknown' + <_summary>NumLock state + <_description>The remembered state of the NumLock LED. + + + diff --git a/schemas/org.mate.peripherals-mouse.gschema.xml.in.in b/schemas/org.mate.peripherals-mouse.gschema.xml.in.in new file mode 100644 index 0000000..a439871 --- /dev/null +++ b/schemas/org.mate.peripherals-mouse.gschema.xml.in.in @@ -0,0 +1,54 @@ + + + + false + <_summary>Mouse button orientation + <_description>Swap left and right mouse buttons for left-handed mice. + + + true + <_summary>Single Click + <_description>Single click to open icons. + + + -1 + <_summary>Single Click + <_description>Acceleration multiplier for mouse motion. A value of -1 is the system default. + + + -1 + <_summary>Motion Threshold + <_description>Distance in pixels the pointer must move before accelerated mouse motion is activated. A value of -1 is the system default. + + + 8 + <_summary>Drag Threshold + <_description>Distance before a drag is started. + + + 400 + <_summary>Double Click Time + <_description>Length of a double click. + + + false + <_summary>Locate Pointer + <_description>Highlights the current location of the pointer when the Control key is pressed and released. + + + '' + <_summary>Cursor font + <_description>Font name of the cursor. If unset, the default font is used. This value is only propagated to the X server start of each session, so changing it mid-session won't have an effect until the next time you log in. + + + '' + <_summary>Cursor theme + <_description>Cursor theme name. Used only by Xservers that support Xcursor, such as XFree86 4.3 and later. + + + 18 + <_summary>Cursor size + <_description>Size of the cursor referenced by cursor_theme. + + + diff --git a/schemas/org.mate.sound.gschema.xml.in.in b/schemas/org.mate.sound.gschema.xml.in.in new file mode 100644 index 0000000..7905007 --- /dev/null +++ b/schemas/org.mate.sound.gschema.xml.in.in @@ -0,0 +1,34 @@ + + + + '' + <_summary>Default mixer device + <_description>The default mixer device used by the multimedia key bindings. + + + [] + <_summary>Default mixer tracks + <_description>The default mixer tracks used by the multimedia key bindings. + + + false + <_summary>Enable ESD + <_description>Enable sound server startup. + + + false + <_summary>Sounds for events + <_description>Whether to play sounds on user events. + + + 'freedesktop' + <_summary>Sound theme name + <_description>The XDG sound theme to use for event sounds. + + + false + <_summary>Input feedback sounds + <_description>Whether to play sounds on input events. + + + diff --git a/schemas/org.mate.thumbnail-cache.gschema.xml.in.in b/schemas/org.mate.thumbnail-cache.gschema.xml.in.in new file mode 100644 index 0000000..35ecf14 --- /dev/null +++ b/schemas/org.mate.thumbnail-cache.gschema.xml.in.in @@ -0,0 +1,12 @@ + + + + 180 + <_description>Maximum age for thumbnails in the cache, in days. Set to -1 to disable cleaning. + + + 512 + <_description>Maximum size of the thumbnail cache, in megabytes. Set to -1 to disable cleaning. + + + diff --git a/schemas/org.mate.thumbnailers.gschema.xml.in.in b/schemas/org.mate.thumbnailers.gschema.xml.in.in new file mode 100644 index 0000000..edbc939 --- /dev/null +++ b/schemas/org.mate.thumbnailers.gschema.xml.in.in @@ -0,0 +1,14 @@ + + + + false + <_summary>Disable all external thumbnailers + <_description>Set to true to disable all external thumbnailer programs, independent on whether they are independently disabled/enabled. + + + [] + <_summary>List of mime-types for which external thumbnailer programs will be disabled + <_description>Thumbnails will not be created for files whose mime-type is contained in the list. + + + diff --git a/schemas/org.mate.typing-break.gschema.xml.in.in b/schemas/org.mate.typing-break.gschema.xml.in.in new file mode 100644 index 0000000..7b96e21 --- /dev/null +++ b/schemas/org.mate.typing-break.gschema.xml.in.in @@ -0,0 +1,24 @@ + + + + 60 + <_summary>Type time + <_description>Number of minutes of typing time before break mode starts. + + + 3 + <_summary>Break time + <_description>Number of minutes that the typing break should last. + + + false + <_summary>Allow postponing of breaks + <_description>Whether or not the typing break screen can be postponed. + + + false + <_summary>Whether or not keyboard locking is enabled + <_description>Whether or not keyboard locking is enabled. + + + -- cgit v1.2.1