Skip to content

Commit 5a4c212

Browse files
committed
Fixed few known issues
1 parent c8b20e1 commit 5a4c212

5 files changed

Lines changed: 1294 additions & 710 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
"type": "section",
192192
"text": {
193193
"type": "mrkdwn",
194-
"text": "Hello team! Version *v${{ env.TAG_NAME }}* of Artificial Image Generator has been successfully released! Check it out at <https://wordpress.org/plugins/essential-elements|wordpress.org/plugins/essential-elements>. Please take a moment to test the new version and share your feedback or report any issues!"
194+
"text": "Hello team! Version *v${{ env.TAG_NAME }}* of Artificial Image Generator has been successfully released! Check it out at <https://wordpress.org/plugins/artificial-image-generator|wordpress.org/plugins/artificial-image-generator>. Please take a moment to test the new version and share your feedback or report any issues!"
195195
}
196196
},
197197
{

includes/PostTypes.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ public function __construct() {
3131
public static function register_cpt() {
3232
$labels = array(
3333
'name' => _x( 'Image Templates', 'post type general name', 'artificial-image-generator' ),
34-
'singular_name' => _x( 'Images Template', 'post type singular name', 'artificial-image-generator' ),
34+
'singular_name' => _x( 'Image Template', 'post type singular name', 'artificial-image-generator' ),
3535
'menu_name' => _x( 'Image Templates', 'admin menu', 'artificial-image-generator' ),
36-
'name_admin_bar' => _x( 'Images Template', 'add new on admin bar', 'artificial-image-generator' ),
36+
'name_admin_bar' => _x( 'Image Templates', 'add new on admin bar', 'artificial-image-generator' ),
3737
'add_new' => _x( 'Add New', 'ticket', 'artificial-image-generator' ),
3838
'add_new_item' => __( 'Add New Images Template', 'artificial-image-generator' ),
3939
'new_item' => __( 'New Images Template', 'artificial-image-generator' ),
40-
'edit_item' => __( 'Edit Images Template', 'artificial-image-generator' ),
41-
'view_item' => __( 'View Images Template', 'artificial-image-generator' ),
40+
'edit_item' => __( 'Edit Image Template', 'artificial-image-generator' ),
41+
'view_item' => __( 'View Image Template', 'artificial-image-generator' ),
4242
'all_items' => __( 'All Image Templates', 'artificial-image-generator' ),
4343
'search_items' => __( 'Search Image Templates', 'artificial-image-generator' ),
4444
'parent_item_colon' => __( 'Parent Image Templates:', 'artificial-image-generator' ),

includes/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function aimg_get_templates( $args = array(), $count = false ) {
5757
* @param mixed $default_value Default value.
5858
*
5959
* @since 1.0.0
60-
* @retun mixed|null
60+
* @return mixed|null
6161
*/
6262
function aimg_get_settings( $option, $default_value = null ) {
6363
$options = get_option( 'aimg_settings', array() );

languages/artificial-image-generator.pot

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Copyright (C) 2026 BeautifulPlugins
2-
# This file is distributed under the GPLv2 or later.
2+
# This file is distributed under the GPL v2 or later.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Image Generator 1.0.0\n"
5+
"Project-Id-Version: Image Generator 1.1.0\n"
66
"Report-Msgid-Bugs-To: https://beautifulplugins.com/support/\n"
7-
"POT-Creation-Date: 2026-03-02 18:16:08+00:00\n"
7+
"POT-Creation-Date: 2026-03-02 19:03:46+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"
@@ -347,7 +347,7 @@ msgstr ""
347347
msgid "Preview could not be generated. Save changes to generate a preview."
348348
msgstr ""
349349

350-
#: includes/Admin/views/edit-img-template.php:16
350+
#: includes/Admin/views/edit-img-template.php:16 includes/PostTypes.php:40
351351
msgid "Edit Image Template"
352352
msgstr ""
353353

@@ -385,12 +385,8 @@ msgstr ""
385385
msgid "New Images Template"
386386
msgstr ""
387387

388-
#: includes/PostTypes.php:40
389-
msgid "Edit Images Template"
390-
msgstr ""
391-
392388
#: includes/PostTypes.php:41
393-
msgid "View Images Template"
389+
msgid "View Image Template"
394390
msgstr ""
395391

396392
#: includes/PostTypes.php:42
@@ -438,7 +434,7 @@ msgstr ""
438434

439435
#: includes/PostTypes.php:34
440436
msgctxt "post type singular name"
441-
msgid "Images Template"
437+
msgid "Image Template"
442438
msgstr ""
443439

444440
#: includes/PostTypes.php:35
@@ -448,7 +444,7 @@ msgstr ""
448444

449445
#: includes/PostTypes.php:36
450446
msgctxt "add new on admin bar"
451-
msgid "Images Template"
447+
msgid "Image Templates"
452448
msgstr ""
453449

454450
#: includes/PostTypes.php:37

0 commit comments

Comments
 (0)