diff options
author | Stefano Karapetsas <[email protected]> | 2013-02-10 23:06:46 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-02-10 23:06:46 +0100 |
commit | b10ccd46e6d2d70f7639ec076c1f746803cd2e55 (patch) | |
tree | 999b51fae50addfffef0298b3a92ce793c6db2fa /applets/wncklet | |
parent | 352b1136eabf1e1a7752264a7690ac355e39756d (diff) | |
download | mate-panel-b10ccd46e6d2d70f7639ec076c1f746803cd2e55.tar.bz2 mate-panel-b10ccd46e6d2d70f7639ec076c1f746803cd2e55.tar.xz |
Make GSettings schemas translatable
Diffstat (limited to 'applets/wncklet')
5 files changed, 51 insertions, 48 deletions
diff --git a/applets/wncklet/Makefile.am b/applets/wncklet/Makefile.am index 55a2dddc..b6842195 100644 --- a/applets/wncklet/Makefile.am +++ b/applets/wncklet/Makefile.am @@ -90,6 +90,9 @@ gsettings_SCHEMAS = \ @INTLTOOL_XML_NOMERGE_RULE@ @GSETTINGS_RULES@ +%.gschema.xml.in: %.gschema.xml.in.in Makefile + $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@ + EXTRA_DIST = \ org.mate.panel.Wncklet.mate-panel-applet.in.in \ $(service_in_files) \ diff --git a/applets/wncklet/org.mate.panel.applet.window-list.gschema.xml.in b/applets/wncklet/org.mate.panel.applet.window-list.gschema.xml.in deleted file mode 100644 index 0f2d871d..00000000 --- a/applets/wncklet/org.mate.panel.applet.window-list.gschema.xml.in +++ /dev/null @@ -1,24 +0,0 @@ -<schemalist gettext-domain="@GETTEXT_PACKAGE@"> - <enum id="org.mate.panel.applet.window-list.GroupingType"> - <value nick="never" value="0"/> - <value nick="auto" value="1"/> - <value nick="always" value="2"/> - </enum> - <schema id="org.mate.panel.applet.window-list"> - <key name="display-all-workspaces" type="b"> - <default>false</default> - <summary>Show windows from all workspaces</summary> - <description>If true, the window list will show windows from all workspaces. Otherwise it will only display windows from the current workspace.</description> - </key> - <key name="group-windows" enum="org.mate.panel.applet.window-list.GroupingType"> - <default>'never'</default> - <summary>When to group windows</summary> - <description>Decides when to group windows from the same application on the window list. Possible values are "never", "auto" and "always".</description> - </key> - <key name="move-unminimized-windows" type="b"> - <default>true</default> - <summary>Move windows to current workspace when unminimized</summary> - <description>If true, then when unminimizing a window, move it to the current workspace. Otherwise, switch to the workspace of the window.</description> - </key> - </schema> -</schemalist> diff --git a/applets/wncklet/org.mate.panel.applet.window-list.gschema.xml.in.in b/applets/wncklet/org.mate.panel.applet.window-list.gschema.xml.in.in new file mode 100644 index 00000000..a9647379 --- /dev/null +++ b/applets/wncklet/org.mate.panel.applet.window-list.gschema.xml.in.in @@ -0,0 +1,24 @@ +<schemalist gettext-domain="@GETTEXT_PACKAGE@"> + <enum id="org.mate.panel.applet.window-list.GroupingType"> + <value nick="never" value="0"/> + <value nick="auto" value="1"/> + <value nick="always" value="2"/> + </enum> + <schema id="org.mate.panel.applet.window-list"> + <key name="display-all-workspaces" type="b"> + <default>false</default> + <_summary>Show windows from all workspaces</_summary> + <_description>If true, the window list will show windows from all workspaces. Otherwise it will only display windows from the current workspace.</_description> + </key> + <key name="group-windows" enum="org.mate.panel.applet.window-list.GroupingType"> + <default>'never'</default> + <_summary>When to group windows</_summary> + <_description>Decides when to group windows from the same application on the window list. Possible values are "never", "auto" and "always".</_description> + </key> + <key name="move-unminimized-windows" type="b"> + <default>true</default> + <_summary>Move windows to current workspace when unminimized</_summary> + <_description>If true, then when unminimizing a window, move it to the current workspace. Otherwise, switch to the workspace of the window.</_description> + </key> + </schema> +</schemalist> diff --git a/applets/wncklet/org.mate.panel.applet.workspace-switcher.gschema.xml.in b/applets/wncklet/org.mate.panel.applet.workspace-switcher.gschema.xml.in deleted file mode 100644 index 682e42de..00000000 --- a/applets/wncklet/org.mate.panel.applet.workspace-switcher.gschema.xml.in +++ /dev/null @@ -1,24 +0,0 @@ -<schemalist> - <schema id="org.mate.panel.applet.workspace-switcher"> - <key name="display-workspace-names" type="b"> - <default>false</default> - <summary>Display workspace names</summary> - <description>If true, the workspaces in the workspace switcher will display the names of the workspaces. Otherwise they will display the windows on the workspace. This setting only works when the window manager is Marco.</description> - </key> - <key name="display-all-workspaces" type="b"> - <default>true</default> - <summary>Display all workspaces</summary> - <description>If true, the workspace switcher will show all workspaces. Otherwise it will only show the current workspace.</description> - </key> - <key name="num-rows" type="i"> - <default>1</default> - <summary>Rows in workspace switcher</summary> - <description>This key specifies how many rows (for horizontal layout) or columns (for vertical layout) the workspace switcher shows the workspaces in. This key is only relevant if the display_all_workspaces key is true.</description> - </key> - <key name="wrap-workspaces" type="b"> - <default>false</default> - <summary>Wrap around on scroll</summary> - <description>If true, the workspace switcher will allow wrap-around, which means switching from the first to the last workspace and vice versa via scrolling.</description> - </key> - </schema> -</schemalist> diff --git a/applets/wncklet/org.mate.panel.applet.workspace-switcher.gschema.xml.in.in b/applets/wncklet/org.mate.panel.applet.workspace-switcher.gschema.xml.in.in new file mode 100644 index 00000000..82a20922 --- /dev/null +++ b/applets/wncklet/org.mate.panel.applet.workspace-switcher.gschema.xml.in.in @@ -0,0 +1,24 @@ +<schemalist gettext-domain="@GETTEXT_PACKAGE@"> + <schema id="org.mate.panel.applet.workspace-switcher"> + <key name="display-workspace-names" type="b"> + <default>false</default> + <_summary>Display workspace names</_summary> + <_description>If true, the workspaces in the workspace switcher will display the names of the workspaces. Otherwise they will display the windows on the workspace. This setting only works when the window manager is Marco.</_description> + </key> + <key name="display-all-workspaces" type="b"> + <default>true</default> + <_summary>Display all workspaces</_summary> + <_description>If true, the workspace switcher will show all workspaces. Otherwise it will only show the current workspace.</_description> + </key> + <key name="num-rows" type="i"> + <default>1</default> + <_summary>Rows in workspace switcher</_summary> + <_description>This key specifies how many rows (for horizontal layout) or columns (for vertical layout) the workspace switcher shows the workspaces in. This key is only relevant if the display_all_workspaces key is true.</_description> + </key> + <key name="wrap-workspaces" type="b"> + <default>false</default> + <_summary>Wrap around on scroll</_summary> + <_description>If true, the workspace switcher will allow wrap-around, which means switching from the first to the last workspace and vice versa via scrolling.</_description> + </key> + </schema> +</schemalist> |