From b10ccd46e6d2d70f7639ec076c1f746803cd2e55 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Sun, 10 Feb 2013 23:06:46 +0100 Subject: Make GSettings schemas translatable --- applets/fish/Makefile.am | 3 ++ .../fish/org.mate.panel.applet.fish.gschema.xml.in | 34 ---------------------- .../org.mate.panel.applet.fish.gschema.xml.in.in | 34 ++++++++++++++++++++++ 3 files changed, 37 insertions(+), 34 deletions(-) delete mode 100644 applets/fish/org.mate.panel.applet.fish.gschema.xml.in create mode 100644 applets/fish/org.mate.panel.applet.fish.gschema.xml.in.in (limited to 'applets/fish') diff --git a/applets/fish/Makefile.am b/applets/fish/Makefile.am index d25c5eb0..5ba408ee 100644 --- a/applets/fish/Makefile.am +++ b/applets/fish/Makefile.am @@ -81,6 +81,9 @@ gsettings_SCHEMAS = org.mate.panel.applet.fish.gschema.xml @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 = \ wanda.svg \ $(fishbitmaps_DATA) \ diff --git a/applets/fish/org.mate.panel.applet.fish.gschema.xml.in b/applets/fish/org.mate.panel.applet.fish.gschema.xml.in deleted file mode 100644 index a3c3fe77..00000000 --- a/applets/fish/org.mate.panel.applet.fish.gschema.xml.in +++ /dev/null @@ -1,34 +0,0 @@ - - - - 'Wanda' - The fish's name - A fish without a name is a pretty dull fish. Bring your fish to life by naming him. - - - 'wanda.png' - The fish's animation pixmap - This key specifies the filename of the pixmap which will be used for the animation displayed in the fish applet relative to the pixmap directory. - - - 'fortune' - Command to execute on click - This key specifies the command that will be tried to execute when the fish is clicked. - - - 8 - Frames in fish's animation - This key specifies the number of frames that will be displayed in the fish's animation. - - - 0.3 - Pause per frame - This key specifies the number of seconds each frame will be displayed. - - - false - Rotate on vertical panels - If true, the fish's animation will be displayed rotated on vertical panels. - - - diff --git a/applets/fish/org.mate.panel.applet.fish.gschema.xml.in.in b/applets/fish/org.mate.panel.applet.fish.gschema.xml.in.in new file mode 100644 index 00000000..6ab7bd07 --- /dev/null +++ b/applets/fish/org.mate.panel.applet.fish.gschema.xml.in.in @@ -0,0 +1,34 @@ + + + + 'Wanda' + <_summary>The fish's name + <_description>A fish without a name is a pretty dull fish. Bring your fish to life by naming him. + + + 'wanda.png' + <_summary>The fish's animation pixmap + <_description>This key specifies the filename of the pixmap which will be used for the animation displayed in the fish applet relative to the pixmap directory. + + + 'fortune' + <_summary>Command to execute on click + <_description>This key specifies the command that will be tried to execute when the fish is clicked. + + + 8 + <_summary>Frames in fish's animation + <_description>This key specifies the number of frames that will be displayed in the fish's animation. + + + 0.3 + <_summary>Pause per frame + <_description>This key specifies the number of seconds each frame will be displayed. + + + false + <_summary>Rotate on vertical panels + <_description>If true, the fish's animation will be displayed rotated on vertical panels. + + + -- cgit v1.2.1