mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-26 01:21:58 -04:00
UI: Isolate filter localization strings
To prevent from causing confusion/issues for our most awesome and respected locale editors, only localize and translate the relevant text rather than the extensions of the filter.
This commit is contained in:
@@ -1264,10 +1264,15 @@ void OBSBasicSettings::on_advOutRecPathBrowse_clicked()
|
||||
|
||||
void OBSBasicSettings::on_advOutFFPathBrowse_clicked()
|
||||
{
|
||||
QString filter;
|
||||
filter += QTStr("Basic.Settings.Output.Adv.FFmpeg.SaveFilter.Common");
|
||||
filter += " (*.avi *.mp4 *.flv *.ts *.mkv *.wav *.aac);;";
|
||||
filter += QTStr("Basic.Settings.Output.Adv.FFmpeg.SaveFilter.All");
|
||||
filter += " (*.*)";
|
||||
|
||||
QString file = QFileDialog::getSaveFileName(this,
|
||||
QTStr("Basic.Settings.Output.SelectFile"),
|
||||
ui->simpleOutputPath->text(),
|
||||
QTStr("Basic.Settings.Output.Adv.FFmpeg.SaveFilter"));
|
||||
ui->simpleOutputPath->text(), filter);
|
||||
if (file.isEmpty())
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user