Bug #1846
closedNot an integer
100%
Description
This language string 'Not an integer' => 'Not an integer', takes no effect, although it is exsting and translated in translated admin_language.php.
How to replicate: Install another language.php than english.php, build a field zipcode with integer.
Go to frontend and put in normal letters. The error message still is in english.
Files
      
      Updated by Lintzy over 15 years ago
      
      
    
    This error concerns CB 1.2.3 (and at least CB 1.2.2 also)
      
      Updated by nant over 15 years ago
      
      
    
    - File not-an-integer-1.png not-an-integer-1.png added
 - File not-an-integer-2.png not-an-integer-2.png added
 
Confirmed in CB 1.2.3 using english language plugin.
See screenshots attached.
Also where is the "Integer number field:" tarnslated???
      
      Updated by krileon about 15 years ago
      
      
    
    - Target version set to CB 1.3
 - % Done changed from 0 to 100
 
Resolved as of CB 1.2.4. Backend translation is done with the following applied to admin_language.php.
CBTxt::addStrings( array(
 'Not an integer' => 'Not an integer1'
));
The above will output Not an integer1 instead of Not an integer. For backend strings use admin_reference_language.php for available language strings.