diff options
Diffstat (limited to 'src/ollama_web/templates/login.html')
| -rw-r--r-- | src/ollama_web/templates/login.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ollama_web/templates/login.html b/src/ollama_web/templates/login.html index af88b52..128c842 100644 --- a/src/ollama_web/templates/login.html +++ b/src/ollama_web/templates/login.html @@ -1,10 +1,14 @@ <!DOCTYPE html> -<html lang="ja"> +<html lang="{{ t('html.lang') }}"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>ollama-web login</title> <link rel="stylesheet" href="{{ url_for('static', path='style.css') }}" /> + <script> + window.I18N = {{ messages | tojson }}; + </script> + <script src="{{ url_for('static', path='i18n.js') }}"></script> </head> <body class="login-page"> <main class="login-shell"> @@ -12,7 +16,7 @@ <h1>ollama-web</h1> <label for="pin-input">PIN</label> <input id="pin-input" name="pin" type="password" autocomplete="current-password" autofocus /> - <button type="submit">ログイン</button> + <button type="submit">{{ t('login.title') }}</button> <p id="login-error" role="alert"></p> </form> </main> |
