Being totally new to creating QuickSearchProviders I might be off here.

I noticed that my translation didn't kick in when using this generated
layer.xml file.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" "
http://www.netbeans.org/dtds/filesystem-1_2.dtd";>
<filesystem>
    <folder name="QuickSearch">
        <folder name="Bookmarks">
            <attr name="command" stringvalue="b"/>
            <attr name="position" intvalue="0"/>
            <file
name="org-mapton-bookmarks-BookmarkQuickSearchProvider.instance">
                <attr name="displayName"
bundlevalue="org.mapton.bookmarks.Bundle#QuickSearch/Bookmarks/org-mapton-bookmarks-BookmarkQuickSearchProvider.instance"/>
            </file>
        </folder>
    </folder>
</filesystem>

So I changed it to the following and got it working.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" "
http://www.netbeans.org/dtds/filesystem-1_2.dtd";>
<filesystem>
    <folder name="QuickSearch">
        <folder name="Bookmarks">
            <attr name="command" stringvalue="b"/>
            <attr name="position" intvalue="0"/>
            <attr name="displayName"
bundlevalue="org.mapton.bookmarks.Bundle#QuickSearch/Bookmarks/org-mapton-bookmarks-BookmarkQuickSearchProvider.instance"/>
            <file
name="org-mapton-bookmarks-BookmarkQuickSearchProvider.instance"/>
        </folder>
    </folder>
</filesystem>

Will simplify it to
              <attr name="displayName"
bundlevalue="org.mapton.bookmarks.Bundle#QuickSearch/Bookmarks"/>

Is this a bug that I should file in jira?

/Patrik

Reply via email to