mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-27 04:16:46 -08:00
Fix #149
This commit is contained in:
1 parent
3515788e26
commit
17e3c2e022
5 files changed
+133
-177
No files matched your search
+71
-25
@@ -130,8 +130,12 @@ settings::settings(wivrn_server * server_interface) :
|
||||
connect(ui->combo_select_game, &QComboBox::currentIndexChanged, this, &settings::on_selected_game_changed);
|
||||
connect(ui->button_game_browse, &QPushButton::clicked, this, &settings::on_browse_game);
|
||||
|
||||
// Use a queued connection so that the slot is called after the widgets have been laid out
|
||||
connect(ui->radio_manual_encoder, &QRadioButton::toggled, this, [&](bool value) {
|
||||
if (value)
|
||||
ui->scrollArea->ensureWidgetVisible(ui->layout_encoder_config); }, Qt::QueuedConnection);
|
||||
|
||||
connect(ui->partitionner, &rectangle_partitionner::selected_index_change, this, &settings::selected_rectangle_changed);
|
||||
// connect(ui->partitionner, &rectangle_partitionner::rectangles_change, this, [](){});
|
||||
|
||||
connect(ui->encoder, &QComboBox::currentIndexChanged, this, &settings::on_selected_encoder_changed);
|
||||
connect(ui->encoder, &QComboBox::currentIndexChanged, this, &settings::on_encoder_settings_changed);
|
||||
@@ -142,6 +146,7 @@ settings::settings(wivrn_server * server_interface) :
|
||||
|
||||
setWindowModality(Qt::WindowModality::ApplicationModal);
|
||||
|
||||
fill_steam_games_list();
|
||||
load_settings();
|
||||
|
||||
ui->partitionner->set_paint([&](QPainter & painter, QRect rect, const QVariant & data, int index, bool selected) {
|
||||
@@ -186,6 +191,19 @@ settings::~settings()
|
||||
ui = nullptr;
|
||||
}
|
||||
|
||||
void settings::fill_steam_games_list()
|
||||
{
|
||||
ui->combo_select_game->clear();
|
||||
ui->combo_select_game->addItem(tr("None", "Game selection combo box"));
|
||||
ui->combo_select_game->addItem(tr("Custom...", "Game selection combo box"));
|
||||
|
||||
auto apps = steam_apps();
|
||||
for (auto & app: apps)
|
||||
{
|
||||
ui->combo_select_game->addItem(QString::fromUtf8(app.name), QVariant::fromValue(app));
|
||||
}
|
||||
}
|
||||
|
||||
void settings::on_selected_encoder_changed()
|
||||
{
|
||||
int encoder = ui->encoder->currentIndex();
|
||||
@@ -317,6 +335,7 @@ void settings::restore_defaults()
|
||||
ui->bitrate->setValue(50);
|
||||
ui->radio_auto_foveation->setChecked(true);
|
||||
ui->radio_auto_encoder->setChecked(true);
|
||||
ui->layout_encoder_config->setVisible(false);
|
||||
|
||||
std::vector<QRectF> rectangles;
|
||||
std::vector<QVariant> encoder_config;
|
||||
@@ -327,7 +346,7 @@ void settings::restore_defaults()
|
||||
|
||||
ui->partitionner->set_rectangles(rectangles);
|
||||
ui->partitionner->set_rectangles_data(encoder_config);
|
||||
ui->partitionner->set_selected_index(-1);
|
||||
ui->partitionner->set_selected_index(0);
|
||||
|
||||
ui->combo_select_game->setCurrentIndex(0);
|
||||
ui->edit_game_path->setText("");
|
||||
@@ -351,7 +370,9 @@ void settings::load_settings()
|
||||
// Encoders configuration
|
||||
try
|
||||
{
|
||||
json_doc = nlohmann::json::parse(server_interface->jsonConfiguration().toUtf8());
|
||||
auto conf = server_interface->jsonConfiguration();
|
||||
qDebug() << "Server config" << conf;
|
||||
json_doc = nlohmann::json::parse(conf.toUtf8());
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
@@ -420,7 +441,15 @@ void settings::load_settings()
|
||||
|
||||
ui->partitionner->set_rectangles(rectangles);
|
||||
ui->partitionner->set_rectangles_data(encoder_config);
|
||||
ui->partitionner->set_selected_index(-1);
|
||||
|
||||
if (rectangles.size() == 1)
|
||||
{
|
||||
ui->partitionner->set_selected_index(0);
|
||||
// Force updating the combo boxes, if the selected index is already 0 the signal is not called
|
||||
selected_rectangle_changed(0);
|
||||
}
|
||||
else
|
||||
ui->partitionner->set_selected_index(-1);
|
||||
|
||||
// Foveation
|
||||
try
|
||||
@@ -445,35 +474,52 @@ void settings::load_settings()
|
||||
}
|
||||
|
||||
// Bitrate
|
||||
ui->bitrate->setValue(json_doc.value("bitrate", 50'000'000.0) / 1'000'000);
|
||||
try
|
||||
{
|
||||
ui->bitrate->setValue(json_doc.value("bitrate", 50'000'000.0) / 1'000'000);
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
ui->bitrate->setValue(50);
|
||||
}
|
||||
|
||||
// Automatically started application
|
||||
std::vector<std::string> application;
|
||||
|
||||
if (json_doc["application"].is_array())
|
||||
application = json_doc.value<std::vector<std::string>>("application", {});
|
||||
else if (json_doc["application"].is_string())
|
||||
application.push_back(json_doc["application"]);
|
||||
|
||||
ui->combo_select_game->clear();
|
||||
ui->combo_select_game->addItem(tr("None", "Game selection combo box"));
|
||||
ui->combo_select_game->addItem(tr("Custom...", "Game selection combo box"));
|
||||
|
||||
auto apps = steam_apps();
|
||||
for (auto & app: apps)
|
||||
try
|
||||
{
|
||||
ui->combo_select_game->addItem(QString::fromUtf8(app.name), QVariant::fromValue(app));
|
||||
if (json_doc["application"].is_array())
|
||||
application = json_doc.value<std::vector<std::string>>("application", {});
|
||||
else if (json_doc["application"].is_string())
|
||||
application.push_back(json_doc["application"]);
|
||||
|
||||
if (application.size() == 2 and application[0] == "steam" and application[1] == app.url)
|
||||
int game_index = 0;
|
||||
if (application.size() == 2 and application[0] == "steam")
|
||||
{
|
||||
ui->combo_select_game->setCurrentIndex(ui->combo_select_game->count() - 1);
|
||||
}
|
||||
}
|
||||
auto url = application[1];
|
||||
|
||||
if (not application.empty() and ui->combo_select_game->currentIndex() == 0)
|
||||
// Indices 0 and 1 are None and Custom
|
||||
for (int i = 2, n = ui->combo_select_game->count(); i < n; i++)
|
||||
{
|
||||
QVariant data = ui->combo_select_game->itemData(i);
|
||||
if (data.value<steam_app>().url == url)
|
||||
{
|
||||
game_index = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (game_index == 0 and not application.empty())
|
||||
{
|
||||
game_index = 1;
|
||||
set_application(application);
|
||||
}
|
||||
|
||||
ui->combo_select_game->setCurrentIndex(game_index);
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
ui->combo_select_game->setCurrentIndex(1);
|
||||
set_application(application);
|
||||
ui->combo_select_game->setCurrentIndex(0);
|
||||
}
|
||||
|
||||
// Update the compatible codecs
|
||||
|
||||
@@ -51,6 +51,8 @@ private:
|
||||
void save_settings();
|
||||
void restore_defaults();
|
||||
|
||||
void fill_steam_games_list();
|
||||
|
||||
void set_application(const std::vector<std::string> & app);
|
||||
std::vector<std::string> application();
|
||||
};
|
||||
+6
-114
@@ -223,9 +223,6 @@
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="rectangle_partitionner" name="partitionner">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
@@ -259,9 +256,6 @@
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="encoder_label">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
@@ -278,15 +272,15 @@
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QComboBox" name="encoder">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>No encoder selected</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Auto</string>
|
||||
@@ -311,15 +305,15 @@
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QComboBox" name="codec">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>No encoder selected</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Auto</string>
|
||||
@@ -344,9 +338,6 @@
|
||||
</item>
|
||||
<item row="2" column="0" colspan="2">
|
||||
<widget class="QLabel" name="message">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>220</width>
|
||||
@@ -363,9 +354,6 @@
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="codec_label">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
@@ -751,102 +739,6 @@ The recommended values are between 20% and 50% for headsets without eye tracking
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>radio_manual_encoder</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>partitionner</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>888</x>
|
||||
<y>663</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>449</x>
|
||||
<y>745</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>radio_manual_encoder</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>encoder</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>888</x>
|
||||
<y>663</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>952</x>
|
||||
<y>695</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>radio_manual_encoder</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>codec</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>888</x>
|
||||
<y>663</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>952</x>
|
||||
<y>734</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>radio_manual_encoder</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>encoder_label</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>888</x>
|
||||
<y>663</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>715</x>
|
||||
<y>695</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>radio_manual_encoder</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>codec_label</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>888</x>
|
||||
<y>663</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>715</x>
|
||||
<y>734</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>radio_manual_encoder</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>message</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>888</x>
|
||||
<y>663</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>764</x>
|
||||
<y>778</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>radio_manual_encoder</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
|
||||
+27
-19
@@ -204,17 +204,17 @@
|
||||
<translation type="vanished"><html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>You can drag an edge to resize or remove encoders.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="297"/>
|
||||
<location filename="settings.ui" line="291"/>
|
||||
<source>nvenc (NVIDIA GPUs)</source>
|
||||
<translation>nvenc (NVIDIA GPUs)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="302"/>
|
||||
<location filename="settings.ui" line="296"/>
|
||||
<source>vaapi (AMD and Intel GPUs)</source>
|
||||
<translation>vaapi (AMD and Intel GPUs)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="307"/>
|
||||
<location filename="settings.ui" line="301"/>
|
||||
<source>x264 (software encoding)</source>
|
||||
<translation>x264 (software encoding)</translation>
|
||||
</message>
|
||||
@@ -226,12 +226,12 @@
|
||||
<translation>Manual</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="393"/>
|
||||
<location filename="settings.ui" line="381"/>
|
||||
<source>Application to start when a headset connects</source>
|
||||
<translation>Application to start when a headset connects</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="470"/>
|
||||
<location filename="settings.ui" line="458"/>
|
||||
<source>Path</source>
|
||||
<translation>Path</translation>
|
||||
</message>
|
||||
@@ -260,13 +260,19 @@
|
||||
<translation><html><head/><body><p>To add a new encoder, split an existing encoder by clicking near an edge.</p><p>Drag an edge to resize or remove encoders.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="272"/>
|
||||
<location filename="settings.ui" line="266"/>
|
||||
<source>Encoder</source>
|
||||
<translation>Encoder</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="292"/>
|
||||
<location filename="settings.ui" line="325"/>
|
||||
<location filename="settings.ui" line="282"/>
|
||||
<location filename="settings.ui" line="315"/>
|
||||
<source>No encoder selected</source>
|
||||
<translation>No encoder selected</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="286"/>
|
||||
<location filename="settings.ui" line="319"/>
|
||||
<source>Auto</source>
|
||||
<translation>Auto</translation>
|
||||
</message>
|
||||
@@ -277,7 +283,7 @@
|
||||
<translation>Automatic</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="581"/>
|
||||
<location filename="settings.ui" line="569"/>
|
||||
<source>A stronger foveation makes the image sharper in the center than in the periphery and makes the decoding faster. This is better for fast paced games.
|
||||
|
||||
A weaker foveation gives a uniform sharpness in the whole image.
|
||||
@@ -297,17 +303,17 @@ The recommended values are between 20% and 50% for headsets without eye tracking
|
||||
<translation>Automatic</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="556"/>
|
||||
<location filename="settings.ui" line="544"/>
|
||||
<source>WiVRn settings</source>
|
||||
<translation>WiVRn settings</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="376"/>
|
||||
<location filename="settings.ui" line="364"/>
|
||||
<source>Codec</source>
|
||||
<translation>Codec</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="499"/>
|
||||
<location filename="settings.ui" line="487"/>
|
||||
<source> Mbit/s</source>
|
||||
<translation> Mbit/s</translation>
|
||||
</message>
|
||||
@@ -325,7 +331,7 @@ The recommended values are between 20% and 50% for headsets without eye tracking
|
||||
<translation>Browse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="444"/>
|
||||
<location filename="settings.ui" line="432"/>
|
||||
<source> %</source>
|
||||
<translation> %</translation>
|
||||
</message>
|
||||
@@ -640,36 +646,38 @@ Do you want to install it?</translation>
|
||||
<context>
|
||||
<name>settings</name>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="372"/>
|
||||
<location filename="settings.cpp" line="420"/>
|
||||
<source>Invalid settings</source>
|
||||
<translation>Invalid settings</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="372"/>
|
||||
<location filename="settings.cpp" line="420"/>
|
||||
<source>The encoder configuration is invalid, the default values will be restored.</source>
|
||||
<translation>The encoder configuration is invalid, the default values will be restored.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="428"/>
|
||||
<location filename="settings.cpp" line="193"/>
|
||||
<location filename="settings.cpp" line="476"/>
|
||||
<source>None</source>
|
||||
<comment>Game selection combo box</comment>
|
||||
<translation>None</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="429"/>
|
||||
<location filename="settings.cpp" line="194"/>
|
||||
<location filename="settings.cpp" line="477"/>
|
||||
<source>Custom...</source>
|
||||
<comment>Game selection combo box</comment>
|
||||
<translation>Custom...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="217"/>
|
||||
<location filename="settings.cpp" line="262"/>
|
||||
<source>Not all headsets and GPUs support AV1
|
||||
</source>
|
||||
<translation>Not all headsets and GPUs support AV1
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="248"/>
|
||||
<location filename="settings.cpp" line="293"/>
|
||||
<source>Select game</source>
|
||||
<translation>Select game</translation>
|
||||
</message>
|
||||
|
||||
+27
-19
@@ -204,17 +204,17 @@
|
||||
<translation type="vanished"><html><head/><body><p>Pour ajouter un encodeur, découpez un encodeur existant en cliquant près d'un bord.</p><p>Vous pouvez déplacer un bord pour redimensionner ou supprimer un encodeur.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="297"/>
|
||||
<location filename="settings.ui" line="291"/>
|
||||
<source>nvenc (NVIDIA GPUs)</source>
|
||||
<translation>nvenc (GPUs NVIDIA)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="302"/>
|
||||
<location filename="settings.ui" line="296"/>
|
||||
<source>vaapi (AMD and Intel GPUs)</source>
|
||||
<translation>vaapi (GPUs AMD et Intel)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="307"/>
|
||||
<location filename="settings.ui" line="301"/>
|
||||
<source>x264 (software encoding)</source>
|
||||
<translation>x264 (encodage logiciel)</translation>
|
||||
</message>
|
||||
@@ -226,12 +226,12 @@
|
||||
<translation>Manuelle</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="393"/>
|
||||
<location filename="settings.ui" line="381"/>
|
||||
<source>Application to start when a headset connects</source>
|
||||
<translation>Application à démarrer quand un casque est connecté</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="470"/>
|
||||
<location filename="settings.ui" line="458"/>
|
||||
<source>Path</source>
|
||||
<translation>Chemin</translation>
|
||||
</message>
|
||||
@@ -260,13 +260,19 @@
|
||||
<translation><html><head/><body><p>Pour ajouter un encodeur, découpez un encodeur existant en cliquant près d'un bord.</p><p>Déplacez un bord pour redimensionner ou supprimer un encodeur.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="272"/>
|
||||
<location filename="settings.ui" line="266"/>
|
||||
<source>Encoder</source>
|
||||
<translation>Encodeur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="292"/>
|
||||
<location filename="settings.ui" line="325"/>
|
||||
<location filename="settings.ui" line="282"/>
|
||||
<location filename="settings.ui" line="315"/>
|
||||
<source>No encoder selected</source>
|
||||
<translation>Aucun encodeur sélectionné</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="286"/>
|
||||
<location filename="settings.ui" line="319"/>
|
||||
<source>Auto</source>
|
||||
<translation>Automatique</translation>
|
||||
</message>
|
||||
@@ -277,7 +283,7 @@
|
||||
<translation>Automatique</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="581"/>
|
||||
<location filename="settings.ui" line="569"/>
|
||||
<source>A stronger foveation makes the image sharper in the center than in the periphery and makes the decoding faster. This is better for fast paced games.
|
||||
|
||||
A weaker foveation gives a uniform sharpness in the whole image.
|
||||
@@ -297,17 +303,17 @@ Les valeurs recommandées sont entre 20% et 50% pour les casques sans suivi des
|
||||
<translation>Automatique</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="556"/>
|
||||
<location filename="settings.ui" line="544"/>
|
||||
<source>WiVRn settings</source>
|
||||
<translation>Paramètres de WiVRn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="376"/>
|
||||
<location filename="settings.ui" line="364"/>
|
||||
<source>Codec</source>
|
||||
<translation>Codec</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="499"/>
|
||||
<location filename="settings.ui" line="487"/>
|
||||
<source> Mbit/s</source>
|
||||
<translation> Mbit/s</translation>
|
||||
</message>
|
||||
@@ -325,7 +331,7 @@ Les valeurs recommandées sont entre 20% et 50% pour les casques sans suivi des
|
||||
<translation>Parcourir</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.ui" line="444"/>
|
||||
<location filename="settings.ui" line="432"/>
|
||||
<source> %</source>
|
||||
<translation> %</translation>
|
||||
</message>
|
||||
@@ -640,36 +646,38 @@ Voulez-vous l'installer ?</translation>
|
||||
<context>
|
||||
<name>settings</name>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="372"/>
|
||||
<location filename="settings.cpp" line="420"/>
|
||||
<source>Invalid settings</source>
|
||||
<translation>Paramètres invalides</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="372"/>
|
||||
<location filename="settings.cpp" line="420"/>
|
||||
<source>The encoder configuration is invalid, the default values will be restored.</source>
|
||||
<translation>La configuration des encodeurs est invalide, les valeurs par défaut seront restaurées.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="428"/>
|
||||
<location filename="settings.cpp" line="193"/>
|
||||
<location filename="settings.cpp" line="476"/>
|
||||
<source>None</source>
|
||||
<comment>Game selection combo box</comment>
|
||||
<translation>Aucun</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="429"/>
|
||||
<location filename="settings.cpp" line="194"/>
|
||||
<location filename="settings.cpp" line="477"/>
|
||||
<source>Custom...</source>
|
||||
<comment>Game selection combo box</comment>
|
||||
<translation>Personnalisé...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="217"/>
|
||||
<location filename="settings.cpp" line="262"/>
|
||||
<source>Not all headsets and GPUs support AV1
|
||||
</source>
|
||||
<translation>Tous les casques et GPUs ne supportent pas AV1
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="248"/>
|
||||
<location filename="settings.cpp" line="293"/>
|
||||
<source>Select game</source>
|
||||
<translation>Choisir un jeu</translation>
|
||||
</message>
|
||||
|
||||
Reference in new issue
Block a user