[easytag/wip/gsettings: 3/25] Add GSettings schema



commit 015ab098483eaa2372849a9349f5a0c2227a0170
Author: David King <amigadave amigadave com>
Date:   Sat Feb 16 22:52:59 2013 +0000

    Add GSettings schema

 .gitignore                         |    2 +
 Makefile.am                        |    7 +
 configure.ac                       |    2 +
 data/org.gnome.EasyTAG.gschema.xml |  943 ++++++++++++++++++++++++++++++++++++
 po/POTFILES.in                     |    1 +
 5 files changed, 955 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d30aff2..3e5efba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,9 +12,11 @@ config.h.in
 config.log
 config.status
 configure
+/data/org.gnome.EasyTAG.gschema.valid
 doc/easytag.1
 /easytag
 /easytag.desktop
+/easytag-*.tar.xz
 /easytag-*-setup.exe
 /easytag-win32-installer.nsi
 /easytag.exe
diff --git a/Makefile.am b/Makefile.am
index d4680fd..b0a77f9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -137,6 +137,9 @@ desktopdir = $(datadir)/applications
 desktop_in_files = easytag.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
+gsettings_SCHEMAS = data/org.gnome.EasyTAG.gschema.xml
+ GSETTINGS_RULES@
+
 man_MANS = doc/easytag.1
 
 pixmaps = \
@@ -209,6 +212,7 @@ uninstall-update-icon-cache:
 
 dist_noinst_DATA = \
        $(desktop_in_files) \
+       $(gsettings_SCHEMAS) \
        $(easytag_headers) \
        src/id3lib/patch_id3lib_3.8.3_UTF16_writing_bug.diff \
        src/libapetag/COPYING.LGPL \
@@ -335,6 +339,9 @@ DISTCLEANFILES = \
        intltool-update \
        po/.intltool-merge-cache
 
+MAINTAINERCLEANFILES = \
+       $(gsettings_SCHEMAS:.xml=.valid)
+
 git-changelog-hook:
        $(AM_V_at)if $(top_srcdir)/build-aux/missing --run git \
                --git-dir=$(top_srcdir)/.git --work-tree=$(top_srcdir) log \
diff --git a/configure.ac b/configure.ac
index 5aa03d1..34d5553 100644
--- a/configure.ac
+++ b/configure.ac
@@ -301,6 +301,8 @@ dnl Checks for library functions.
 dnl -------------------------------
 AC_CHECK_FUNCS([ftruncate gettimeofday mkstemp truncate])
 
