diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-01-02 00:30:00 +0100 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-01-05 19:21:49 +0100 |
commit | 4e6d048ba10981dd3443e3f9e373ee0821fe01ed (patch) | |
tree | 30711453550e5c3608a4a3d1a2f64453d0b9ba32 /templates/repo/diff_box.tmpl | |
parent | 0df39b33ebcff50df537f4682a72dcc29f046d01 (diff) | |
download | gitea-4e6d048ba10981dd3443e3f9e373ee0821fe01ed.tar.gz gitea-4e6d048ba10981dd3443e3f9e373ee0821fe01ed.zip |
i18n-fix for split-view
Diffstat (limited to 'templates/repo/diff_box.tmpl')
-rw-r--r-- | templates/repo/diff_box.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff_box.tmpl b/templates/repo/diff_box.tmpl index c408fd492b..179e1cb3cf 100644 --- a/templates/repo/diff_box.tmpl +++ b/templates/repo/diff_box.tmpl @@ -6,7 +6,7 @@ <i class="fa fa-retweet"></i> {{.i18n.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion | Str2html}} <div class="ui right"> - <a class="ui tiny basic toggle button" href="?style={{if .Style}}inline{{else}}split{{end}}">{{ if .Style }}Inline{{else}}Split{{end}}</a> + <a class="ui tiny basic toggle button" href="?style={{if .Style}}inline{{else}}split{{end}}">{{ if .Style }}{{.i18n.Tr "repo.diff.show_inline_view"}}{{else}}{{.i18n.Tr "repo.diff.show_split_view"}}{{end}}</a> <a class="ui tiny basic toggle button" data-target="#diff-files">{{.i18n.Tr "repo.diff.show_diff_stats"}}</a> </div> </div> |