1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 09:39:42 +02:00

7 Commits

Author SHA1 Message Date
Leland Lucius
c9327a9df0 Addition fix/changes for bug #673
This changes the way "unofficial" Inno Setup translations
are handled.

The first time a user compiles the .iss, the "unofficial" translations
will be downloaded to:

   C:\Program Files (x86)\Inno Setup 5/Languages/unofficial

Any translations supported by Audacity that do not have an Inno
translation will be automatically created from the Default.isl in:

   C:\Program Files (x86)\Inno Setup 5/Languages/dummy

This is all handled by the Inno Preprocessor.  Powershell is used
to do the actual download.

Once downloaded, they will not be downloaded again, so if updates
are made, they will need to be deleted from the above directories
and allowed to download again.

In addition, I extracted the "Reset Preferences" translations from
the Audacity .po files and added them to the .iss file.

Audacity private Inno translation files are still supported in
win/InnoSetupLanguages, but I've removed the samples I'd previously
committed.

While not exactly related to this change, there were 2 languages
that weren't being set properly after being selected during
installation:

   ca@valencia (Valencian)
   bs (Bosnian)

The reason Valencian wasn't be displayed in preferences was twofold.
It was incorrectly named and the search loop in Languages:GetLanguages()
didn't include a range sufficient enough to pull the Valencian info.

The Bosnian language is supported by wxWidgets 2.8.12 (it is in wx3)
so, even though we have a translation, it was unavailable for
selection.

The changes required to fix those issues were:

1)  Renamed ca@valencia to ca_ES@valencia
2)  Instead of iterating over all wxWidgets languages and trying to
    match them with our translations, I reversed it.  It now iterates
    over our translations and asks wxWidgets for the associated
    language info.  This provides support for both of the above
    languages.
3)  By doing #2, we are now able to add additional user languages that
    may not yet be supported by wxWidgets.  So, I added the Bosnian
    language info.
2015-06-04 14:19:06 -05:00
Leland Lucius
607cc30bf4 Add new plugins to Xcode 5+ project 2015-06-03 01:34:42 -05:00
Leland Lucius
a807f93ba4 Add wx lib copy to "shared" configurations in Xcode 5.x+ project 2015-05-28 20:44:39 -05:00
Leland Lucius
7ba51bdf36 Fix for bug #936 (Xcode 5.x+ project) 2015-05-24 22:06:48 -05:00
Leland Lucius
10123bb3ac Update Xcode 5+ project for flac 1.3.1 2015-05-01 04:34:33 -05:00
Leland Lucius
d344ff8f88 Updating new Xcode project
This provides additional improvements and updates for building
Audacity using Xcode 5.1 or above.

The whole configure/makefile system is no longer used during
normal builds.  During library additions/updates it used to
regenerated the headers in mac/config.
2015-04-21 16:59:01 -05:00
yam
05295c1caa Adding Xcode project files for use with Xcode 5.1 and above. 2015-04-20 13:39:34 -05:00