Changeset 2585625
- Timestamp:
- 08/19/2021 06:30:42 PM (5 years ago)
- Location:
- code-injection/trunk
- Files:
-
- 7 edited
-
assets/js/code-editor.js (modified) (2 diffs)
-
code-injection.php (modified) (2 diffs)
-
includes/asset-manager.php (modified) (2 diffs)
-
languages/code-injection-fa_IR.mo (modified) (previous)
-
languages/code-injection-fa_IR.po (modified) (2 diffs)
-
languages/code-injection.pot (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
code-injection/trunk/assets/js/code-editor.js
r2585543 r2585625 16 16 }; 17 17 var index = dic["texts"].indexOf(text); 18 if(index<0){ 19 return text; 20 } 18 21 return dic["translates"][index]; 19 22 } … … 222 225 }); 223 226 227 if(window._ci.is_rtl == "true"){ 228 $copybtn.css({ 229 left: "0", 230 right: "unset" 231 }); 232 } 233 224 234 $("#titlewrap").append($copybtn); 225 235 -
code-injection/trunk/code-injection.php
r2585543 r2585625 5 5 * Plugin URI: https://github.com/Rmanaf/wp-code-injection 6 6 * Description: This plugin allows you to inject code snippets into the pages. 7 * Version: 2.4.1 07 * Version: 2.4.11 8 8 * Author: Rmanaf 9 9 * Author URI: https://profiles.wordpress.org/rmanaf/ … … 34 34 private static $role_version = '1.0.0'; 35 35 36 private static $version = '2.4.1 0';36 private static $version = '2.4.11'; 37 37 38 38 function __construct() -
code-injection/trunk/includes/asset-manager.php
r2584954 r2585625 39 39 "The File is too large. Do you want to proceed?", 40 40 "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" 42 43 ]; 43 44 … … 55 56 'ajax_url' => admin_url( 'admin-ajax.php' ), 56 57 "ajax_nonce" => wp_create_nonce("code-injection-ajax-nonce"), 58 "is_rtl" => is_rtl() ? "true" : "false", 57 59 "i18n" => [ 58 60 "code-injection" => [ -
code-injection/trunk/languages/code-injection-fa_IR.po
r2585543 r2585625 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Code Injection 2.4.1 0\n"5 "Project-Id-Version: Code Injection 2.4.11\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/code-injection\n" 7 7 "Last-Translator: \n" … … 249 249 msgstr "انتخاب کنید" 250 250 251 #: assets/js/code-editor.js:2 09251 #: assets/js/code-editor.js:243 252 252 msgid "The File is too large. Do you want to proceed?" 253 253 msgstr "حجم فایل بسیار زیاد است. آیا مایل به ادامه هستید؟" 254 254 255 #: assets/js/code-editor.js:2 16255 #: assets/js/code-editor.js:250 256 256 msgid "The selected file type is not supported." 257 257 msgstr "از این فایل پشتیبانی نمی شود." 258 258 259 #: assets/js/code-editor.js:2 30259 #: assets/js/code-editor.js:264 260 260 msgid "Are you sure? You are about to replace the current code with the selected file content." 261 261 msgstr "مطمئن هستید؟ شما در حال جایگزین کردن کد با محتویات فایل هستید." 262 263 #: assets/js/code-editor.js:218 264 msgid "Copy" 265 msgstr "کپی" -
code-injection/trunk/languages/code-injection.pot
r2585543 r2585625 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Code Injection 2.4.1 0\n"5 "Project-Id-Version: Code Injection 2.4.11\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/code-injection\n" 7 7 "Last-Translator: \n" … … 249 249 msgstr "" 250 250 251 #: assets/js/code-editor.js:2 09251 #: assets/js/code-editor.js:243 252 252 msgid "The File is too large. Do you want to proceed?" 253 253 msgstr "" 254 254 255 #: assets/js/code-editor.js:2 16255 #: assets/js/code-editor.js:250 256 256 msgid "The selected file type is not supported." 257 257 msgstr "" 258 258 259 #: assets/js/code-editor.js:2 30259 #: assets/js/code-editor.js:264 260 260 msgid "Are you sure? You are about to replace the current code with the selected file content." 261 261 msgstr "" 262 263 #: assets/js/code-editor.js:218 264 msgid "Copy" 265 msgstr "" -
code-injection/trunk/readme.txt
r2585543 r2585625 4 4 Requires at least: 4.5.0 5 5 Tested up to: 5.8.0 6 Stable tag: 2.4.1 06 Stable tag: 2.4.11 7 7 License: MIT License 8 8 License URI: https://github.com/Rmanaf/wp-code-injection/blob/master/LICENSE
Note: See TracChangeset
for help on using the changeset viewer.