Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12976

Pagination of UCP manage attachments page in prosilver does not support plural forms

    Details

      Description

      In styles/prosilver/template/ucp_attachments.html we have

      <h2>{L_TITLE}</h2>
       
      <div class="panel">
      	<div class="inner">
      	
      	<p>{L_ATTACHMENTS_EXPLAIN}</p>
       
      	<!-- IF .attachrow -->
      		<div class="action-bar top">
      			<div class="pagination">
      				{TOTAL_ATTACHMENTS} {L_TITLE}
      				<!-- IF .pagination --> 
      					<!-- INCLUDE pagination.html -->
      				<!-- ELSE --> 
      					 &bull; {PAGE_NUMBER}
      				<!-- ENDIF -->
      			</div>
      		</div>
      

      L_TITLE is UCP_ATTACHMENTS language entry which value is 'Attachments'.
      Thus, after the number of attachments value we have simply duplicated L_TITLE which leads to cases like '1 Attachments'.
      As far as 3.1 supports plural forms, this can be fixed.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            nickvergessen Joas Schilling
            Reporter:
            rxu Ruslan Uzdenov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development