diff options
| author | tanaka takashi <isazaka@gmail.com> | 2026-06-27 14:49:12 +0900 |
|---|---|---|
| committer | tanaka takashi <isazaka@gmail.com> | 2026-06-27 14:49:12 +0900 |
| commit | f93822cebf6258c3a31e03745183aa2c8bb56f4d (patch) | |
| tree | 8edfba7593d7db039b117fc4d742fbde78b72da6 /src/ollama_web/templates/login.html | |
| parent | b7943a7586fbd0bb0e19aad7732c11a62f72d7c1 (diff) | |
マルチ言語対応。MCP設定画面の言語切り替え表示にバグあり
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> |
