1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 07:13:49 +01:00

Remove useless imported strings, import i18n comment

We don't need many of these imported strings, because we don't have
crash reports or updates.

Commit imported from d20cf01255

Co-authored-by: Paul Licameli <paul.licameli@audacityteam.org>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
This commit is contained in:
Panagiotis Vasilopoulos
2021-10-04 06:31:39 +02:00
parent 9300ab1168
commit 27d31d906d
4 changed files with 6 additions and 38 deletions

View File

@@ -97,24 +97,6 @@ Some example strings are also given first, to document the syntax.
#endif
// Crash & error report window
XO("Problem Report for Audacity"),
XO("Click \"Send\" to submit the report to Audacity. This information is collected anonymously."),
XO("Problem details"),
XO("Comments"),
XC("&Send", "crash reporter button"),
XC("&Don't send", "crash reporter button"),
// i18n-hint C++ programming exception
XO("Exception code 0x%x"),
// i18n-hint C++ programming exception
XO("Unknown exception"),
// i18n-hint C++ programming assertion
XO("Unknown assertion"),
XO("Unknown error"),
XO("Failed to send crash report"),
// i18n-hint Scheme refers to a color scheme for spectrogram colors
XC("Sche&me", "spectrum prefs"),
// i18n-hint Choice of spectrogram colors
@@ -126,22 +108,6 @@ XC("Grayscale", "spectrum prefs"),
// i18n-hint Choice of spectrogram colors
XC("Inverse grayscale", "spectrum prefs"),
// Update version dialog
XC("Update Audacity", "update dialog"),
XC("&Skip", "update dialog"),
XC("&Install update", "update dialog"),
XC("Changelog", "update dialog"),
XC("Read more on GitHub", "update dialog"),
XC("Error checking for update", "update dialog"),
XC("Unable to connect to Audacity update server.", "update dialog"),
XC("Update data was corrupted.", "update dialog"),
XC("Error downloading update.", "update dialog"),
XC("Can't open the Audacity download link.", "update dialog"),
// i18n-hint Substitution of version number for %s.
XC("Audacity %s is available!", "update dialog"),
// For after 3.0.3
// See three occurrences of this XC in comments elsewhere;
// to be uncommented, replacing an XO; and the i18n-hint comment to be moved
// to one of them (one is enough)

View File

@@ -162,8 +162,8 @@ void DevicePrefs::PopulateOrExchange(ShuttleGui & S)
}
S.EndStatic();
// XC("Recording", "preference")
S.StartStatic(XO("Recording"));
// i18n-hint: modifier as in "Recording preferences", not progressive verb
S.StartStatic(XC("Recording", "preference"));
{
S.StartMultiColumn(2);
{

View File

@@ -41,7 +41,8 @@ BEGIN_EVENT_TABLE(RecordingPrefs, PrefsPanel)
END_EVENT_TABLE()
RecordingPrefs::RecordingPrefs(wxWindow * parent, wxWindowID winid)
: PrefsPanel(parent, winid, XO("Recording")) // XC("Recording", "preference")
// i18n-hint: modifier as in "Recording preferences", not progressive verb
: PrefsPanel(parent, winid, XC("Recording", "preference"))
{
gPrefs->Read(wxT("/GUI/TrackNames/RecordingNameCustom"), &mUseCustomTrackName, false);
mOldNameChoice = mUseCustomTrackName;

View File

@@ -21,7 +21,8 @@ class ShuttleGui;
#define RECORDING_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ \
L"Recording", \
XO("Recording") /* XC("Recording", "preference") */ \
/* i18n-hint: modifier as in "Recording preferences", not progressive verb */ \
XC("Recording", "preference") \
}
#define AUDIO_PRE_ROLL_KEY (wxT("/AudioIO/PreRoll"))