Improve Description in new/ edit Project template (#14429)

Fixes #14358

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
release/v1.15
delvh 2021-01-23 11:30:28 +01:00 committed by GitHub
parent 91e59a6690
commit 9872b8d97a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -926,7 +926,8 @@ ext_issues = Ext. Issues
ext_issues.desc = Link to an external issue tracker. ext_issues.desc = Link to an external issue tracker.
projects = Projects projects = Projects
projects.desc = Manage issues and pulls in project boards. projects.description = Description (optional)
projects.description_placeholder = Description
projects.create = Create Project projects.create = Create Project
projects.title = Title projects.title = Title
projects.new = New project projects.new = New project

View File

@ -29,8 +29,8 @@
<input name="title" placeholder="{{.i18n.Tr "repo.projects.title"}}" value="{{.title}}" autofocus required> <input name="title" placeholder="{{.i18n.Tr "repo.projects.title"}}" value="{{.title}}" autofocus required>
</div> </div>
<div class="field"> <div class="field">
<label>{{.i18n.Tr "repo.projects.desc"}}</label> <label>{{.i18n.Tr "repo.projects.description"}}</label>
<textarea name="content">{{.content}}</textarea> <textarea name="content" placeholder="{{.i18n.Tr "repo.projects.description_placeholder"}}">{{.content}}</textarea>
</div> </div>
{{if not .PageIsEditProjects}} {{if not .PageIsEditProjects}}