mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +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:
@@ -97,24 +97,6 @@ Some example strings are also given first, to document the syntax.
|
|||||||
#endif
|
#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
|
// i18n-hint Scheme refers to a color scheme for spectrogram colors
|
||||||
XC("Sche&me", "spectrum prefs"),
|
XC("Sche&me", "spectrum prefs"),
|
||||||
// i18n-hint Choice of spectrogram colors
|
// i18n-hint Choice of spectrogram colors
|
||||||
@@ -126,22 +108,6 @@ XC("Grayscale", "spectrum prefs"),
|
|||||||
// i18n-hint Choice of spectrogram colors
|
// i18n-hint Choice of spectrogram colors
|
||||||
XC("Inverse grayscale", "spectrum prefs"),
|
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;
|
// See three occurrences of this XC in comments elsewhere;
|
||||||
// to be uncommented, replacing an XO; and the i18n-hint comment to be moved
|
// to be uncommented, replacing an XO; and the i18n-hint comment to be moved
|
||||||
// to one of them (one is enough)
|
// to one of them (one is enough)
|
||||||
|
|||||||
@@ -162,8 +162,8 @@ void DevicePrefs::PopulateOrExchange(ShuttleGui & S)
|
|||||||
}
|
}
|
||||||
S.EndStatic();
|
S.EndStatic();
|
||||||
|
|
||||||
// XC("Recording", "preference")
|
// i18n-hint: modifier as in "Recording preferences", not progressive verb
|
||||||
S.StartStatic(XO("Recording"));
|
S.StartStatic(XC("Recording", "preference"));
|
||||||
{
|
{
|
||||||
S.StartMultiColumn(2);
|
S.StartMultiColumn(2);
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -41,7 +41,8 @@ BEGIN_EVENT_TABLE(RecordingPrefs, PrefsPanel)
|
|||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
RecordingPrefs::RecordingPrefs(wxWindow * parent, wxWindowID winid)
|
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);
|
gPrefs->Read(wxT("/GUI/TrackNames/RecordingNameCustom"), &mUseCustomTrackName, false);
|
||||||
mOldNameChoice = mUseCustomTrackName;
|
mOldNameChoice = mUseCustomTrackName;
|
||||||
|
|||||||
@@ -21,7 +21,8 @@ class ShuttleGui;
|
|||||||
|
|
||||||
#define RECORDING_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ \
|
#define RECORDING_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ \
|
||||||
L"Recording", \
|
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"))
|
#define AUDIO_PRE_ROLL_KEY (wxT("/AudioIO/PreRoll"))
|
||||||
|
|||||||
Reference in New Issue
Block a user