aboutsummaryrefslogtreecommitdiff
path: root/templates/home.html
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-04-01 00:37:15 +0300
committerfrosty <gabriel@bwaaa.monster>2026-04-01 00:37:15 +0300
commitc41ab84738ddfc71d6062e0d173afa33ac2c35a6 (patch)
treefa3f377277a99877fda4415f30cbff56468031db /templates/home.html
parent335b6f46837f3496467da50de2d9bce0c5ef6a1a (diff)
downloadomnisearch-c41ab84738ddfc71d6062e0d173afa33ac2c35a6.tar.gz
feat: begin working on localisation
Diffstat (limited to 'templates/home.html')
-rw-r--r--templates/home.html10
1 files changed, 5 insertions, 5 deletions
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 @@
<!DOCTYPE html>
-<html lang="en">
+<html lang="{{__locale_id}}" dir="{{__locale_direction}}">
<head>
<meta charset="UTF-8">
@@ -24,21 +24,21 @@
</h1>
<form action="/search" class="home-search-form">
<div class="search-input-wrapper">
- <input name="q" type="text" class="search-box" placeholder="Search the web..."
+ <input name="q" type="text" class="search-box" placeholder="{{l("search_placeholder")}}"
autofocus autocomplete="off">
</div>
<div class="buttons">
<button type="submit" class="btn-primary">
- Search
+ {{l("search_button")}}
</button>
<button type="submit" name="btnI" value="1" class="btn-secondary">
- Surprise me
+ {{l("surprise_me_button")}}
</button>
</div>
</form>
</div>
</div>
- <a href="/settings" class="home-settings-btn" title="Settings"></a>
+ <a href="/settings" class="home-settings-btn" title="{{l("settings_tab")}}"></a>
</body>
</html>