Changeset 1463:b6edc11943a5

Show
Ignore:
Timestamp:
08/12/10 15:35:14 (3 years ago)
Author:
Thomas Gambet <tgambet@…>
Branch:
default
Message:

~ fixed locale in language filenames

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/org/w3c/unicorn/action/LanguageAction.java

    r1353 r1463  
    313313                        OutputFormater fileOutputFormater; 
    314314                        if (interfaceChanged) { 
    315                                 fileOutputFormater = new FileOutputFormater("language.properties", Property.get("DEFAULT_LANGUAGE"), "text/plain", languageParameter + ".properties"); 
     315                                fileOutputFormater = new FileOutputFormater("language.properties", Property.get("DEFAULT_LANGUAGE"), "text/plain", languageParameter.replace("_", "-") + ".properties"); 
    316316                                outputFormaters.add(fileOutputFormater); 
    317317                        } 
     
    319319                        OutputFormater fileOutputFormater2; 
    320320                        if (tasklistChanged) { 
    321                                 fileOutputFormater2 = new FileOutputFormater("tasklist.properties", Property.get("DEFAULT_LANGUAGE"), "text/plain", languageParameter + ".tasklist.properties"); 
     321                                fileOutputFormater2 = new FileOutputFormater("tasklist.properties", Property.get("DEFAULT_LANGUAGE"), "text/plain", languageParameter.replace("_", "-") + ".tasklist.properties"); 
    322322                                outputFormaters.add(fileOutputFormater2); 
    323323                        }