Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmigf committed Nov 11, 2024
1 parent 1e97e57 commit f6b06df
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/css/debug-tools.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.wcpdf_debug_settings_sections,
#debug-tools {
width: calc(100% - 4em);
width: 100%;
max-width: 50vw;
}

Expand Down
3 changes: 2 additions & 1 deletion assets/css/settings-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,8 @@ body.woocommerce_page_wpo_wcpdf_options_page {
font-size: 12px;
}

#wpo-wcpdf-settings .system-status-table {
#wpo-wcpdf-settings .system-status-table,
#wpo-wcpdf-settings .form-table {
margin-top: 2em;
}

Expand Down
8 changes: 4 additions & 4 deletions views/advanced-status.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@
$action_date = is_callable( array( $action->get_schedule(), 'get_date' ) ) ? $action->get_schedule()->get_date() : $action->get_schedule()->get_next( as_get_datetime_object() );
$yearly_reset['value'] = sprintf(
/* translators: %s action date */
__( 'Scheduled to: %s', 'woocommerce-pdf-invoices-packing-slips' ),
__( 'Scheduled to: %s', 'woocommerce-pdf-invoices-packing-slips' ),
gmdate( wcpdf_date_format( null, 'yearly_reset_schedule' ), $action_date->getTimestamp() )
);
);
$yearly_reset['result'] = true;
} else {
/* translators: total actions */
Expand Down Expand Up @@ -349,7 +349,7 @@
<?php
printf(
/* translators: 1,2. directory paths, 3. UPLOADS, 4. wpo_wcpdf_tmp_path, 5. attachments, 6. dompdf, 7. fonts */
esc_attr__( 'The central temp folder is %1$s. By default, this folder is created in the WordPress uploads folder (%2$s), which can be defined by setting %3$s in wp-config.php. Alternatively, you can control the specific folder for PDF invoices by using the %4$s filter. Make sure this folder is writable and that the subfolders %5$s, %6$s and %7$s are present (these will be created by the plugin if the central temp folder is writable).', 'woocommerce-pdf-invoices-packing-slips' ),
esc_html__( 'The central temp folder is %1$s. By default, this folder is created in the WordPress uploads folder (%2$s), which can be defined by setting %3$s in wp-config.php. Alternatively, you can control the specific folder for PDF invoices by using the %4$s filter. Make sure this folder is writable and that the subfolders %5$s, %6$s and %7$s are present (these will be created by the plugin if the central temp folder is writable).', 'woocommerce-pdf-invoices-packing-slips' ),
'<code>' . esc_url( WPO_WCPDF()->main->get_tmp_path() ) . '</code>',
'<code>' . esc_url( $upload_base ) . '</code>',
'<code>UPLOADS</code>',
Expand All @@ -366,7 +366,7 @@
<?php
printf(
/* translators: directory path */
esc_attr__( 'If the temporary folders were not automatically created by the plugin, verify that all the font files (from %s) are copied to the fonts folder. Normally, this is fully automated, but if your server has strict security settings, this automated copying may have been prohibited. In that case, you also need to make sure these folders get synchronized on plugin updates!', 'woocommerce-pdf-invoices-packing-slips' ),
esc_html__( 'If the temporary folders were not automatically created by the plugin, verify that all the font files (from %s) are copied to the fonts folder. Normally, this is fully automated, but if your server has strict security settings, this automated copying may have been prohibited. In that case, you also need to make sure these folders get synchronized on plugin updates!', 'woocommerce-pdf-invoices-packing-slips' ),
'<code>' . esc_url( WPO_WCPDF()->plugin_path() . '/vendor/dompdf/dompdf/lib/fonts/' ) . '</code>'
);
?>
Expand Down

0 comments on commit f6b06df

Please sign in to comment.