1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-03-10 05:34:36 +00:00

Cocoalib's strings are now autogenerated from .po files suring the build_localizations() phase.

This commit is contained in:
Virgil Dupras 2011-11-04 15:17:14 -04:00
parent 5c0d9411e5
commit a2a8397e78

View File

@ -128,6 +128,8 @@ def build_localizations(ui, edition):
loc.po2strings(pofile, op.join(enlproj, 'Localizable.strings'), op.join(dest_lproj, 'Localizable.strings')) loc.po2strings(pofile, op.join(enlproj, 'Localizable.strings'), op.join(dest_lproj, 'Localizable.strings'))
pofile = op.join('locale', lang, 'LC_MESSAGES', 'columns.po') pofile = op.join('locale', lang, 'LC_MESSAGES', 'columns.po')
loc.po2strings(pofile, op.join(enlproj, 'columns.strings'), op.join(dest_lproj, 'columns.strings')) loc.po2strings(pofile, op.join(enlproj, 'columns.strings'), op.join(dest_lproj, 'columns.strings'))
pofile = op.join('cocoalib', 'locale', lang, 'LC_MESSAGES', 'cocoalib.po')
loc.po2allxibstrings(pofile, op.join('cocoalib', 'en.lproj'), op.join('cocoalib', lang + '.lproj'))
build_all_cocoa_locs('cocoalib') build_all_cocoa_locs('cocoalib')
build_all_cocoa_locs(op.join('cocoa', 'base')) build_all_cocoa_locs(op.join('cocoa', 'base'))
build_all_cocoa_locs(op.join('cocoa', edition)) build_all_cocoa_locs(op.join('cocoa', edition))