fixed translations in opensearch.xml
This commit is contained in:
parent
5a4be6dad6
commit
90d3964ca2
12 changed files with 39 additions and 5 deletions
|
@ -21,13 +21,14 @@ type URL struct {
|
|||
}
|
||||
|
||||
func generateOpenSearchXML(config Config) {
|
||||
baseURL := addProtocol(config.Domain)
|
||||
// Ensure that language is initialized in `main` before calling this function
|
||||
|
||||
baseURL := addProtocol(config.Domain)
|
||||
opensearch := OpenSearchDescription{
|
||||
Xmlns: "http://a9.com/-/spec/opensearch/1.1/",
|
||||
ShortName: "QGato",
|
||||
Description: "QGato search engine",
|
||||
Tags: "search, spitfire, qgato",
|
||||
ShortName: Translate("opensearch_shortname"),
|
||||
Description: Translate("opensearch_description"),
|
||||
Tags: Translate("opensearch_tags"),
|
||||
URLs: []URL{
|
||||
{
|
||||
Type: "text/html",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue