Skip to content

Commit 9872b8d

Browse files
delvhlunny6543
authored
Improve Description in new/ edit Project template (#14429)
Fixes #14358 Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: 6543 <[email protected]>
1 parent 91e59a6 commit 9872b8d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

options/locale/locale_en-US.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,8 @@ ext_issues = Ext. Issues
926926
ext_issues.desc = Link to an external issue tracker.
927927
928928
projects = Projects
929-
projects.desc = Manage issues and pulls in project boards.
929+
projects.description = Description (optional)
930+
projects.description_placeholder = Description
930931
projects.create = Create Project
931932
projects.title = Title
932933
projects.new = New project

templates/repo/projects/new.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
<input name="title" placeholder="{{.i18n.Tr "repo.projects.title"}}" value="{{.title}}" autofocus required>
3030
</div>
3131
<div class="field">
32-
<label>{{.i18n.Tr "repo.projects.desc"}}</label>
33-
<textarea name="content">{{.content}}</textarea>
32+
<label>{{.i18n.Tr "repo.projects.description"}}</label>
33+
<textarea name="content" placeholder="{{.i18n.Tr "repo.projects.description_placeholder"}}">{{.content}}</textarea>
3434
</div>
3535

3636
{{if not .PageIsEditProjects}}

0 commit comments

Comments
 (0)