Show
Ignore:
Timestamp:
09/06/05 17:25:59 (3 years ago)
Author:
nk
Message:

fix translations. py in 0.8.2

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.8.2/scripts/translations.py

    r3027 r3463  
    1919                        path_to_po = os.path.join(dirname, 'gajim.po') 
    2020                        pos = path_to_po.find('po/') + 3 #3 = len('po/') 
    21                         name = path_to_po[pos:pos+2] 
     21                        endpos = path_to_po.find('/', pos) 
     22                        name = path_to_po[pos:endpos] 
    2223                        if update: # update an existing po file) 
    2324                                os.system('msgmerge -q -U ../po/'+name+'/LC_MESSAGES/gajim.po ../po/gajim.pot')