@@ -147,7 +147,7 @@ public function plugin_deactivated( $network_deactivating = false )
147
147
public function cron_schedules ( $ schedules )
148
148
{
149
149
$ interval = $ this ->get_downloads ()->get_timeout ();
150
- $ display = self ::replace_tags ( __ ("Every {interval} seconds " ), array ( 'interval ' => $ interval ) );
150
+ $ display = self ::replace_tags ( __ ( "Every {interval} seconds " , ' pdf-forms-for-wpforms ' ), array ( 'interval ' => $ interval ) );
151
151
$ schedules ['pdf_forms_for_wpforms_cron_frequency ' ] = array (
152
152
'interval ' => $ interval ,
153
153
'display ' => $ display
@@ -982,7 +982,7 @@ public function fill_pdfs( $wpform_fields, $entry, $form_data )
982
982
throw new Exception (
983
983
self ::replace_tags (
984
984
__ ( "File type {mime-type} of {file} is unsupported for {purpose} " , 'pdf-forms-for-wpforms ' ),
985
- array ( 'mime-type ' => $ mimetype , 'file ' => $ filename , 'purpose ' => __ ( "image embedding " , 'pdf-forms-for-wpforms ' ) )
985
+ array ( 'mime-type ' => $ mimetype , 'file ' => $ filename , 'purpose ' => __ ( "image embedding " , 'pdf-forms-for-wpforms ' ) )
986
986
)
987
987
);
988
988
@@ -1477,7 +1477,7 @@ public static function render_notice( $notice_id, $type, $attributes = array() )
1477
1477
$ attributes ['classes ' ] = trim ( $ attributes ['classes ' ] . " notice- $ type " );
1478
1478
1479
1479
if ( !isset ( $ attributes ['label ' ] ) )
1480
- $ attributes ['label ' ] = __ ( "PDF Forms Filler for WPForms " );
1480
+ $ attributes ['label ' ] = __ ( "PDF Forms Filler for WPForms " , ' pdf-forms-for-wpforms ' );
1481
1481
1482
1482
if ( $ notice_id )
1483
1483
{
@@ -1755,7 +1755,7 @@ public function wp_ajax_get_attachment_data()
1755
1755
throw new Exception (
1756
1756
self ::replace_tags (
1757
1757
__ ( "File type {mime-type} of {file} is unsupported for {purpose} " , 'pdf-forms-for-wpforms ' ),
1758
- array ( 'mime-type ' => $ mimetype , 'file ' => wp_basename ( $ filepath ), 'purpose ' => __ ("PDF form filling " , 'pdf-forms-for-wpforms ' ) )
1758
+ array ( 'mime-type ' => $ mimetype , 'file ' => wp_basename ( $ filepath ), 'purpose ' => __ ( "PDF form filling " , 'pdf-forms-for-wpforms ' ) )
1759
1759
)
1760
1760
);
1761
1761
@@ -1863,7 +1863,7 @@ public function get_info( $attachment_id )
1863
1863
1864
1864
$ service = $ this ->get_service ();
1865
1865
if ( !$ service )
1866
- throw new Exception ( __ ( "No service " , 'pdf-forms-for-wpfoms ' ) );
1866
+ throw new Exception ( __ ( "No service " , 'pdf-forms-for-wpforms ' ) );
1867
1867
1868
1868
$ info = $ service ->api_get_info ( $ attachment_id );
1869
1869
0 commit comments