Changeset 1824704
- Timestamp:
- 02/19/2018 04:05:07 PM (8 years ago)
- Location:
- simplest-form/trunk
- Files:
-
- 4 added
- 6 edited
-
__POT/messages.pot (modified) (5 diffs)
-
inc (added)
-
inc/lang (added)
-
inc/lang/simplestform_language_domain-en_GB.mo (added)
-
inc/lang/simplestform_language_domain-en_GB.po (added)
-
readme.txt (modified) (2 diffs)
-
simplestform.php (modified) (3 diffs)
-
src/Simplestform/Base.php (modified) (2 diffs)
-
views/admin/settings.php (modified) (1 diff)
-
views/frontend/basic-form.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
simplest-form/trunk/__POT/messages.pot
r1767975 r1824704 9 9 "Project-Id-Version: PACKAGE VERSION\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 201 7-11-16 12:27+0100\n"12 "PO-Revision-Date: 201 7-11-16 12:27+0100\n"11 "POT-Creation-Date: 2018-02-19 16:56+0100\n" 12 "PO-Revision-Date: 2018-02-19 16:56+0100\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 14 14 "Language-Team: LANGUAGE <LL@li.org>\n" … … 33 33 34 34 #: src/Simplestform/Admin.php:344 src/Simplestform/Admin.php:365 35 #: src/Simplestform/Admin.php:390 src/Simplestform/Admin.php: 69736 #: src/Simplestform/Admin.php: 723 src/Simplestform/Admin.php:74937 #: src/Simplestform/Email.php: 248 src/Simplestform/Email.php:25538 #: src/Simplestform/Email.php: 26935 #: src/Simplestform/Admin.php:390 src/Simplestform/Admin.php:826 36 #: src/Simplestform/Admin.php:852 src/Simplestform/Admin.php:878 37 #: src/Simplestform/Email.php:335 src/Simplestform/Email.php:342 38 #: src/Simplestform/Email.php:356 39 39 msgid "Si" 40 40 msgstr "" … … 42 42 #: src/Simplestform/Admin.php:348 src/Simplestform/Admin.php:369 43 43 #: src/Simplestform/Admin.php:375 src/Simplestform/Admin.php:394 44 #: src/Simplestform/Admin.php:400 src/Simplestform/Admin.php: 70145 #: src/Simplestform/Admin.php: 727 src/Simplestform/Admin.php:75346 #: src/Simplestform/Email.php: 259 src/Simplestform/Email.php:27344 #: src/Simplestform/Admin.php:400 src/Simplestform/Admin.php:830 45 #: src/Simplestform/Admin.php:856 src/Simplestform/Admin.php:882 46 #: src/Simplestform/Email.php:346 src/Simplestform/Email.php:360 47 47 msgid "No" 48 48 msgstr "" 49 49 50 #: src/Simplestform/Admin.php:4 4750 #: src/Simplestform/Admin.php:461 51 51 msgid "Settings" 52 52 msgstr "" 53 53 54 #: src/Simplestform/Admin.php:4 85 src/Simplestform/Email.php:22655 #: views/frontend/basic-form.php: 8654 #: src/Simplestform/Admin.php:499 src/Simplestform/Email.php:313 55 #: views/frontend/basic-form.php:1 views/frontend/basic-form.php:88 56 56 msgid "Nome" 57 57 msgstr "" 58 58 59 #: src/Simplestform/Admin.php: 486 src/Simplestform/Email.php:23660 #: views/frontend/basic-form.php:11 059 #: src/Simplestform/Admin.php:500 src/Simplestform/Email.php:323 60 #: views/frontend/basic-form.php:112 61 61 msgid "Email" 62 62 msgstr "" 63 63 64 #: src/Simplestform/Admin.php: 487 src/Simplestform/Admin.php:56064 #: src/Simplestform/Admin.php:501 src/Simplestform/Admin.php:641 65 65 msgid "Messaggio" 66 66 msgstr "" 67 67 68 #: src/Simplestform/Admin.php: 488 src/Simplestform/Admin.php:54069 #: src/Simplestform/Email.php: 24268 #: src/Simplestform/Admin.php:502 src/Simplestform/Admin.php:619 69 #: src/Simplestform/Email.php:329 70 70 msgid "Pagina" 71 71 msgstr "" 72 72 73 #: src/Simplestform/Admin.php: 48973 #: src/Simplestform/Admin.php:503 74 74 msgid "Privacy" 75 75 msgstr "" 76 76 77 #: src/Simplestform/Admin.php: 49077 #: src/Simplestform/Admin.php:504 78 78 msgid "Privacy ART 4" 79 79 msgstr "" 80 80 81 #: src/Simplestform/Admin.php: 49181 #: src/Simplestform/Admin.php:505 82 82 msgid "Privacy ART 5" 83 83 msgstr "" 84 84 85 #: src/Simplestform/Admin.php: 49285 #: src/Simplestform/Admin.php:506 86 86 msgid "Data" 87 87 msgstr "" 88 88 89 #: src/Simplestform/Admin.php:580 src/Simplestform/Email.php:247 89 #: src/Simplestform/Admin.php:507 90 msgid "Confermato il" 91 msgstr "" 92 93 #: src/Simplestform/Admin.php:559 94 msgid "IP conferma" 95 msgstr "" 96 97 #: src/Simplestform/Admin.php:579 98 msgid "Data conferma email" 99 msgstr "" 100 101 #: src/Simplestform/Admin.php:599 102 msgid "IP" 103 msgstr "" 104 105 #: src/Simplestform/Admin.php:661 src/Simplestform/Email.php:334 90 106 msgid "Accettazione privacy" 91 107 msgstr "" 92 108 93 #: src/Simplestform/Admin.php:6 00 src/Simplestform/Email.php:267109 #: src/Simplestform/Admin.php:681 src/Simplestform/Email.php:354 94 110 msgid "Accettazione privacy ART 5" 95 111 msgstr "" 96 112 97 #: src/Simplestform/Admin.php: 620 src/Simplestform/Email.php:253113 #: src/Simplestform/Admin.php:701 src/Simplestform/Email.php:340 98 114 msgid "Accettazione privacy ART 4" 99 115 msgstr "" 100 116 101 #: src/Simplestform/Admin.php: 640 src/Simplestform/Email.php:231102 #: views/frontend/basic-form.php: 98117 #: src/Simplestform/Admin.php:721 src/Simplestform/Email.php:318 118 #: views/frontend/basic-form.php:100 103 119 msgid "Telefono" 104 120 msgstr "" 105 121 106 #: src/Simplestform/Admin.php: 806122 #: src/Simplestform/Admin.php:935 107 123 msgctxt "Post Type Singular Name" 108 124 msgid "Form" 109 125 msgstr "" 110 126 111 #: src/Simplestform/Admin.php: 809127 #: src/Simplestform/Admin.php:938 112 128 msgid "Aggiungi" 113 129 msgstr "" 114 130 115 #: src/Simplestform/Admin.php: 812131 #: src/Simplestform/Admin.php:941 116 132 msgid "Tutte le richieste" 117 133 msgstr "" 118 134 119 #: src/Simplestform/Admin.php: 818135 #: src/Simplestform/Admin.php:947 120 136 msgid "Modifica" 121 137 msgstr "" 122 138 123 #: src/Simplestform/Admin.php: 821139 #: src/Simplestform/Admin.php:950 124 140 msgid "Nuovo" 125 141 msgstr "" 126 142 127 #: src/Simplestform/Admin.php: 824143 #: src/Simplestform/Admin.php:953 128 144 msgid "Dettaglio" 129 145 msgstr "" 130 146 131 #: src/Simplestform/Admin.php: 827147 #: src/Simplestform/Admin.php:956 132 148 msgid "Cerca" 133 149 msgstr "" 134 150 135 #: src/Simplestform/Admin.php: 830151 #: src/Simplestform/Admin.php:959 136 152 msgid "Nessun risultato" 137 153 msgstr "" 138 154 139 #: src/Simplestform/Admin.php: 833155 #: src/Simplestform/Admin.php:962 140 156 msgid "Nessun risultato nel cestino" 141 157 msgstr "" 142 158 143 #: src/Simplestform/Admin.php: 836159 #: src/Simplestform/Admin.php:965 144 160 msgid "Genitore:" 145 161 msgstr "" 146 162 147 #: src/Simplestform/Admin.php:1 011163 #: src/Simplestform/Admin.php:1140 148 164 msgid "You do not have sufficient permissions to access this page." 149 165 msgstr "" 150 166 151 #: src/Simplestform/Email.php:208 167 #: src/Simplestform/Base.php:332 168 msgid "La tua richiesta è stata confermata con successo. Grazie!" 169 msgstr "" 170 171 #: src/Simplestform/Base.php:333 172 msgid "" 173 "Non abbiamo trovato alcuna richiesta. Forse hai già confermato questa " 174 "richiesta oppure il link è scaduto? Ricorda che devi confermare la tua " 175 "richiesta entro 24h!" 176 msgstr "" 177 178 #: src/Simplestform/Email.php:228 152 179 msgid "Copia della richiesta di informazioni" 153 180 msgstr "" 154 181 155 #: src/Simplestform/Email.php:2 09182 #: src/Simplestform/Email.php:229 156 183 msgid "grazie per averci scritto." 157 184 msgstr "" 158 185 159 #: src/Simplestform/Email.php:210 160 msgid "" 161 "Nel più breve tempo possibile sarai ricontattato con le risposte alle tue " 162 "domande." 163 msgstr "" 164 165 #: src/Simplestform/Email.php:211 186 #: src/Simplestform/Email.php:232 187 msgid "" 188 "Per registrare la tua richiesta devi confermare l'operazione cliccando sul " 189 "bottone seguente" 190 msgstr "" 191 192 #: src/Simplestform/Email.php:234 193 msgid "" 194 "Se non si clicca sul link entro 24 ore, la tua richiesta verrà cancellata. " 195 "Dovrai pertanto eseguire una nuova richiesta" 196 msgstr "" 197 198 #: src/Simplestform/Email.php:236 166 199 msgid "" 167 200 "Nel frattempo, qui sotto trovi una copia delle informazioni inserite. Se " … … 169 202 msgstr "" 170 203 171 #: src/Simplestform/Frontend.php:199 204 #: src/Simplestform/Email.php:238 205 msgid "Conferma la tua richiesta" 206 msgstr "" 207 208 #: src/Simplestform/Email.php:290 209 msgid "Richiesta confermata in data" 210 msgstr "" 211 212 #: src/Simplestform/Frontend.php:193 172 213 msgid "Non inserire nulla nel campo \"Trap\"" 173 214 msgstr "" 174 215 175 #: src/Simplestform/Frontend.php:35 6216 #: src/Simplestform/Frontend.php:357 176 217 msgid "Alcuni campi obbligatori non sono stati compilati" 177 218 msgstr "" 178 219 179 #: src/Simplestform/Frontend.php:36 4220 #: src/Simplestform/Frontend.php:365 180 221 msgid "L'email inserita non sembra corretta" 181 222 msgstr "" 182 223 183 #: src/Simplestform/Frontend.php:37 1224 #: src/Simplestform/Frontend.php:372 184 225 msgid "L'accettazione privacy è obbligatoria" 185 226 msgstr "" 186 227 187 #: src/Simplestform/Frontend.php:40 2228 #: src/Simplestform/Frontend.php:403 188 229 #, php-format 189 230 msgid "" … … 373 414 msgstr "" 374 415 375 #: views/frontend/basic-form.php:12 2416 #: views/frontend/basic-form.php:124 376 417 msgid "Richiesta" 377 418 msgstr "" 378 419 379 #: views/frontend/basic-form.php:140 380 msgid "" 381 "Autorizzo il trattamento dei miei dati, come riportato nella policy privacy" 382 msgstr "" 383 384 #: views/frontend/basic-form.php:163 385 msgid "Ho letto l'informativa ed accetto le finalità previste dall'art. 4" 386 msgstr "" 387 388 #: views/frontend/basic-form.php:180 389 msgid "Ho letto l'informativa ed accetto le finalità previste dall'art. 5" 390 msgstr "" 391 392 #: views/frontend/basic-form.php:195 420 #: views/frontend/basic-form.php:142 421 msgid "" 422 "Autorizzo il trattamento dei miei dati, come riportato alla lett. A punti " 423 "1,2 e 3 della policy privacy" 424 msgstr "" 425 426 #: views/frontend/basic-form.php:165 427 msgid "" 428 "Ho letto l'informativa privacy ed accetto le finalità previste (Lett. A, " 429 "punto 4)" 430 msgstr "" 431 432 #: views/frontend/basic-form.php:182 433 msgid "" 434 "Ho letto l'informativa privacy ed accetto le finalità previste (Lett. A, " 435 "punto 5)" 436 msgstr "" 437 438 #: views/frontend/basic-form.php:197 393 439 msgid "Non inserire nulla in questo campo" 394 440 msgstr "" 395 441 396 #: views/frontend/basic-form.php:20 1442 #: views/frontend/basic-form.php:203 397 443 msgid "Invia" 398 444 msgstr "" -
simplest-form/trunk/readme.txt
r1804560 r1824704 4 4 Requires at least: 4.7 5 5 Tested up to: 4.9.2 6 Stable tag: 2.0. 26 Stable tag: 2.0.3 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 34 34 35 35 == Changelog == 36 37 = 2.0.3 = 38 * Added translation 36 39 37 40 = 2.0.2 = -
simplest-form/trunk/simplestform.php
r1804560 r1824704 7 7 Author: TRe Technology And Research S.r.l. 8 8 Author URI: http://www.tresrl.it 9 Version: 2.0. 29 Version: 2.0.3 10 10 License: GPL-2.0+ 11 11 */ … … 70 70 } 71 71 72 73 72 /** 74 73 * The base dir of the plugin. … … 83 82 $base_dir = plugin_dir_path( __FILE__ ); 84 83 $plugin_base_name = plugin_basename(__FILE__); 84 85 86 /** 87 * Load plugin textdomain. 88 * The directory doesn't need to have full path!!! 89 * 90 * @since 2.0.3 91 */ 92 add_action( 'init', 'enable_translation' ); 93 94 function enable_translation() { 95 96 load_plugin_textdomain( 'simplestform_language_domain' , FALSE , basename( dirname( __FILE__ ) ).'/inc/lang/' ); 97 98 99 } 85 100 86 101 if ( is_admin() ) { -
simplest-form/trunk/src/Simplestform/Base.php
r1782511 r1824704 35 35 * @var string 36 36 */ 37 private $_version = '2.0 ';37 private $_version = '2.0.3'; 38 38 39 39 /** … … 493 493 $api_key = esc_attr( get_option ( $this->get_prefix().'option_api_key' )); 494 494 495 if ( $need_to_check === true ) { 496 497 if ( get_home_url() == 'http://www.tresrl.it' ) { 498 499 $authorized = true; 500 501 } else { 502 503 $api_key = esc_attr( get_option ( $this->get_prefix().'option_api_key' )); 504 505 if ( $api_key ) { 495 if ( get_home_url() == 'http://www.tresrl.it' ) { 496 497 $authorized = true; 498 499 } else { 500 501 if ( $api_key ) { 502 503 $endpoint = $this->get_api_endpoint_url(); 504 $url = $endpoint.'api='.$api_key.'&service=simplestform'; 506 505 507 $endpoint = $this->get_api_endpoint_url(); 508 $url = $endpoint.'api='.$api_key.'&service=simplestform'; 506 $get = wp_remote_get ( $url ); 509 507 510 $get = wp_remote_get ( $url );508 if ( is_array ( $get ) ) { 511 509 512 if ( is_array ( $get ) ) { 510 $response = wp_remote_retrieve_body( $get ); 511 512 $response = json_decode($response); 513 514 if ( isset ( $response->authorized ) ) { 515 516 $authorized = $response->authorized; 517 518 } 519 520 } 513 521 514 $response = wp_remote_retrieve_body( $get );515 516 $response = json_decode($response);517 518 if ( isset ( $response->authorized ) ) {519 520 $authorized = $response->authorized;521 522 }523 524 }525 526 }527 528 522 } 529 523 530 524 } 531 525 -
simplest-form/trunk/views/admin/settings.php
r1767975 r1824704 21 21 if ( !is_plugin_active('wp-mail-smtp/wp_mail_smtp.php') ) { 22 22 23 $notice = _x( 'Invia le email in modalità sicura. Installa il plugin <strong>%s</strong>.' , TRELANDING__LANGUAGE_DOMAIN);23 $notice = _x( 'Invia le email in modalità sicura. Installa il plugin <strong>%s</strong>.' , $this->get_language_domain() ); 24 24 25 25 ?> 26 26 27 27 <div class="notice notice-warning"> 28 <p><strong><?php printf( $notice , 'WP Mail SMTP by Callum Macdonald' ); ?></strong></p>28 <p><strong><?php printf( $notice , 'WP Mail SMTP by WP Forms' ); ?></strong></p> 29 29 </div> 30 30 -
simplest-form/trunk/views/frontend/basic-form.php
r1771340 r1824704 1 <h1><?php _e( 'Nome' , 'simplestform_language_domain' ) ?></h1> 2 1 3 <div class="main-simplestform-container"> 2 4
Note: See TracChangeset
for help on using the changeset viewer.