Skip to content

Commit 8d14ddc

Browse files
committed
Change fields descriptions
1 parent 56da8c6 commit 8d14ddc

2 files changed

Lines changed: 25 additions & 5 deletions

File tree

admin/class-crowdhandler-admin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public function settings_field_public_key_callback($args)
227227
class="crowdhandler-input crowdhandler-input--textarea"
228228
><?php echo isset($options[$args['label_for']]) ? $options[$args['label_for']] : (''); ?></textarea>
229229
<p class="description">
230-
<?php esc_html_e( 'Public key field description', 'crowdhandler' ); ?>
230+
<?php esc_html_e( 'Your CrowdHandler API Key', 'crowdhandler' ); ?>
231231
</p>
232232
<?php
233233
}
@@ -244,7 +244,7 @@ public function settings_field_is_enabled_callback($args)
244244
class="crowdhandler-input"
245245
>
246246
<p class="description">
247-
<?php esc_html_e( 'Enabled field description', 'crowdhandler' ); ?>
247+
<?php esc_html_e( 'CrowdHandler will check every request when enabled', 'crowdhandler' ); ?>
248248
</p>
249249
<?php
250250
}
@@ -272,7 +272,7 @@ class="crowdhandler-input"
272272
</p>
273273
<?php endif; ?>
274274
<p class="description">
275-
<?php esc_html_e('Override index field description', 'crowdhandler'); ?>
275+
<?php esc_html_e('Overriding index provides better protection', 'crowdhandler'); ?>
276276
</p>
277277
<?php
278278
}

languages/crowdhandler.pot

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
msgid ""
33
msgstr ""
44
"Project-Id-Version: CrowdHandler Wordpress Plugin\n"
5-
"POT-Creation-Date: 2021-02-18 12:27+0100\n"
5+
"POT-Creation-Date: 2021-02-19 13:49+0100\n"
66
"PO-Revision-Date: 2021-02-18 12:15+0100\n"
77
"Last-Translator: \n"
88
"Language-Team: https://www.crowdhandler.com/\n"
@@ -13,7 +13,7 @@ msgstr ""
1313
"X-Generator: Poedit 2.4.2\n"
1414
"X-Poedit-Basepath: ..\n"
1515
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
16-
"X-Poedit-KeywordsList: __;_e;esc_attr_e\n"
16+
"X-Poedit-KeywordsList: __;_e;esc_attr_e;esc_html_e\n"
1717
"X-Poedit-SearchPath-0: consts.php\n"
1818
"X-Poedit-SearchPath-1: crowdhandler.php\n"
1919
"X-Poedit-SearchPath-2: index.php\n"
@@ -52,3 +52,23 @@ msgstr ""
5252
#: admin/class-crowdhandler-admin.php:202
5353
msgid "Public Key"
5454
msgstr ""
55+
56+
#: admin/class-crowdhandler-admin.php:216
57+
msgid "Page description."
58+
msgstr ""
59+
60+
#: admin/class-crowdhandler-admin.php:230
61+
msgid "Your CrowdHandler API Key"
62+
msgstr ""
63+
64+
#: admin/class-crowdhandler-admin.php:247
65+
msgid "CrowdHandler will check every request when enabled"
66+
msgstr ""
67+
68+
#: admin/class-crowdhandler-admin.php:271
69+
msgid "Main index.php file is not writable."
70+
msgstr ""
71+
72+
#: admin/class-crowdhandler-admin.php:275
73+
msgid "Overriding index provides better protection"
74+
msgstr ""

0 commit comments

Comments
 (0)