mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-05 06:39:26 +02:00
Remove some double space
This commit is contained in:
parent
218eb67316
commit
b4f7946e9b
lib-src/mod-nyq-bench
src
FreqWindow.cppModuleManager.cppPluginManager.cppProject.cppTheme.cpp
effects/VST
export
import
ondemand
prefs
toolbars
widgets
@ -1632,7 +1632,7 @@ bool NyqBench::Validate()
|
|||||||
{
|
{
|
||||||
if (mScript->GetLastPosition() > 0 && mScript->IsModified()) {
|
if (mScript->GetLastPosition() > 0 && mScript->IsModified()) {
|
||||||
int ans;
|
int ans;
|
||||||
ans = AudacityMessageBox(_("Code has been modified. Are you sure?"),
|
ans = AudacityMessageBox(_("Code has been modified. Are you sure?"),
|
||||||
_("Warning"),
|
_("Warning"),
|
||||||
wxYES_NO | wxICON_QUESTION,
|
wxYES_NO | wxICON_QUESTION,
|
||||||
this);
|
this);
|
||||||
|
@ -618,7 +618,7 @@ void FreqWindow::GetAudio()
|
|||||||
|
|
||||||
if (warning) {
|
if (warning) {
|
||||||
wxString msg;
|
wxString msg;
|
||||||
msg.Printf(_("Too much audio was selected. Only the first %.1f seconds of audio will be analyzed."),
|
msg.Printf(_("Too much audio was selected. Only the first %.1f seconds of audio will be analyzed."),
|
||||||
(mDataLen / mRate));
|
(mDataLen / mRate));
|
||||||
AudacityMessageBox(msg);
|
AudacityMessageBox(msg);
|
||||||
}
|
}
|
||||||
|
@ -114,7 +114,7 @@ bool Module::Load()
|
|||||||
if (versionFn == NULL){
|
if (versionFn == NULL){
|
||||||
wxString ShortName = wxFileName( mName ).GetName();
|
wxString ShortName = wxFileName( mName ).GetName();
|
||||||
AudacityMessageBox(wxString::Format(_("The module %s does not provide a version string.\nIt will not be loaded."), ShortName), _("Module Unsuitable"));
|
AudacityMessageBox(wxString::Format(_("The module %s does not provide a version string.\nIt will not be loaded."), ShortName), _("Module Unsuitable"));
|
||||||
wxLogMessage(wxString::Format(_("The module %s does not provide a version string. It will not be loaded."), mName));
|
wxLogMessage(wxString::Format(_("The module %s does not provide a version string. It will not be loaded."), mName));
|
||||||
mLib->Unload();
|
mLib->Unload();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -123,7 +123,7 @@ bool Module::Load()
|
|||||||
if( !moduleVersion.IsSameAs(AUDACITY_VERSION_STRING)) {
|
if( !moduleVersion.IsSameAs(AUDACITY_VERSION_STRING)) {
|
||||||
wxString ShortName = wxFileName( mName ).GetName();
|
wxString ShortName = wxFileName( mName ).GetName();
|
||||||
AudacityMessageBox(wxString::Format(_("The module %s is matched with Audacity version %s.\n\nIt will not be loaded."), ShortName, moduleVersion), _("Module Unsuitable"));
|
AudacityMessageBox(wxString::Format(_("The module %s is matched with Audacity version %s.\n\nIt will not be loaded."), ShortName, moduleVersion), _("Module Unsuitable"));
|
||||||
wxLogMessage(wxString::Format(_("The module %s is matched with Audacity version %s. It will not be loaded."), mName, moduleVersion));
|
wxLogMessage(wxString::Format(_("The module %s is matched with Audacity version %s. It will not be loaded."), mName, moduleVersion));
|
||||||
mLib->Unload();
|
mLib->Unload();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -1837,7 +1837,7 @@ bool PluginManager::DropFile(const wxString &fileName)
|
|||||||
|
|
||||||
if (!copied) {
|
if (!copied) {
|
||||||
::AudacityMessageBox(
|
::AudacityMessageBox(
|
||||||
_("Plug-in file is in use. Failed to overwrite"));
|
_("Plug-in file is in use. Failed to overwrite"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3915,7 +3915,7 @@ bool AudacityProject::DoSave (const bool fromSaveAs,
|
|||||||
|
|
||||||
if( !wxDir::Exists( projPath ) ){
|
if( !wxDir::Exists( projPath ) ){
|
||||||
AudacityMessageBox(wxString::Format(
|
AudacityMessageBox(wxString::Format(
|
||||||
_("Could not save project. Path not found. Try creating \ndirectory \"%s\" before saving project with this name."),
|
_("Could not save project. Path not found. Try creating \ndirectory \"%s\" before saving project with this name."),
|
||||||
projPath),
|
projPath),
|
||||||
_("Error Saving Project"),
|
_("Error Saving Project"),
|
||||||
wxICON_ERROR, this);
|
wxICON_ERROR, this);
|
||||||
|
@ -1179,7 +1179,7 @@ void ThemeBase::SaveComponents()
|
|||||||
auto result =
|
auto result =
|
||||||
AudacityMessageBox(
|
AudacityMessageBox(
|
||||||
wxString::Format(
|
wxString::Format(
|
||||||
_("Some required files in:\n %s\nwere already present. Overwrite?"),
|
_("Some required files in:\n %s\nwere already present. Overwrite?"),
|
||||||
FileNames::ThemeComponentsDir()),
|
FileNames::ThemeComponentsDir()),
|
||||||
AudacityMessageBoxCaptionStr(),
|
AudacityMessageBoxCaptionStr(),
|
||||||
wxYES_NO | wxNO_DEFAULT);
|
wxYES_NO | wxNO_DEFAULT);
|
||||||
|
@ -3737,7 +3737,7 @@ bool VSTEffect::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
|
|||||||
if (value != GetSymbol().Internal())
|
if (value != GetSymbol().Internal())
|
||||||
{
|
{
|
||||||
wxString msg;
|
wxString msg;
|
||||||
msg.Printf(_("This parameter file was saved from %s. Continue?"), value);
|
msg.Printf(_("This parameter file was saved from %s. Continue?"), value);
|
||||||
int result = AudacityMessageBox(msg, wxT("Confirm"), wxYES_NO, mParent);
|
int result = AudacityMessageBox(msg, wxT("Confirm"), wxYES_NO, mParent);
|
||||||
if (result == wxNO)
|
if (result == wxNO)
|
||||||
{
|
{
|
||||||
|
@ -694,7 +694,7 @@ bool Exporter::GetFilename()
|
|||||||
if (mFilename.FileExists()) {
|
if (mFilename.FileExists()) {
|
||||||
wxString prompt;
|
wxString prompt;
|
||||||
|
|
||||||
prompt.Printf(_("A file named \"%s\" already exists. Replace?"),
|
prompt.Printf(_("A file named \"%s\" already exists. Replace?"),
|
||||||
mFilename.GetFullPath());
|
mFilename.GetFullPath());
|
||||||
|
|
||||||
int action = AudacityMessageBox(prompt,
|
int action = AudacityMessageBox(prompt,
|
||||||
|
@ -261,7 +261,7 @@ static wxString AskCopyOrEdit()
|
|||||||
;
|
;
|
||||||
|
|
||||||
wxString clause3 = _(
|
wxString clause3 = _(
|
||||||
"Reading the files directly allows you to play or edit them almost immediately. "
|
"Reading the files directly allows you to play or edit them almost immediately. "
|
||||||
"This is less safe than copying in, because you must retain the files with their "
|
"This is less safe than copying in, because you must retain the files with their "
|
||||||
"original names in their original locations.\n"
|
"original names in their original locations.\n"
|
||||||
"Help > Diagnostics > Check Dependencies will show the original names and locations of any files "
|
"Help > Diagnostics > Check Dependencies will show the original names and locations of any files "
|
||||||
|
@ -333,7 +333,7 @@ void ODWaveTrackTaskQueue::FillTipForWaveTrack( const WaveTrack * t, wxString &t
|
|||||||
{
|
{
|
||||||
|
|
||||||
// if(GetNumTasks()==1)
|
// if(GetNumTasks()==1)
|
||||||
mTipMsg.Printf(_("%s %2.0f%% complete. Click to change task focal point."), GetFrontTask()->GetTip(), GetFrontTask()->PercentComplete()*100.0 );
|
mTipMsg.Printf(_("%s %2.0f%% complete. Click to change task focal point."), GetFrontTask()->GetTip(), GetFrontTask()->PercentComplete()*100.0 );
|
||||||
// else
|
// else
|
||||||
// msg.Printf(_("%s %d additional tasks remaining."), GetFrontTask()->GetTip(), GetNumTasks());
|
// msg.Printf(_("%s %d additional tasks remaining."), GetFrontTask()->GetTip(), GetNumTasks());
|
||||||
|
|
||||||
|
@ -552,7 +552,7 @@ void KeyConfigPrefs::OnSet(wxCommandEvent & WXUNUSED(event))
|
|||||||
mManager->GetPrefixedLabelFromName(newname) );
|
mManager->GetPrefixedLabelFromName(newname) );
|
||||||
if (AudacityMessageBox(
|
if (AudacityMessageBox(
|
||||||
wxString::Format(
|
wxString::Format(
|
||||||
_("The keyboard shortcut '%s' is already assigned to:\n\n\t'%s'\n\nClick OK to assign the shortcut to\n\n\t'%s'\n\ninstead. Otherwise, click Cancel."),
|
_("The keyboard shortcut '%s' is already assigned to:\n\n\t'%s'\n\nClick OK to assign the shortcut to\n\n\t'%s'\n\ninstead. Otherwise, click Cancel."),
|
||||||
mKey->GetValue(),
|
mKey->GetValue(),
|
||||||
oldlabel,
|
oldlabel,
|
||||||
newlabel),
|
newlabel),
|
||||||
|
@ -98,7 +98,7 @@ void ThemePrefs::PopulateOrExchange(ShuttleGui & S)
|
|||||||
|
|
||||||
#ifdef __WXDEBUG__
|
#ifdef __WXDEBUG__
|
||||||
S.AddFixedText(
|
S.AddFixedText(
|
||||||
_("This is a debug version of Audacity, with an extra button, 'Output Sourcery'. This will save a\nC version of the image cache that can be compiled in as a default.")
|
_("This is a debug version of Audacity, with an extra button, 'Output Sourcery'. This will save a\nC version of the image cache that can be compiled in as a default.")
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -548,7 +548,7 @@ void SelectionBar::SetDrivers( int driver1, int driver2 )
|
|||||||
wxString Format = ( (id!=mDrive1) && (id!=mDrive2 ) ) ? _("%s - driven") : "%s";
|
wxString Format = ( (id!=mDrive1) && (id!=mDrive2 ) ) ? _("%s - driven") : "%s";
|
||||||
wxString Title= wxString::Format( Format, Temp );
|
wxString Title= wxString::Format( Format, Temp );
|
||||||
// i18n-hint: %s1 is replaced e.g by 'Length', %s2 e.g by 'Center'.
|
// i18n-hint: %s1 is replaced e.g by 'Length', %s2 e.g by 'Center'.
|
||||||
wxString VoiceOverText = wxString::Format(_("Selection %s. %s won't change."), Temp, Text[fixed]);
|
wxString VoiceOverText = wxString::Format(_("Selection %s. %s won't change."), Temp, Text[fixed]);
|
||||||
if( *Ctrls[i] ){
|
if( *Ctrls[i] ){
|
||||||
(*Ctrls[i])->SetName( Temp );
|
(*Ctrls[i])->SetName( Temp );
|
||||||
}
|
}
|
||||||
|
@ -2715,10 +2715,10 @@ namespace {
|
|||||||
// IsScrubbing is true if Scrubbing OR seeking.
|
// IsScrubbing is true if Scrubbing OR seeking.
|
||||||
if( scrubber.IsScrubbing() )
|
if( scrubber.IsScrubbing() )
|
||||||
// User is dragging already, explain.
|
// User is dragging already, explain.
|
||||||
return _("Drag to Seek. Release to stop seeking.");
|
return _("Drag to Seek. Release to stop seeking.");
|
||||||
else
|
else
|
||||||
// User has clicked but not yet moved or released.
|
// User has clicked but not yet moved or released.
|
||||||
return _("Drag to Seek. Release and move to Scrub.");
|
return _("Drag to Seek. Release and move to Scrub.");
|
||||||
}
|
}
|
||||||
// Since mouse is up, mention moving first.
|
// Since mouse is up, mention moving first.
|
||||||
return _("Move to Scrub. Drag to Seek.");
|
return _("Move to Scrub. Drag to Seek.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user