xcfw/src/xcfwlocalizer.cpp
branchRCL_3
changeset 18 bd874ee5e5e2
parent 0 79c6a41cd166
equal deleted inserted replaced
9:d0529222e3f0 18:bd874ee5e5e2
   157             {
   157             {
   158             current = langs.Count() - 1;
   158             current = langs.Count() - 1;
   159             do {
   159             do {
   160                 lcstring.Num( (TInt64)langs[current] );
   160                 lcstring.Num( (TInt64)langs[current] );
   161                 codelen = lcstring.Length()>1?lcstring.Length():KMinLangCodeLen;
   161                 codelen = lcstring.Length()>1?lcstring.Length():KMinLangCodeLen;
   162                 locfile->Des().Copy( PathInfo::RomRootPath().Left( KPathStartLoc ) );
   162                 locfile->Des().Format( filepath, codelen, langs[current] );
   163                 locfile->Des().Append( filepath );
   163                 locfile->Des().Insert( 0, PathInfo::RomRootPath().Left( KPathStartLoc ) );
   164                 locfile->Des().Format( locfile->Des(), codelen, langs[current] );          
       
   165                 current--;
   164                 current--;
   166                 } while ( current >= 0 && 
   165                 } while ( current >= 0 && 
   167                     !BaflUtils::FileExists( aFileSystem, locfile->Des() ) );
   166                     !BaflUtils::FileExists( aFileSystem, locfile->Des() ) );
   168             }
   167             }
   169         langs.Reset();
   168         langs.Reset();