diff options
author | Marius Ungureanu <teromario@yahoo.com> | 2016-05-04 17:09:22 +0300 |
---|---|---|
committer | Marius Ungureanu <teromario@yahoo.com> | 2016-05-04 17:09:22 +0300 |
commit | f9a3b55ae221b167c081fa5deb73e5ff934430c8 (patch) | |
tree | 993151ae146a4ca39ace1c06e156e999a858839d /Mono.Addins/Mono.Addins.Database | |
parent | 6e892971381c39bfac70df6aa5c4b8312f0f1287 (diff) |
Fix AddinLocalizerGettextAttribute
Diffstat (limited to 'Mono.Addins/Mono.Addins.Database')
-rw-r--r-- | Mono.Addins/Mono.Addins.Database/AddinScanner.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mono.Addins/Mono.Addins.Database/AddinScanner.cs b/Mono.Addins/Mono.Addins.Database/AddinScanner.cs index b87d92b..ac146d6 100644 --- a/Mono.Addins/Mono.Addins.Database/AddinScanner.cs +++ b/Mono.Addins/Mono.Addins.Database/AddinScanner.cs @@ -843,10 +843,11 @@ namespace Mono.Addins.Database AddinLocalizerGettextAttribute locat = (AddinLocalizerGettextAttribute) reflector.GetCustomAttribute (asm, typeof(AddinLocalizerGettextAttribute), false); if (locat != null) { ExtensionNodeDescription node = new ExtensionNodeDescription (); + node.SetAttribute ("type", "Gettext"); if (!string.IsNullOrEmpty (locat.Catalog)) node.SetAttribute ("catalog", locat.Catalog); if (!string.IsNullOrEmpty (locat.Location)) - node.SetAttribute ("location", locat.Catalog); + node.SetAttribute ("location", locat.Location); config.Localizer = node; } |