Skip to content

Commit 4f6318f

Browse files
committed
add missing translations
1 parent 30ac489 commit 4f6318f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Sms77.io Logo](https://www.sms77.io/wp-content/uploads/2019/07/sms77-Logo-400x79.png "Sms77.io Logo")
1+
![sms77 Logo](https://www.sms77.io/wp-content/uploads/2019/07/sms77-Logo-400x79.png "sms77 Logo")
22
# Official module for [ProcessWire](https://processwire.com/)
33

44
## Installation
@@ -26,4 +26,4 @@ Usage: `{{email}}` resolves to the users email address
2626

2727
Need help? Feel free to [contact us](https://www.sms77.io/en/company/contact/).
2828

29-
[![MIT](https://img.shields.io/badge/License-MIT-teal.svg)](./LICENSE)
29+
[![MIT](https://img.shields.io/badge/License-MIT-teal.svg)](LICENSE)

Sms77.module

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ class Sms77 extends Process implements ConfigurableModule {
114114
$info = self::getModuleInfo();
115115

116116
$this->config->js('Sms77', array(
117-
'prompt_text' => __('Please enter the message content.'),
118-
'text_missing' => __('Not sending SMS: Missing text!'),
117+
'prompt_text' => $this->_('Please enter the message content.'),
118+
'text_missing' => $this->_('Not sending SMS: Missing text!'),
119119
));
120120

121121
$this->config->scripts->add(
122-
$this->config->urls->Sms77 . 'Sms77.js?v=' . $info['version'] . '');
122+
$this->config->urls->Sms77 . 'Sms77.js?v=' . $info['version']);
123123

124124
$this->addHookAfter('ProcessPageEdit::buildForm', $this, 'buildForm');
125125

@@ -148,7 +148,7 @@ class Sms77 extends Process implements ConfigurableModule {
148148
'singular' => true,
149149
'summary' => __('Send SMS via Sms77.io.'),
150150
'title' => 'Sms77',
151-
'version' => 120,
151+
'version' => 130,
152152
);
153153
}
154154

@@ -157,11 +157,11 @@ class Sms77 extends Process implements ConfigurableModule {
157157
<dl class="uk-description-list uk-description-list-divider">
158158
<dt>
159159
<a href="/processwire/sms77/bulk-sms/">
160-
<i style="float: right;" class="fa fa-3x fa-fw fa-envelope ui-priority-secondary"></i>
161-
Bulk SMS
160+
<i style="float: right;" class="fa fa-3x fa-fw fa-envelope ui-priority-secondary"></i>
161+
' . $this->_('Bulk SMS') . '
162162
</a>
163163
</dt>
164-
<dd>Send bulk SMS to all of your users</dd>
164+
<dd>' . $this->_('Send bulk SMS to all of your users') . '</dd>
165165
</dl>
166166
';
167167
}
@@ -287,7 +287,7 @@ class Sms77 extends Process implements ConfigurableModule {
287287

288288
$e->return = array_merge($actions, array('sms' => array(
289289
'icon' => 'envelope',
290-
'label' => 'SMS',
290+
'label' => $this->_('SMS'),
291291
'value' => 'sms77_sms_user',
292292
)));
293293
}

0 commit comments

Comments
 (0)