Changeset 1201736
- Timestamp:
- 07/18/2015 06:24:31 PM (11 years ago)
- Location:
- encryption-contest
- Files:
-
- 123 added
- 7 deleted
- 9 edited
-
assets/screenshot-1.png (modified) (previous)
-
assets/screenshot-5.png (modified) (previous)
-
assets/screenshot-6.png (modified) (previous)
-
tags/1.0 (added)
-
tags/1.0/countdown.php (added)
-
tags/1.0/ec-codes.php (added)
-
tags/1.0/ec-menu.php (added)
-
tags/1.0/ec-options.php (added)
-
tags/1.0/encryption-contest.php (added)
-
tags/1.0/encryption-icon20x20.png (added)
-
tags/1.0/languages (added)
-
tags/1.0/languages/default.mo (added)
-
tags/1.0/languages/default.po (added)
-
tags/1.0/languages/encrypt-cs_CZ.mo (added)
-
tags/1.0/languages/encrypt-cs_CZ.po (added)
-
tags/1.0/poland-cross (added)
-
tags/1.0/poland-cross/a.jpg (added)
-
tags/1.0/poland-cross/b.jpg (added)
-
tags/1.0/poland-cross/c.jpg (added)
-
tags/1.0/poland-cross/ch.jpg (added)
-
tags/1.0/poland-cross/d.jpg (added)
-
tags/1.0/poland-cross/e.jpg (added)
-
tags/1.0/poland-cross/f.jpg (added)
-
tags/1.0/poland-cross/g.jpg (added)
-
tags/1.0/poland-cross/h.jpg (added)
-
tags/1.0/poland-cross/i.jpg (added)
-
tags/1.0/poland-cross/j.jpg (added)
-
tags/1.0/poland-cross/k.jpg (added)
-
tags/1.0/poland-cross/l.jpg (added)
-
tags/1.0/poland-cross/m.jpg (added)
-
tags/1.0/poland-cross/n.jpg (added)
-
tags/1.0/poland-cross/o.jpg (added)
-
tags/1.0/poland-cross/p.jpg (added)
-
tags/1.0/poland-cross/q.jpg (added)
-
tags/1.0/poland-cross/r.jpg (added)
-
tags/1.0/poland-cross/s.jpg (added)
-
tags/1.0/poland-cross/t.jpg (added)
-
tags/1.0/poland-cross/u.jpg (added)
-
tags/1.0/poland-cross/universal.jpg (added)
-
tags/1.0/poland-cross/v.jpg (added)
-
tags/1.0/poland-cross/w.jpg (added)
-
tags/1.0/poland-cross/x.jpg (added)
-
tags/1.0/poland-cross/y.jpg (added)
-
tags/1.0/poland-cross/z.jpg (added)
-
tags/1.0/readme.txt (added)
-
tags/1.0/smile.png (added)
-
tags/1.1 (added)
-
tags/1.1/encryption-contest.php (added)
-
tags/1.1/includes (added)
-
tags/1.1/includes/countdown.php (added)
-
tags/1.1/includes/ec-codes.php (added)
-
tags/1.1/includes/ec-menu.php (added)
-
tags/1.1/includes/ec-options.php (added)
-
tags/1.1/includes/encryption-icon20x20.png (added)
-
tags/1.1/includes/poland-cross (added)
-
tags/1.1/includes/poland-cross/a.jpg (added)
-
tags/1.1/includes/poland-cross/b.jpg (added)
-
tags/1.1/includes/poland-cross/c.jpg (added)
-
tags/1.1/includes/poland-cross/ch.jpg (added)
-
tags/1.1/includes/poland-cross/d.jpg (added)
-
tags/1.1/includes/poland-cross/e.jpg (added)
-
tags/1.1/includes/poland-cross/f.jpg (added)
-
tags/1.1/includes/poland-cross/g.jpg (added)
-
tags/1.1/includes/poland-cross/h.jpg (added)
-
tags/1.1/includes/poland-cross/i.jpg (added)
-
tags/1.1/includes/poland-cross/j.jpg (added)
-
tags/1.1/includes/poland-cross/k.jpg (added)
-
tags/1.1/includes/poland-cross/l.jpg (added)
-
tags/1.1/includes/poland-cross/m.jpg (added)
-
tags/1.1/includes/poland-cross/n.jpg (added)
-
tags/1.1/includes/poland-cross/o.jpg (added)
-
tags/1.1/includes/poland-cross/p.jpg (added)
-
tags/1.1/includes/poland-cross/q.jpg (added)
-
tags/1.1/includes/poland-cross/r.jpg (added)
-
tags/1.1/includes/poland-cross/s.jpg (added)
-
tags/1.1/includes/poland-cross/t.jpg (added)
-
tags/1.1/includes/poland-cross/u.jpg (added)
-
tags/1.1/includes/poland-cross/universal.jpg (added)
-
tags/1.1/includes/poland-cross/v.jpg (added)
-
tags/1.1/includes/poland-cross/w.jpg (added)
-
tags/1.1/includes/poland-cross/x.jpg (added)
-
tags/1.1/includes/poland-cross/y.jpg (added)
-
tags/1.1/includes/poland-cross/z.jpg (added)
-
tags/1.1/includes/smile.png (added)
-
tags/1.1/languages (added)
-
tags/1.1/languages/default.mo (added)
-
tags/1.1/languages/default.po (added)
-
tags/1.1/languages/encrypt-cs_CZ.mo (added)
-
tags/1.1/languages/encrypt-cs_CZ.po (added)
-
tags/1.1/readme.txt (added)
-
trunk/countdown.php (deleted)
-
trunk/ec-codes.php (deleted)
-
trunk/ec-menu.php (deleted)
-
trunk/ec-options.php (deleted)
-
trunk/encryption-contest.php (modified) (12 diffs)
-
trunk/encryption-icon20x20.png (deleted)
-
trunk/includes (added)
-
trunk/includes/countdown.php (added)
-
trunk/includes/ec-codes.php (added)
-
trunk/includes/ec-menu.php (added)
-
trunk/includes/ec-options.php (added)
-
trunk/includes/encryption-icon20x20.png (added)
-
trunk/includes/poland-cross (added)
-
trunk/includes/poland-cross/a.jpg (added)
-
trunk/includes/poland-cross/b.jpg (added)
-
trunk/includes/poland-cross/c.jpg (added)
-
trunk/includes/poland-cross/ch.jpg (added)
-
trunk/includes/poland-cross/d.jpg (added)
-
trunk/includes/poland-cross/e.jpg (added)
-
trunk/includes/poland-cross/f.jpg (added)
-
trunk/includes/poland-cross/g.jpg (added)
-
trunk/includes/poland-cross/h.jpg (added)
-
trunk/includes/poland-cross/i.jpg (added)
-
trunk/includes/poland-cross/j.jpg (added)
-
trunk/includes/poland-cross/k.jpg (added)
-
trunk/includes/poland-cross/l.jpg (added)
-
trunk/includes/poland-cross/m.jpg (added)
-
trunk/includes/poland-cross/n.jpg (added)
-
trunk/includes/poland-cross/o.jpg (added)
-
trunk/includes/poland-cross/p.jpg (added)
-
trunk/includes/poland-cross/q.jpg (added)
-
trunk/includes/poland-cross/r.jpg (added)
-
trunk/includes/poland-cross/s.jpg (added)
-
trunk/includes/poland-cross/t.jpg (added)
-
trunk/includes/poland-cross/u.jpg (added)
-
trunk/includes/poland-cross/universal.jpg (added)
-
trunk/includes/poland-cross/v.jpg (added)
-
trunk/includes/poland-cross/w.jpg (added)
-
trunk/includes/poland-cross/x.jpg (added)
-
trunk/includes/poland-cross/y.jpg (added)
-
trunk/includes/poland-cross/z.jpg (added)
-
trunk/includes/smile.png (added)
-
trunk/languages/default.mo (modified) (previous)
-
trunk/languages/default.po (modified) (13 diffs)
-
trunk/languages/encrypt-cs_CZ.mo (modified) (previous)
-
trunk/languages/encrypt-cs_CZ.po (modified) (13 diffs)
-
trunk/poland-cross (deleted)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/smile.png (deleted)
Legend:
- Unmodified
- Added
- Removed
-
encryption-contest/trunk/encryption-contest.php
r1195613 r1201736 6 6 License: GNU General Public License v2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html 8 Version: 1. 08 Version: 1.1 9 9 */ 10 10 defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); 11 11 add_shortcode( 'encryption-contest', array('EncryptionContest', 'displayShortcode') ); 12 12 add_action( 'plugins_loaded', array('EncryptionContest', 'loadMultilangualDomain') ); 13 require_once ( ' ec-codes.php' ); // Class for translating right solution to code14 require_once ( ' ec-options.php' ); // Class for generating options page in admin site15 require_once ( ' ec-menu.php' ); // Class for generating page in main admin menu - place, where admin can create and manage tasks13 require_once ( 'includes/ec-codes.php' ); // Class for translating right solution to code 14 require_once ( 'includes/ec-options.php' ); // Class for generating options page in admin site 15 require_once ( 'includes/ec-menu.php' ); // Class for generating page in main admin menu - place, where admin can create and manage tasks 16 16 17 17 … … 43 43 $settings['emailAdress'] = get_option('admin_email'); 44 44 $settings['pageLink'] = site_url( '/encryption-contest/' ); 45 $settings['rightSolutionPicture'] = plugin_dir_url( __FILE__ ) .'smile.png'; 45 $settings['rightSolutionPicture'] = plugin_dir_url( __FILE__ ) .'includes/smile.png'; 46 $settings['titleTag'] = '3'; 46 47 $settings['capabilityList'] = 'activate_plugins'; 47 48 $settings['highest_task'] = 1; … … 95 96 $headers = 'From: '.get_option( 'blogname' ).' - Encryption contest plugin <'.get_option( 'admin_email' ).'> "\r\n"'; 96 97 97 $body .= __('Dear user,<br>time for displaying task ', 'encrypt') .$ending_task_number. __(' has already ended. ', 'encrypt');98 $body .= __('Dear user,<br>time for displaying task', 'encrypt') .' '.$ending_task_number. __(' has already ended.', 'encrypt') .' '; 98 99 if ( $ending_task_number < $next_task_number ) 99 $body .= __('From this moment it is displaying task ', 'encrypt') .$next_task_number. __('. It will be displaying to midnight ', 'encrypt').$next_task_date;100 $body .= __('From this moment it is displaying task', 'encrypt') .' '.$next_task_number. __('. It will be displaying to midnight', 'encrypt'). ' ' .$next_task_date; 100 101 else 101 102 $body .= __('On website is not displaying any futher task from this moment. Task is not set or delay between tasks is longer than 1 day.', 'encrypt'); 102 $body .= '<br>'.__('Here are results of ended task ', 'encrypt').$ending_task_number.':';103 $body .= '<br>'.__('Here are results of ended task', 'encrypt'). ' ' .$ending_task_number.':'; 103 104 $body .= '<br><b>'.__('Correct answer', 'encrypt').'</b>'.$correct_answer; 104 105 $body .= '<b>'.__('Wrong answer', 'encrypt').'</b>'.$wrong_answer; 105 $body .= __('Correct answer was:', 'encrypt').' <b>'.$right_solution.'</b> <br>'.__('Answers can be accepted in ', 'encrypt').'<a href="'.$link.'"> '.__('administration interface', 'encrypt').'</a>.<br><br>';106 $body .= __('This email has been automaticaly generated by site ', 'encrypt'). get_bloginfo('siteurl');106 $body .= __('Correct answer was:', 'encrypt').' <b>'.$right_solution.'</b> <br>'.__('Answers can be accepted in', 'encrypt'). ' ' .'<a href="'.$link.'"> '.__('administration interface', 'encrypt').'</a>.<br><br>'; 107 $body .= __('This email has been automaticaly generated by site', 'encrypt'). ' ' . get_bloginfo('siteurl'); 107 108 $body .= '<br>'.__('Have a nice day.', 'encrypt'); 108 109 add_filter('wp_mail_content_type', array('EncryptionContest', 'setEmailToHtml')); … … 187 188 $expiration = "$expiration[1]/$expiration[2]/$expiration[0]"; // MM-DD-YYYY 188 189 189 require_once ( ' countdown.php' );190 require_once ( 'includes/countdown.php' ); 190 191 $content .= '<div id="odpocet" data-konec="'.$expiration.'" data-hlaska="" data-zbyva="'; 191 192 $content .= __('Task will expirate in', 'encrypt'); … … 199 200 $text = htmlspecialchars($text); 200 201 $text = mb_strtolower($text); 201 $conversion_table = array ('ě'=>'e', 'š'=>'s', 'č'=>'c', 'ř'=>'r', 'ž'=>'z', 'ý'=>'y', 'á'=>'a', 'í'=>'i', 'é'=>'e', 202 'ú'=>'u', 'ů'=>'u', 'ó'=>'o', 'ť'=>'t', 'ď'=>'d', 'ň'=>'n', '. '=>'.', ','=>' ', '!'=>'', '?' => '', '-' => '', ); 202 $conversion_table = array ('ä'=>'a', 'ě'=>'e', 'š'=>'s', 'č'=>'c', 'ľ'=>'l', 'ĺ'=>'l', 'ř'=>'r', 'ž'=>'z', 'ý'=>'y', 'á'=>'a', 'í'=>'i', 'é'=>'e', 203 'ú'=>'u', 'ů'=>'u', 'ü'=>'u', 'ű'=>'u', 'ó'=>'o', 'ö'=>'o', 'ő'=>'o', 'ô'=>'o', 'ť'=>'t', 'ŕ'=>'r', 'ď'=>'d', 'ň'=>'n', '. 204 '=>'.', ','=>' ', '!'=>'', '?' => '', '-' => '', ); 203 205 $text = strtr($text, $conversion_table); 204 206 return $text; … … 320 322 321 323 if ( $status == '' && $settings['published_task'] == $current_task ) 322 $content = '<textarea name="user_answer" id="user_answer" rows="4" placeholder="' . __('You can use all letters of english, commas and points.', 'encrypt') .'"></textarea>';324 $content = '<textarea name="user_answer" id="user_answer" rows="4"></textarea>'; 323 325 elseif ($settings['published_task'] != $current_task) 324 326 $content = __('Time to do the task has expired. You can solve cypher only out of competition.', 'encrypt'); … … 340 342 $content .= '<p style="text-align: right"><input type="submit" class="button-primary" value="'. __('Submit', 'encrypt') .'" /></p>'; 341 343 else 342 $content .= '<p style="text-align: right">'. __('Try to solve it,', 'encrypt') .'<a href="'.site_url( '/wp-login.php/' ).'">'. __('login!', 'encrypt') .'</a></p>';344 $content .= '<p style="text-align: right">'. __('Try to solve it,', 'encrypt'). ' ' .'<a href="'.site_url( '/wp-login.php/' ).'">'. __('login!', 'encrypt') .'</a></p>'; 343 345 return $content; 344 346 } … … 375 377 return $content; 376 378 } 379 380 // Construct HTML tag for headers in frontend <h1></h1> - <h6></h6> 381 public function titleTag() { 382 $settings = get_option('EcSettings'); 383 $number = $settings['titleTag']; 384 $tag_open = '<h'.$number.'>'; 385 $tag_close = '</h'.$number.'>'; 386 387 return array( $tag_open, $tag_close ); 388 } 377 389 378 390 // Main function of plugin. Generate frontend … … 384 396 $classMenu = new EcMenu(); 385 397 $classCodes = new EcCodes(); 386 $current_task = $classEc->checkForCurrentTask(); 398 $current_task = $classEc->checkForCurrentTask(); 399 $title_tag = $classEc->titleTag(); 387 400 388 401 if ( isset($_GET['task_preview']) ) { 389 402 $content .= '<p><b>'; 390 $content .= __('Preview of task number ', 'encrypt');403 $content .= __('Preview of task number', 'encrypt'). ' '; 391 404 $content .= $current_task.'</b></p>'; 392 405 } … … 406 419 407 420 408 $content .= '<h6>' . __('Assignment', 'encrypt') . '</h6>';421 $content .= $title_tag[0] . __('Assignment', 'encrypt') . $title_tag[1]; 409 422 $content .= $classEc->generateCode($current_task); 410 423 $content .= '<br><br>'; … … 414 427 415 428 $classEc->evaluateUserAnswer($current_task); 416 $content .= '<h6><label for="user_answer">' . __('Decoded result', 'encrypt') . '</label></h6>';429 $content .= $title_tag[0] .'<label for="user_answer">' . __('Decoded result', 'encrypt') . '</label>'. $title_tag[1]; 417 430 $content .= '<p>'. $classEc->showAnswerContent($current_task) .'</p>'; 418 431 419 432 $classEc->saveNotes(); 420 $content .= '<h6><label for="user_notes">' . __( 'Place for notes', 'encrypt') . '</label></h6>';433 $content .= $title_tag[0] .'<label for="user_notes">' . __( 'Place for notes', 'encrypt') . '</label>'. $title_tag[1]; 421 434 $content .= '<textarea name="user_notes" id="user_notes" rows="3">'.get_user_meta( get_current_user_id(), 'ec_user_notes', true ).'</textarea>'; 422 435 … … 425 438 426 439 if ( $settings['showUsers'] ) { 427 $content .= '<h6>' . __('Successfully resolved', 'encrypt') . '</h6>';440 $content .= $title_tag[0] . __('Successfully resolved', 'encrypt'). $title_tag[1]; 428 441 $content .= $classEc->generateAvatars($current_task); 429 442 } -
encryption-contest/trunk/languages/default.po
r1195613 r1201736 2 2 msgstr "" 3 3 "Project-Id-Version: encrypt\n" 4 "POT-Creation-Date: 2015-07- 02 19:48+0100\n"5 "PO-Revision-Date: 2015-07- 02 19:48+0100\n"4 "POT-Creation-Date: 2015-07-18 19:36+0100\n" 5 "PO-Revision-Date: 2015-07-18 19:37+0100\n" 6 6 "Last-Translator: Marek Vach <mvach@email.cz>\n" 7 7 "Language-Team: \n" … … 81 81 82 82 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-menu.php:113 83 msgid "The recommended start is in "83 msgid "The recommended start is in" 84 84 msgstr "" 85 85 … … 125 125 126 126 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-menu.php:175 127 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:1 08127 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:127 128 128 msgid "Save Changes" 129 129 msgstr "" … … 158 158 159 159 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-menu.php:322 160 msgid "Task s would continue one after another."160 msgid "Task would continue one after another." 161 161 msgstr "" 162 162 … … 170 170 171 171 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-menu.php:334 172 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:322173 172 msgid "You can use all letters of english, commas and points." 174 173 msgstr "" … … 252 251 msgstr "" 253 252 254 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 69253 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:84 255 254 msgid "" 256 255 "Plugin is used by inserting shortcode <b>[encryption-contest]</b> anywhere " 257 256 "on page. General settings are set right here. You can create tasks for all " 258 "users "259 msgstr "" 260 261 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 69257 "users" 258 msgstr "" 259 260 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:84 262 261 msgid "in main menu" 263 262 msgstr "" 264 263 265 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 76264 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:91 266 265 msgid "Show list of preview tasks:" 267 266 msgstr "" 268 267 269 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 80268 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:95 270 269 msgid "Show countdown:" 271 270 msgstr "" 272 271 273 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 84272 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:99 274 273 msgid "Show successful users:" 275 274 msgstr "" 276 275 277 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 88276 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:103 278 277 msgid "Send email with answers:" 279 278 msgstr "" 280 279 281 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 92280 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:107 282 281 msgid "Email adress:" 283 282 msgstr "" 284 283 285 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 96284 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:111 286 285 msgid "Link to page with shortcode:" 287 286 msgstr "" 288 287 289 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:1 00288 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:115 290 289 msgid "Link to picture displayed after right answer:" 291 290 msgstr "" 292 291 293 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:104 292 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:119 293 msgid "HTML tag title for shortcode:" 294 msgstr "" 295 296 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:123 294 297 msgid "Minimum capability for creating tasks:" 295 298 msgstr "" … … 300 303 301 304 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:97 302 msgid "Dear user,<br>time for displaying task "305 msgid "Dear user,<br>time for displaying task" 303 306 msgstr "" 304 307 305 308 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:97 306 msgid " has already ended. "309 msgid " has already ended." 307 310 msgstr "" 308 311 309 312 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:99 310 msgid "From this moment it is displaying task "313 msgid "From this moment it is displaying task" 311 314 msgstr "" 312 315 313 316 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:99 314 msgid ". It will be displaying to midnight "317 msgid ". It will be displaying to midnight" 315 318 msgstr "" 316 319 … … 322 325 323 326 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:102 324 msgid "Here are results of ended task "327 msgid "Here are results of ended task" 325 328 msgstr "" 326 329 … … 338 341 339 342 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:105 340 msgid "Answers can be accepted in "343 msgid "Answers can be accepted in" 341 344 msgstr "" 342 345 … … 346 349 347 350 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:106 348 msgid "This email has been automaticaly generated by site "351 msgid "This email has been automaticaly generated by site" 349 352 msgstr "" 350 353 … … 357 360 msgstr "" 358 361 359 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:32 4362 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:325 360 363 msgid "" 361 364 "Time to do the task has expired. You can solve cypher only out of " … … 363 366 msgstr "" 364 367 365 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:32 7368 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:328 366 369 msgid "Your answer is absolutely right. Good job!" 367 370 msgstr "" 368 371 369 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:33 0372 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:331 370 373 msgid "" 371 374 "In shelled cipher is a mistake! Just outside the game try to find where is " … … 373 376 msgstr "" 374 377 375 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:33 2378 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:333 376 379 msgid "If your answer seems written properly, contact us via email." 377 380 msgstr "" 378 381 379 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:34 0382 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:341 380 383 msgid "Submit" 381 384 msgstr "" 382 385 383 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:34 2386 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:343 384 387 msgid "Try to solve it," 385 388 msgstr "" 386 389 387 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:34 2390 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:343 388 391 msgid "login!" 389 392 msgstr "" 390 393 391 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php: 390392 msgid "Preview of task number "393 msgstr "" 394 395 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php: 398394 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:402 395 msgid "Preview of task number" 396 msgstr "" 397 398 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:410 396 399 msgid "" 397 400 "List of published tasks. You can browse previous tasks and get inspirate." 398 401 msgstr "" 399 402 400 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:4 08403 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:420 401 404 msgid "Assignment" 402 405 msgstr "" 403 406 404 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:4 16407 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:428 405 408 msgid "Decoded result" 406 409 msgstr "" 407 410 408 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:4 20411 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:432 409 412 msgid "Place for notes" 410 413 msgstr "" 411 414 412 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:4 27415 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:439 413 416 msgid "Successfully resolved" 414 417 msgstr "" 415 418 416 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:4 32419 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:444 417 420 msgid "Sorry, currently there is no cyphre for answering." 418 421 msgstr "" -
encryption-contest/trunk/languages/encrypt-cs_CZ.po
r1195613 r1201736 2 2 msgstr "" 3 3 "Project-Id-Version: encrypt\n" 4 "POT-Creation-Date: 2015-07- 02 19:49+0100\n"5 "PO-Revision-Date: 2015-07- 02 19:49+0100\n"4 "POT-Creation-Date: 2015-07-18 19:37+0100\n" 5 "PO-Revision-Date: 2015-07-18 19:39+0100\n" 6 6 "Last-Translator: Marek Vach <mvach@email.cz>\n" 7 7 "Language-Team: \n" … … 82 82 # Don't forget to do escape in the end of sentence 83 83 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-menu.php:113 84 msgid "The recommended start is in "85 msgstr "Doporučený začátek je "84 msgid "The recommended start is in" 85 msgstr "Doporučený začátek je" 86 86 87 87 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-menu.php:126 … … 126 126 127 127 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-menu.php:175 128 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:1 08128 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:127 129 129 msgid "Save Changes" 130 130 msgstr "Uložit změny" … … 159 159 160 160 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-menu.php:322 161 msgid "Task s would continue one after another."162 msgstr "Úkoly by na sebe měly navazovat. "161 msgid "Task would continue one after another." 162 msgstr "Úkoly by na sebe měly navazovat." 163 163 164 164 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-menu.php:327 … … 171 171 172 172 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-menu.php:334 173 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:322174 173 msgid "You can use all letters of english, commas and points." 175 174 msgstr "Používej plnohodnotnou češtinu, háčky a čárky." … … 255 254 msgstr "Obnovit výchozí nastavení" 256 255 257 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 69256 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:84 258 257 msgid "" 259 258 "Plugin is used by inserting shortcode <b>[encryption-contest]</b> anywhere " 260 259 "on page. General settings are set right here. You can create tasks for all " 261 "users "260 "users" 262 261 msgstr "" 263 262 "Plugin se používá vložením shortcode <b>[encryption-contest]</b> kamkoliv na " 264 "stránku. Nastavení pluginu je umístěno zde. Samotné úlohy můžeš vytvořit "265 266 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 69263 "stránku. Nastavení pluginu je umístěno zde. Samotné úlohy můžeš vytvořit" 264 265 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:84 267 266 msgid "in main menu" 268 267 msgstr "v hlavním menu" 269 268 270 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 76269 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:91 271 270 msgid "Show list of preview tasks:" 272 271 msgstr "Zobrazovat seznam předchozích úloh:" 273 272 274 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 80273 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:95 275 274 msgid "Show countdown:" 276 275 msgstr "Zobrazovat odpočet:" 277 276 278 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 84277 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:99 279 278 msgid "Show successful users:" 280 279 msgstr "Zobrazovat úspěšné řešitele:" 281 280 282 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 88281 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:103 283 282 msgid "Send email with answers:" 284 283 msgstr "Posílat souhrné emaily:" 285 284 286 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 92285 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:107 287 286 msgid "Email adress:" 288 287 msgstr "Emailová adresa:" 289 288 290 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php: 96289 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:111 291 290 msgid "Link to page with shortcode:" 292 291 msgstr "Odkaz na stránku, kde se zobrazuje shortcode:" 293 292 294 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:1 00293 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:115 295 294 msgid "Link to picture displayed after right answer:" 296 295 msgstr "Odkaz na obrázek zobrazující se po zadání správné odpovědi:" 297 296 298 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:104 297 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:119 298 msgid "HTML tag title for shortcode:" 299 msgstr "HTML tag pro nadpisy v shortcode:" 300 301 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/ec-options.php:123 299 302 msgid "Minimum capability for creating tasks:" 300 303 msgstr "Minimální oprávnění pro vytváření úloh:" … … 305 308 306 309 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:97 307 msgid "Dear user,<br>time for displaying task "308 msgstr "Zdravím,<br>platnost úlohy číslo "310 msgid "Dear user,<br>time for displaying task" 311 msgstr "Zdravím,<br>platnost úlohy číslo" 309 312 310 313 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:97 311 msgid " has already ended. "312 msgstr " právě skončila. "314 msgid " has already ended." 315 msgstr " právě skončila." 313 316 314 317 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:99 315 msgid "From this moment it is displaying task "316 msgstr "V řadě nastoupila úloha "318 msgid "From this moment it is displaying task" 319 msgstr "V řadě nastoupila úloha" 317 320 318 321 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:99 319 msgid ". It will be displaying to midnight "320 msgstr ", která se bude zobrazovat do půlnoci "322 msgid ". It will be displaying to midnight" 323 msgstr ", která se bude zobrazovat do půlnoci" 321 324 322 325 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:101 … … 329 332 330 333 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:102 331 msgid "Here are results of ended task "332 msgstr "Dále posílám výsledky výsledky skončeného úkolu "334 msgid "Here are results of ended task" 335 msgstr "Dále posílám výsledky výsledky skončeného úkolu" 333 336 334 337 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:103 … … 345 348 346 349 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:105 347 msgid "Answers can be accepted in "348 msgstr "Odpovědi můžete schválit v "350 msgid "Answers can be accepted in" 351 msgstr "Odpovědi můžete schválit v" 349 352 350 353 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:105 … … 353 356 354 357 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:106 355 msgid "This email has been automaticaly generated by site "356 msgstr "Email byl automaticky generován stránkou "358 msgid "This email has been automaticaly generated by site" 359 msgstr "Email byl automaticky generován stránkou" 357 360 358 361 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:107 … … 364 367 msgstr "Tato šifra skončí za" 365 368 366 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:32 4369 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:325 367 370 msgid "" 368 371 "Time to do the task has expired. You can solve cypher only out of " … … 371 374 "Čas na vyluštění šifry vypršel. Šifru si můžeš vyluštit už jen mimo soutěž." 372 375 373 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:32 7376 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:328 374 377 msgid "Your answer is absolutely right. Good job!" 375 378 msgstr "Šifru máš vyluštěnou zcela správně. Dobrá práce!" 376 379 377 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:33 0380 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:331 378 381 msgid "" 379 382 "In shelled cipher is a mistake! Just outside the game try to find where is " … … 383 386 "<br>Tvoje zadaná odpověď: " 384 387 385 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:33 2388 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:333 386 389 msgid "If your answer seems written properly, contact us via email." 387 390 msgstr "Pokud se ti odpověď zdá napsaná správně, kontaktuj nás emailem." 388 391 389 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:34 0392 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:341 390 393 msgid "Submit" 391 394 msgstr "Odeslat" 392 395 393 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:34 2396 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:343 394 397 msgid "Try to solve it," 395 398 msgstr "Zkus to vyluštit," 396 399 397 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:34 2400 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:343 398 401 msgid "login!" 399 402 msgstr "přihlaš se!" 400 403 401 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php: 390402 msgid "Preview of task number "403 msgstr "Náhled úlohy číslo "404 405 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php: 398404 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:402 405 msgid "Preview of task number" 406 msgstr "Náhled úlohy číslo" 407 408 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:410 406 409 msgid "" 407 410 "List of published tasks. You can browse previous tasks and get inspirate." 408 411 msgstr "Vyber šifru, o kterou se zajímáš:" 409 412 410 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:4 08413 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:420 411 414 msgid "Assignment" 412 415 msgstr "Zadání šifry" 413 416 414 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:4 16417 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:428 415 418 msgid "Decoded result" 416 419 msgstr "Vyluštěný výsledek" 417 420 418 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:4 20421 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:432 419 422 msgid "Place for notes" 420 423 msgstr "Místo na poznámky" 421 424 422 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:4 27425 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:439 423 426 msgid "Successfully resolved" 424 427 msgstr "Správně vyluštili" 425 428 426 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:4 32429 #: C:\xampp\htdocs\wordpress\wp-content\plugins\encryption-contest/encryption-contest.php:444 427 430 msgid "Sorry, currently there is no cyphre for answering." 428 431 msgstr "Momentálně není zadaná úloha, která by se dala luštit." -
encryption-contest/trunk/readme.txt
r1195805 r1201736 7 7 Requires at least: 3.0.1 8 8 Tested up to: 4.2.2 9 Stable tag: 1. 09 Stable tag: 1.1 10 10 11 11 … … 24 24 1. Go to admin menu on page Encryption contest and hit create new task. 25 25 1. Fill expirate date (from - to) with right solution, what user should answer. 26 1. Choose code from checkbox and save it. So easy.26 1. Choose code from checkbox and save it. 27 27 28 28 = Interface = … … 103 103 3. Right answer - you can insert your own image 104 104 4. Wrong answer - user can compare his answer with asignment himself 105 5. Options page - generally plugin settings106 6. Admin menu page for creating tasks105 5. Admin menu page for creating tasks 106 6. Options page - generally plugin settings 107 107 7. Email results of ended task. 108 108 109 109 == Changelog == 110 = 1.1 = 111 * Added option to change heading HTML tag. 112 * Some files changed location to folder /includes/. 113 * Better optimalization for translate. 114 * Fixed some strings where gaps was missing between words. 115 110 116 = 1.0 = 111 117 * Added translate folder, marked strings for translate, added czech language. 112 118 113 119 == Upgrade Notice == 120 = 1.1 = 121 * Recommended update. Added support for changing header tag (<h1>, <h2>...) in frontend. 122 * Better translate optimalization. 123 114 124 = 1.0 = 115 125 * Added translate support.
Note: See TracChangeset
for help on using the changeset viewer.