Added more specific locale

This commit is contained in:
kolaente 2018-01-06 23:04:43 +01:00 committed by Konrad
parent 8bc0947cbd
commit 86be828148
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
2 changed files with 8 additions and 3 deletions

View File

@ -748,8 +748,9 @@ issues.dependency.pr_close_blocked = You need to close all issues blocking this
issues.dependency.blocks_short = Blocks
issues.dependency.blocked_by_short = Blocked by
issues.dependency.remove_header = Remove Dependency
issues.dependency.remove_text = This will remove the dependency to this issue. Are you sure? You cannot undo this!
issues.dependency.setting = Issues can have dependencies
issues.dependency.issue_remove_text = This will remove the dependency to this issue. Are you sure? You cannot undo this!
issues.dependency.pr_remove_text = This will remove the dependency to this pull request. Are you sure? You cannot undo this!
issues.dependency.setting = Issues & PRs can have dependencies
issues.dependency.add_error_same_issue = You cannot make an issue depend on itself!
issues.dependency.add_error_dep_not_exist = Dependent issue does not exist!
issues.dependency.add_error_dep_exists = Dependency already exists!

View File

@ -312,7 +312,11 @@
<input type="hidden" value="" name="removeDependencyID" id="removeDependencyID"/>
<input type="hidden" value="" name="dependencyType" id="dependencyType"/>
</form>
<p>{{.i18n.Tr "repo.issues.dependency.remove_text"}}</p>
<p>{{if .Issue.IsPull}}
{{.i18n.Tr "repo.issues.dependency.pr_remove_text"}}
{{else}}
{{.i18n.Tr "repo.issues.dependency.issue_remove_text"}}
{{end}}</p>
</div>
<div class="actions">
<div class="ui basic red cancel inverted button">