Changeset 4646


Ignore:
Timestamp:
01/10/10 00:52:32 (10 years ago)
Author:
plg
Message:

feature 1374 related: don't display the validated keys as "untranslated yet".

Location:
branches/2.0/tools
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/tools/translation_analysis.php

    r4644 r4646  
    2424define('PHPWG_ROOT_PATH', '../'); 
    2525include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 
    26  
     26include_once( PHPWG_ROOT_PATH.'tools/translation_validated.inc.php' ); 
    2727$languages = array_keys(get_languages()); 
    2828 
     
    6868        $exceptions = array('Level 0'); 
    6969        if (in_array($key, $exceptions)) 
     70        { 
     71          continue; 
     72        } 
     73 
     74        if (isset($validated_keys[$language]) and in_array($key, $validated_keys[$language])) 
    7075        { 
    7176          continue; 
Note: See TracChangeset for help on using the changeset viewer.