From c41ab84738ddfc71d6062e0d173afa33ac2c35a6 Mon Sep 17 00:00:00 2001 From: frosty Date: Wed, 1 Apr 2026 00:37:15 +0300 Subject: feat: begin working on localisation --- templates/home.html | 10 +++++----- templates/images.html | 16 ++++++++-------- templates/results.html | 20 ++++++++++---------- templates/settings.html | 44 ++++++++++++++++++++++++++++---------------- 4 files changed, 51 insertions(+), 39 deletions(-) (limited to 'templates') diff --git a/templates/home.html b/templates/home.html index ae00824..8bec45b 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,5 +1,5 @@ - + @@ -24,21 +24,21 @@
-
- + diff --git a/templates/images.html b/templates/images.html index f2b5222..f4522aa 100644 --- a/templates/images.html +++ b/templates/images.html @@ -1,5 +1,5 @@ - + @@ -19,21 +19,21 @@ OmniSearch
-
- + @@ -46,10 +46,10 @@
diff --git a/templates/results.html b/templates/results.html index 9dec20c..4ce7496 100644 --- a/templates/results.html +++ b/templates/results.html @@ -1,5 +1,5 @@ - + @@ -23,21 +23,21 @@
-
- + @@ -88,7 +88,7 @@ {{result[3]}}

- View Cached + {{l("view_cached")}} {{endfor}} @@ -117,9 +117,9 @@

{{info[2]|safe}}

- - Read More - + + {{l("read_more")}} +
diff --git a/templates/settings.html b/templates/settings.html index 8b79033..9d8854b 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -1,11 +1,11 @@ - + - OmniSearch - Settings + OmniSearch - {{l("settings_title")}} {{if theme == "light"}}{{endif}} @@ -23,27 +23,27 @@ {{if query != ""}}
-
{{endif}} {{if query != ""}} - + {{else}} - + {{endif}} {{if query != ""}} @@ -53,23 +53,35 @@
-

Theme

-

Choose your preferred colour scheme.

+

{{l("theme_label")}}

+

{{l("theme_desc")}}

- + +
+
+
+

{{l("language_label")}}

+

{{l("language_desc")}}

+
+ +
- +
- + \ No newline at end of file -- cgit v1.2.3