Skip to content

Commit 26c02e6

Browse files
authored
Merge pull request #3 from Galixte/patch-3
Bad names of language keys and missing colons
2 parents a624c7e + 9e077c6 commit 26c02e6

6 files changed

Lines changed: 11 additions & 10 deletions

File tree

controller/action_controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ public function clear_user($uid)
413413
}
414414
else
415415
{
416-
confirm_box(false, $this->user->lang('RS_CLEAR_POST_CONFIRM'), $s_hidden_fields);
416+
confirm_box(false, $this->user->lang('RS_CLEAR_USER_CONFIRM'), $s_hidden_fields);
417417
}
418418
}
419419
}

event/viewtopic_listener.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ public function post_row_reputation($event)
208208

209209
'RS_RATE_POST_NEGATIVE' => $row['user_voted'] ? $this->user->lang('RS_POST_RATED') : $this->user->lang('RS_RATE_POST_NEGATIVE'),
210210
'RS_RATE_POST_POSITIVE' => $row['user_voted'] ? $this->user->lang('RS_POST_RATED') : $this->user->lang('RS_RATE_POST_POSITIVE'),
211+
'RS_POST_REPUTATION' => $row['user_voted'] ? $this->user->lang('RS_POST_RATED') : $this->user->lang('RS_POST_REPUTATION'),
211212

212213
'U_RATE_POST_POSITIVE' => $this->helper->route('reputation_post_rating_controller', array('mode' => 'positive', 'post_id' => $post_id)),
213214
'U_RATE_POST_NEGATIVE' => $this->helper->route('reputation_post_rating_controller', array('mode' => 'negative', 'post_id' => $post_id)),

styles/prosilver/template/details.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h3>{L_RS_STATS}</h3>
101101
<!-- IF .reputation -->
102102
<div class="action-bar top">
103103
<div class="sorting">
104-
<label>{L_SORT_BY}:</label>
104+
<label>{L_SORT_BY}{L_COLON}</label>
105105
<a href="{U_SORT_USERNAME}" >{L_USERNAME}</a> &bull;
106106
<a href="{U_SORT_TIME}" >{L_TIME}</a> &bull;
107107
<a href="{U_SORT_POINT}" >{L_RS_POINTS}</a> &bull;
@@ -170,7 +170,7 @@ <h3>{L_RS_STATS}</h3>
170170
<!-- IF .reputation -->
171171
<div class="action-bar bottom">
172172
<div class="sorting">
173-
<label>{L_SORT_BY}:</label>
173+
<label>{L_SORT_BY}{L_COLON}</label>
174174
<a href="{U_SORT_USERNAME}" >{L_USERNAME}</a> &bull;
175175
<a href="{U_SORT_TIME}" >{L_TIME}</a> &bull;
176176
<a href="{U_SORT_POINT}" >{L_RS_POINTS}</a> &bull;
@@ -191,4 +191,4 @@ <h3>{L_RS_STATS}</h3>
191191

192192
<br class="clear">
193193

194-
<!-- INCLUDE overall_footer.html -->
194+
<!-- INCLUDE overall_footer.html -->

styles/prosilver/template/event/viewtopic_body_post_buttons_before.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<!-- ENDIF -->
1616
<li data-skip-responsive="true">
1717
<!-- IF postrow.S_VIEW_REPUTATION -->
18-
<a href="{postrow.U_VIEW_POST_REPUTATION}" title="{postrow.RS_RATE_POST_POSITIVE}" class="button post-reputation {postrow.POST_REPUTATION_CLASS}" data-referer="_referer={U_REPUTATION_REFERER}"><span>{postrow.POST_REPUTATION}</span></a>
18+
<a href="{postrow.U_VIEW_POST_REPUTATION}" title="{postrow.RS_POST_REPUTATION}" class="button post-reputation {postrow.POST_REPUTATION_CLASS}" data-referer="_referer={U_REPUTATION_REFERER}"><span>{postrow.POST_REPUTATION}</span></a>
1919
<!-- ELSE -->
20-
<div title="{postrow.RS_RATE_POST_POSITIVE}" class="button post-reputation {postrow.POST_REPUTATION_CLASS} guest" data-referer="_referer={U_REPUTATION_REFERER}"><span>{postrow.POST_REPUTATION}</span></div>
20+
<div title="{postrow.RS_POST_REPUTATION}" class="button post-reputation {postrow.POST_REPUTATION_CLASS} guest" data-referer="_referer={U_REPUTATION_REFERER}"><span>{postrow.POST_REPUTATION}</span></div>
2121
<!-- ENDIF -->
2222
</li>
2323
<!-- ENDIF -->

styles/prosilver/template/postdetails.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h3>{L_RS_POST_REPUTATION} - {POST_SUBJECT}</h3>
4545

4646
<!-- IF .reputation -->
4747
<div class="footer-popup"<!-- IF S_IS_AJAX --> data-referer="_referer={U_REPUTATION_REFERER}"<!-- ENDIF -->>
48-
<label>{L_SORT_BY}:</label>
48+
<label>{L_SORT_BY}{L_COLON}</label>
4949
<a href="{U_SORT_USERNAME}" class="sort_order">{L_USERNAME}</a> &bull;
5050
<a href="{U_SORT_TIME}" class="sort_order">{L_TIME}</a> &bull;
5151
<a href="{U_SORT_POINT}" class="sort_order">{L_RS_POINTS}</a>
@@ -55,4 +55,4 @@ <h3>{L_RS_POST_REPUTATION} - {POST_SUBJECT}</h3>
5555

5656
<!-- IF not S_IS_AJAX -->
5757
<!-- INCLUDE overall_footer.html -->
58-
<!-- ENDIF -->
58+
<!-- ENDIF -->

styles/prosilver/template/userdetails.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h3>{L_RS_USER_REPUTATION} <span style="float:right;"><a href="{U_USER_DETAILS}"
5454

5555
<!-- IF .reputation -->
5656
<div class="footer-popup"<!-- IF S_IS_AJAX --> data-referer="_referer={U_REPUTATION_REFERER}"<!-- ENDIF -->>
57-
<label>{L_SORT_BY}:</label>
57+
<label>{L_SORT_BY}{L_COLON}</label>
5858
<a href="{U_SORT_USERNAME}" class="sort_order">{L_USERNAME}</a> &bull;
5959
<a href="{U_SORT_TIME}" class="sort_order">{L_TIME}</a> &bull;
6060
<a href="{U_SORT_POINT}" class="sort_order">{L_RS_POINTS}</a> &bull;
@@ -65,4 +65,4 @@ <h3>{L_RS_USER_REPUTATION} <span style="float:right;"><a href="{U_USER_DETAILS}"
6565

6666
<!-- IF not S_IS_AJAX -->
6767
<!-- INCLUDE overall_footer.html -->
68-
<!-- ENDIF -->
68+
<!-- ENDIF -->

0 commit comments

Comments
 (0)