summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel da Rosa <webjoel@users.noreply.github.com>2018-08-27 15:34:12 -0300
committerLauris BH <lauris@nix.lv>2018-08-27 21:34:12 +0300
commit34831afaa74ec41883245695872a09b920077420 (patch)
treecf95791eb8cef2c8cae30cb98dfae9802a6d69e4
parent51c3b4b4bfb0ee27f822aa86b4a33d74d678b142 (diff)
downloadgitea-34831afaa74ec41883245695872a09b920077420.tar.gz
gitea-34831afaa74ec41883245695872a09b920077420.zip
Locale for Edit and Remove due date issue (#4802)
-rw-r--r--options/locale/locale_en-US.ini4
-rw-r--r--templates/repo/issue/view_content/sidebar.tmpl4
2 files changed, 4 insertions, 4 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 4b2b20204f..cb31b95e74 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -779,8 +779,8 @@ issues.error_modifying_due_date = "Failed to modify the due date."
issues.error_removing_due_date = "Failed to remove the due date."
issues.due_date_form = "yyyy-mm-dd"
issues.due_date_form_add = "Add due date"
-issues.due_date_form_update = "Update due date"
-issues.due_date_form_remove = "Remove due date"
+issues.due_date_form_edit = "Edit"
+issues.due_date_form_remove = "Remove"
issues.due_date_not_writer = "You need repository write access to update an issue's due date."
issues.due_date_not_set = "No due date set."
issues.due_date_added = "added the due date %s %s"
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl
index 606ac303e6..7ecae57447 100644
--- a/templates/repo/issue/view_content/sidebar.tmpl
+++ b/templates/repo/issue/view_content/sidebar.tmpl
@@ -225,8 +225,8 @@
{{end}}
{{if and .IsSigned .IsRepositoryWriter}}
<br/>
- <a style="cursor:pointer;" onclick="toggleDeadlineForm();"><i class="edit icon"></i>Edit</a> -
- <a style="cursor:pointer;" onclick="updateDeadline('');"><i class="remove icon"></i>Remove</a>
+ <a style="cursor:pointer;" onclick="toggleDeadlineForm();"><i class="edit icon"></i>{{$.i18n.Tr "repo.issues.due_date_form_edit"}}</a> -
+ <a style="cursor:pointer;" onclick="updateDeadline('');"><i class="remove icon"></i>{{$.i18n.Tr "repo.issues.due_date_form_remove"}}</a>
{{end}}
</p>
{{else}}