Changed translation function on $this->t().

Comments

Munavijayalakshmi created an issue. See original summary.

Munavijayalakshmi’s picture

Status: Active » Needs review
StatusFileSize
new51.27 KB
berdir’s picture

Status: Needs review » Needs work
+++ b/simplenews.api.php
@@ -69,7 +69,7 @@
     'activate' => array(
-      'label' => t('Send'),
+      'label' => $this->t('Send'),
       'callback' => 'simplenews_issue_send',
     ),

the changes in this file are wrong, this is not a class.

dhruveshdtripathi’s picture

Status: Needs work » Needs review
StatusFileSize
new49.1 KB

Changes made according to comment #3

Munavijayalakshmi’s picture

Assigned: Munavijayalakshmi » Unassigned
jonathanshaw’s picture

Category: Bug report » Task
Priority: Normal » Minor
jcnventura’s picture

Status: Needs review » Closed (duplicate)

This will be done as part of #3037140: Fix coding standards.