Plugin Directory

Changeset 2585625


Ignore:
Timestamp:
08/19/2021 06:30:42 PM (5 years ago)
Author:
rmanaf
Message:

2.4.11

Location:
code-injection/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • code-injection/trunk/assets/js/code-editor.js

    r2585543 r2585625  
    1616            };
    1717            var index = dic["texts"].indexOf(text);
     18            if(index<0){
     19                return text;
     20            }
    1821            return dic["translates"][index];
    1922        }
     
    222225            });
    223226
     227            if(window._ci.is_rtl == "true"){
     228                $copybtn.css({
     229                    left: "0",
     230                    right: "unset"
     231                });
     232            }
     233
    224234        $("#titlewrap").append($copybtn);
    225235
  • code-injection/trunk/code-injection.php

    r2585543 r2585625  
    55 * Plugin URI: https://github.com/Rmanaf/wp-code-injection
    66 * Description: This plugin allows you to inject code snippets into the pages.
    7  * Version: 2.4.10
     7 * Version: 2.4.11
    88 * Author: Rmanaf
    99 * Author URI: https://profiles.wordpress.org/rmanaf/
     
    3434        private static $role_version = '1.0.0';
    3535
    36         private static $version = '2.4.10';
     36        private static $version = '2.4.11';
    3737
    3838        function __construct()
  • code-injection/trunk/includes/asset-manager.php

    r2584954 r2585625  
    3939                "The File is too large. Do you want to proceed?",
    4040                "Are you sure? You are about to replace the current code with the selected file content.",
    41                 "The selected file type is not supported."
     41                "The selected file type is not supported.",
     42                "Copy"
    4243            ];
    4344
     
    5556                'ajax_url' => admin_url( 'admin-ajax.php' ),
    5657                "ajax_nonce" => wp_create_nonce("code-injection-ajax-nonce"),
     58                "is_rtl" => is_rtl() ? "true" : "false",
    5759                "i18n" => [
    5860                    "code-injection" => [
  • code-injection/trunk/languages/code-injection-fa_IR.po

    r2585543 r2585625  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Code Injection 2.4.10\n"
     5"Project-Id-Version: Code Injection 2.4.11\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/code-injection\n"
    77"Last-Translator: \n"
     
    249249msgstr "انتخاب کنید"
    250250
    251 #: assets/js/code-editor.js:209
     251#: assets/js/code-editor.js:243
    252252msgid "The File is too large. Do you want to proceed?"
    253253msgstr "حجم فایل بسیار زیاد است. آیا مایل به ادامه هستید؟"
    254254
    255 #: assets/js/code-editor.js:216
     255#: assets/js/code-editor.js:250
    256256msgid "The selected file type is not supported."
    257257msgstr "از این فایل پشتیبانی نمی شود."
    258258
    259 #: assets/js/code-editor.js:230
     259#: assets/js/code-editor.js:264
    260260msgid "Are you sure? You are about to replace the current code with the selected file content."
    261261msgstr "مطمئن هستید؟ شما در حال جایگزین کردن کد با محتویات فایل هستید."
     262
     263#: assets/js/code-editor.js:218
     264msgid "Copy"
     265msgstr "کپی"
  • code-injection/trunk/languages/code-injection.pot

    r2585543 r2585625  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Code Injection 2.4.10\n"
     5"Project-Id-Version: Code Injection 2.4.11\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/code-injection\n"
    77"Last-Translator: \n"
     
    249249msgstr ""
    250250
    251 #: assets/js/code-editor.js:209
     251#: assets/js/code-editor.js:243
    252252msgid "The File is too large. Do you want to proceed?"
    253253msgstr ""
    254254
    255 #: assets/js/code-editor.js:216
     255#: assets/js/code-editor.js:250
    256256msgid "The selected file type is not supported."
    257257msgstr ""
    258258
    259 #: assets/js/code-editor.js:230
     259#: assets/js/code-editor.js:264
    260260msgid "Are you sure? You are about to replace the current code with the selected file content."
    261261msgstr ""
     262
     263#: assets/js/code-editor.js:218
     264msgid "Copy"
     265msgstr ""
  • code-injection/trunk/readme.txt

    r2585543 r2585625  
    44Requires at least: 4.5.0
    55Tested up to: 5.8.0
    6 Stable tag: 2.4.10
     6Stable tag: 2.4.11
    77License: MIT License
    88License URI: https://github.com/Rmanaf/wp-code-injection/blob/master/LICENSE
Note: See TracChangeset for help on using the changeset viewer.