1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Remove some double space

This commit is contained in:
scootergrisen 2018-01-17 15:50:15 +01:00 committed by James Crook
parent 218eb67316
commit b4f7946e9b
14 changed files with 16 additions and 16 deletions

View File

@ -1632,7 +1632,7 @@ bool NyqBench::Validate()
{
if (mScript->GetLastPosition() > 0 && mScript->IsModified()) {
int ans;
ans = AudacityMessageBox(_("Code has been modified. Are you sure?"),
ans = AudacityMessageBox(_("Code has been modified. Are you sure?"),
_("Warning"),
wxYES_NO | wxICON_QUESTION,
this);

View File

@ -618,7 +618,7 @@ void FreqWindow::GetAudio()
if (warning) {
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));
AudacityMessageBox(msg);
}

View File

@ -114,7 +114,7 @@ bool Module::Load()
if (versionFn == NULL){
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"));
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();
return false;
}
@ -123,7 +123,7 @@ bool Module::Load()
if( !moduleVersion.IsSameAs(AUDACITY_VERSION_STRING)) {
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"));
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();
return false;
}

View File

@ -1837,7 +1837,7 @@ bool PluginManager::DropFile(const wxString &fileName)
if (!copied) {
::AudacityMessageBox(
_("Plug-in file is in use. Failed to overwrite"));
_("Plug-in file is in use. Failed to overwrite"));
return true;
}

View File

@ -3915,7 +3915,7 @@ bool AudacityProject::DoSave (const bool fromSaveAs,
if( !wxDir::Exists( projPath ) ){
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),
_("Error Saving Project"),
wxICON_ERROR, this);

View File

@ -1179,7 +1179,7 @@ void ThemeBase::SaveComponents()
auto result =
AudacityMessageBox(
wxString::Format(
_("Some required files in:\n %s\nwere already present. Overwrite?"),
_("Some required files in:\n %s\nwere already present. Overwrite?"),
FileNames::ThemeComponentsDir()),
AudacityMessageBoxCaptionStr(),
wxYES_NO | wxNO_DEFAULT);

View File

@ -3737,7 +3737,7 @@ bool VSTEffect::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
if (value != GetSymbol().Internal())
{
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);
if (result == wxNO)
{

View File

@ -694,7 +694,7 @@ bool Exporter::GetFilename()
if (mFilename.FileExists()) {
wxString prompt;
prompt.Printf(_("A file named \"%s\" already exists. Replace?"),
prompt.Printf(_("A file named \"%s\" already exists. Replace?"),
mFilename.GetFullPath());
int action = AudacityMessageBox(prompt,

View File

@ -261,7 +261,7 @@ static wxString AskCopyOrEdit()
;
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 "
"original names in their original locations.\n"
"Help > Diagnostics > Check Dependencies will show the original names and locations of any files "

View File

@ -333,7 +333,7 @@ void ODWaveTrackTaskQueue::FillTipForWaveTrack( const WaveTrack * t, wxString &t
{
// 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
// msg.Printf(_("%s %d additional tasks remaining."), GetFrontTask()->GetTip(), GetNumTasks());

View File

@ -552,7 +552,7 @@ void KeyConfigPrefs::OnSet(wxCommandEvent & WXUNUSED(event))
mManager->GetPrefixedLabelFromName(newname) );
if (AudacityMessageBox(
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(),
oldlabel,
newlabel),

View File

@ -98,7 +98,7 @@ void ThemePrefs::PopulateOrExchange(ShuttleGui & S)
#ifdef __WXDEBUG__
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

View File

@ -548,7 +548,7 @@ void SelectionBar::SetDrivers( int driver1, int driver2 )
wxString Format = ( (id!=mDrive1) && (id!=mDrive2 ) ) ? _("%s - driven") : "%s";
wxString Title= wxString::Format( Format, Temp );
// 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] ){
(*Ctrls[i])->SetName( Temp );
}

View File

@ -2715,10 +2715,10 @@ namespace {
// IsScrubbing is true if Scrubbing OR seeking.
if( scrubber.IsScrubbing() )
// User is dragging already, explain.
return _("Drag to Seek. Release to stop seeking.");
return _("Drag to Seek. Release to stop seeking.");
else
// 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.
return _("Move to Scrub. Drag to Seek.");