frontend-tools: Fix output-timer translation bug
Don't use tr() to translate, use obs_module_text(). Closes jp9000/obs-studio#735
This commit is contained in:
parent
12f607523d
commit
5133353d92
@ -88,7 +88,7 @@ void OutputTimer::StreamTimerStart()
|
||||
|
||||
streamingTimer->start();
|
||||
streamingTimerDisplay->start(1000);
|
||||
ui->outputTimerStream->setText(tr("Stop"));
|
||||
ui->outputTimerStream->setText(obs_module_text("Stop"));
|
||||
|
||||
UpdateStreamTimerDisplay();
|
||||
}
|
||||
@ -122,7 +122,7 @@ void OutputTimer::RecordTimerStart()
|
||||
|
||||
recordingTimer->start();
|
||||
recordingTimerDisplay->start(1000);
|
||||
ui->outputTimerRecord->setText(tr("Stop"));
|
||||
ui->outputTimerRecord->setText(obs_module_text("Stop"));
|
||||
|
||||
UpdateRecordTimerDisplay();
|
||||
}
|
||||
@ -137,7 +137,7 @@ void OutputTimer::StreamTimerStop()
|
||||
if (streamingTimer->isActive())
|
||||
streamingTimer->stop();
|
||||
|
||||
ui->outputTimerStream->setText(tr("Start"));
|
||||
ui->outputTimerStream->setText(obs_module_text("Start"));
|
||||
|
||||
if (streamingTimerDisplay->isActive())
|
||||
streamingTimerDisplay->stop();
|
||||
@ -155,7 +155,7 @@ void OutputTimer::RecordTimerStop()
|
||||
if (recordingTimer->isActive())
|
||||
recordingTimer->stop();
|
||||
|
||||
ui->outputTimerRecord->setText(tr("Start"));
|
||||
ui->outputTimerRecord->setText(obs_module_text("Start"));
|
||||
|
||||
if (recordingTimerDisplay->isActive())
|
||||
recordingTimerDisplay->stop();
|
||||
|
Loading…
x
Reference in New Issue
Block a user