Language - 'gallery.index.stats.detail'

  • Affected Version
    WoltLab Suite 5.5
    Affected App
    WoltLab Suite Gallery

    Some spaces are needed.

    XML
    <item name="gallery.index.stats.detail"><![CDATA[<ul class="inlineList dotSeparated">
    <li>{plural value=$stats[authors] 1='1 Author' other='# Authors'}</li>
    <li>{plural value=$stats[albums] 1='1 Album' other='# Albums'}</li>
    <li>{plural value=$stats[images] 1='1 Image' other='# Images'}{if $stats[imagesPerDay]}({plural value=$stats[imagesPerDay] 1='1 Image' other='# Images'} per Day){/if}</li>
    {if GALLERY_VIDEO_UPLOAD || GALLERY_VIDEO_LINKS}
        <li>{plural value=$stats[videos] 1='1 Video' other='# Videos'}{if $stats[videosPerDay]}({plural value=$stats[videosPerDay] 1='1 Video' other='# Videos'} per Day){/if}</li>
    {/if}
    <li>{$stats[size]|filesize} Total File Size</li>
    <li>{plural value=$stats[comments] 1='1 Comment' other='# Comments'}</li>
    </ul>]]></item>

    Vs

    XML
    <item name="gallery.index.stats.detail"><![CDATA[<ul class="inlineList dotSeparated">
    <li>{plural value=$stats[authors] 1='1 Author' other='# Authors'}</li>
    <li>{plural value=$stats[albums] 1='1 Album' other='# Albums'}</li>
    <li>{plural value=$stats[images] 1='1 Image' other='# Images'}{if $stats[imagesPerDay]} ({plural value=$stats[imagesPerDay] 1='1 Image' other='# Images'} per Day){/if}</li>
    {if GALLERY_VIDEO_UPLOAD || GALLERY_VIDEO_LINKS}
        <li>{plural value=$stats[videos] 1='1 Video' other='# Videos'}{if $stats[videosPerDay]} ({plural value=$stats[videosPerDay] 1='1 Video' other='# Videos'} per Day){/if}</li>
    {/if}
    <li>{$stats[size]|filesize} Total File Size</li>
    <li>{plural value=$stats[comments] 1='1 Comment' other='# Comments'}</li>
    </ul>]]></item>

    Edited 2 times, last by Aethior (June 25, 2023 at 7:21 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!