mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
Add `locale/en.po` file. Add English to `locale/LINGUAS` list. Partially duplicate `msgid`s to `msgstr`s in English locale enable eventual key `msgid` changes Replace former project name with Tenacity in English locale. Replace former project website with Tenacity compatible usages in English locale. Modify `AboutDialog.h` by renaming variables. Modify `AboutDialog.cpp` by replacing usage of pre-fork name in Strings. Modify AddBuildInfoRow methods to be static in About dialog. Make License text const in About dialog. Make pre-fork credits different in About dialog. Begin adding Tenacity specific credits Macros starting with `__` are reserved, so I removed the `__` on the About Dialog guard macro. Remove `AboutDialog::` from usage of `Role` in `AboutDialog.h` Refactor overly long generator method into separate methods in `AboutDialog.(h|cpp)` Begin adding Tenacity developer information Cleanup layout of `AboutDialog.h` and `AboutDialog.cpp` Add `safedelete` macro to compliment odd `safenew` macro Add `enum` to `ShuttleGui.cpp` to make it more clear what `Prop` method is doing. Remove a ton of pointless and/or redunant `#ifdef` usage Remove pointless singleton in AboutDialog Make AboutDialog modal on MacOS Fix reference type use of `auto` in `AudacityApp` b/c it makes unintentional copy. Update XPM and PNG images using Tenacity assets Update ICO images using Tenacity assets. Fix Windows resource script that improperly used `winuser.h` import. Add `*.aps` to gitignore to prevent IDE RC pre-load file from being committed. Add default values for pre-processor constants in `tenacity.rc`. Make changes needed for `Tenacity.exe` binary Add 8x8 PNG to Windows ICO files Replace project name in various CMake and CPack file. Replace project name in various directory structures. Replace project name in various OS-specific build files. Replace project name in various documentation files. Update the PO and POT files using the script. Fix places where a `.desktop` file was used on Linux. Replace title of project windows. Make splash screen click through to `tenacityaudio.org`. Remove ® from `AboutDialog.cpp` Modify copyright message in `AboutDialog.cpp` Signed-off-by: Emily Mabrey <emilymabrey93@gmail.com>
53 lines
1.5 KiB
Bash
Executable File
53 lines
1.5 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# The AppImage runtime sets some special environment variables. We provide
|
|
# default values here in case the user tries to run this script outside an
|
|
# AppImage where the variables would otherwise be undefined.
|
|
if [[ ! "${APPIMAGE}" || ! "${APPDIR}" ]]; then
|
|
export APPIMAGE="$(readlink -f "${0}")"
|
|
export APPDIR="$(dirname "${APPIMAGE}")"
|
|
fi
|
|
|
|
export LD_LIBRARY_PATH="${APPDIR}/lib:${LD_LIBRARY_PATH}"
|
|
|
|
export AUDACITY_PATH="${AUDACITY_PATH}:${APPDIR}/share/tenacity"
|
|
export AUDACITY_MODULES_PATH="${AUDACITY_MODULES_PATH}:${APPDIR}/lib/modules"
|
|
|
|
function help()
|
|
{
|
|
# Normal audacity help
|
|
"${APPDIR}/bin/tenacity" --help
|
|
# Special options handled by this script
|
|
cat >&2 <<EOF
|
|
--readme display README
|
|
--license display LICENSE
|
|
--man[ual|page] display audacity(1) manual page
|
|
--check-dependencies check library dependency fulfillment (developer tool)
|
|
|
|
EOF
|
|
# Blank line then special options handled by the AppImage runtime
|
|
"${APPIMAGE}" --appimage-help
|
|
}
|
|
|
|
# Intercept command line arguments
|
|
case "$1" in
|
|
-h|--help )
|
|
help
|
|
;;
|
|
--readme )
|
|
exec less "${APPDIR}/share/doc/tenacity/README.txt"
|
|
;;
|
|
--license )
|
|
exec less "${APPDIR}/share/doc/tenacity/LICENSE.txt"
|
|
;;
|
|
--man|--manual|--manpage )
|
|
exec man "${APPDIR}/share/man/man1/tenacity.1"
|
|
;;
|
|
--check-depends|--check-dependencies )
|
|
exec bash "${APPDIR}/bin/check_dependencies"
|
|
;;
|
|
* )
|
|
# Other arguments go to Audacity
|
|
exec "${APPDIR}/bin/tenacity" "$@"
|
|
;;
|
|
esac
|