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

30 Commits

Author SHA1 Message Date
Henric Jungheim
d8b7e3d8a9 Switch the default toolset from VS2013 to VS2017 2018-06-26 06:53:48 -07:00
Henric Jungheim
6ae5bd46ad Rework locale VS project to use CustomBuildStep.
Make sure Clean, Build, and Build targets work.
Use NuGet to provide gettext for msgfmt.
2018-06-26 06:53:47 -07:00
James Crook
bf9beb1f36 Revert locale tidy up
We want to use the fix ups that use NuGet.  However, they break the windows build-bot.  At the moment the windows build-bot is more important than the better locale code - hence reverting.
2018-04-04 17:04:58 +01:00
Henric Jungheim
112fd246fd Rework locale VS project to use CustomBuildStep.
Make sure Clean, Build, and Build targets work.
Use NuGet to provide gettext for msgfmt.
2018-04-02 03:18:12 -07:00
Paul Licameli
b1d9be00e4 Added eu_ES (Basque (Spain)) to supported languages 2017-09-22 00:22:42 -04:00
Benjamin Drung
787f2afd10 Introduce end-of-line normalization
Ensures that all files that Git considers to be text will have
normalized (LF) line endings in the repository. When core.eol is set to
native (which is the default), Git will convert the line endings of
normalized files in your working directory back to your platform's
native line ending.

See also https://git-scm.com/docs/gitattributes
2016-05-17 01:05:05 +02:00
James Crook
d59871d341 Updated Windows build for renamed .po files 2015-09-08 10:53:05 +01:00
Leland Lucius
553308fc29 Round 6 of wx3 changes
A bit of fine tuning the FileDialog on Windows
Deleted Visual Studio 2008 project files
2015-07-15 01:12:41 -05:00
Leland Lucius
2f760c4bac Round 4 of wx3 changes
This gets FileDialog updated and working on Windows.  It also
removes removes the "wx3" build configurations and makes the default
Debug and Release builds wx3-only.

Still need to get VSTs updated.
2015-07-13 16:38:24 -05:00
James Crook
1a2944765d Added .pot file to windows project Updated README for 2.1.1 2015-06-24 18:08:30 +01:00
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
windinthew@gmail.com
5bffe9cecf Added new Armenian translation by Aram Vardanyan to Windows and Linux builds. Still needs to be added to the Mac project file. 2014-11-22 16:59:02 +00:00
windinthew@gmail.com
06562b964b Add missing ta.po. 2014-11-10 09:57:20 +00:00
lllucius
0f1d1ad6f9 I missed a few WXWIN variables as pointed out by Rob (RPM) 2014-10-17 17:58:27 +00:00
lllucius
c512822138 Additional changes for wx3
These are mostly for getting it to build on Linux, but I've
also created new configs in Visual Studio to make it easier
to switch between wx2 and wx3.

For Linux, you have to tell configure where to find the wx3
version of the wx-config script and, since some distros build
wxWidgets v3 against GTK+ v3, you may also need to enable
gtk3 with something like:

./configure --enable-gtk3 WX_CONFIG=/usr/bin/wx-config-3.0

On Windows, I've added "wx3-Debug" and "wx3-Release" to the
existing "Debug" and "Release" configurations.

They depend on you having your WXWIN environment variable
pointing to your wx2 directory and a new WXWIN3 environment
variable pointing to your wx3 directory.  For instance, I
have:

WXWIN=C:\Users\yam\Documents\wxWidgets-2.8.13
WXWIN3=C:\Users\yam\Documents\wxWidgets-3.0.2

Doing this allows you to switch freely among the 4 configurations
without having to get out of Visual Studio and monkey around with
the environment.

The project files will also add the location of the wxWidgets DLLs
to the PATH when running Audacity from within Visual Studio.  They
add %WXWIN%\lib\vc_dll or %WXWIN3%\lib\vc_dll at the beginning
of the PATH variable as appropriate.

I expect that once we convert to wx3 we'll just drop back down to
the normal Debug and Release configurations, but this should make
switching between wx2 and wx3 much easier during the transition.
2014-10-16 16:18:04 +00:00
lllucius
f9c1d8c4bb Updates VS2013 project files to support targeting Windows XP
From what I can tell, the only thing that is "lost" because of
this is the possibility of using C++AMP.  Not really an issue.

And we don't have to provide different runtimes for XP and
win7+.  They all use the same redistributable package.
2014-10-07 04:20:49 +00:00
lllucius
439f5d00d6 Updated Visual Studio project and solution to VS2013.
Renamed the VS2008 solution instead of removing it
to give people time to get VS2013 installed.

Will remove the VS2008 solution and project files
after a while.
2014-10-06 05:43:23 +00:00
windinthew
a4bd763071 Added new Tamil translation (80% complete) by Kenthira Ponnampalam.
Ta.po still needs to be added to the Mac Xcode project.
2014-06-22 17:04:52 +00:00
lllucius
c8aac58ee8 More files needed for VS2012.
It's weird that the "folder" layout is kept in a separate file.
2013-10-31 04:43:09 +00:00
lllucius
03aebb5347 Missed a copy in last commit 2013-10-31 04:21:35 +00:00
lllucius
5db51c3f92 Visual Studio 2012 project files for those wanting to try it
This was NOT just a straightforward conversion.  It took days to
figure out why projects kept building over and over again, so
committing is the best way for people to kick the tires.

These are completely separate from the VS2008 project files, so
they do not affect current build process.
2013-10-31 04:15:34 +00:00
lllucius
0c0b290581 Removes ANSI Debug and Release targets
And renames Unicode Debug and Unicode Release targets to Debug and Release

Removes old allegro project (replaced with portsmf ages ago)
2013-10-31 04:08:33 +00:00
windinthew
97677e1d9f New Croatian translation of software by Martin Bagiæ (still needs adding to Mac project) 2013-01-04 15:16:06 +00:00
windinthew
e98695f324 Added Serbian (Latin) software translation by Miroslav Nikolic. 2012-04-03 07:56:51 +00:00
lllucius@gmail.com
459fa98b6f Adds building of wxWidgets message files to keep them in sync with wxWidgets release. 2011-12-16 16:04:32 +00:00
windinthew
eab4109489 Added new Serbian translation by Miroslav Nikolic. 2011-10-20 15:41:57 +00:00
windinthew
fc680e20cb added Belarusian translation (still needs adding to mac/Audacity.xcodeproj/project.pbxproj) 2010-04-27 08:00:23 +00:00
windinthew
45a006841d added Burmese (Myanmar) translation by Russell Kyaw 2010-01-27 09:32:55 +00:00
ra
6e3e8dcfff Remove some old erratta, and do a major tidy up of line endings and properties on source files 2010-01-24 13:33:28 +00:00
ra
e74978ba77 Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches 2010-01-23 19:44:49 +00:00