Changeset 1428593
- Timestamp:
- 06/01/2016 07:25:18 PM (10 years ago)
- Location:
- copyfight
- Files:
-
- 47 added
- 12 edited
-
assets/screenshot-6.png (added)
-
tags/1.4.6 (added)
-
tags/1.4.6/LICENSE.txt (added)
-
tags/1.4.6/_inc (added)
-
tags/1.4.6/_inc/copyfight-admin.css (added)
-
tags/1.4.6/_inc/copyfight-admin.js (added)
-
tags/1.4.6/_inc/copyfight-cdn.css (added)
-
tags/1.4.6/_inc/copyfight.css (added)
-
tags/1.4.6/_inc/copyfight.js (added)
-
tags/1.4.6/_inc/copyfight.php (added)
-
tags/1.4.6/_inc/img (added)
-
tags/1.4.6/_inc/img/certificate-background.png (added)
-
tags/1.4.6/_inc/img/copyfight-logo-color.svg (added)
-
tags/1.4.6/_inc/img/copyfight-logo-dark.svg (added)
-
tags/1.4.6/_inc/img/copyfight-logo-light.svg (added)
-
tags/1.4.6/_inc/img/copyfight-logo.png (added)
-
tags/1.4.6/_inc/img/copyfight_business_plan.png (added)
-
tags/1.4.6/_inc/img/copyfight_enterprise_plan.png (added)
-
tags/1.4.6/_inc/img/copyfight_freemium_plan.png (added)
-
tags/1.4.6/_inc/img/copyfight_premium_plan.png (added)
-
tags/1.4.6/_inc/img/icn-green.png (added)
-
tags/1.4.6/_inc/img/icn-grey-black.png (added)
-
tags/1.4.6/_inc/img/icn-red.png (added)
-
tags/1.4.6/_inc/img/icn-yellow.png (added)
-
tags/1.4.6/cache (added)
-
tags/1.4.6/cache/fontlist.txt (added)
-
tags/1.4.6/cache/index.php (added)
-
tags/1.4.6/class.copyfight-admin.php (added)
-
tags/1.4.6/class.copyfight.php (added)
-
tags/1.4.6/copyfight.php (added)
-
tags/1.4.6/copyright.html (added)
-
tags/1.4.6/index.php (added)
-
tags/1.4.6/languages (added)
-
tags/1.4.6/languages/copyfight-es_ES.mo (added)
-
tags/1.4.6/languages/copyfight-es_ES.po (added)
-
tags/1.4.6/languages/copyfight-nl_NL.mo (added)
-
tags/1.4.6/languages/copyfight-nl_NL.po (added)
-
tags/1.4.6/readme.txt (added)
-
tags/1.4.6/uninstall.php (added)
-
tags/1.4.6/views (added)
-
tags/1.4.6/views/config.php (added)
-
tags/1.4.6/views/index.php (added)
-
tags/1.4.6/views/notice.php (added)
-
tags/1.4.6/views/plans.php (added)
-
tags/1.4.6/widgets.php (added)
-
trunk/_inc/copyfight-admin.css (modified) (1 diff)
-
trunk/_inc/copyfight.css (modified) (2 diffs)
-
trunk/_inc/img/certificate-background.png (added)
-
trunk/class.copyfight-admin.php (modified) (12 diffs)
-
trunk/class.copyfight.php (modified) (7 diffs)
-
trunk/copyfight.php (modified) (2 diffs)
-
trunk/copyright.html (added)
-
trunk/languages/copyfight-es_ES.mo (modified) (previous)
-
trunk/languages/copyfight-es_ES.po (modified) (11 diffs)
-
trunk/languages/copyfight-nl_NL.mo (modified) (previous)
-
trunk/languages/copyfight-nl_NL.po (modified) (10 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/uninstall.php (modified) (1 diff)
-
trunk/views/config.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
copyfight/trunk/_inc/copyfight-admin.css
r1423180 r1428593 284 284 margin: 1em 0; 285 285 } 286 287 /* dashboard */ 288 289 #dashboard_copyfight li { 290 width: 50%; 291 float: left; 292 margin-bottom: 10px; 293 } 294 295 #dashboard_copyfight .main { 296 padding: 0 12px 11px; 297 } 298 299 #dashboard_copyfight .main p { 300 margin: 0; 301 } 302 303 #dashboard_copyfight .postbox .inside { 304 margin-bottom: 0; 305 } 306 307 #dashboard_copyfight .inside { 308 padding: 0; 309 } 310 311 #dashboard_copyfight ul { 312 margin: 0; 313 display: inline-block; 314 width: 100%; 315 } 316 317 #dashboard_copyfight li:before, 318 #dashboard_copyfight li span:before { 319 color: #82878c; 320 font: normal 20px/1 dashicons; 321 speak: none; 322 display: inline-block; 323 padding: 0 10px 0 0; 324 position: relative; 325 -webkit-font-smoothing: antialiased; 326 -moz-osx-font-smoothing: grayscale; 327 text-decoration: none !important; 328 vertical-align: top; 329 } 330 331 #dashboard_copyfight .post-count:before, 332 #dashboard_copyfight .post-count span:before { 333 content: "\f109"; 334 } 335 336 #dashboard_copyfight .page-count:before, 337 #dashboard_copyfight .page-count span:before { 338 content: "\f105"; 339 } 340 341 #dashboard_copyfight .char-count:before, 342 #dashboard_copyfight .char-count span:before { 343 content: "\f464"; 344 } 345 346 #dashboard_copyfight .word-count:before, 347 #dashboard_copyfight .word-count span:before { 348 content: "\f122"; 349 } 350 351 352 -
copyfight/trunk/_inc/copyfight.css
r1426805 r1428593 26 26 -o-font-feature-settings: "kern" on, "liga" on, "calt" on !important; 27 27 text-rendering: optimizeLegibility !important; 28 speak: none; 28 29 } 29 30 … … 50 51 font-weight: bold; 51 52 } 53 54 #copyfight_certificate { 55 width: 100%; 56 max-width: 792px; 57 height: 612px; 58 margin-bottom: 2em; 59 -webkit-box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.25); 60 -moz-box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.25); 61 box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.25); 62 } 63 64 #copyfight_certificate .background.one, 65 #copyfight_certificate .background.two, 66 #copyfight_certificate .background.three, 67 #copyfight_certificate .background.four { 68 float: left; 69 width: 50%; 70 height: 50%; 71 background-image: url("img/certificate-background.png"); 72 background-repeat: no-repeat; 73 } 74 75 #copyfight_certificate .background.two { 76 -moz-transform: scaleX(-1); 77 -o-transform: scaleX(-1); 78 -webkit-transform: scaleX(-1); 79 transform: scaleX(-1); 80 } 81 82 #copyfight_certificate .background.three { 83 -moz-transform: scaleY(-1); 84 -o-transform: scaleY(-1); 85 -webkit-transform: scaleY(-1); 86 transform: scaleY(-1); 87 } 88 89 #copyfight_certificate .background.four { 90 -moz-transform: scale(-1, -1); 91 -o-transform: scale(-1, -1); 92 -webkit-transform: scale(-1, -1); 93 transform: scale(-1, -1); 94 } -
copyfight/trunk/class.copyfight-admin.php
r1426822 r1428593 22 22 public static function plugin_activation() { 23 23 24 //Copyfight demo post 25 $author_id = get_current_user_id(); 26 $slug = 'copyfight'; 27 $title = 'Copyfight'; 28 $content = file_get_contents( COPYFIGHT_PLUGIN_DIR . 'copyright.html' ); 29 $content = str_replace('{year}', date('Y'), $content); 30 $content = str_replace('{bloginfo}', get_bloginfo(), $content); 31 32 if ( null == get_page_by_title( $title ) ) { 33 $post_id = wp_insert_post( 34 array( 35 'comment_status' => 'closed', 36 'ping_status' => 'closed', 37 'post_author' => $author_id, 38 'post_name' => $slug, 39 'post_title' => $title, 40 'post_content' => $content, 41 'post_status' => 'publish', 42 'post_type' => 'post' 43 ) 44 ); 45 46 if ( $post_id ) { 47 update_post_meta( $post_id, '_copyfight_status', 'enabled' ); 48 update_post_meta( $post_id, '_copyfight_tags', 'enabled' ); 49 update_post_meta( $post_id, '_copyfight_blur', 'enabled' ); 50 call_user_func( COPYFIGHT_CLASS_ADMIN . '::copyfight_save_post', $post_id ); 51 } 52 } 24 53 } 25 54 … … 55 84 add_action( 'admin_init', array( COPYFIGHT_CLASS_ADMIN, 'register_settings' ) ); 56 85 add_filter( 'pre_update_option_copyfight_api_key', array( COPYFIGHT_CLASS_ADMIN, 'activate_copyfight' ), 10, 2 ); 86 add_action( 'wp_dashboard_setup', array( COPYFIGHT_CLASS_ADMIN, 'copyfight_dashboard_widget' ) ); 57 87 add_action( 'admin_menu', array( COPYFIGHT_CLASS_ADMIN, 'load_menu' ) ); 58 88 add_filter( 'plugin_action_links_' . plugin_basename( plugin_dir_path( __FILE__ ) . 'copyfight.php'), array( COPYFIGHT_CLASS_ADMIN, 'admin_plugin_settings_link' ) ); … … 94 124 95 125 public static function load_menu() { 96 $hook = add_options_page( __('Copyfight', 'copyfight'), __('Copyfight', 'copyfight'), 'manage_options', 'copyfight', array( COPYFIGHT_CLASS_ADMIN, 'copyfight_configuration_page' ) );126 $hook = add_options_page( 'Copyfight', 'Copyfight', 'manage_options', 'copyfight', array( COPYFIGHT_CLASS_ADMIN, 'copyfight_configuration_page' ) ); 97 127 add_action( "load-$hook", array( COPYFIGHT_CLASS_ADMIN, 'admin_help' ) ); 98 128 } … … 161 191 } 162 192 193 public function copyfight_dashboard_widget() { 194 195 wp_add_dashboard_widget( 196 'dashboard_copyfight', 197 'Copyfight', 198 array( COPYFIGHT_CLASS_ADMIN, 'copyfight_dashboard_widget_content' ) 199 ); 200 201 } 202 203 public static function copyfight_dashboard_widget_content() { 204 205 $stats = call_user_func( COPYFIGHT_CLASS_ADMIN . '::copyfight_statistics' ); 206 207 $tpl = ''; 208 $tpl .= '<div class="main">'; 209 $tpl .= ' <ul>'; 210 $tpl .= ' <li class="post-count">' . number_format_i18n( $stats['post'] ) . ' ' . _n( 'Post', 'Posts', $stats['post'], 'copyfight' ) . '</li>'; 211 $tpl .= ' <li class="page-count">' . number_format_i18n( $stats['page'] ) . ' ' . _n( 'Page', 'Pages', $stats['page'], 'copyfight' ) . '</li>'; 212 $tpl .= ' <li class="char-count">' . number_format_i18n( $stats['chars'] ) . ' ' . _n( 'Character', 'Characters', $stats['chars'], 'copyfight' ) . '</li>'; 213 $tpl .= ' <li class="word-count">' . number_format_i18n( $stats['words'] ) . ' ' . _n( 'Word', 'Words', $stats['words'], 'copyfight' ) . '</li>'; 214 $tpl .= ' </ul>'; 215 $tpl .= ' <p id="wp-version-message">'; 216 $tpl .= ' <span id="wp-version">Copyfight ' . COPYFIGHT_VERSION . '</span> | '; 217 $tpl .= ' <span><a href="' . get_admin_url() . 'options-general.php?page=copyfight">' . __('Settings', 'copyfight') . '</a></span> | '; 218 $tpl .= ' <span><a href="' . get_admin_url() . 'widgets.php">' . __('Widget', 'copyfight') . '</a></span>'; 219 $tpl .= ' </p>'; 220 $tpl .= '</div>'; 221 222 echo $tpl; 223 } 224 225 public static function copyfight_statistics() { 226 global $wpdb; 227 $stats = array( 228 'post' => 0, 229 'page' => 0, 230 'chars' => 0, 231 'words' => 0 232 ); 233 $sql = 'SELECT * FROM ' . $wpdb->prefix . 'postmeta WHERE 1 AND meta_key = "%s" AND meta_value = "%s"'; 234 $query = $wpdb->prepare( $sql, '_copyfight_status', 'enabled' ); 235 $results = $wpdb->get_results( $query ); 236 237 foreach ( $results as $result ) { 238 $post = get_post( $result->post_id ); 239 $content = get_post_meta( $result->post_id, '_copyfight_content', true ); 240 if ( $post->post_status == 'publish' && strlen( $content ) > 0 ) { 241 $stats[$post->post_type] += 1; 242 $stats['chars'] += strlen( strip_tags( get_post_field( 'post_content', $result->post_id ) ) ); 243 $stats['words'] += str_word_count( strip_tags( get_post_field( 'post_content', $result->post_id ) ) ); 244 } 245 } 246 247 return $stats; 248 } 249 163 250 public static function display_posts_copyfight( $column, $post_id ) { 164 if ( $column == 'copyfight') {251 if ( $column == 'copyfight' ) { 165 252 $status = get_post_meta( $post_id, '_copyfight_status', true ); 166 253 if ( $status == 'enabled' ) { 167 echo '<input type="checkbox" disabled checked />';254 echo '<input type="checkbox" disabled checked />'; 168 255 } else { 169 256 echo '<input type="checkbox" disabled />'; … … 215 302 216 303 public static function copyfight_add_meta_box() { 217 add_meta_box( 'copyfight_post', __( 'Copyfight', 'copyfight' ), array( COPYFIGHT_CLASS_ADMIN, 'copyfight_meta_box_callback'), 'post', 'side', 'high' );218 add_meta_box( 'copyfight_page', __( 'Copyfight', 'copyfight' ), array( COPYFIGHT_CLASS_ADMIN, 'copyfight_meta_box_callback'), 'page', 'side', 'high' );304 add_meta_box( 'copyfight_post', __( 'Copyfight', 'copyfight' ), array( COPYFIGHT_CLASS_ADMIN, 'copyfight_meta_box_callback'), 'post', 'side', 'high' ); 305 add_meta_box( 'copyfight_page', __( 'Copyfight', 'copyfight' ), array( COPYFIGHT_CLASS_ADMIN, 'copyfight_meta_box_callback'), 'page', 'side', 'high' ); 219 306 } 220 307 … … 223 310 224 311 // Status 225 $status = call_user_func( COPYFIGHT_CLASS_ADMIN . '::is_copyfight_enabled', $post->ID);312 $status = call_user_func( COPYFIGHT_CLASS_ADMIN . '::is_copyfight_enabled', $post->ID ); 226 313 $options = array( 'enabled' => __( 'Enabled', 'copyfight' ), 'disabled' => __( 'Disabled', 'copyfight' ) ); 227 314 echo '<p>'; … … 241 328 242 329 // Tags 243 $status = call_user_func( COPYFIGHT_CLASS_ADMIN . '::is_tags_enabled', $post->ID);330 $status = call_user_func( COPYFIGHT_CLASS_ADMIN . '::is_tags_enabled', $post->ID ); 244 331 $options = array('enabled' => __('Enabled', 'copyfight'), 'disabled' => __('Disabled', 'copyfight')); 245 332 echo '<p>'; … … 257 344 258 345 // Blur 259 $status = call_user_func( COPYFIGHT_CLASS_ADMIN . '::is_blur_enabled', $post->ID);346 $status = call_user_func( COPYFIGHT_CLASS_ADMIN . '::is_blur_enabled', $post->ID ); 260 347 $options = array('enabled' => __('Enabled', 'copyfight'), 'disabled' => __('Disabled', 'copyfight')); 261 348 echo '<p>'; … … 467 554 'title' => __('Overview', 'copyfight'), 468 555 'content' => 469 '<p><strong>' . esc_html__('Copyfight Configuration', 'copyfight') . '</strong></p>' .556 '<p><strong>' . esc_html__('Copyfight Overview', 'copyfight') . '</strong></p>' . 470 557 '<p>' . esc_html__('Copyfight protects your content, so you can focus on more important things.', 'copyfight') . '</p>' . 471 558 '<p>' . esc_html__('On this page, you are able to enter/remove an API key, view account information and view stats.', 'copyfight') . '</p>', … … 478 565 'title' => __('Settings', 'copyfight'), 479 566 'content' => 480 '<p><strong>' . esc_html__('Copyfight Configuration', 'copyfight') . '</strong></p>' . 481 '<p><strong>' . esc_html__('API Key', 'copyfight') . '</strong> - ' . esc_html__('Enter/remove an API key.', 'copyfight') . '</p>' 567 '<p><strong>' . esc_html__('Copyfight Settings', 'copyfight') . '</strong></p>' . 568 '<p><strong>' . esc_html__('API Key', 'copyfight') . '</strong> - ' . esc_html__('Enter/remove an API key.', 'copyfight') . '</p>' . 569 '<p><strong>' . esc_html__('Default settings', 'copyfight') . '</strong> - ' . esc_html__('Edit your default settings.', 'copyfight') . '</p>' . 570 '<p><strong>' . esc_html__('General settings', 'copyfight') . '</strong> - ' . esc_html__('Edit your general settings.', 'copyfight') . '</p>' . 571 '<p><strong>' . esc_html__('Other settings', 'copyfight') . '</strong> - ' . esc_html__('Edit your other settings.', 'copyfight') . '</p>', 482 572 ) 483 573 ); … … 488 578 'title' => __('Account', 'copyfight'), 489 579 'content' => 490 '<p><strong>' . esc_html__('Copyfight Configuration', 'copyfight') . '</strong></p>' .580 '<p><strong>' . esc_html__('Copyfight Account', 'copyfight') . '</strong></p>' . 491 581 '<p><strong>' . esc_html__('Subscription Type', 'copyfight') . '</strong> - ' . esc_html__('The Copyfight subscription plan', 'copyfight') . '</p>' . 492 582 '<p><strong>' . esc_html__('Status', 'copyfight') . '</strong> - ' . esc_html__('The subscription status - active, cancelled or suspended', 'copyfight') . '</p>', … … 570 660 //get_font_info 571 661 if ( !empty( $_POST['typeface'] ) ) { 572 $typeface = explode( '/', $_POST['typeface'] )[0]; 662 $typeface = explode( '/', $_POST['typeface'] ); 663 $typeface = $typeface[0]; 573 664 $response = call_user_func( COPYFIGHT_CLASS_ADMIN . '::get_font_info', $typeface ); 574 665 $response = stripslashes( $response ); -
copyfight/trunk/class.copyfight.php
r1426822 r1428593 63 63 if ( strlen( $copyfight_content ) && $copyfight_status == 'enabled' && is_singular() ) { 64 64 echo '<meta name="generator" content="Copyfight" />' . "\n"; 65 $copyfight_sev = get_option( 'copyfight_sev');65 $copyfight_sev = get_option( 'copyfight_sev' ); 66 66 if ( $copyfight_sev == 'false' ) { 67 67 echo '<meta name="robots" content="noindex,nofollow,noarchive" />' . "\n"; … … 91 91 92 92 //content delivery network 93 $copyfight_cdn = get_option( 'copyfight_cdn');93 $copyfight_cdn = get_option( 'copyfight_cdn' ); 94 94 if ( empty( $copyfight_cdn ) || $copyfight_cdn == 'false' ) { 95 95 require_once( COPYFIGHT_PLUGIN_DIR . 'class.copyfight-admin.php' ); … … 120 120 } 121 121 122 $copyfight_cdn = get_option( 'copyfight_cdn');122 $copyfight_cdn = get_option( 'copyfight_cdn' ); 123 123 if ( $local_fonts_available && ( empty( $copyfight_cdn ) || $copyfight_cdn == 'false') ) { 124 124 wp_register_style( 'copyfight-cdn', COPYFIGHT_PLUGIN_URL . '_inc/copyfight.php?hash=' . $copyfight_hash . '&font=' . $copyfight_typeface, array(), COPYFIGHT_VERSION ); … … 131 131 $tpl = ''; 132 132 $tpl .= '<!--googleoff: anchor-->'; 133 $copyfight_fouc = get_option( 'copyfight_fouc');134 $copyfight_select = get_option( 'copyfight_select');133 $copyfight_fouc = get_option( 'copyfight_fouc' ); 134 $copyfight_select = get_option( 'copyfight_select' ); 135 135 if ( !empty( $copyfight_fouc ) && $copyfight_fouc == 'true' ) { 136 136 if ( !empty( $copyfight_select ) && $copyfight_select == 'false' ) { … … 149 149 150 150 //copyright notice 151 $copyfight_copyright = get_option( 'copyfight_copyright');151 $copyfight_copyright = get_option( 'copyfight_copyright' ); 152 152 if ( strlen( $copyfight_copyright ) > 0 ) { 153 153 $tpl .= '<div id="copyright_notice">' . $copyfight_copyright . '</div>'; … … 157 157 $tpl .= '<input id="copyfight_notice" type="hidden" value="' . __( 'Copyfight prevented copying this content.', 'copyfight' ) . '">'; 158 158 159 $copyfight_excerpt = get_option( 'copyfight_excerpt');159 $copyfight_excerpt = get_option( 'copyfight_excerpt' ); 160 160 if ( !empty( $copyfight_excerpt ) && $copyfight_excerpt == 'true' && strlen( $post->post_excerpt ) > 0 ) { 161 161 $tpl = '<div class="copyfight_excerpt">' . $post->post_excerpt . '</div>' . $tpl; … … 166 166 } else { 167 167 168 $copyfight_excerpt = get_option( 'copyfight_excerpt');168 $copyfight_excerpt = get_option( 'copyfight_excerpt' ); 169 169 if ( !empty( $copyfight_excerpt ) && $copyfight_excerpt == 'true' && strlen( $post->post_excerpt ) > 0 ) { 170 170 $content = $post->post_excerpt; -
copyfight/trunk/copyfight.php
r1426805 r1428593 4 4 Plugin URI: https://getcopyfight.com/ 5 5 Description: Copyright protection 6 Version: 1.4. 56 Version: 1.4.6 7 7 Author: Copyfight 8 8 Author URI: https://getcopyfight.com/ … … 35 35 add_action( 'plugins_loaded', 'copyfight_textdomain' ); 36 36 37 define( 'COPYFIGHT_VERSION', '1.4. 5' );37 define( 'COPYFIGHT_VERSION', '1.4.6' ); 38 38 define( 'COPYFIGHT_MINIMUM_WP_VERSION', '3.3.0' ); 39 39 define( 'COPYFIGHT_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); -
copyfight/trunk/languages/copyfight-es_ES.po
r1426805 r1428593 2 2 msgstr "" 3 3 "Project-Id-Version: Copyfight\n" 4 "POT-Creation-Date: 2016-0 5-30 14:35+0200\n"5 "PO-Revision-Date: 2016-0 5-30 14:35+0200\n"4 "POT-Creation-Date: 2016-06-01 21:03+0200\n" 5 "PO-Revision-Date: 2016-06-01 21:04+0200\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: Copyfight <[email protected]>\n" … … 12 12 "X-Generator: Poedit 1.8.6\n" 13 13 "X-Poedit-Basepath: ..\n" 14 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 15 "X-Poedit-KeywordsList: _e;esc_html__;__;__ngettext;__ngettext_noop;_n;" 16 "_n_noop;_c;_nc;_x;_ex;_nx;_nx_noop;esc_html_x;esc_html_e;esc_attr_x;" 17 "esc_attr_e;esc_attr__;__ngettext_noop\n" 14 "Plural-Forms: nplurals=2; plural=n != 1;\n" 15 "X-Poedit-KeywordsList: _e;__;_n;esc_html__;_n:1,2\n" 18 16 "X-Poedit-SearchPath-0: .\n" 19 20 #: class.copyfight-admin.php:48 17 "X-Poedit-SearchPathExcluded-0: languages\n" 18 19 #: class.copyfight-admin.php:77 21 20 msgid "Error: empty API Key field" 22 21 msgstr "Error: API vacío campo Clave" 23 22 24 #: class.copyfight-admin.php: 90 class.copyfight-admin.php:47525 #: views/config.php:4523 #: class.copyfight-admin.php:120 class.copyfight-admin.php:217 24 #: class.copyfight-admin.php:565 views/config.php:45 26 25 msgid "Settings" 27 26 msgstr "Ajustes" 28 27 29 #: class.copyfight-admin.php:96 class.copyfight-admin.php:177 30 #: class.copyfight-admin.php:217 class.copyfight-admin.php:218 28 #: class.copyfight-admin.php:157 29 msgid "A Copyfight error has occurred, your article is not protected." 30 msgstr "" 31 "Se ha producido un error de Derecho de Autor, el artículo no está protegido." 32 33 #: class.copyfight-admin.php:210 34 msgid "Post" 35 msgid_plural "Posts" 36 msgstr[0] "entrada" 37 msgstr[1] "entradas" 38 39 #: class.copyfight-admin.php:211 40 msgid "Page" 41 msgid_plural "Pages" 42 msgstr[0] "página" 43 msgstr[1] "páginas" 44 45 #: class.copyfight-admin.php:212 46 msgid "Character" 47 msgid_plural "Characters" 48 msgstr[0] "carácter" 49 msgstr[1] "caracteres" 50 51 #: class.copyfight-admin.php:213 52 msgid "Word" 53 msgid_plural "Words" 54 msgstr[0] "palabra" 55 msgstr[1] "palabras" 56 57 #: class.copyfight-admin.php:218 views/config.php:267 58 msgid "Widget" 59 msgstr "" 60 61 #: class.copyfight-admin.php:264 class.copyfight-admin.php:304 62 #: class.copyfight-admin.php:305 31 63 msgid "Copyfight" 32 64 msgstr "Copyfight" 33 65 34 #: class.copyfight-admin.php:127 35 msgid "A Copyfight error has occurred, your article is not protected." 36 msgstr "" 37 "Se ha producido un error de Derecho de Autor, el artículo no está protegido." 38 39 #: class.copyfight-admin.php:226 class.copyfight-admin.php:244 40 #: class.copyfight-admin.php:260 views/config.php:63 views/config.php:82 66 #: class.copyfight-admin.php:313 class.copyfight-admin.php:331 67 #: class.copyfight-admin.php:347 views/config.php:63 views/config.php:82 41 68 #: views/config.php:101 views/config.php:159 views/config.php:178 42 69 #: views/config.php:197 views/config.php:216 views/config.php:235 … … 44 71 msgstr "Enciende" 45 72 46 #: class.copyfight-admin.php: 226 class.copyfight-admin.php:24447 #: class.copyfight-admin.php: 260views/config.php:62 views/config.php:8173 #: class.copyfight-admin.php:313 class.copyfight-admin.php:331 74 #: class.copyfight-admin.php:347 views/config.php:62 views/config.php:81 48 75 #: views/config.php:100 views/config.php:158 views/config.php:177 49 76 #: views/config.php:196 views/config.php:215 views/config.php:234 … … 51 78 msgstr "Apagar" 52 79 53 #: class.copyfight-admin.php: 228 class.copyfight-admin.php:48980 #: class.copyfight-admin.php:315 class.copyfight-admin.php:582 54 81 msgid "Status" 55 82 msgstr "Estado" 56 83 57 #: class.copyfight-admin.php: 24684 #: class.copyfight-admin.php:333 58 85 msgid "Tags" 59 86 msgstr "Etiquetas" 60 87 61 #: class.copyfight-admin.php: 26288 #: class.copyfight-admin.php:349 62 89 msgid "Blur" 63 90 msgstr "Difuminar" 64 91 65 #: class.copyfight-admin.php: 445 class.copyfight-admin.php:54266 #: class.copyfight-admin.php: 55992 #: class.copyfight-admin.php:535 class.copyfight-admin.php:635 93 #: class.copyfight-admin.php:652 67 94 msgid "A Copyfight error has occurred..." 68 95 msgstr "Se ha producido un error de Copyfight..." 69 96 70 #: class.copyfight-admin.php: 446 class.copyfight-admin.php:54371 #: class.copyfight-admin.php: 56097 #: class.copyfight-admin.php:536 class.copyfight-admin.php:636 98 #: class.copyfight-admin.php:653 72 99 msgid "Click here to try again..." 73 100 msgstr "Haga clic aquí para volver a intentarlo..." 74 101 75 #: class.copyfight-admin.php: 464102 #: class.copyfight-admin.php:554 76 103 msgid "Overview" 77 104 msgstr "Visión de conjunto" 78 105 79 #: class.copyfight-admin.php:466 class.copyfight-admin.php:477 80 #: class.copyfight-admin.php:487 81 msgid "Copyfight Configuration" 82 msgstr "Copyfight Configuración" 83 84 #: class.copyfight-admin.php:467 106 #: class.copyfight-admin.php:556 107 msgid "Copyfight Overview" 108 msgstr "Descripción general de Overview" 109 110 #: class.copyfight-admin.php:557 85 111 msgid "" 86 112 "Copyfight protects your content, so you can focus on more important things." … … 89 115 "importantes." 90 116 91 #: class.copyfight-admin.php: 468117 #: class.copyfight-admin.php:558 92 118 msgid "" 93 119 "On this page, you are able to enter/remove an API key, view account " … … 97 123 "ver la información de la cuenta y ver las estadísticas." 98 124 99 #: class.copyfight-admin.php:478 views/config.php:22 125 #: class.copyfight-admin.php:567 126 msgid "Copyfight Settings" 127 msgstr "Ajustes Copyfight" 128 129 #: class.copyfight-admin.php:568 views/config.php:22 100 130 msgid "API Key" 101 131 msgstr "API Clave" 102 132 103 #: class.copyfight-admin.php: 478133 #: class.copyfight-admin.php:568 104 134 msgid "Enter/remove an API key." 105 135 msgstr "Introducir/eliminar una clave de API." 106 136 107 #: class.copyfight-admin.php:485 137 #: class.copyfight-admin.php:569 views/config.php:49 138 msgid "Default settings" 139 msgstr "Configuración por defecto" 140 141 #: class.copyfight-admin.php:569 142 msgid "Edit your default settings." 143 msgstr "Editar la configuración por defecto." 144 145 #: class.copyfight-admin.php:570 views/config.php:145 146 msgid "General settings" 147 msgstr "Configuración general" 148 149 #: class.copyfight-admin.php:570 150 msgid "Edit your general settings." 151 msgstr "Editar la configuración general." 152 153 #: class.copyfight-admin.php:571 views/config.php:264 154 msgid "Other settings" 155 msgstr "Otros ajustes" 156 157 #: class.copyfight-admin.php:571 158 msgid "Edit your other settings." 159 msgstr "Editar otros ajustes." 160 161 #: class.copyfight-admin.php:578 108 162 msgid "Account" 109 163 msgstr "Cuenta" 110 164 111 #: class.copyfight-admin.php:488 165 #: class.copyfight-admin.php:580 166 msgid "Copyfight Account" 167 msgstr "Cuenta de Copyfight" 168 169 #: class.copyfight-admin.php:581 112 170 msgid "Subscription Type" 113 171 msgstr "Tipo de suscripción" 114 172 115 #: class.copyfight-admin.php: 488173 #: class.copyfight-admin.php:581 116 174 msgid "The Copyfight subscription plan" 117 175 msgstr "El plan de suscripción Copyfight" 118 176 119 #: class.copyfight-admin.php: 489177 #: class.copyfight-admin.php:582 120 178 msgid "The subscription status - active, cancelled or suspended" 121 179 msgstr "El estado de suscripción - activo, cancelado o suspendido" 122 180 123 #: class.copyfight-admin.php: 494181 #: class.copyfight-admin.php:587 124 182 msgid "For more information:" 125 183 msgstr "Para más información:" 126 184 127 #: class.copyfight-admin.php: 495185 #: class.copyfight-admin.php:588 128 186 msgid "Copyfight FAQ" 129 187 msgstr "Copyfight FAQ" 130 188 131 #: class.copyfight-admin.php: 496189 #: class.copyfight-admin.php:589 132 190 msgid "Copyfight Support" 133 191 msgstr "Soporte Copyfight" … … 193 251 "individuales en primer lugar." 194 252 195 #: views/config.php:49196 msgid "Default settings"197 msgstr "Configuración por defecto"198 199 253 #: views/config.php:52 views/config.php:65 200 254 msgid "Default status" … … 217 271 msgstr "Estos ajustes tienen un efecto inmediato sobre su contenido." 218 272 219 #: views/config.php:145220 msgid "General settings"221 msgstr "Configuración general"222 223 273 #: views/config.php:148 views/config.php:161 224 274 msgid "Content Delivery Network" … … 249 299 msgstr "Aviso de copyright" 250 300 251 #: views/config.php:264252 msgid "Other settings"253 msgstr "Otros ajustes"254 255 #: views/config.php:267256 msgid "Widget"257 msgstr ""258 259 301 #: views/config.php:269 260 302 msgid "Widget settings" … … 269 311 msgstr "añadir y editar la configuración del widget Copyfight." 270 312 271 #: views/notice.php:6272 msgid "Activate your Copyfight account"273 msgstr "Active su cuenta Copyfight"274 275 313 #: views/notice.php:9 276 314 msgid "" … … 319 357 msgid "Light" 320 358 msgstr "Claro" 359 360 #~ msgid "Copyfight Configuration" 361 #~ msgstr "Copyfight Configuración" 362 363 #~ msgid "Activate your Copyfight account" 364 #~ msgstr "Active su cuenta Copyfight" 321 365 322 366 #~ msgid "" -
copyfight/trunk/languages/copyfight-nl_NL.po
r1426805 r1428593 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Development (trunk)\n"6 "POT-Creation-Date: 2016-0 5-30 14:35+0200\n"7 "PO-Revision-Date: 2016-0 5-30 14:36+0200\n"5 "Project-Id-Version: Copyfight\n" 6 "POT-Creation-Date: 2016-06-01 21:01+0200\n" 7 "PO-Revision-Date: 2016-06-01 21:05+0200\n" 8 8 "Last-Translator: \n" 9 "Language-Team: \n"9 "Language-Team: Copyfight <[email protected]>\n" 10 10 "Language: nl_NL\n" 11 11 "MIME-Version: 1.0\n" … … 15 15 "X-Generator: Poedit 1.8.6\n" 16 16 "X-Poedit-Basepath: ..\n" 17 "X-Poedit-KeywordsList: _e;__;esc_html__ \n"17 "X-Poedit-KeywordsList: _e;__;esc_html__;_n;_n:1,2\n" 18 18 "X-Poedit-SearchPath-0: .\n" 19 19 "X-Poedit-SearchPathExcluded-0: languages\n" 20 20 21 #: class.copyfight-admin.php: 4821 #: class.copyfight-admin.php:77 22 22 msgid "Error: empty API Key field" 23 23 msgstr "Fout: leeg API sleutel veld" 24 24 25 #: class.copyfight-admin.php: 90 class.copyfight-admin.php:47526 #: views/config.php:4525 #: class.copyfight-admin.php:120 class.copyfight-admin.php:217 26 #: class.copyfight-admin.php:565 views/config.php:45 27 27 msgid "Settings" 28 28 msgstr "Configuratie" 29 29 30 #: class.copyfight-admin.php:96 class.copyfight-admin.php:177 31 #: class.copyfight-admin.php:217 class.copyfight-admin.php:218 30 #: class.copyfight-admin.php:157 31 msgid "A Copyfight error has occurred, your article is not protected." 32 msgstr "Een Copyright fout is opgetreden, uw artikel is niet beschermd." 33 34 #: class.copyfight-admin.php:210 35 msgid "Post" 36 msgid_plural "Posts" 37 msgstr[0] "bericht" 38 msgstr[1] "berichten" 39 40 #: class.copyfight-admin.php:211 41 msgid "Page" 42 msgid_plural "Pages" 43 msgstr[0] "pagina" 44 msgstr[1] "pagina's" 45 46 #: class.copyfight-admin.php:212 47 msgid "Character" 48 msgid_plural "Characters" 49 msgstr[0] "karakter" 50 msgstr[1] "karakters" 51 52 #: class.copyfight-admin.php:213 53 msgid "Word" 54 msgid_plural "Words" 55 msgstr[0] "woord" 56 msgstr[1] "woorden" 57 58 #: class.copyfight-admin.php:218 views/config.php:267 59 msgid "Widget" 60 msgstr "" 61 62 #: class.copyfight-admin.php:264 class.copyfight-admin.php:304 63 #: class.copyfight-admin.php:305 32 64 msgid "Copyfight" 33 65 msgstr "Copyfight" 34 66 35 #: class.copyfight-admin.php:127 36 msgid "A Copyfight error has occurred, your article is not protected." 37 msgstr "Een Copyright fout is opgetreden, uw artikel is niet beschermd." 38 39 #: class.copyfight-admin.php:226 class.copyfight-admin.php:244 40 #: class.copyfight-admin.php:260 views/config.php:63 views/config.php:82 67 #: class.copyfight-admin.php:313 class.copyfight-admin.php:331 68 #: class.copyfight-admin.php:347 views/config.php:63 views/config.php:82 41 69 #: views/config.php:101 views/config.php:159 views/config.php:178 42 70 #: views/config.php:197 views/config.php:216 views/config.php:235 … … 44 72 msgstr "Aan" 45 73 46 #: class.copyfight-admin.php: 226 class.copyfight-admin.php:24447 #: class.copyfight-admin.php: 260views/config.php:62 views/config.php:8174 #: class.copyfight-admin.php:313 class.copyfight-admin.php:331 75 #: class.copyfight-admin.php:347 views/config.php:62 views/config.php:81 48 76 #: views/config.php:100 views/config.php:158 views/config.php:177 49 77 #: views/config.php:196 views/config.php:215 views/config.php:234 … … 51 79 msgstr "Uit" 52 80 53 #: class.copyfight-admin.php: 228 class.copyfight-admin.php:48981 #: class.copyfight-admin.php:315 class.copyfight-admin.php:582 54 82 msgid "Status" 55 83 msgstr "Status" 56 84 57 #: class.copyfight-admin.php: 24685 #: class.copyfight-admin.php:333 58 86 msgid "Tags" 59 87 msgstr "Tags" 60 88 61 #: class.copyfight-admin.php: 26289 #: class.copyfight-admin.php:349 62 90 msgid "Blur" 63 91 msgstr "Vervagen" 64 92 65 #: class.copyfight-admin.php: 445 class.copyfight-admin.php:54266 #: class.copyfight-admin.php: 55993 #: class.copyfight-admin.php:535 class.copyfight-admin.php:635 94 #: class.copyfight-admin.php:652 67 95 msgid "A Copyfight error has occurred..." 68 96 msgstr "Er is een Copyfight fout opgetreden..." 69 97 70 #: class.copyfight-admin.php: 446 class.copyfight-admin.php:54371 #: class.copyfight-admin.php: 56098 #: class.copyfight-admin.php:536 class.copyfight-admin.php:636 99 #: class.copyfight-admin.php:653 72 100 msgid "Click here to try again..." 73 101 msgstr "Klik hier om opnieuw te proberen..." 74 102 75 #: class.copyfight-admin.php: 464103 #: class.copyfight-admin.php:554 76 104 msgid "Overview" 77 105 msgstr "Overzicht" 78 106 79 #: class.copyfight-admin.php:466 class.copyfight-admin.php:477 80 #: class.copyfight-admin.php:487 81 msgid "Copyfight Configuration" 82 msgstr "Copyfight Configuratie" 83 84 #: class.copyfight-admin.php:467 107 #: class.copyfight-admin.php:556 108 msgid "Copyfight Overview" 109 msgstr "Copyfight Overzicht" 110 111 #: class.copyfight-admin.php:557 85 112 msgid "" 86 113 "Copyfight protects your content, so you can focus on more important things." … … 89 116 "belangrijke zaken." 90 117 91 #: class.copyfight-admin.php: 468118 #: class.copyfight-admin.php:558 92 119 msgid "" 93 120 "On this page, you are able to enter/remove an API key, view account " … … 97 124 "bekijken." 98 125 99 #: class.copyfight-admin.php:478 views/config.php:22 126 #: class.copyfight-admin.php:567 127 msgid "Copyfight Settings" 128 msgstr "Copyfight Configuratie" 129 130 #: class.copyfight-admin.php:568 views/config.php:22 100 131 msgid "API Key" 101 132 msgstr "API key" 102 133 103 #: class.copyfight-admin.php: 478134 #: class.copyfight-admin.php:568 104 135 msgid "Enter/remove an API key." 105 136 msgstr "API-sleutel invoeren of verwijderen." 106 137 107 #: class.copyfight-admin.php:485 138 #: class.copyfight-admin.php:569 views/config.php:49 139 msgid "Default settings" 140 msgstr "Standaard instellingen" 141 142 #: class.copyfight-admin.php:569 143 msgid "Edit your default settings." 144 msgstr "Bewerk uw standaardinstellingen." 145 146 #: class.copyfight-admin.php:570 views/config.php:145 147 msgid "General settings" 148 msgstr "Algemene instellingen" 149 150 #: class.copyfight-admin.php:570 151 msgid "Edit your general settings." 152 msgstr "Bewerk uw algemene instellingen." 153 154 #: class.copyfight-admin.php:571 views/config.php:264 155 msgid "Other settings" 156 msgstr "Overige instellingen" 157 158 #: class.copyfight-admin.php:571 159 msgid "Edit your other settings." 160 msgstr "Bewerk uw andere instellingen." 161 162 #: class.copyfight-admin.php:578 108 163 msgid "Account" 109 164 msgstr "Account" 110 165 111 #: class.copyfight-admin.php:488 166 #: class.copyfight-admin.php:580 167 msgid "Copyfight Account" 168 msgstr "" 169 170 #: class.copyfight-admin.php:581 112 171 msgid "Subscription Type" 113 172 msgstr "Abonnementstype" 114 173 115 #: class.copyfight-admin.php: 488174 #: class.copyfight-admin.php:581 116 175 msgid "The Copyfight subscription plan" 117 176 msgstr "Het Copyfight abonnementen overzicht" 118 177 119 #: class.copyfight-admin.php: 489178 #: class.copyfight-admin.php:582 120 179 msgid "The subscription status - active, cancelled or suspended" 121 180 msgstr "Abonnementstatus - actief, geannuleerd of geschorst" 122 181 123 #: class.copyfight-admin.php: 494182 #: class.copyfight-admin.php:587 124 183 msgid "For more information:" 125 184 msgstr "Voor meer info:" 126 185 127 #: class.copyfight-admin.php: 495186 #: class.copyfight-admin.php:588 128 187 msgid "Copyfight FAQ" 129 188 msgstr "Copyfight Veelgestelde Vragen" 130 189 131 #: class.copyfight-admin.php: 496190 #: class.copyfight-admin.php:589 132 191 msgid "Copyfight Support" 133 192 msgstr "Copyfight ondersteuning" … … 191 250 "Bewaar eerst handmatig jouw individuele berichten en pagina's." 192 251 193 #: views/config.php:49194 msgid "Default settings"195 msgstr "Standaard instellingen"196 197 252 #: views/config.php:52 views/config.php:65 198 253 msgid "Default status" … … 216 271 "Deze instellingen hebben een onmiddellijk effect op berichten en pagina's." 217 272 218 #: views/config.php:145219 msgid "General settings"220 msgstr "Algemene instellingen"221 222 273 #: views/config.php:148 views/config.php:161 223 274 msgid "Content Delivery Network" … … 248 299 msgstr "Copyright melding" 249 300 250 #: views/config.php:264251 msgid "Other settings"252 msgstr "Overige instellingen"253 254 #: views/config.php:267255 msgid "Widget"256 msgstr ""257 258 301 #: views/config.php:269 259 302 msgid "Widget settings" … … 313 356 msgid "Light" 314 357 msgstr "Licht" 358 359 #~ msgid "Copyfight Configuration" 360 #~ msgstr "Copyfight Configuratie" 361 362 #~ msgid "%s Post" 363 #~ msgstr "%s Bericht" 315 364 316 365 #~ msgid "" -
copyfight/trunk/readme.txt
r1426805 r1428593 7 7 Requires at least: 3.3.0 8 8 Tested up to: 4.5.2 9 Stable tag: 1.4. 59 Stable tag: 1.4.6 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 72 72 4. Post/Page screen: Copyfight options 73 73 5. Wordpress Widgets screen 74 6. Wordpress Dashboard screen 74 75 75 76 == Frequently Asked Questions == -
copyfight/trunk/uninstall.php
r1359070 r1428593 6 6 7 7 // Delete options from options table 8 delete_option( 'copyfight_api_key' ); 9 delete_option( 'copyfight_newsletter' ); 10 delete_option( 'copyfight_status' ); 11 delete_option( 'copyfight_tags' ); 12 delete_option( 'copyfight_blur' ); 8 13 delete_option( 'copyfight_typeface' ); 9 delete_option( 'copyfight_api_key' ); 14 delete_option( 'copyfight_cdn' ); 15 delete_option( 'copyfight_excerpt' ); 16 delete_option( 'copyfight_fouc' ); 17 delete_option( 'copyfight_select' ); 18 delete_option( 'copyfight_sev' ); 19 delete_option( 'copyfight_copyright' ); -
copyfight/trunk/views/config.php
r1426805 r1428593 246 246 $copyfight_copyright = get_option('copyfight_copyright'); 247 247 if ( $copyfight_copyright === false ) { 248 $copyfight_copyright = ' © ' . date('Y') . ' ' . get_bloginfo( 'name' );248 $copyfight_copyright = 'Copyright © ' . date('Y') . ' ' . get_bloginfo( 'name' ) . '.'; 249 249 update_option('copyfight_copyright', $copyfight_copyright); 250 250 }
Note: See TracChangeset
for help on using the changeset viewer.