aboutsummaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorLanre Adelowo <adelowomailbox@gmail.com>2019-01-21 12:45:32 +0100
committerLauris BH <lauris@nix.lv>2019-01-21 13:45:32 +0200
commite1fcd6b7427d1e7c43ac9dcb32462a8e6d77c905 (patch)
tree46b617eb487061dcb8bfd3da7175d7bd23f51e6d /options
parent8a92544a3e06e0c1146ee6d0c340d662e1b0633c (diff)
downloadgitea-e1fcd6b7427d1e7c43ac9dcb32462a8e6d77c905.tar.gz
gitea-e1fcd6b7427d1e7c43ac9dcb32462a8e6d77c905.zip
Disallow empty titles (#5785)
* add util method and tests * make sure the title of an issue cannot be empty * wiki title cannot be empty * pull request title cannot be empty * update to make use of the new util methof
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 0c32f3f5fd..85ce82084b 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -662,6 +662,7 @@ ext_issues.desc = Link to an external issue tracker.
issues.desc = Organize bug reports, tasks and milestones.
issues.new = New Issue
+issues.new.title_empty = Title cannot be empty
issues.new.labels = Labels
issues.new.no_label = No Label
issues.new.clear_labels = Clear labels