Changeset - 2d5f442e5abc
[Not reviewed]
default
0 1 0
Thomas De Schampheleire - 10 years ago 2015-10-08 20:03:36
thomas.de.schampheleire@gmail.com
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.
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/files/files_source.html
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)