From 4c9fa5b730cda5bfea78cd03e2625264f174ea93 Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Sun, 13 Oct 2024 12:19:36 +1100 Subject: [PATCH] Update wording --- README.md | 2 +- links/templates/links/link_form.html | 2 +- links/templates/links/link_list.html | 2 +- locale/en/LC_MESSAGES/django.po | 2 +- locale/zh_Hans/LC_MESSAGES/django.po | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9e704f3..1097399 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ URL Manager is a Django-based web application for managing and tracking short UR ## Usage -- To create a new short URL, click on the "Create New Link" button on the home page. +- To create a new short URL, click on the "New Link" button on the home page. - To edit or delete a link, use the corresponding buttons in the link list. - To view detailed statistics for a link, click on the "Details" button. - Use the search bar in the navigation to quickly find links by alias or original URL. diff --git a/links/templates/links/link_form.html b/links/templates/links/link_form.html index 34e6644..a1a60ba 100644 --- a/links/templates/links/link_form.html +++ b/links/templates/links/link_form.html @@ -11,7 +11,7 @@

- {% if form.instance.pk %}{% trans "Edit Link" %}{% else %}{% trans "Create New Link" %}{% endif %} + {% if form.instance.pk %}{% trans "Edit Link" %}{% else %}{% trans "New Link" %}{% endif %}

diff --git a/links/templates/links/link_list.html b/links/templates/links/link_list.html index 54d47c4..2a6dced 100644 --- a/links/templates/links/link_list.html +++ b/links/templates/links/link_list.html @@ -37,7 +37,7 @@ - {% trans "Create New Link" %} + {% trans "New Link" %}
diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.po index 7d8b0c8..53425a1 100644 --- a/locale/en/LC_MESSAGES/django.po +++ b/locale/en/LC_MESSAGES/django.po @@ -1666,7 +1666,7 @@ msgstr "" #: links/templates/links/link_form.html:14 #: links/templates/links/link_list.html:31 -msgid "Create New Link" +msgid "New Link" msgstr "" #: links/templates/links/link_form.html:33 diff --git a/locale/zh_Hans/LC_MESSAGES/django.po b/locale/zh_Hans/LC_MESSAGES/django.po index 55be422..8c11308 100644 --- a/locale/zh_Hans/LC_MESSAGES/django.po +++ b/locale/zh_Hans/LC_MESSAGES/django.po @@ -1689,7 +1689,7 @@ msgstr "编辑链接" #: links/templates/links/link_form.html:14 #: links/templates/links/link_list.html:40 -msgid "Create New Link" +msgid "New Link" msgstr "创建新链接" #: links/templates/links/link_form.html:33