added lang support to all html templates and cleaned up template rendering

This commit is contained in:
partisan 2024-10-08 22:11:06 +02:00
parent 5dd3114e2d
commit d9d0301548
18 changed files with 645 additions and 410 deletions

View file

@ -1,4 +1,3 @@
msgid "settings_title"
msgstr "Settings"
@ -29,10 +28,10 @@ msgstr "Latte"
msgid "safe_search"
msgstr "Safe Search"
msgid "safe_search_off"
msgid "off"
msgstr "Off"
msgid "safe_search_on"
msgid "on"
msgstr "On"
msgid "site_language"
@ -41,5 +40,152 @@ msgstr "Site Language"
msgid "search_language"
msgstr "Search Language"
msgid "no_results"
msgstr "No results found for '%s'. Try different keywords."
msgid "no_more_results"
msgstr "Looks like this is the end of results."
msgid "safe_search_off"
msgstr "Safe Search Off"
msgid "safe_search_on"
msgstr "Safe Search On"
msgid "save_settings"
msgstr "Save Settings"
msgstr "Save settings"
msgid "page_title"
msgstr "Search results for '%s'"
msgid "site_name"
msgstr "Ocásek"
msgid "search"
msgstr "Search"
msgid "web"
msgstr "Web"
msgid "image"
msgstr "Image"
msgid "images"
msgstr "Images"
msgid "video"
msgstr "Video"
msgid "videos"
msgstr "Videos"
msgid "forum"
msgstr "Forum"
msgid "forums"
msgstr "Forums"
msgid "map"
msgstr "Map"
msgid "maps"
msgstr "Maps"
msgid "file"
msgstr "File"
msgid "torrents"
msgstr "Torrents"
msgid "searching_for_new_results"
msgstr "Searching for new results..."
msgid "previous"
msgstr "Previous"
msgid "next"
msgstr "Next"
msgid "fetched_in"
msgstr "Fetched in %s seconds"
msgid "sort_seeders"
msgstr "Number of Seeders"
msgid "sort_leechers"
msgstr "Number of Leechers"
msgid "sort_lth"
msgstr "Size (Low to High)"
msgid "sort_htl"
msgstr "Size (High to Low)"
msgid "category_all"
msgstr "All Categories"
msgid "category_movie"
msgstr "Movies"
msgid "category_audiobook"
msgstr "Audiobooks"
msgid "category_tv"
msgstr "TV Shows"
msgid "category_games"
msgstr "Games"
msgid "category_software"
msgstr "Software"
msgid "category_anime"
msgstr "Anime"
msgid "category_music"
msgstr "Music"
msgid "category_xxx"
msgstr "XXX (18+)"
msgid "apply_settings"
msgstr "Apply settings"
msgid "error"
msgstr "Error"
msgid "views"
msgstr "views"
msgid "seeders"
msgstr "Seeders"
msgid "leechers"
msgstr "Leechers"
msgid "no_results_found"
msgstr "Your search '%s' came back with no results."
msgid "suggest_rephrase"
msgstr "Try rephrasing your search term and/or correct any spelling mistakes."
msgid "streets"
msgstr "Streets"
msgid "satellite"
msgstr "Satellite"
msgid "esri_satellite"
msgstr "Esri Satellite"
msgid "topographic"
msgstr "Topographic"
msgid "locate_me"
msgstr "Locate Me"
msgid "you_are_within"
msgstr "You are within "
msgid "meters_from_point"
msgstr "meters from this point"