Camera translation (#3747)
* citra_qt: correct spelling in configuration * citra_qt/camera: Changed the order of the translation The translation may not correspond to "couln't load" and "the camera", so create two cases which can get translated individually. Also add a space after "the camera". * citra_qt/camera: use the same syntax for the filter in "still_image_camera.cpp" as in "configure_camera.cpp" * citra_qt/camera: the config should only get added if it's not empty
This commit is contained in:
@@ -52,7 +52,7 @@ const std::string StillImageCameraFactory::getFilePath() {
|
||||
temp_filters << QString("*." + QString(type));
|
||||
}
|
||||
|
||||
QString filter = QObject::tr("Supported image files (") + temp_filters.join(" ") + ")";
|
||||
QString filter = QObject::tr("Supported image files (%1)").arg(temp_filters.join(" "));
|
||||
|
||||
return QFileDialog::getOpenFileName(nullptr, QObject::tr("Open File"), ".", filter)
|
||||
.toStdString();
|
||||
|
||||
Reference in New Issue
Block a user