Mercurial Hosting > luan
comparison website/src/translating.html.luan @ 1929:31f006c64782
translation
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Thu, 01 May 2025 18:31:05 -0600 |
| parents | website/src/index.html.luan@1461449b6074 |
| children | bd00b36380d9 |
comparison
equal
deleted
inserted
replaced
| 1928:e16f38f4fdfc | 1929:31f006c64782 |
|---|---|
| 1 local Luan = require "luan:Luan.luan" | |
| 2 local error = Luan.error | |
| 3 local Io = require "luan:Io.luan" | |
| 4 local Site_translator = require "luan:gpt/Site_translator.luan" | |
| 5 local get_lang = Site_translator.get_lang or error() | |
| 6 local text_writer = Site_translator.text_writer or error() | |
| 7 local Shared = require "site:/lib/Shared.luan" | |
| 8 local head = Shared.head or error() | |
| 9 local header = Shared.header or error() | |
| 10 | |
| 11 | |
| 12 return function() | |
| 13 Io.stdout = text_writer() | |
| 14 %> | |
| 15 <!doctype html> | |
| 16 <html lang="<%=get_lang()%>"> | |
| 17 <head> | |
| 18 <% head() %> | |
| 19 <title>Luan</title> | |
| 20 </head> | |
| 21 <body> | |
| 22 <% header() %> | |
| 23 <div content> | |
| 24 <p>Translating, please try again in a minute...</p> | |
| 25 </div> | |
| 26 </body> | |
| 27 </html> | |
| 28 <% | |
| 29 end |
