Skip to content

Commit

Permalink
Coding standard updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
toolstack committed Oct 8, 2017
1 parent c1c0246 commit 823f840
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions gp-templates/translations.php
Expand Up @@ -181,18 +181,18 @@
<dd>
<?php
echo gp_radio_buttons(
'filters[status]', // TODO: show only these, which user is allowed to see afterwards.
array(
'current_or_waiting_or_fuzzy_or_untranslated' => __( 'Current/waiting/fuzzy + untranslated (All)', 'glotpress' ),
'current' => __( 'Current only', 'glotpress' ),
'old' => __( 'Approved, but obsoleted by another translation', 'glotpress' ),
'waiting' => __( 'Waiting approval', 'glotpress' ),
'rejected' => __( 'Rejected', 'glotpress' ),
'untranslated' => __( 'Without current translation', 'glotpress' ),
'either' => __( 'Any', 'glotpress' ),
),
gp_array_get( $filters, 'status', 'current_or_waiting_or_fuzzy_or_untranslated' )
);
'filters[status]', // TODO: show only these, which user is allowed to see afterwards.
array(
'current_or_waiting_or_fuzzy_or_untranslated' => __( 'Current/waiting/fuzzy + untranslated (All)', 'glotpress' ),
'current' => __( 'Current only', 'glotpress' ),
'old' => __( 'Approved, but obsoleted by another translation', 'glotpress' ),
'waiting' => __( 'Waiting approval', 'glotpress' ),
'rejected' => __( 'Rejected', 'glotpress' ),
'untranslated' => __( 'Without current translation', 'glotpress' ),
'either' => __( 'Any', 'glotpress' ),
),
gp_array_get( $filters, 'status', 'current_or_waiting_or_fuzzy_or_untranslated' )
);
?>
</dd>
<dd>
Expand Down

0 comments on commit 823f840

Please sign in to comment.