Browse Source

#3325 use correct word for .gitignore

pull/3414/head
Unknwon 9 years ago
parent
commit
9e8a8867ea
  1. 2
      conf/locale/locale_en-US.ini
  2. 4
      modules/bindata/bindata.go
  3. 4
      templates/repo/create.tmpl

2
conf/locale/locale_en-US.ini

@ -350,7 +350,7 @@ fork_from = Fork From
fork_visiblity_helper = You cannot alter the visibility of a forked repository.
repo_desc = Description
repo_lang = Language
repo_lang_helper = Select .gitignore files
repo_gitignore_helper = Select .gitignore templates
license = License
license_helper = Select a license file
readme = Readme

4
modules/bindata/bindata.go

File diff suppressed because one or more lines are too long

4
templates/repo/create.tmpl

@ -58,10 +58,10 @@
<div class="ui divider"></div>
<div class="inline field">
<label>{{.i18n.Tr "repo.repo_lang"}}</label>
<label>.gitignore</label>
<div class="ui multiple search normal selection dropdown">
<input type="hidden" name="gitignores" value="{{.gitignores}}">
<div class="default text">{{.i18n.Tr "repo.repo_lang_helper"}}</div>
<div class="default text">{{.i18n.Tr "repo.repo_gitignore_helper"}}</div>
<div class="menu">
{{range .Gitignores}}
<div class="item" data-value="{{.}}">{{.}}</div>

Loading…
Cancel
Save