From 362657059029defbe16e0ee3fb52140d6388c7fe Mon Sep 17 00:00:00 2001 From: MaxLHy0424 Date: Wed, 4 Feb 2026 23:29:47 +0800 Subject: [PATCH 1/2] fix bug --- Gmeek.py | 4 ++-- templates/plist.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gmeek.py b/Gmeek.py index 9f6e7ae..00bc9e2 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -17,8 +17,8 @@ from transliterate import translit from collections import OrderedDict ###################################################################################### i18n={"Search":"Search","switchTheme":"switch theme","home":"home","comments":"comments","run":"run ","days":" days","Previous":"Previous","Next":"Next"} -i18nCN={"Search":"搜索","switchTheme":"切换主题","home":"首页","comments":"评论","run":"网站运行","days":"天","Previous":"上一页","Next":"下一页"} -i18nRU={"Search":"Поиск","switchTheme": "Сменить тему","home":"Главная","comments":"Комментарии","run":"работает ","days":" дней","Previous":"Предыдущая","Next":"Следующая"} +i18nCN={"Search":"搜索","switchTheme":"切换主题","home":"首页","comments":"评论","run":"网站运行 ","days":" 天","Previous":"上一页","Next":"下一页"} +i18nRU={"Search":"Поиск","switchTheme": "Сменить тему","home":"Главная","comments":"Комментарии ","run":" работает ","days":" дней","Previous":"Предыдущая","Next":"Следующая"} IconBase={ "post":"M0 3.75C0 2.784.784 2 1.75 2h12.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 14H1.75A1.75 1.75 0 0 1 0 12.25Zm1.75-.25a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-8.5a.25.25 0 0 0-.25-.25ZM3.5 6.25a.75.75 0 0 1 .75-.75h7a.75.75 0 0 1 0 1.5h-7a.75.75 0 0 1-.75-.75Zm.75 2.25h4a.75.75 0 0 1 0 1.5h-4a.75.75 0 0 1 0-1.5Z", "link":"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z", diff --git a/templates/plist.html b/templates/plist.html index 090f06c..3a54b9e 100644 --- a/templates/plist.html +++ b/templates/plist.html @@ -85,7 +85,7 @@ {% for num in postListJson -%}
- + {{ postListJson[num]['postTitle']|e }}
From 027908eda87f7d5b6e0e28c1492c6702a1412466 Mon Sep 17 00:00:00 2001 From: MaxLHy0424 Date: Wed, 4 Feb 2026 23:39:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=AD=A3=E8=AF=AD=E6=B3=95?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gmeek.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gmeek.py b/Gmeek.py index 00bc9e2..af13242 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -16,7 +16,7 @@ from jinja2 import Environment, FileSystemLoader from transliterate import translit from collections import OrderedDict ###################################################################################### -i18n={"Search":"Search","switchTheme":"switch theme","home":"home","comments":"comments","run":"run ","days":" days","Previous":"Previous","Next":"Next"} +i18n={"Search":"Search","switchTheme":"switch theme","home":"home","comments":"comments","run":"run ","days":" day(s)","Previous":"Previous","Next":"Next"} i18nCN={"Search":"搜索","switchTheme":"切换主题","home":"首页","comments":"评论","run":"网站运行 ","days":" 天","Previous":"上一页","Next":"下一页"} i18nRU={"Search":"Поиск","switchTheme": "Сменить тему","home":"Главная","comments":"Комментарии ","run":" работает ","days":" дней","Previous":"Предыдущая","Next":"Следующая"} IconBase={