Fixed Template xfmg_album_view missing phrases

markus68

Active member
Affected version
2.0.5
Code:
                <xf:if is="$album.rating_count">
                    <dl class="pairs pairs--justified">
                        <dt>{{ phrase('xfmg_ratings') }}</dt>
                        <dd>
                            <a href="{{ link('media/album-ratings/ratings', $album) }}" data-xf-click="overlay">
                                <xf:if is="$album.rating_count > 1">
                                    {$album.rating_count} ratings
                                    <xf:else />
                                    {$album.rating_count} rating
                                </xf:if>
                            </a>
                        </dd>
                    </dl>
                </xf:if>

Hardcoded "ratings" and "rating"
 
Thank you for reporting this issue. The issue is now resolved and we are aiming to include that in a future XFMG release (2.0.6).

Change log:
Make the album view rating sidebar consistent with the media view rating sidebar.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom