apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
486 stars 136 forks source link

remove derived translation files #318

Closed macosforgebot closed 12 years ago

macosforgebot commented 13 years ago

mail@… originally submitted this as ticket:410


I am just looking into translations.

It seems that with r3650 and r3651 the po files should not be the primary source anymore. But on startup .mo files are generated from the .lproj folder.

If this is meant this way then please delete the .po and .mo files so people do not get confused. The .mo should be deleted anyways as they can be created from the .po at any time.

macosforgebot commented 13 years ago

@wsanchez originally submitted this as comment:1:⁠ticket:410

macosforgebot commented 12 years ago

@m0rgen originally submitted this as comment:3:⁠ticket:410


The .lproj folder processing is only for OS X installs, where Apple's localization team has generated .lproj folders for many languages. So for OS X installs, .lproj are the source of truth. For open-source based installs, the po files are the source of truth, and as you point out, the .mo files can be generated by msgfmt, so I just removed them. I also updated the calendarserver.po because it was slightly out of date. I left two .mo files under which are used for unit tests, however.