diff --git a/gp-templates/translations.php b/gp-templates/translations.php index 1df4a2ac9..2adfd9c75 100644 --- a/gp-templates/translations.php +++ b/gp-templates/translations.php @@ -181,18 +181,18 @@
__( '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' ) + ); ?>