Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name of statuses in filters does not display translated #919

Closed
DAnn2012 opened this issue Mar 1, 2023 · 1 comment · Fixed by #920
Closed

Name of statuses in filters does not display translated #919

DAnn2012 opened this issue Mar 1, 2023 · 1 comment · Fixed by #920
Labels
priority: normal The issue/PR is normal priority—not many people are affected or there’s a workaround, etc. type: bug The issue is a confirmed bug.

Comments

@DAnn2012
Copy link

DAnn2012 commented Mar 1, 2023

In the list table, the name of statuses in filters does not display translated, as does the "All" element:

action-scheduler

I think the list is generated by this line:

$status_list_items[] = sprintf( $status_list_item, esc_attr( $status_name ), esc_url( $status_filter_url ), esc_html( ucfirst( $status_name ) ), absint( $count ) );

Thanks.

@barryhughes
Copy link
Member

Thanks for reporting. You're right, it seems we're formatting the status slug instead of using the translated status label.

@barryhughes barryhughes added type: bug The issue is a confirmed bug. priority: normal The issue/PR is normal priority—not many people are affected or there’s a workaround, etc. labels Mar 1, 2023
barryhughes added a commit that referenced this issue Mar 3, 2023
Filter view labels (status names) should be translatable | #919
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: normal The issue/PR is normal priority—not many people are affected or there’s a workaround, etc. type: bug The issue is a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants