]> source.dussan.org Git - gitea.git/commitdiff
Improve Description in new/ edit Project template (#14429)
authordelvh <dev.lh@web.de>
Sat, 23 Jan 2021 10:30:28 +0000 (11:30 +0100)
committerGitHub <noreply@github.com>
Sat, 23 Jan 2021 10:30:28 +0000 (11:30 +0100)
Fixes #14358

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
options/locale/locale_en-US.ini
templates/repo/projects/new.tmpl

index ec133f4b41df8028ce4c9f957c5c1d9d8fac1f45..770670ec1f872e187ffd63e28c988b4e4043d4e7 100644 (file)
@@ -926,7 +926,8 @@ ext_issues = Ext. Issues
 ext_issues.desc = Link to an external issue tracker.
 
 projects = Projects
-projects.desc = Manage issues and pulls in project boards.
+projects.description = Description (optional)
+projects.description_placeholder = Description
 projects.create = Create Project
 projects.title = Title
 projects.new = New project
index f668ab6018df2600aae41a472c59b1bedaadc7e7..3a99d56f9edab38351f7b94396f7b05a98fea0eb 100644 (file)
@@ -29,8 +29,8 @@
                                        <input name="title" placeholder="{{.i18n.Tr "repo.projects.title"}}" value="{{.title}}" autofocus required>
                                </div>
                                <div class="field">
-                                       <label>{{.i18n.Tr "repo.projects.desc"}}</label>
-                                       <textarea name="content">{{.content}}</textarea>
+                                       <label>{{.i18n.Tr "repo.projects.description"}}</label>
+                                       <textarea name="content" placeholder="{{.i18n.Tr "repo.projects.description_placeholder"}}">{{.content}}</textarea>
                                </div>
 
                                {{if not .PageIsEditProjects}}