+GLIB_GSETTINGS
+
 AC_CONFIG_FILES([ Makefile
                   doc/easytag.1
                   po/Makefile.in
diff --git a/data/org.gnome.EasyTAG.gschema.xml b/data/org.gnome.EasyTAG.gschema.xml
new file mode 100644
index 0000000..3df921c
--- /dev/null
+++ b/data/org.gnome.EasyTAG.gschema.xml
@@ -0,0 +1,943 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schemalist>
+
+  <enum id="org.gnome.EasyTAG.charset">
+    <value nick="IBM850" value="0" />
+    <value nick="ISO-8859-1" value="1" />
+    <value nick="ISO-8859-15" value="2" />
+    <value nick="windows-1252" value="3" />
+  </enum>
+
+  <enum id="org.gnome.EasyTAG.convert-spaces">
+    <value nick="spaces" value="0" />
+    <value nick="underscores" value="1" />
+    <value nick="remove-spaces" value="2" />
+    <value nick="no-change" value="3" />
+  </enum>
+
+  <enum id="org.gnome.EasyTAG.extension-mode">
+    <value nick="to-lower" value="0" />
+    <value nick="to-upper" value="1" />
+    <value nick="no-change" value="2" />
+  </enum>
+
+  <enum id="org.gnome.EasyTAG.playlist-content">
+    <value nick="none" value="0" />
+    <value nick="filenames" value="1" />
+    <value nick="mask" value="2" />
+  </enum>
+
+  <enum id="org.gnome.EasyTAG.rename-encoding">
+    <value nick="try-alternative" value="0" />
+    <value nick="transliterate" value="1" />
+    <value nick="discard" value="2" />
+  </enum>
+
+  <enum id="org.gnome.EasyTAG.scan-type">
+    <value nick="fill" value="0" />
+    <value nick="rename" value="1" />
+    <value nick="process" value="2" />
+  </enum>
+
+  <enum id="org.gnome.EasyTAG.sort-mode">
+    <value nick="ascending-filename" value="0" />
+    <value nick="descending-filename" value="1" />
+    <value nick="ascending-track-number" value="2" />
+    <value nick="descending-track-number" value="3" />
+    <value nick="ascending-creation-date" value="4" />
+    <value nick="descending-creation-date" value="5" />
+    <value nick="ascending-title" value="6" />
+    <value nick="descending-title" value="7" />
+    <value nick="ascending-artist" value="8" />
+    <value nick="descending-artist" value="9" />
+    <value nick="ascending-album-artist" value="10" />
+    <value nick="descending-album-artist" value="11" />
+    <value nick="ascending-album" value="12" />
+    <value nick="descending-album" value="13" />
+    <value nick="ascending-year" value="14" />
+    <value nick="descending-year" value="15" />
+    <value nick="ascending-genre" value="16" />
+    <value nick="descending-genre" value="17" />
+    <value nick="ascending-comment" value="18" />
+    <value nick="descending-comment" value="19" />
+    <value nick="ascending-composer" value="20" />
+    <value nick="descending-composer" value="21" />
+    <value nick="ascending-original-artist" value="22" />
+    <value nick="descending-original-artist" value="23" />
+    <value nick="ascending-copyright" value="24" />
+    <value nick="descending-copyright" value="25" />
+    <value nick="ascending-url" value="26" />
+    <value nick="descending-url" value="27" />
+    <value nick="ascending-encoded-by" value="28" />
+    <value nick="descending-encoded-by" value="29" />
+    <value nick="ascending-file-type" value="30" />
+    <value nick="descending-file-type" value="31" />
+    <value nick="ascending-file-size" value="32" />
+    <value nick="descending-file-size" value="33" />
+    <value nick="ascending-duration" value="34" />
+    <value nick="descending-duration" value="35" />
+    <value nick="ascending-bitrate" value="36" />
+    <value nick="descending-bitrate" value="37" />
+    <value nick="ascending-samplerate" value="38" />
+    <value nick="descending-samplerate" value="39" />
+  </enum>
+
+  <enum id="org.gnome.EasyTAG.tag-encoding">
+    <value nick="none" value="0" />
+    <value nick="transliterate" value="1" />
+    <value nick="discard" value="2" />
+  </enum>
+
+  <flags id="org.gnome.EasyTAG.process-fields">
+    <value nick="filename" value="1" />
+    <value nick="title" value="2" />
+    <value nick="artist" value="4" />
+    <value nick="album-artist" value="8" />
+    <value nick="album" value="16" />
+    <value nick="genre" value="32" />
+    <value nick="comment" value="64" />
+    <value nick="composer" value="128" />
+    <value nick="original-artist" value="256" />
+    <value nick="copyright" value="512" />
+    <value nick="url" value="1024" />
+    <value nick="encoded-by" value="2048" />
+  </flags>
+
+  <schema id="org.gnome.EasyTAG" path="/org/gnome/easytag/">
+    <key name="load-on-startup" type="b">
+      <summary>Load on startup</summary>
+      <description>Whether to load the default path (or the path passed as an
+      argument) on application startup</description>
+      <default>true</default>
+    </key>
+
+    <key name="remember-location" type="b">
+      <summary>Remember the location of the main window</summary>
+      <description>Whether to remember the location of the main window on the
+      screen, and to attempt to use the same location each time it is
+      shown</description>
+      <default>true</default>
+    </key>
+
+    <key name="default-path" type="s">
+      <summary>Default path</summary>
+      <description>The default path to search for music files</description>
+      <default>''</default>
+    </key>
+
+    <key name="browse-subdir" type="b">
+      <summary>Browse subdirectories</summary>
+      <description>Whether to search subdirectories for audio files when
+      reading a path in the browser</description>
+      <default>true</default>
+    </key>
+
+    <key name="browse-show-hidden" type="b">
+      <summary>Show hidden directories while browsing</summary>
+      <description>Whether to show hidden directories when showing a path in
+      the browser</description>
+      <default>false</default>
+    </key>
+
+    <key name="browse-expand-children" type="b">
+      <summary>Expand the subdirectories of the selected path</summary>
+      <description>Whether to expand the subdirectories of a node in the
+      directory browser when selecting it</description>
+      <default>true</default>
+    </key>
+
+    <key name="browse-show-subdir" type="b">
+      <summary>Show subdirectories while browsing</summary>
+      <description>Whether to show subdirectories for audio files when
+      showing a path in the browser</description>
+      <default>true</default>
+    </key>
+
+    <key name="cddb-automatic-search-hostname" type="s">
+      <summary>CDDB server hostname for automatic search</summary>
+      <description>The CDDB server to use for the automatic
+      search</description>
+      <default>'freedb.freedb.org'</default>
+    </key>
+
+    <key name="cddb-automatic-search-port" type="u">
+      <summary>CDDB server port for automatic search</summary>
+      <description>The CDDB server port to use for the automatic
+      search</description>
+      <default>80</default>
+      <range min="0" max="65535" />
+    </key>
+
+    <key name="cddb-automatic-search-path" type="s">
+      <summary>CDDB server path for automatic search</summary>
+      <description>The CDDB server path to use for the automatic
+      search</description>
+      <default>'/~cddb/cddb.cgi'</default>
+    </key>
+
+    <key name="cddb-automatic-search-hostname2" type="s">
+      <summary>CDDB server hostname for automatic search</summary>
+      <description>The CDDB server to use for the automatic
+      search</description>
+      <default>'freedb.musicbrainz.org'</default>
+    </key>
+
+    <key name="cddb-automatic-search-port2" type="u">
+      <summary>CDDB server port for automatic search</summary>
+      <description>The CDDB server port to use for the automatic
+      search</description>
+      <default>80</default>
+      <range min="0" max="65535" />
+    </key>
+
+    <key name="cddb-automatic-search-path2" type="s">
+      <summary>CDDB server path for automatic search</summary>
+      <description>The CDDB server path to use for the automatic
+      search</description>
+      <default>'/~cddb/cddb.cgi'</default>
+    </key>
+
+    <key name="cddb-manual-search-hostname" type="s">
+      <summary>CDDB server hostname for manual search</summary>
+      <description>The CDDB server to use for a manual search</description>
+      <default>'www.gnudb.org'</default>
+    </key>
+
+    <key name="cddb-manual-search-port" type="u">
+      <summary>CDDB server port for manual search</summary>
+      <description>The CDDB server port to use for a manual
+      search</description>
+      <default>80</default>
+      <range min="0" max="65535" />
+    </key>
+
+    <key name="cddb-manual-search-path" type="s">
+      <summary>CDDB server path for manual search</summary>
+      <description>The CDDB server path to use for a manual
+      search</description>
+      <default>'/~cddb/cddb.cgi'</default>
+    </key>
+
+    <key name="cddb-dlm-enabled" type="b">
+      <summary>Use DLM to match CDDB results to files</summary>
+      <description>Whether to use the DLM algorithm to match CDDB results to
+      files</description>
+      <default>false</default>
+    </key>
+
+    <key name="cddb-follow-file" type="b">
+      <summary>Select the file with the position which matches the position of
+      the CDDB result</summary>
+      <description>Whether to select the file in the file list which matches
+      the position in the CDDB results list</description>
+      <default>true</default>
+    </key>
+
+    <key name="cddb-local" type="b">
+      <summary>Use local CDDB</summary>
+      <description>Whether to use a locally-stored copy of the
+      CDDB</description>
+      <default>false</default>
+    </key>
+
+    <key name="cddb-local-path" type="s">
+      <summary>Path to local CDDB</summary>
+      <description>A path to a locally-stored copy of the CDDB</description>
+      <default>''</default>
+    </key>
+
+    <key name="cddb-proxy-enabled" type="b">
+      <summary>Enable proxy for remote CDDB</summary>
+      <description>Whether to access remote CDDB through a proxy</description>
+      <default>false</default>
+    </key>
+
+    <key name="cddb-proxy-hostname" type="s">
+      <summary>CDDB proxy hostname</summary>
+      <description>Hostname for a proxy to access remote CDDB</description>
+      <default>''</default>
+    </key>
+
+    <key name="cddb-proxy-port" type="u">
+      <summary>CDDB proxy port</summary>
+      <description>Port for a proxy to access remote CDDB</description>
+      <default>8080</default>
+      <range min="0" max="65535" />
+    </key>
+
+    <key name="cddb-proxy-username" type="s">
+      <summary>CDDB proxy username</summary>
+      <description>Username for a proxy to access remote CDDB</description>
+      <default>''</default>
+    </key>
+
+    <key name="cddb-proxy-password" type="s">
+      <summary>CDDB proxy password</summary>
+      <description>Password for a proxy to access remote CDDB</description>
+      <default>''</default>
+    </key>
+
+    <key name="cddb-remember-location" type="b">
+      <summary>Remember the location of the CDDB window</summary>
+      <description>Whether to remember the location of the CDDB window on the
+      screen, and to attempt to use the same location each time it is
+      shown</description>
+      <default>true</default>
+    </key>
+
+    <key name="cddb-run-scanner" type="b">
+      <summary>Run the scanner on CDDB results</summary>
+      <description>Whether to run the tag scanner, with the current settings,
+      on the CDDB results</description>
+      <default>false</default>
+    </key>
+
+    <key name="cddb-search-all-fields" type="b">
+      <summary>Search in all fiels of CDDB results</summary>
+      <description>Whether to search for matches in all fields of the returned
+      CDDB results</description>
+      <default>false</default>
+    </key>
+
+    <key name="cddb-search-all-categories" type="b">
+      <summary>Search in all categories of CDDB results</summary>
+      <description>Whether to search for matches in all categories of the
+      returned CDDB results</description>
+      <default>false</default>
+    </key>
+
+    <key name="cddb-search-show-categories" type="b">
+      <summary>Show the categories list in the CDDB manual search</summary>
+      <description>Whether to show the list of categories which can be searched
+      with a manual CDDB query</description>
+      <default>false</default>
+    </key>
+
+    <key name="file-preserve-modification-time" type="b">
+      <summary>Preserve modification time when writing files</summary>
+      <description>Whether to preserve the existing modification time when
+      editing files</description>
+      <default>true</default>
+    </key>
+
+    <key name="file-update-parent-modification-time" type="b">
+      <summary>Update parent directory modification time when writing
+      files</summary>
+      <description>Whether to update the modification time on the parent
+      directory when editing files</description>
+      <default>true</default>
+    </key>
+
+    <key name="file-show-header" type="b">
+      <summary>Show audio file header summary</summary>
+      <description>Whether to show header information, such as bitrate and
+      duration, for audio files</description>
+      <default>true</default>
+    </key>
+
+    <key name="file-changed-bold" type="b">
+      <summary>Show changed files in bold</summary>
+      <description>Whether to highlight changed files in the file list by
+      making them bold, or alternatively by making them red</description>
+      <default>true</default>
+    </key>
+
+    <key name="sort-case-sensitive" type="b">
+      <summary>Sort files case-sensitively</summary>
+      <description>Whether file sorting is case-sensitive</description>
+      <default>true</default>
+    </key>
+
+    <key name="sort-mode" enum="org.gnome.EasyTAG.sort-mode">
+      <summary>How to sort audio files in the file list</summary>
+      <description>Sort files in ascending or descending order for the selected
+      type</description>
+      <default>'ascending-track-number'</default>
+    </key>
+
+    <key name="log-lines" type="u">
+      <summary>Number of log lines</summary>
+      <description>The maximum number of lines to keep in the log</description>
+      <default>50</default>
+      <range min="10" max="1500" />
+    </key>
+
+    <key name="log-show" type="b">
+      <summary>Show the log</summary>
+      <description>Whether to show the log in the main window</description>
+      <default>true</default>
+    </key>
+
+    <key name="id3-override-read-encoding" type="b">
+      <summary>Use a non-standard character encoding when reading ID3
+      tags</summary>
+      <description>Whether to use a non-standard character encoding when
+      reading ID3 tags</description>
+      <default>false</default>
+    </key>
+
+    <key name="id3-strip-empty" type="b">
+      <summary>Strip ID3 tags if all ID3 tags are empty</summary>
+      <description>Whether to remove the ID3 tag from the audio file if all the
+      individual tag fields are empty</description>
+      <default>true</default>
+    </key>
+
+    <key name="id3v1-enabled" type="b">
+      <summary>Write ID3v1 tags</summary>
+      <description>Whether to write ID3v1 tags when writing ID3 tags into audio
+      files</description>
+      <default>true</default>
+    </key>
+
+    <key name="id3v1-charset" enum="org.gnome.EasyTAG.charset">
+      <summary>The character set for writing ID3v1 tags</summary>
+      <description>Choose the character set to be used when writing ID3v1
+      tags</description>
+      <default>'ISO-8859-1'</default>
+    </key>
+
+    <key name="id3v1-encoding-option" enum="org.gnome.EasyTAG.tag-encoding">
+      <summary>Encoding options when writing ID3v1 tags</summary>
+      <description>Additional options to pass to iconv() when converting
+      between encodings when writing ID3v1 tags</description>
+      <default>'none'</default>
+    </key>
+
+    <key name="id3v2-enabled" type="b">
+      <summary>Write ID3v2 tags</summary>
+      <description>Whether to write ID3v2 tags when writing ID3 tags into audio
+      files</description>
+      <default>true</default>
+    </key>
+
+    <key name="id3v2-version-4" type="b">
+      <summary>Enable ID3v2.4 support</summary>
+      <description>Whether to write ID3v2.4 tags when ID3v2 support is
+      enabled</description>
+      <default>true</default>
+    </key>
+
+    <key name="id3v2-convert-old" type="b">
+      <summary>Convert old ID3 tag versions to new ones</summary>
+      <description>Whether to convert ID3 tags written against old version of
+      the specification, such as ID3v2.2, to newer ones, such as
+      ID3v2.3 or ID3v2.4</description>
+      <default>true</default>
+    </key>
+
+    <key name="id3v2-compression" type="b">
+      <summary>Compress data in ID3v2 tags</summary>
+      <description>Whether to compress data in ID3v2 tags</description>
+      <default>false</default>
+    </key>
+
+    <key name="id3v2-crc32" type="b">
+      <summary>Use CRC-32 in ID3v2 tags</summary>
+      <description>Whether to embed a CRC-32 checksum of the audio file data in
+      ID3v2 tags</description>
+      <default>true</default>
+    </key>
+
+    <key name="id3v2-text-only-genre" type="b">
+      <summary>Use text-only genre in ID3v2 tags</summary>
+      <description>Whether to use only a string, and not the integer-base ID3v1
+      genre field, when writing a genre field to ID3v2 tags</description>
+      <default>false</default>
+    </key>
+
+    <key name="id3v2-enable-unicode" type="b">
+      <summary>Use Unicode character encoding in ID3v2 tags</summary>
+      <description>Whether to use a Unicode character set when writing ID3v2
+      tags</description>
+      <default>false</default>
+    </key>
+
+    <key name="id3v2-unicode-charset" type="s">
+      <summary>The Unicode character set for writing ID3v2 tags</summary>
+      <description>Choose the Unicode character set to be used when writing
+      ID3v2 tags</description>
+      <choices>
+        <choice value="UTF-8" />
+        <choice value="UTF-16" />
+      </choices>
+      <default>'UTF-8'</default>
+    </key>
+
+    <key name="id3v2-no-unicode-charset" enum="org.gnome.EasyTAG.charset">
+      <summary>The character set for writing ID3v2 tags</summary>
+      <description>Override the typical Unicode character set to be used when
+      writing ID3v2 tags</description>
+      <default>'ISO-8859-1'</default>
+    </key>
+
+    <key name="id3v2-encoding-option" enum="org.gnome.EasyTAG.tag-encoding">
+      <summary>Encoding options when writing ID3v2 tags</summary>
+      <description>Additional options to pass to iconv() when converting
+      between encodings when writing ID3v2 tags</description>
+      <default>'none'</default>
+    </key>
+
+    <key name="tag-date-autocomplete" type="b">
+      <summary>Automatically complete the date</summary>
+      <description>Whether to automatically complete the date tag</description>
+      <default>true</default>
+    </key>
+
+    <key name="tag-number-padded" type="b">
+      <summary>Pad the track number tag field</summary>
+      <description>Whether the track number tag field should be padded with
+      leading zeroes</description>
+      <default>true</default>
+    </key>
+
+    <key name="tag-number-length" type="u">
+      <summary>The length of the track number field</summary>
+      <description>The length of the track number field, which controls if the
+      field is padded with leading zeroes</description>
+      <default>2</default>
+      <range min="0" max="6" />
+    </key>
+
+    <key name="tag-preserve-focus" type="b">
+      <summary>Preserve the tag field focus</summary>
+      <description>Whether to preserve focus on the current tag field when
+      switching file</description>
+      <default>true</default>
+    </key>
+
+    <key name="audio-file-player" type="s">
+      <summary>Audio file player</summary>
+      <description>The audio file player command-line</description>
+      <default>'xmms -p'</default>
+    </key>
+
+    <key name="fill-convert-spaces" enum="org.gnome.EasyTAG.convert-spaces">
+      <summary>Convert spaces and underscores when filling tag fields</summary>
+      <description>Whether to convert to spaces (and %20) or underscores when
+      filling tag fields from filenames</description>
+      <default>'spaces'</default>
+    </key>
+
+    <key name="fill-overwrite-tag-fields" type="b">
+      <summary>Overwrite tag field</summary>
+      <description>Whether to overwrite the tag field values when filling
+      tags. Otherwise, only blank tag fields will be filled</description>
+      <default>true</default>
+    </key>
+
+    <key name="fill-set-default-comment" type="b">
+      <summary>Set the default comment</summary>
+      <description>Whether to set the comment tag field to the provided
+      default value when filling tags</description>
+      <default>true</default>
+    </key>
+
+    <key name="fill-default-comment" type="s">
+      <summary>Default comment for filling tags</summary>
+      <description>The default comment to use when fillings tags</description>
+      <default>'Encoded by EasyTAG'</default>
+    </key>
+
+    <key name="fill-crc32-comment" type="b">
+      <summary>Use the CRC-32 as the default comment</summary>
+      <description>Whether to use the CRC-32 of the audio file data as the
+      default comment, for files with ID3 tags only</description>
+      <default>false</default>
+    </key>
+
+    <key name="confirm-quit" type="b">
+      <summary>Confirm before quitting the application</summary>
+      <description>Whether to ask for confirmation from the user before
+      quitting the application</description>
+      <default>false</default>
+    </key>
+
+    <key name="confirm-write-tags" type="b">
+      <summary>Confirm before writing tags</summary>
+      <description>Whether to ask for confirmation from the user before
+      writing tags to audio files</description>
+      <default>false</default>
+    </key>
+
+    <key name="confirm-rename-file" type="b">
+      <summary>Confirm before renaming a file</summary>
+      <description>Whether to ask for confirmation from the user before
+      renaming a file</description>
+      <default>false</default>
+    </key>
+
+    <key name="confirm-write-playlist" type="b">
+      <summary>Confirm before writing a playlist</summary>
+      <description>Whether to ask for confirmation from the user before
+      writing a playlist</description>
+      <default>false</default>
+    </key>
+
+    <key name="confirm-delete-file" type="b">
+      <summary>Confirm before deleting a file</summary>
+      <description>Whether to ask for confirmation from the user before
+      deleting a file</description>
+      <default>true</default>
+    </key>
+
+    <key name="confirm-when-unsaved-files" type="b">
+      <summary>Confirm before losing unsaved changes to files</summary>
+      <description>Whether to ask for confirmation from the user before
+      performing an operation that would lose unsaved changes on
+      files</description>
+      <default>true</default>
+    </key>
+
+    <key name="load-filenames-run-scanner" type="b">
+      <summary>Run the current scanner when loading filenames from a
+      file</summary>
+      <description>Whether to run the current scanner on files loaded from a
+      text file</description>
+      <default>false</default>
+    </key>
+
+    <key name="process-fields" flags="org.gnome.EasyTAG.process-fields">
+      <summary>Process these tag fields</summary>
+      <description>The tag fields to process when using the
+      scanner</description>
+      
<default>['title','artist','album-artist','album','genre','comment','composer','original-artist','copyright','url','encoded-by']</default>
+    </key>
+
+    <key name="process-convert-spaces" enum="org.gnome.EasyTAG.convert-spaces">
+      <summary>Convert spaces and underscores in tags</summary>
+      <description>Whether to convert to spaces (and %20) or underscores when
+      processing tag fields</description>
+      <default>'spaces'</default>
+    </key>
+
+    <key name="process-convert-characters" type="b">
+      <summary>Convert characters in tags</summary>
+      <description>Whether to convert characters of the tag from one value to
+      another when processing tag fields</description>
+      <default>false</default>
+    </key>
+
+    <key name="process-convert-characters-from" type="s">
+      <summary>Convert characters in tags</summary>
+      <description>Convert the following characters when processing tag
+      fields</description>
+      <default>''</default>
+    </key>
+
+    <key name="process-convert-characters-to" type="s">
+      <summary>Convert characters in tags</summary>
+      <description>Replace any matched sequence of characters with this string
+      when processing tag fields</description>
+      <default>''</default>
+    </key>
+
+    <key name="process-lowercase-all" type="b">
+      <summary>Lower-case all characters</summary>
+      <description>Whether to lower-case all characters of the tag when
+      processing tag fields</description>
+      <default>false</default>
+    </key>
+
+    <key name="process-uppercase-all" type="b">
+      <summary>Upper-case all characters</summary>
+      <description>Whether to upper-case all characters of the tag when
+      processing tag fields</description>
+      <default>false</default>
+    </key>
+
+    <key name="process-uppercase-first-letter" type="b">
+      <summary>Upper-case the first letter of the tag</summary>
+      <description>Whether to upper-case the first letter of the tag when
+      processing tag fields</description>
+      <default>false</default>
+    </key>
+
+    <key name="process-uppercase-first-letters" type="b">
+      <summary>Upper-case the first letter of each word</summary>
+      <description>Whether to upper-case the first letter of each word when
+      processing tag fields</description>
+      <default>true</default>
+    </key>
+
+    <key name="process-uppercase-prepositions" type="b">
+      <summary>Upper-case prepositions</summary>
+      <description>Whether to upper-case the first letter of prepositions and
+      some other short words such as "feat." when processing tag
+      fields</description>
+      <default>false</default>
+    </key>
+
+    <key name="process-detect-roman-numerals" type="b">
+      <summary>Detect roman numerals</summary>
+      <description>Whether to detect Roman numerals when applying upper-case
+      conversions while processing tag fields</description>
+      <default>true</default>
+    </key>
+
+    <key name="process-remove-spaces" type="b">
+      <summary>Remove spaces</summary>
+      <description>Whether to remove all spaces when processing tag
+      fields</description>
+      <default>false</default>
+    </key>
+
+    <key name="process-insert-capital-spaces" type="b">
+      <summary>Insert spaces before capital letters</summary>
+      <description>Whether to insert spaces before capital letters when
+      processing tag fields</description>
+      <default>false</default>
+    </key>
+
+    <key name="process-remove-duplicate-spaces" type="b">
+      <summary>Remove duplicate spaces</summary>
+      <description>Whether to remove duplicate spaces and underscores when
+      processing tag fields</description>
+      <default>true</default>
+    </key>
+
+    <key name="playlist-filename-mask" type="s">
+      <summary>Playlist filename mask</summary>
+      <description>The default filename mask to use for a new
+      playlist</description>
+      <default>'playlist_%a_-_%b'</default>
+    </key>
+
+    <key name="playlist-use-mask" type="b">
+      <summary>Use a filename mask when generating a playlist</summary>
+      <description>Whether to use a filename mask when creating
+      playlists</description>
+      <default>false</default>
+    </key>
+
+    <key name="playlist-selected-only" type="b">
+      <summary>Create playlists with only the selected files</summary>
+      <description>Whether to use only the selected files or all files when
+      creating playlists</description>
+      <default>false</default>
+    </key>
+
+    <key name="playlist-relative" type="b">
+      <summary>Use relative paths when creating playlists</summary>
+      <description>Whether to use relative paths for files when creating
+      playlists</description>
+      <default>false</default>
+    </key>
+
+    <key name="playlist-parent-directory" type="b">
+      <summary>Create the playlist in the parent directory</summary>
+      <description>Whether to create the playlist in the parent
+      directory</description>
+      <default>false</default>
+    </key>
+
+    <key name="playlist-dos-separator" type="b">
+      <summary>Use DOS separators for playlists</summary>
+      <description>Whether to use DOS path separators when generating
+      playlists</description>
+      <default>false</default>
+    </key>
+
+    <key name="playlist-content" enum="org.gnome.EasyTAG.playlist-content">
+      <summary>Content of generated playlists</summary>
+      <description>Write a list of files, information from the filename or 
+      information using a supplied mask</description>
+      <default>'mask'</default>
+    </key>
+
+    <key name="playlist-default-mask" type="s">
+      <summary>Playlist default mask</summary>
+      <description>The default mask to use for files in a playlist</description>
+      <default>'%n/%l - %a - %b - %t'</default>
+    </key>
+
+    <key name="search-case-sensitive" type="b">
+      <summary>Search for files case-sensitively</summary>
+      <description>Whether matches when searching for files are
+      case-sensitive</description>
+      <default>true</default>
+    </key>
+
+    <key name="search-filename" type="b">
+      <summary>Search in filenames</summary>
+      <description>Perform the search on filenames</description>
+      <default>true</default>
+    </key>
+
+    <key name="search-remember-location" type="b">
+      <summary>Remember the location of the search window</summary>
+      <description>Whether to remember the location of the search window on the
+      screen, and to attempt to use the same location each time it is
+      shown</description>
+      <default>true</default>
+    </key>
+
+    <key name="search-tag" type="b">
+      <summary>Search in tags</summary>
+      <description>Perform the search on tags</description>
+      <default>true</default>
+    </key>
+
+    <key name="scan-tag-default-mask" type="s">
+      <summary>Mask for filling tags from filenames</summary>
+      <description>The default mask to use when automatically filling tags
+      with information from filenames</description>
+      <default>'%b/%a - %t'</default>
+    </key>
+
+    <key name="rename-file-default-mask" type="s">
+      <summary>Mask for renaming files</summary>
+      <description>The default mask to use when renaming files</description>
+      <default>'%a - %t'</default>
+    </key>
+
+    <key name="rename-directory-default-mask" type="s">
+      <summary>Mask for renaming directories</summary>
+      <description>The default mask to use when renaming
+      directories</description>
+      <default>'%b'</default>
+    </key>
+
+    <key name="rename-directory-with-mask" type="b">
+      <summary>Use a mask when renaming directories</summary>
+      <description>Whether to use a mask when renaming directories</description>
+      <default>true</default>
+    </key>
+
+    <key name="rename-convert-spaces" enum="org.gnome.EasyTAG.convert-spaces">
+      <summary>Convert spaces and underscores when renaming files</summary>
+      <description>Whether to convert to spaces or underscores when renaming
+      files</description>
+      <default>'spaces'</default>
+    </key>
+
+    <key name="rename-extension-mode" enum="org.gnome.EasyTAG.extension-mode">
+      <summary>How to modify filename extensions when renaming</summary>
+      <description>Change the file extension to all lower-case, all upper-case
+      or do not change it</description>
+      <default>'to-lower'</default>
+    </key>
+
+    <key name="rename-encoding" enum="org.gnome.EasyTAG.rename-encoding">
+      <summary>Encoding options when renaming files</summary>
+      <description>If the encoding of the filename does not match the
+      filesystem encoding, choose whether to try another encoding, approximate
+      the filesystem encoding with transliteration or discard the offending
+      characters</description>
+      <default>'try-alternative'</default>
+    </key>
+
+    <key name="rename-replace-illegal-chars" type="b">
+      <summary>Replace illegal characters when renaming</summary>
+      <description>Whether to replace illegal characters in a filename when
+      using the rename function. TODO</description>
+      <default>true</default>
+    </key>
+
+    <key name="scan-mask-editor-show" type="b">
+      <summary>Show the scanner mask editor</summary>
+      <description>Whether to show the scanner mask editor in the tag
+      scanner</description>
+      <default>false</default>
+    </key>
+
+    <key name="scan-legend-show" type="b">
+      <summary>Show the scanner legend</summary>
+      <description>Whether to show the scanner legend in the tag
+      scanner</description>
+      <default>true</default>
+    </key>
+
+    <key name="scan-remember-location" type="b">
+      <summary>Remember the location of the scanner window</summary>
+      <description>Whether to remember the location of the scanner window on
+      the screen, and to attempt to use the same location each time it is
+      shown</description>
+      <default>true</default>
+    </key>
+
+    <key name="scan-startup" type="b">
+      <summary>Show the scanner window on startup</summary>
+      <description>Whether to show the scanner window on application
+      startup</description>
+      <default>false</default>
+    </key>
+
+    <key name="scan-type" enum="org.gnome.EasyTAG.scan-type">
+      <summary>The scan type</summary>
+      <description>Which type of scan to show in the scanner</description>
+      <default>'rename'</default>
+    </key>
+
+    <key name="flac-write-id3" type="b">
+      <summary>Write ID3 tags to FLAC files</summary>
+      <description>Whether to write ID3 tags to FLAC files</description>
+      <default>false</default>
+    </key>
+
+    <key name="ogg-split-title" type="b">
+      <summary>Split OGG title fields</summary>
+      <description>Whether to split title fields at a " - " separator in OGG
+      comments</description>
+      <default>false</default>
+    </key>
+
+    <key name="ogg-split-artist" type="b">
+      <summary>Split OGG artist fields</summary>
+      <description>Whether to split artist fields at a " - " separator in OGG
+      comments</description>
+      <default>false</default>
+    </key>
+
+    <key name="ogg-split-album" type="b">
+      <summary>Split OGG album fields</summary>
+      <description>Whether to split album fields at a " - " separator in OGG
+      comments</description>
+      <default>false</default>
+    </key>
+
+    <key name="ogg-split-genre" type="b">
+      <summary>Split OGG genre fields</summary>
+      <description>Whether to split genre fields at a " - " separator in OGG
+      comments</description>
+      <default>false</default>
+    </key>
+
+    <key name="ogg-split-comment" type="b">
+      <summary>Split OGG comment fields</summary>
+      <description>Whether to split comment fields at a " - " separator in OGG
+      comments</description>
+      <default>false</default>
+    </key>
+
+    <key name="ogg-split-composer" type="b">
+      <summary>Split OGG composer fields</summary>
+      <description>Whether to split composer fields at a " - " separator in OGG
+      comments</description>
+      <default>false</default>
+    </key>
+
+    <key name="ogg-split-original-artist" type="b">
+      <summary>Split OGG original artist fields</summary>
+      <description>Whether to split original artist fields at a " - " separator
+      in OGG comments</description>
+      <default>false</default>
+    </key>
+
+    <key name="ogg-xmms-comment" type="b">
+      <summary>Write XMMS-style comment to OGG comments</summary>
+      <description>Whether to write the invalid XMMS-style comment field in OGG
+      comments</description>
+      <default>false</default>
+    </key>
+
+    <key name="preferences-page" type="u">
+      <summary>Page to show in the preferences dialog</summary>
+      <description>The page in the notebook of the preferences
+      dialog</description>
+      <default>0</default>
+      <range min="0" max="7" />
+    </key>
+
+  </schema>
+</schemalist>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e91a7c1..53d9f77 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,5 @@
 easytag.desktop.in
+data/org.gnome.EasyTAG.gschema.xml
 src/about.c
 src/ape_tag.c
 src/bar.c


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]