diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-12-19 22:30:29 +0000 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-01-28 13:01:25 +0000 |
commit | b1e65c525df146873698e7ebce9c8ab6197e9fdb (patch) | |
tree | 273e543cdc3cfe8cc61dd4b4efb3eff5d54b9ab2 /data | |
parent | 5724ec6722afac0bdb7e1133090dd66a6a9902de (diff) | |
download | totem-b1e65c525df146873698e7ebce9c8ab6197e9fdb.tar.gz |
build: Use intltool to translate GSettings schema files directly
Instead of using intltool’s XML rules, use its specific GSettings schema
rules to simplify translation of the schema files.
This bumps the intltool dependency to 0.50.1.
https://bugzilla.gnome.org/show_bug.cgi?id=741794
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 3 | ||||
-rw-r--r-- | data/org.gnome.totem.gschema.xml.in (renamed from data/org.gnome.totem.gschema.xml.in.in) | 50 |
2 files changed, 25 insertions, 28 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 0cf72cc25..aa10e60bd 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -116,9 +116,6 @@ CLEANFILES += \ gsettings_ENUM_NAMESPACE = org.gnome.totem gsettings_ENUM_FILES = $(top_srcdir)/src/*.h $(top_srcdir)/src/backend/*.h gsettings_SCHEMAS = org.gnome.totem.gschema.xml -CLEANFILES += $(gsettings_SCHEMAS) - -@INTLTOOL_XML_NOMERGE_RULE@ @GSETTINGS_RULES@ convertdir = $(datadir)/GConf/gsettings diff --git a/data/org.gnome.totem.gschema.xml.in.in b/data/org.gnome.totem.gschema.xml.in index dc48ee6e7..b4236d08f 100644 --- a/data/org.gnome.totem.gschema.xml.in.in +++ b/data/org.gnome.totem.gschema.xml.in @@ -3,41 +3,41 @@ <schema id="org.gnome.totem" path="/org/gnome/Totem/" gettext-domain="@GETTEXT_PACKAGE@"> <key name="brightness" type="i"> <default>32767</default> - <_summary>The brightness of the video</_summary> + <summary>The brightness of the video</summary> </key> <key name="contrast" type="i"> <default>32767</default> - <_summary>The contrast of the video</_summary> + <summary>The contrast of the video</summary> </key> <key name="hue" type="i"> <default>32767</default> - <_summary>The hue of the video</_summary> + <summary>The hue of the video</summary> </key> <key name="saturation" type="i"> <default>32767</default> - <_summary>The saturation of the video</_summary> + <summary>The saturation of the video</summary> </key> <key name="repeat" type="b"> <default>false</default> - <_summary>Repeat mode</_summary> + <summary>Repeat mode</summary> </key> <key name="disable-deinterlacing" type="b"> <default>false</default> - <_summary>Whether to disable deinterlacing for interlaced movies</_summary> + <summary>Whether to disable deinterlacing for interlaced movies</summary> </key> <key name="audio-output-type" enum="org.gnome.totem.BvwAudioOutputType"> <default>'stereo'</default> - <_summary>Type of audio output to use</_summary> + <summary>Type of audio output to use</summary> </key> <key name="network-buffer-threshold" type="d"> <default>2</default> - <_summary>Network buffering threshold</_summary> - <_description>Amount of data to buffer for network streams before starting to display the stream (in seconds).</_description> + <summary>Network buffering threshold</summary> + <description>Amount of data to buffer for network streams before starting to display the stream (in seconds).</description> </key> <key name="subtitle-font" type="s"> <default>'Sans Bold 20'</default> - <_summary>Subtitle font</_summary> - <_description>Pango font description for subtitle rendering.</_description> + <summary>Subtitle font</summary> + <description>Pango font description for subtitle rendering.</description> </key> <key name="subtitle-encoding" type="s"> <default l10n="messages" context="subtitle-encoding"> @@ -46,44 +46,44 @@ encoding for fansub subtitles in your language. File a bug against Totem, and leave UTF-8 as the default if in doubt. --> 'UTF-8'</default> - <_summary>Subtitle encoding</_summary> - <_description>Encoding character set for subtitle.</_description> + <summary>Subtitle encoding</summary> + <description>Encoding character set for subtitle.</description> </key> <key name="open-uri" type="s"> <default>''</default> - <_summary>Default location for the "Open..." dialogs</_summary> - <_description>Default location for the "Open..." dialogs. Default is the current directory.</_description> + <summary>Default location for the "Open..." dialogs</summary> + <description>Default location for the "Open..." dialogs. Default is the current directory.</description> </key> <key name="screenshot-save-uri" type="s"> <default>''</default> - <_summary>Default location for the "Take Screenshot" dialogs</_summary> - <_description>Default location for the "Take Screenshot" dialogs. Default is the Pictures directory.</_description> + <summary>Default location for the "Take Screenshot" dialogs</summary> + <description>Default location for the "Take Screenshot" dialogs. Default is the Pictures directory.</description> </key> <key name="disable-user-plugins" type="b"> <default>false</default> - <_summary>Whether to disable the plugins in the user's home directory</_summary> + <summary>Whether to disable the plugins in the user's home directory</summary> </key> <key name="disable-keyboard-shortcuts" type="b"> <default>false</default> - <_summary>Whether to disable the keyboard shortcuts</_summary> + <summary>Whether to disable the keyboard shortcuts</summary> </key> <key name="autoload-subtitles" type="b"> <default>false</default> - <_summary>Whether to autoload text subtitle files when a movie is loaded</_summary> + <summary>Whether to autoload text subtitle files when a movie is loaded</summary> </key> <key name="autoload-chapters" type="b"> <default>true</default> - <_summary>Whether to autoload external chapter files when a movie is loaded</_summary> + <summary>Whether to autoload external chapter files when a movie is loaded</summary> </key> <key name="active-plugins" type="as"> <default>['skipto','chapters','screenshot','media_player_keys','screensaver','movie-properties','save-file']</default> - <_summary>Active plugins list</_summary> - <_description>A list of the names of the plugins which are currently active (loaded and running).</_description> + <summary>Active plugins list</summary> + <description>A list of the names of the plugins which are currently active (loaded and running).</description> </key> <key name="filesystem-paths" type="as"> <default>[]</default> - <_summary>Directories to show</_summary> - <_description>Directories to show in the browse interface, none by default</_description> + <summary>Directories to show</summary> + <description>Directories to show in the browse interface, none by default</description> </key> </schema> </schemalist> |