changeset 5554:2d5f442e5abc

files: treat messages about 'File too big' as sentences and add a dot. Make it more easy to read: File is too big to display Show full annotation anyway by treating them as two sentences: File is too big to display. Show full annotation anyway. and likewise for regular file display.
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Thu, 08 Oct 2015 20:03:36 +0200
parents 60c9b8e0c49c
children 32cdc6f70f13
files kallithea/templates/files/files_source.html
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/files/files_source.html	Thu Oct 08 19:51:50 2015 +0200
+++ b/kallithea/templates/files/files_source.html	Thu Oct 08 20:03:36 2015 +0200
@@ -71,11 +71,11 @@
             %endif
         %else:
             <h4>
-            ${_('File is too big to display')}
+            ${_('File is too big to display.')}
             %if c.annotate:
-              ${h.link_to(_('Show full annotation anyway'), h.url.current(fulldiff=1, **request.GET.mixed()))}
+              ${h.link_to(_('Show full annotation anyway.'), h.url.current(fulldiff=1, **request.GET.mixed()))}
             %else:
-              ${h.link_to(_('Show as raw'), h.url('files_raw_home',repo_name=c.repo_name,revision=c.file_changeset.raw_id,f_path=c.f_path))}
+              ${h.link_to(_('Show as raw.'), h.url('files_raw_home',repo_name=c.repo_name,revision=c.file_changeset.raw_id,f_path=c.f_path))}
             %endif
             </h4>
         %endif