Fixed deprecation warnings for unescaped backslashes in Jinja templates

This commit is contained in:
squidfunk 2022-03-22 18:16:17 +01:00
parent 104c8c85e0
commit eab95da23f
8 changed files with 6 additions and 8 deletions

View File

@ -15,7 +15,6 @@
"meta.source": "Πηγή", "meta.source": "Πηγή",
"nav.title": "Πλοήγηση", "nav.title": "Πλοήγηση",
"search.config.pipeline": "stopWordFilter", "search.config.pipeline": "stopWordFilter",
"search.config.separator": "[\s\-]+",
"search.placeholder": "Αναζήτηση", "search.placeholder": "Αναζήτηση",
"search.share": "Διαμοίραση", "search.share": "Διαμοίραση",
"search.reset": "Καθαρισμός", "search.reset": "Καθαρισμός",

View File

@ -16,7 +16,7 @@
"nav.title": "Navigation", "nav.title": "Navigation",
"search.config.lang": "en", "search.config.lang": "en",
"search.config.pipeline": "trimmer, stopWordFilter", "search.config.pipeline": "trimmer, stopWordFilter",
"search.config.separator": "[\s\-]+", "search.config.separator": "[\\s\\-]+",
"search.placeholder": "Search", "search.placeholder": "Search",
"search.share": "Share", "search.share": "Share",
"search.reset": "Clear", "search.reset": "Clear",

View File

@ -15,7 +15,7 @@
"nav.title": "ナビゲーション", "nav.title": "ナビゲーション",
"search.config.lang": "ja", "search.config.lang": "ja",
"search.config.pipeline": "trimmer, stemmer", "search.config.pipeline": "trimmer, stemmer",
"search.config.separator": "[\s\- 、。,.]+", "search.config.separator": "[\\s\\- 、。,.]+",
"search.placeholder": "検索", "search.placeholder": "検索",
"search.reset": "クリア", "search.reset": "クリア",
"search.result.initializer": "検索を初期化", "search.result.initializer": "検索を初期化",

View File

@ -12,7 +12,7 @@
"meta.source": "來源", "meta.source": "來源",
"search.config.lang": "ja", "search.config.lang": "ja",
"search.config.pipeline": "trimmer, stemmer", "search.config.pipeline": "trimmer, stemmer",
"search.config.separator": "[\s\- 、。,.?;]+", "search.config.separator": "[\\s\\- 、。,.?;]+",
"search.placeholder": "搜尋", "search.placeholder": "搜尋",
"search.result.initializer": "正在初始化搜尋引擎", "search.result.initializer": "正在初始化搜尋引擎",
"search.result.placeholder": "打字進行搜尋", "search.result.placeholder": "打字進行搜尋",

View File

@ -35,7 +35,6 @@
"meta.source": "Πηγή", "meta.source": "Πηγή",
"nav.title": "Πλοήγηση", "nav.title": "Πλοήγηση",
"search.config.pipeline": "stopWordFilter", "search.config.pipeline": "stopWordFilter",
"search.config.separator": "[\s\-]+",
"search.placeholder": "Αναζήτηση", "search.placeholder": "Αναζήτηση",
"search.share": "Διαμοίραση", "search.share": "Διαμοίραση",
"search.reset": "Καθαρισμός", "search.reset": "Καθαρισμός",

View File

@ -36,7 +36,7 @@
"nav.title": "Navigation", "nav.title": "Navigation",
"search.config.lang": "en", "search.config.lang": "en",
"search.config.pipeline": "trimmer, stopWordFilter", "search.config.pipeline": "trimmer, stopWordFilter",
"search.config.separator": "[\s\-]+", "search.config.separator": "[\\s\\-]+",
"search.placeholder": "Search", "search.placeholder": "Search",
"search.share": "Share", "search.share": "Share",
"search.reset": "Clear", "search.reset": "Clear",

View File

@ -35,7 +35,7 @@
"nav.title": "ナビゲーション", "nav.title": "ナビゲーション",
"search.config.lang": "ja", "search.config.lang": "ja",
"search.config.pipeline": "trimmer, stemmer", "search.config.pipeline": "trimmer, stemmer",
"search.config.separator": "[\s\- 、。,.]+", "search.config.separator": "[\\s\\- 、。,.]+",
"search.placeholder": "検索", "search.placeholder": "検索",
"search.reset": "クリア", "search.reset": "クリア",
"search.result.initializer": "検索を初期化", "search.result.initializer": "検索を初期化",

View File

@ -32,7 +32,7 @@
"meta.source": "來源", "meta.source": "來源",
"search.config.lang": "ja", "search.config.lang": "ja",
"search.config.pipeline": "trimmer, stemmer", "search.config.pipeline": "trimmer, stemmer",
"search.config.separator": "[\s\- 、。,.?;]+", "search.config.separator": "[\\s\\- 、。,.?;]+",
"search.placeholder": "搜尋", "search.placeholder": "搜尋",
"search.result.initializer": "正在初始化搜尋引擎", "search.result.initializer": "正在初始化搜尋引擎",
"search.result.placeholder": "打字進行搜尋", "search.result.placeholder": "打字進行搜尋",