diff --git a/data/db.sqlite3 b/data/db.sqlite3 index 8a8481c..6728268 100644 Binary files a/data/db.sqlite3 and b/data/db.sqlite3 differ diff --git a/locale/zh_Hans/LC_MESSAGES/django.mo b/locale/zh_Hans/LC_MESSAGES/django.mo index 6ab5e85..054eee9 100644 Binary files a/locale/zh_Hans/LC_MESSAGES/django.mo and b/locale/zh_Hans/LC_MESSAGES/django.mo differ diff --git a/locale/zh_Hans/LC_MESSAGES/django.po b/locale/zh_Hans/LC_MESSAGES/django.po index a9d86bf..0192b13 100644 --- a/locale/zh_Hans/LC_MESSAGES/django.po +++ b/locale/zh_Hans/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-10-05 04:51-0500\n" +"POT-Creation-Date: 2024-10-08 07:10-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1566,18 +1566,32 @@ msgstr "" msgid "Text is required for Custom type." msgstr "" -#: links/models.py:7 links/templates/links/link_detail.html:13 +#: links/models.py:10 links/templates/links/link_detail.html:13 #: links/templates/links/link_form.html:22 #, fuzzy #| msgid "GoLinks" msgid "Link" msgstr "GoLinks" -#: links/models.py:8 links/templates/links/link_detail.html:17 +#: links/models.py:11 links/templates/links/link_detail.html:17 #: links/templates/links/link_form.html:25 msgid "Custom" msgstr "自定义链接" +#: links/models.py:52 +#, fuzzy +#| msgid "Original URL" +msgid "Old URL" +msgstr "原始URL" + +#: links/models.py:53 +msgid "New URL" +msgstr "" + +#: links/models.py:54 +msgid "Changed at" +msgstr "" + #: links/templates/links/link_confirm_delete.html:9 #, fuzzy #| msgid "Confirm deletion" @@ -1643,17 +1657,29 @@ msgstr "文本" msgid "Click Statistics" msgstr "点击统计" -#: links/templates/links/link_detail.html:96 +#: links/templates/links/link_detail.html:84 +msgid "URL Change History" +msgstr "" + +#: links/templates/links/link_detail.html:92 +msgid "URL changed at" +msgstr "" + +#: links/templates/links/link_detail.html:100 +msgid "No URL changes recorded." +msgstr "" + +#: links/templates/links/link_detail.html:120 #: links/templates/links/link_list.html:15 #: links/templates/links/link_list.html:76 msgid "Clicks" msgstr "点击次数" -#: links/templates/links/link_detail.html:109 +#: links/templates/links/link_detail.html:133 msgid "Number of Clicks" msgstr "" -#: links/templates/links/link_detail.html:115 +#: links/templates/links/link_detail.html:139 msgid "Date" msgstr "" @@ -1799,30 +1825,30 @@ msgstr "从JSON导入" msgid "Export Links" msgstr "导出别名" -#: links/views.py:90 links/views.py:126 +#: links/views.py:93 links/views.py:129 msgid "Alias cannot contain special characters." msgstr "链接别名中不能带有 - 或者 _ 以及其他任意特殊字符" -#: links/views.py:93 links/views.py:129 +#: links/views.py:96 links/views.py:132 #, fuzzy #| msgid "This alias already exists. Please choose a different one." msgid "This alias is already in use. Please choose another one." msgstr "该别名已存在。请选择一个不同的别名。" -#: links/views.py:171 +#: links/views.py:188 msgid "The alias '{}' doesn't exist. Do you want to create a new one?" msgstr "" -#: links/views.py:256 +#: links/views.py:276 msgid "Invalid JSON format. Expected a list of objects." msgstr "无效的JSON格式。预期是对象列表。" -#: links/views.py:262 +#: links/views.py:282 msgid "" "Invalid item in JSON. Each item must be an object with an 'alias' field." msgstr "JSON中存在无效项。每个项目必须是包含'alias'字段的对象。" -#: links/views.py:275 +#: links/views.py:295 #, fuzzy, python-brace-format #| msgid "{} aliases have been imported successfully." msgid "" @@ -1830,11 +1856,11 @@ msgid "" "were skipped." msgstr "{}个别名已成功导入。" -#: links/views.py:277 +#: links/views.py:297 msgid "Invalid JSON file. Please check the file format." msgstr "" -#: links/views.py:281 +#: links/views.py:301 #, fuzzy #| msgid "An error occurred during import: {}" msgid "An error occurred during import: {str(e)}"