/**
 * i18n implementation based on
 * http://recurser.com/articles/2008/02/21/jquery-i18n-translation-plugin/
 * http://svn.recurser.com/misc/jquery/i18n/
 */
var i18n_dict = {
    /**
     * required
     */
    'username_required'  	   : '&raquo; The field <strong>Account Username</strong> is required.',
    'account_number_required'  : '&raquo; The field <strong>Account Number</strong> is required.',
    'permit_number_required'   : '&raquo; The field <strong>Permit Number</strong> is required.',
    'amount_required'          : '&raquo; The field <strong>Amount</strong> is required.',
    'account_number_minlength' : '&raquo; The field <strong>Account Number</strong> must be at least 8 characters.',
    'account_number_maxlength' : '&raquo; The field <strong>Account Number</strong> must not exceed 12 characters.',
    'username_minlength' 	   : '&raquo; The field <strong>Account Username</strong> must be at least 4 characters.',
    'username_maxlength' 	   : '&raquo; The field <strong>Account Username</strong> must not exceed 15 characters.',
    'permit_number_minlength'  : '&raquo; The field <strong>Permit Number</strong> must be at least 4 characters.',
    'permit_number_maxlength'  : '&raquo; The field <strong>Permit Number</strong> must not exceed 10 characters.',
    
    
    /**
     * misc
     */
    'username_alpnum'    	   : '&raquo; The field <strong>Account Username</strong> must contains alphanumeric characters (<em>a-z, 0-9</em>) only.',
    'account_number_alpnum'    : '&raquo; The field <strong>Account Number</strong> must contains alphanumeric characters (<em>a-z, 0-9</em>) only.',
    'permit_number_alpnum'     : '&raquo; The field <strong>Account Number</strong> must contains alphanumeric characters (<em>a-z, 0-9</em>) only.',
    'amount_number'            : '&raquo; The field <strong>Amount</strong> must contains numbers (<em>0-9</em>) only.',
    'amount_nozero'            : '&raquo; The field <strong>Amount</strong> must not less than <strong>RM10.00</strong>',
    
    /** 
     * beauty tip
     */
     
    'bt_username'        		   : '<div class="bt-header">Account Username</div>' +
    '<div class="bt-info">' +
    '<span>Please enter your prepaid account username.</span>' +
    '<table border="0" cellpadding="0" cellspacing="0">' +
    '<tr><td>Example</td><td>:</td><td>test</td></tr>' +
    '<tr><td>Example</td><td>:</td><td>test123</td></tr>' +
    '</table>' +
    '<span>It must be at least 4 to 20 characters in length, contains only alphanumeric characters (a-z, 0-9) and the special character \'-\'.</span>' +
    '</div>',    
    
    'bt_permit_number'        		   : '<div class="bt-header">Permit Number</div>' +
    '<div class="bt-info">' +
    '<span>Please enter your prepaid permit number.</span>' +
    '<table border="0" cellpadding="0" cellspacing="0">' +
    '<tr><td>Example</td><td>:</td><td>1234</td></tr>' +
    '<tr><td>Example</td><td>:</td><td>A1234</td></tr>' +
    '</table>' +
    '<span>It must be at least 4 to 10 characters in length, contains only alphanumeric characters (a-z, 0-9) and the special character \'-\'.</span>' +
    '</div>',  
    
    'bt_account_number'        : '<div class="bt-header">Account Number</div>' +
    '<div class="bt-info">' +
    '<span>Please enter your prepaid account number.</span>' +
    '<table border="0" cellpadding="0" cellspacing="0">' +
    '<tr><td>Example</td><td>:</td><td>3180123456</td></tr>' +
    '<tr><td>Example</td><td>:</td><td>80204036</td></tr>' +
    '<tr><td>Example</td><td>:</td><td>180204037</td></tr>' +
    '</table>' +
    '<span>It must be at least 8 to 12 characters in length, contains only alphanumeric characters (a-z, 0-9) and the special character \'-\'.</span>' +
    '</div>',    
    
    'bt_amount'                : '<div class="bt-header">Amount</div>' +
    '<div class="bt-info">' +
    '<span>Please enter the amount you want to top up.</span>' +
    '<table border="0" cellpadding="0" cellspacing="0">' +
    '<tr><td>Example</td><td>:</td><td>100</td></tr>' +
    '<tr><td>Example</td><td>:</td><td>50.00</td></tr>' +
    '<tr><td>Example</td><td>:</td><td>30</td></tr>' +
    '</table>' +
    '<span>It must contains only numbers (0-9) and the special character \'.\' (dot).</span>' +
    '</div>'
}
