| @@ -352,7 +352,7 @@ public: | |||
| if (error.isNotEmpty()) | |||
| AlertWindow::showMessageBoxAsync (AlertWindow::WarningIcon, | |||
| TRANS ("Error when trying to open audio device!"), | |||
| TRANS("Error when trying to open audio device!"), | |||
| error); | |||
| } | |||
| @@ -410,7 +410,7 @@ public: | |||
| addAndMakeVisible (outputChanList | |||
| = new ChannelSelectorListBox (setup, ChannelSelectorListBox::audioOutputType, | |||
| TRANS ("(no audio output channels found)"))); | |||
| outputChanLabel = new Label (String::empty, TRANS ("active output channels:")); | |||
| outputChanLabel = new Label (String::empty, TRANS("Active output channels:")); | |||
| outputChanLabel->attachToComponent (outputChanList, true); | |||
| } | |||
| @@ -429,8 +429,8 @@ public: | |||
| { | |||
| addAndMakeVisible (inputChanList | |||
| = new ChannelSelectorListBox (setup, ChannelSelectorListBox::audioInputType, | |||
| TRANS ("(no audio input channels found)"))); | |||
| inputChanLabel = new Label (String::empty, TRANS ("active input channels:")); | |||
| TRANS("(no audio input channels found)"))); | |||
| inputChanLabel = new Label (String::empty, TRANS("Active input channels:")); | |||
| inputChanLabel->attachToComponent (inputChanList, true); | |||
| } | |||
| @@ -525,8 +525,8 @@ private: | |||
| if (currentDevice != nullptr && currentDevice->hasControlPanel()) | |||
| { | |||
| addAndMakeVisible (showUIButton = new TextButton (TRANS ("show this device's control panel"), | |||
| TRANS ("opens the device's own control panel"))); | |||
| addAndMakeVisible (showUIButton = new TextButton (TRANS ("Show this device's control panel"), | |||
| TRANS ("Opens the device's own control panel"))); | |||
| showUIButton->addListener (this); | |||
| } | |||
| @@ -544,13 +544,13 @@ private: | |||
| addAndMakeVisible (outputDeviceDropDown); | |||
| outputDeviceLabel = new Label (String::empty, | |||
| type.hasSeparateInputsAndOutputs() ? TRANS ("output:") | |||
| : TRANS ("device:")); | |||
| type.hasSeparateInputsAndOutputs() ? TRANS("Output:") | |||
| : TRANS("Device:")); | |||
| outputDeviceLabel->attachToComponent (outputDeviceDropDown, true); | |||
| if (setup.maxNumOutputChannels > 0) | |||
| { | |||
| addAndMakeVisible (testButton = new TextButton (TRANS ("Test"))); | |||
| addAndMakeVisible (testButton = new TextButton (TRANS("Test"))); | |||
| testButton->addListener (this); | |||
| } | |||
| } | |||
| @@ -571,7 +571,7 @@ private: | |||
| inputDeviceDropDown->addListener (this); | |||
| addAndMakeVisible (inputDeviceDropDown); | |||
| inputDeviceLabel = new Label (String::empty, TRANS ("input:")); | |||
| inputDeviceLabel = new Label (String::empty, TRANS("Input:")); | |||
| inputDeviceLabel->attachToComponent (inputDeviceDropDown, true); | |||
| addAndMakeVisible (inputLevelMeter | |||
| @@ -590,7 +590,7 @@ private: | |||
| { | |||
| addAndMakeVisible (sampleRateDropDown = new ComboBox (String::empty)); | |||
| sampleRateLabel = new Label (String::empty, TRANS ("sample rate:")); | |||
| sampleRateLabel = new Label (String::empty, TRANS("Sample rate:")); | |||
| sampleRateLabel->attachToComponent (sampleRateDropDown, true); | |||
| } | |||
| else | |||
| @@ -617,7 +617,7 @@ private: | |||
| { | |||
| addAndMakeVisible (bufferSizeDropDown = new ComboBox (String::empty)); | |||
| bufferSizeLabel = new Label (String::empty, TRANS ("audio buffer size:")); | |||
| bufferSizeLabel = new Label (String::empty, TRANS("Audio buffer size:")); | |||
| bufferSizeLabel->attachToComponent (bufferSizeDropDown, true); | |||
| } | |||
| else | |||
| @@ -936,7 +936,7 @@ AudioDeviceSelectorComponent::AudioDeviceSelectorComponent (AudioDeviceManager& | |||
| addAndMakeVisible (deviceTypeDropDown); | |||
| deviceTypeDropDown->addListener (this); | |||
| deviceTypeDropDownLabel = new Label (String::empty, TRANS ("Audio device type:")); | |||
| deviceTypeDropDownLabel = new Label (String::empty, TRANS("Audio device type:")); | |||
| deviceTypeDropDownLabel->setJustificationType (Justification::centredRight); | |||
| deviceTypeDropDownLabel->attachToComponent (deviceTypeDropDown, true); | |||
| } | |||