Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/Services/Trans.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public static function getStrings()
'Error Message:' => __('Error Message:', 'easy-code-manager'),
'Try Reactivate' => __('Try Reactivate', 'easy-code-manager'),
'Please enter some code to save' => __('Please enter some code to save', 'easy-code-manager'),
'The code should not starts with <?php' => __('The code should not starts with <?php', 'easy-code-manager'),
'The code should not start with <?php' => __('The code should not start with <?php', 'easy-code-manager'),
'Snippet has been updated successfully' => __('Snippet has been updated successfully', 'easy-code-manager'),
'Select Snippet Tags' => __('Select Snippet Tags', 'easy-code-manager'),
'Create new tag' => __('Create new tag', 'easy-code-manager'),
Expand Down
2 changes: 1 addition & 1 deletion dist/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion language/easy-code-manager.pot
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ msgid "Taxonomy Term Page"
msgstr ""

#: trans.php:93 app/Services/Trans.php:98
msgid "The code should not starts with <?php"
msgid "The code should not start with <?php"
msgstr ""

#: trans.php:89 app/Services/Trans.php:94
Expand Down
2 changes: 1 addition & 1 deletion src/components/CreateSnippet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default {
}
// check if snippet starts with <?php
if (this.snippet.meta.type == 'PHP' && this.snippet.code.trim().startsWith('<?php')) {
this.$notify.error('The code should not starts with <?php');
this.$notify.error('The code should not start with <?php');
return;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/SnippetEditView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default {
}
// check if snippet starts with <?php
if (this.snippet.meta.type == 'PHP' && this.snippet.code.trim().startsWith('<?php')) {
this.$notify.error(this.$t('The code should not starts with <?php'));
this.$notify.error(this.$t('The code should not start with <?php'));
return;
}

Expand Down