Changeset 3237867
- Timestamp:
- 02/10/2025 11:26:08 AM (13 months ago)
- Location:
- ejabberd-account-tools/trunk
- Files:
-
- 6 edited
-
ejabberd-account-tools.pot (modified) (14 diffs)
-
includes/admin-tools.php (modified) (3 diffs)
-
includes/change_email.php (modified) (4 diffs)
-
includes/delete_account.php (modified) (3 diffs)
-
includes/register.php (modified) (4 diffs)
-
includes/reset_password.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ejabberd-account-tools/trunk/ejabberd-account-tools.pot
r3237410 r3237867 3 3 msgstr "" 4 4 "Project-Id-Version: Ejabberd Account Tools\n" 5 "POT-Creation-Date: 2025-02- 09 16:55+0100\n"5 "POT-Creation-Date: 2025-02-10 12:25+0100\n" 6 6 "PO-Revision-Date: \n" 7 7 "Last-Translator: \n" … … 732 732 #: includes/admin-tools.php:224 includes/change_email.php:177 733 733 #: includes/register.php:277 734 msgid "The email address seems invalid. Please change it and try again."734 msgid "The email address is invalid. Please change it and try again." 735 735 msgstr "" 736 736 … … 738 738 #: includes/register.php:282 739 739 msgid "" 740 "Disposable email addresses are not allowed. Please change the e mail address"741 " you enteredand try again."740 "Disposable email addresses are not allowed. Please change the entered email " 741 "address and try again." 742 742 msgstr "" 743 743 … … 756 756 757 757 #: includes/admin-tools.php:274 includes/change_email.php:266 758 msgid "" 759 "The private email address you selected is already set up for this account." 758 msgid "The selected private email address is already set up for this account." 760 759 msgstr "" 761 760 … … 791 790 792 791 #: includes/admin-tools.php:491 793 msgid "Invalid IP address. Please check again."792 msgid "Invalid IP address. Please check it again." 794 793 msgstr "" 795 794 … … 870 869 msgid "" 871 870 "The link to change your private email address has expired or is invalid. " 872 "Please complete the form and resubmit ."871 "Please complete the form and resubmit it." 873 872 msgstr "" 874 873 … … 921 920 #: includes/change_email.php:253 922 921 msgid "" 923 "A confirmation email has been sent to you. Please click the link to confirm"924 " your changes."922 "An email has been sent to you to complete your changes. It contains a link " 923 "that you must click." 925 924 msgstr "" 926 925 … … 938 937 msgid "" 939 938 "If you enter your correct password here, your account will be deleted " 940 "forever. There is no way to restore them."939 "forever. It will not be possible to restore it." 941 940 msgstr "" 942 941 … … 948 947 msgid "" 949 948 "The link to delete your account has expired or is invalid. Please complete " 950 "the form and resubmit ."949 "the form and resubmit it." 951 950 msgstr "" 952 951 … … 983 982 #: includes/delete_account.php:236 984 983 msgid "" 985 "A private email address hasn't been set. To delete your account, firstset a "986 "private email address or simply delete youraccount via IM."984 "A private email address hasn't been set. To delete the account, set a " 985 "private email address or simply delete account via IM." 987 986 msgstr "" 988 987 … … 1080 1079 msgid "" 1081 1080 "The link to activate your account has expired or is invalid. Please complete " 1082 "the form and resubmit ."1081 "the form and resubmit it." 1083 1082 msgstr "" 1084 1083 … … 1093 1092 #: includes/register.php:265 1094 1093 msgid "" 1095 "The username you selected doesn't meet the requirements. Please change it"1096 " andtry again."1094 "The selected username doesn't meet the requirements. Please change it and " 1095 "try again." 1097 1096 msgstr "" 1098 1097 1099 1098 #: includes/register.php:270 1100 1099 msgid "" 1101 "The username you selectedcontains forbidden words. Please change it and try "1100 "The selected username contains forbidden words. Please change it and try " 1102 1101 "again." 1103 1102 msgstr "" … … 1134 1133 #: includes/register.php:367 1135 1134 msgid "" 1136 "The username you selected is already registered. Please change it and try " 1137 "again." 1135 "The selected username is already registered. Please change it and try again." 1138 1136 msgstr "" 1139 1137 … … 1150 1148 msgid "" 1151 1149 "The link to reset your password has expired or is invalid. Please complete " 1152 "the form and resubmit ."1150 "the form and resubmit it." 1153 1151 msgstr "" 1154 1152 -
ejabberd-account-tools/trunk/includes/admin-tools.php
r3237410 r3237867 222 222 if((!empty($email)) && (!filter_var($email, FILTER_VALIDATE_EMAIL) || !ejabat_validate_email_mxrecord($email))) { 223 223 $status = 'warning'; 224 $message = __('The email address seems invalid. Please change it and try again.', 'ejabberd-account-tools');224 $message = __('The email address is invalid. Please change it and try again.', 'ejabberd-account-tools'); 225 225 } 226 226 else if((!empty($email)) && !ejabat_validate_email_usercheck_com($email)) { 227 227 $status = 'warning'; 228 $message = __('Disposable email addresses are not allowed. Please change the e mail address you enteredand try again.', 'ejabberd-account-tools');228 $message = __('Disposable email addresses are not allowed. Please change the entered email address and try again.', 'ejabberd-account-tools'); 229 229 } 230 230 else { … … 272 272 else { 273 273 $status = 'warning'; 274 $message = __('The private email address you selectedis already set up for this account.', 'ejabberd-account-tools');274 $message = __('The selected private email address is already set up for this account.', 'ejabberd-account-tools'); 275 275 } 276 276 } … … 489 489 else { 490 490 $status = 'warning'; 491 $message = __('Invalid IP address. Please check again.', 'ejabberd-account-tools');491 $message = __('Invalid IP address. Please check it again.', 'ejabberd-account-tools'); 492 492 } 493 493 } -
ejabberd-account-tools/trunk/includes/change_email.php
r3237410 r3237867 94 94 else { 95 95 delete_transient('ejabat_email_'.$request['code']); 96 $message = '<p id="message" class="ejabat-info ejabat-blocked">'.__('The link to change your private email address has expired or is invalid. Please complete the form and resubmit .', 'ejabberd-account-tools').'</p>';96 $message = '<p id="message" class="ejabat-info ejabat-blocked">'.__('The link to change your private email address has expired or is invalid. Please complete the form and resubmit it.', 'ejabberd-account-tools').'</p>'; 97 97 } 98 98 } … … 175 175 $status = 'blocked'; 176 176 $fields = array('email'); 177 $message = __('The email address seems invalid. Please change it and try again.', 'ejabberd-account-tools');177 $message = __('The email address is invalid. Please change it and try again.', 'ejabberd-account-tools'); 178 178 } 179 179 else if(!ejabat_validate_email_usercheck_com($request['email'])) { 180 180 $status = 'blocked'; 181 181 $fields = array('email'); 182 $message = __('Disposable email addresses are not allowed. Please change the e mail address you enteredand try again.', 'ejabberd-account-tools');182 $message = __('Disposable email addresses are not allowed. Please change the entered email address and try again.', 'ejabberd-account-tools'); 183 183 } 184 184 else { … … 251 251 // Success message 252 252 $status = 'success'; 253 $message = __('A confirmation email has been sent to you. Please click the link to confirm your changes.', 'ejabberd-account-tools');253 $message = __('An email has been sent to you to complete your changes. It contains a link that you must click.', 'ejabberd-account-tools'); 254 254 } 255 255 // Problem with sending email … … 264 264 $status = 'blocked'; 265 265 $fields = array('email'); 266 $message = __('The private email address you selectedis already set up for this account.', 'ejabberd-account-tools');266 $message = __('The selected private email address is already set up for this account.', 'ejabberd-account-tools'); 267 267 } 268 268 } -
ejabberd-account-tools/trunk/includes/delete_account.php
r3237410 r3237867 64 64 // Create form 65 65 $html = '<form data-action="unregister-account" class="ejabat" method="post" onsubmit="return false" autocomplete="off"> 66 <p class="ejabat-info ejabat-error">'.__('If you enter your correct password here, your account will be deleted forever. There is no way to restore them.', 'ejabberd-account-tools').'</p>66 <p class="ejabat-info ejabat-error">'.__('If you enter your correct password here, your account will be deleted forever. It will not be possible to restore it.', 'ejabberd-account-tools').'</p> 67 67 <p id="login"> 68 68 <input type="text" name="login" value="'.$transient['user'].'@'.$transient['host'].'" disabled> … … 86 86 delete_transient('ejabat_unreg_'.$request['code']); 87 87 // Response with error 88 $message = '<p id="message" class="ejabat-info ejabat-blocked">'.__('The link to delete your account has expired or is invalid. Please complete the form and resubmit .', 'ejabberd-account-tools').'</p>';88 $message = '<p id="message" class="ejabat-info ejabat-blocked">'.__('The link to delete your account has expired or is invalid. Please complete the form and resubmit it.', 'ejabberd-account-tools').'</p>'; 89 89 } 90 90 } … … 234 234 else { 235 235 $status = 'blocked'; 236 $message = __('A private email address hasn\'t been set. To delete your account, first set a private email address or simply delete youraccount via IM.', 'ejabberd-account-tools');236 $message = __('A private email address hasn\'t been set. To delete the account, set a private email address or simply delete account via IM.', 'ejabberd-account-tools'); 237 237 } 238 238 } -
ejabberd-account-tools/trunk/includes/register.php
r3237410 r3237867 156 156 delete_transient('ejabat_register_'.$request['code']); 157 157 // Message with error 158 $message = '<p id="message" class="ejabat-info ejabat-blocked">'.__('The link to activate your account has expired or is invalid. Please complete the form and resubmit .', 'ejabberd-account-tools').'</p>';158 $message = '<p id="message" class="ejabat-info ejabat-blocked">'.__('The link to activate your account has expired or is invalid. Please complete the form and resubmit it.', 'ejabberd-account-tools').'</p>'; 159 159 } 160 160 } … … 263 263 $status = 'blocked'; 264 264 $fields = array('username'); 265 $message = __('The username you selecteddoesn\'t meet the requirements. Please change it and try again.', 'ejabberd-account-tools');265 $message = __('The selected username doesn\'t meet the requirements. Please change it and try again.', 'ejabberd-account-tools'); 266 266 } 267 267 else if(preg_match('/'.get_option('ejabat_blocked_username_regexp', '^(.*(404|abort|about|abuse|access|account|activat|address|adium|admin|adult|advertisin|affiliat|agile|ajax|allegro|analytics|android|anonymous|api|app|aqq|archiv|atom|auth|backup|billing|blog|board|bombus|bot|bug|business|cache|calendar|campaign|cancel|careers|cart|ceo|cgi|changelog|chat|check|chrome|client|cms|comercial|comment|compare|config|connect|contact|contest|contract|convers|cpp|creat|css|custome|dashboard|delete|demo|design|detail|develop|digsby|direct|disc|docs|document|domain|dot|drive|dropbox|ebay|ecommerce|edit|employment|enquiries|enterprise|error|event|facebook|faq|favorite|feed|file|firefox|flock|follow|form|forum|ftp|gadget|gajim|gist|github|google|group|guest|guide|help|homepage|host|htm|http|ijab|imap|index|info|instagram|instantbird|internal|intranet|invit|invoic|ipad|iphone|irc|irssi|issue|jabbear|jabber|jabbim|jabiru|jappix|java|jitsi|job|joomla|json|kadu|kopete|language|load|login|logout|logs|mail|manager|manual|market|media|member|message|messenger|microblog|microsoft|miranda|mobile|mozilla|mp3|msg|msn|mysql|name|network|news|nick|noreply|ns1|ns2|ns3|ns4|oauth|offers|office|olx|online|openid|operator|oracle|order|organizat|owner|page|pandion|panel|password|perl|php|pidgin|plugin|pop3|popular|porn|post|press|print|privacy|profil|promo|psi|pub|python|query|random|recruit|register|registrat|remove|replies|root|rss|ruby|sales|sample|save|script|search|secure|security|send|seo|service|session|setting|setup|shop|signin|signup|site|smtp|sql|ssh|ssl|staff|start|static|stats|status|store|subscrib|support|sysop|system|tablet|talk|task|team|tech|telnet|terms|test|theme|tigase|tkabber|tlen|tmp|todo|tool|translat|trillian|troll|tube|twitt|update|url|usage|user|vendas|video|visitor|voice|weather|web|widget|windows|work|wtw|www|xabber|xml|xmpp|yaml|yaxim|yml).*)$').'/i', $request['username'])) { 268 268 $status = 'blocked'; 269 269 $fields = array('username'); 270 $message = __('The username you selectedcontains forbidden words. Please change it and try again.', 'ejabberd-account-tools');270 $message = __('The selected username contains forbidden words. Please change it and try again.', 'ejabberd-account-tools'); 271 271 } 272 272 else { … … 275 275 $status = 'blocked'; 276 276 $fields = array('email'); 277 $message = __('The email address seems invalid. Please change it and try again.', 'ejabberd-account-tools');277 $message = __('The email address is invalid. Please change it and try again.', 'ejabberd-account-tools'); 278 278 } 279 279 else if(!ejabat_validate_email_usercheck_com($request['email'])) { 280 280 $status = 'blocked'; 281 281 $fields = array('email'); 282 $message = __('Disposable email addresses are not allowed. Please change the e mail address you enteredand try again.', 'ejabberd-account-tools');282 $message = __('Disposable email addresses are not allowed. Please change the entered email address and try again.', 'ejabberd-account-tools'); 283 283 } 284 284 else { … … 365 365 $status = 'blocked'; 366 366 $fields = array('username'); 367 $message = __('The username you selectedis already registered. Please change it and try again.', 'ejabberd-account-tools');367 $message = __('The selected username is already registered. Please change it and try again.', 'ejabberd-account-tools'); 368 368 } 369 369 } -
ejabberd-account-tools/trunk/includes/reset_password.php
r3237410 r3237867 98 98 delete_transient('ejabat_pass_'.$code); 99 99 // Response with error 100 $message = '<p id="message" class="ejabat-info ejabat-blocked">'.__('The link to reset your password has expired or is invalid. Please complete the form and resubmit .', 'ejabberd-account-tools').'</p>';100 $message = '<p id="message" class="ejabat-info ejabat-blocked">'.__('The link to reset your password has expired or is invalid. Please complete the form and resubmit it.', 'ejabberd-account-tools').'</p>'; 101 101 } 102 102 }
Note: See TracChangeset
for help on using the changeset viewer.