Update GConf migration guide
authorMatthias Clasen <mclasen@redhat.com>
Sun, 23 Sep 2012 15:23:29 +0000 (11:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 23 Sep 2012 15:23:29 +0000 (11:23 -0400)
Newer intltool makes this much easier. Yay
https://bugzilla.gnome.org/show_bug.cgi?id=674620

docs/reference/gio/migrating-gconf.xml

index 44e4e32..413c10f 100644 (file)
@@ -357,14 +357,12 @@ gsettings_SCHEMAS = my.app.gschema.xml
         Translations for these strings will also be handled
         via gettext, so you should arrange for these strings to be
         extracted into your gettext catalog. One way to do that is to use
-        intltool. For that, you use <tag class="starttag">_summary</tag>
-        and <tag class="starttag">_description</tag> elements in a
-        .gschema.xml.in file and use
-        <literal>@<!-- -->INTLTOOL_XML_NOMERGE_RULE<!-- -->@</literal>
-        in your Makefile.am to produce the .gschema.xml file. The
-        <literal>NOMERGE</literal> part of the rule instructs intltool
-        to extract translatable strings, but not merge the translations
-        back into the generated xml file.
+        intltool. Since intltool 0.50.1, schema files are
+        supported, so all you have to do is to add your .gschema.xml
+        files to <filename>POTFILES.in</filename> with a line like
+        <programlisting>
+        [type: gettext/gsettings]data/org.foo.MyApp.gschema.xml
+        </programlisting>
       </para>
       <para>
         GSettings is a bit more restrictive about key names than GConf. Key