tschoffelen / php-pkpass

💳 PHP class for creating passes for Wallet on iOS.
https://includable.com
MIT License
908 stars 187 forks source link

Support localization #28

Closed aeoris closed 11 years ago

aeoris commented 11 years ago

Fixes issue #25 by not basenaming added files.

Until now, after adding en.lproj/pass.strings, es.lproj/pass.strings et al, the files would be basename-'d when added to the generated zip and while generating the manifest file and hashes.

This would lead to overwriting subsequent filenames with the same name in different directories (for instance, both pass.strings would end on the root directory of the zipfile, the former overwriting the latter). Also, the manifest file would contain just one entry for one of the pass.strings files.