WPIntell

Source evidence

I18N Issues

Mini Preview · support · 2022-09-15T18:19:00+00:00

complaintsentiment
mediumseverity
0.81relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 25 rows with source links

24.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

19 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Alex Lion (阿力獅) unresolved
I found several I18N issues in the current version, and I modified all related codes. Because I can’t find the related repository to submit a pull request, I post modified codes as the following. mini-preview.php Line 44 $html .= '<h2>' . esc_html__( 'Mini Preview Settings', 'mini-preview' ) . '</h2>'; Line 56 (Optional but it make menu item name localizable) _x('Mini Preview', 'Menu Item','mini-preview') Line 102 __( 'General', 'mini-preview' ), Line 122 __( 'Hide WordPress admin bar in previews', 'mini-preview' ), Line 136 $links[] = '<a href="options-general.php?page=' . static::SETTINGS_PAGE_NAME . '">' . esc_html__('Settings', 'mini-preview') . '</a>'; Line 243 static::buttonHTML('fa fa-refresh button mini-preview-refresh-button', 'miniPreview.refreshButtonClick(event);', __( "Refresh \n(cmd or ctrl to skip autosave)", 'mini-preview' )) Line 245 static::buttonHTML('fa fa-desktop button mini-preview-desktop1-button', 'miniPreview.nextResolutionButtonClick();', __( 'Next Resolution', 'mini-preview' ), 'id="mini-preview-next-resolution-button"') Line 246 static::buttonHTML('fa fa-chevron-down button mini-preview-resolution-button', 'miniPreview.resolutionButtonClick();', __( 'Choose Resolution', 'mini-preview' )) Line 248 static::buttonHTML('fa fa-external-link button mini-preview-external-button', 'miniPreview.previewInNewTabClick(event);', __( "Preview in New Tab \n(cmd or ctrl to skip autosave)", 'mini-preview' )) Line 282 add_meta_box('mini-preview-meta-box', __( 'Preview', 'mini-preview' ), array('MiniPreview', 'metaBoxHTML'), array('page', 'post'), 'side', 'high', null); Please take a look at this suggestion. If there is a PUBLIC GitHub repository, I am glad to submit the Pull Request to its GitHub repository.

Comments

1 shown
Alex Lion (阿力獅) 2022-10-12T18:13:00+00:00

Please take a look at this suggestion. If there is a PUBLIC GitHub repository, I am glad to submit the Pull Request to its GitHub repository.