From 894f164869649b820e7d145d4017e59e256dd947 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 20 Feb 2024 12:21:49 +0100 Subject: [fix] sort RTL_LOCALES before written into locales.json To avoid unnecessary changes to the file, the list should be sorted before it is written to the file. You can test it by calling multiple times:: make data.locales and searx/data/locales.json should be unchanged. Signed-off-by: Markus Heiser --- searx/data/locales.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/data') diff --git a/searx/data/locales.json b/searx/data/locales.json index cb45b1601..1b3a69539 100644 --- a/searx/data/locales.json +++ b/searx/data/locales.json @@ -62,8 +62,8 @@ "zh-Hant-TW": "中文, 台灣 (Chinese, Taiwan)" }, "RTL_LOCALES": [ - "fa-IR", "ar", + "fa-IR", "he" ] } \ No newline at end of file -- cgit v1.2.3