i18n: change all page titles and nav text to Chinese
This commit is contained in:
@@ -3,17 +3,17 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}Postcard Manager{% endblock %}</title>
|
||||
<title>{% block title %}明信片管理器{% endblock %}</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar">
|
||||
<a href="/dashboard" class="nav-brand">📮 Postcard Manager</a>
|
||||
<a href="/dashboard" class="nav-brand">📮 明信片管理器</a>
|
||||
<div class="nav-links">
|
||||
{% if user is defined and user %}
|
||||
<a href="/profiles">Profiles</a>
|
||||
<a href="/settings">Settings</a>
|
||||
<a href="/logout" class="nav-logout">Logout</a>
|
||||
<a href="/profiles">Profile</a>
|
||||
<a href="/settings">设置</a>
|
||||
<a href="/logout" class="nav-logout">退出</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Dashboard - Postcard Manager{% endblock %}
|
||||
{% block title %}总览 - 明信片管理器{% endblock %}
|
||||
{% block content %}
|
||||
<div class="section-header">
|
||||
<h1>👋 欢迎,{{ user.username }}</h1>
|
||||
@@ -94,7 +94,7 @@
|
||||
</div>
|
||||
|
||||
<div class="dash-section">
|
||||
<h2>Profiles</h2>
|
||||
<h2>Profile</h2>
|
||||
<div class="dash-profiles">
|
||||
{% for p in profiles %}
|
||||
<a href="/profiles/{{ p.id }}/postcards" class="dash-profile-link">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}登录 - Postcard Manager{% endblock %}
|
||||
{% block title %}登录 - 明信片管理器{% endblock %}
|
||||
{% block content %}
|
||||
<div class="auth-form">
|
||||
<h2>登录</h2>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}明信片详情 - Postcard Manager{% endblock %}
|
||||
{% block title %}明信片详情 - 明信片管理器{% endblock %}
|
||||
{% block content %}
|
||||
<div class="section-header">
|
||||
<h1>{{ postcard.card_number }}</h1>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}{{ '编辑' if postcard else '新建' }}明信片 - Postcard Manager{% endblock %}
|
||||
{% block title %}{{ '编辑' if postcard else '新建' }}明信片 - 明信片管理器{% endblock %}
|
||||
{% block content %}
|
||||
<div class="section-header">
|
||||
<h1>{{ '编辑' if postcard else '新建' }}明信片</h1>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}{{ profile.nickname }} - Postcard Manager{% endblock %}
|
||||
{% block title %}{{ profile.nickname }} - 明信片管理器{% endblock %}
|
||||
{% block content %}
|
||||
<div class="section-header">
|
||||
<h1>{{ profile.nickname }} 的明信片</h1>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Profiles - Postcard Manager{% endblock %}
|
||||
{% block title %}Profile - 明信片管理器{% endblock %}
|
||||
{% block content %}
|
||||
<div class="section-header">
|
||||
<h1>Profiles</h1>
|
||||
<h1>Profile</h1>
|
||||
</div>
|
||||
<div class="inline-form">
|
||||
<form method="post" action="/profiles" class="form-row">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}用户设置 - Postcard Manager{% endblock %}
|
||||
{% block title %}用户设置 - 明信片管理器{% endblock %}
|
||||
{% block content %}
|
||||
<div class="section-header">
|
||||
<h1>用户设置</h1>
|
||||
|
||||
Reference in New Issue
Block a user