diff options
author | Danilo Segan <danilo@canonical.com> | 2011-10-08 20:08:58 +0200 |
---|---|---|
committer | Danilo Segan <danilo@canonical.com> | 2011-10-08 20:08:58 +0200 |
commit | c1b3fc2b64aaada233a5d98cf8aba8a00f11ebac (patch) | |
tree | 303030d20d0e4537b588c45804af406a51b57f77 /intltool-update.in | |
parent | f52b713ee389b7335a414d9e2decf294d603379e (diff) | |
download | intltool-c1b3fc2b64aaada233a5d98cf8aba8a00f11ebac.tar.gz |
Apply patch from Ryan with a few fixes and a test case.
Diffstat (limited to 'intltool-update.in')
-rw-r--r-- | intltool-update.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/intltool-update.in b/intltool-update.in index 58add1d..4bcf2c0 100644 --- a/intltool-update.in +++ b/intltool-update.in @@ -69,6 +69,7 @@ my $xml_support = "server(?:\\.in)+|". # Bonobo specific "sheet(?:\\.in)+|". # ? "schemas(?:\\.in)+|". # GConf specific +"gschema.xml|". # GLib schema (ie: GSettings) specific "pong(?:\\.in)+|". # DEPRECATED: PONG is not used [by GNOME] any longer. "kbd(?:\\.in)+|". # GOK specific. "policy(?:\\.in)+"; # PolicyKit files @@ -240,6 +241,10 @@ sub POFile_DetermineType ($) { $gettext_type=$1; } + elsif ($type =~ /gschema.xml$/) + { + $gettext_type="gsettings"; + } elsif ($type =~ /schemas(\.in)+$/) { $gettext_type="schemas"; |