Clarify messages, use the degree symbol instead of 'deg'
This commit is contained in:
@@ -218,7 +218,7 @@ void settings_performance(const settings_context & ctx)
|
|||||||
list.push_back({
|
list.push_back({
|
||||||
.id = "##refresh",
|
.id = "##refresh",
|
||||||
.label = _("Refresh rate"),
|
.label = _("Refresh rate"),
|
||||||
.description = _("Select refresh rate based on measured application performance. May cause flicker when a change happens."),
|
.description = _("Use 'auto' to select the refresh rate based on measured application performance. May cause flicker when a change happens."),
|
||||||
.ui = ui_kind::segmented,
|
.ui = ui_kind::segmented,
|
||||||
.get_int = [&config, rates] {
|
.get_int = [&config, rates] {
|
||||||
for (size_t i = 0; i < rates.size(); ++i)
|
for (size_t i = 0; i < rates.size(); ++i)
|
||||||
@@ -241,7 +241,7 @@ void settings_performance(const settings_context & ctx)
|
|||||||
ctx.on_streaming_changed(); },
|
ctx.on_streaming_changed(); },
|
||||||
.options = [rates] {
|
.options = [rates] {
|
||||||
std::vector<std::string> opts;
|
std::vector<std::string> opts;
|
||||||
opts.push_back(_C("automatic refresh rate", "Auto"));
|
opts.push_back(_C("automatic refresh rate, use a short string", "Auto"));
|
||||||
for (float r: rates)
|
for (float r: rates)
|
||||||
opts.push_back(fmt::format("{}", int(r)));
|
opts.push_back(fmt::format("{}", int(r)));
|
||||||
return opts; },
|
return opts; },
|
||||||
@@ -534,7 +534,7 @@ void settings_audio(const settings_context & ctx)
|
|||||||
list.push_back({
|
list.push_back({
|
||||||
.id = "##unprocessed",
|
.id = "##unprocessed",
|
||||||
.label = _C("setting name", "Unprocessed audio"),
|
.label = _C("setting name", "Unprocessed audio"),
|
||||||
.description = _("Force disable audio filters, such as noise cancellation."),
|
.description = _("Disable audio filters, such as noise cancellation."),
|
||||||
.ui = ui_kind::toggle,
|
.ui = ui_kind::toggle,
|
||||||
.get_bool = [&config] { return config.mic_unprocessed_audio; },
|
.get_bool = [&config] { return config.mic_unprocessed_audio; },
|
||||||
.set_bool = [&config](bool v) { config.mic_unprocessed_audio = v; config.save(); },
|
.set_bool = [&config](bool v) { config.mic_unprocessed_audio = v; config.save(); },
|
||||||
|
|||||||
@@ -477,7 +477,7 @@ void scenes::stream::gui_foveation_settings(float predicted_display_period)
|
|||||||
ImGui::PushFont(nullptr, constants::gui::font_size_large);
|
ImGui::PushFont(nullptr, constants::gui::font_size_large);
|
||||||
ImGui::Text("%s", _S("Use the thumbsticks to move the foveation center"));
|
ImGui::Text("%s", _S("Use the thumbsticks to move the foveation center"));
|
||||||
ImGui::Text("%s", _S("Press A to save or B to cancel"));
|
ImGui::Text("%s", _S("Press A to save or B to cancel"));
|
||||||
ImGui::Text("%s", fmt::format(_F("Height {:.1f} deg"), -override_foveation_pitch * 180 / M_PI).c_str());
|
ImGui::Text("%s", fmt::format(_F("Height {:.1f} °"), -override_foveation_pitch * 180 / M_PI).c_str());
|
||||||
ImGui::Text("%s", fmt::format(_F("Distance {:.2f} m"), override_foveation_distance).c_str());
|
ImGui::Text("%s", fmt::format(_F("Distance {:.2f} m"), override_foveation_distance).c_str());
|
||||||
ImGui::PopFont();
|
ImGui::PopFont();
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -747,7 +747,7 @@ msgstr "Aktivieren"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "Höhe {:.1f} deg"
|
msgstr "Höhe {:.1f} deg"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:433 client/scenes/stream_gui.cpp:504
|
#: client/scenes/stream_gui.cpp:433 client/scenes/stream_gui.cpp:504
|
||||||
|
|||||||
+1
-1
@@ -801,7 +801,7 @@ msgstr "Habilitar"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "Altura {:.1f} °"
|
msgstr "Altura {:.1f} °"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
||||||
|
|||||||
+1
-1
@@ -804,7 +804,7 @@ msgstr "Activer"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "Hauteur : {:.1f} deg"
|
msgstr "Hauteur : {:.1f} deg"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
||||||
|
|||||||
+1
-1
@@ -745,7 +745,7 @@ msgstr "Attiva"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "Altezza {:.1f} deg"
|
msgstr "Altezza {:.1f} deg"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||||
|
|||||||
+1
-1
@@ -780,7 +780,7 @@ msgstr "有効"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "仰角 {:.1f}°"
|
msgstr "仰角 {:.1f}°"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
||||||
|
|||||||
+1
-1
@@ -743,7 +743,7 @@ msgstr "ჩართვა"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "სიმაღლე {:.1f} გრად"
|
msgstr "სიმაღლე {:.1f} გრად"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:433 client/scenes/stream_gui.cpp:504
|
#: client/scenes/stream_gui.cpp:433 client/scenes/stream_gui.cpp:504
|
||||||
|
|||||||
+1
-1
@@ -617,7 +617,7 @@ msgstr "Włącz"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:532 client/scenes/stream_gui.cpp:579
|
#: client/scenes/stream_gui.cpp:532 client/scenes/stream_gui.cpp:579
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "Wysokość {:.1f} stopni"
|
msgstr "Wysokość {:.1f} stopni"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:533 client/scenes/stream_gui.cpp:580
|
#: client/scenes/stream_gui.cpp:533 client/scenes/stream_gui.cpp:580
|
||||||
|
|||||||
@@ -797,7 +797,7 @@ msgstr "Habilitar"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "Altura {:.1f} graus"
|
msgstr "Altura {:.1f} graus"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
||||||
|
|||||||
+1
-1
@@ -714,7 +714,7 @@ msgstr "Включить"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
|
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "Высота {:.1f} градусов"
|
msgstr "Высота {:.1f} градусов"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615
|
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615
|
||||||
|
|||||||
+1
-1
@@ -794,7 +794,7 @@ msgstr "Zapnúť"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "Výška: {:.1f} deg"
|
msgstr "Výška: {:.1f} deg"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
||||||
|
|||||||
+1
-1
@@ -742,7 +742,7 @@ msgstr "Aktif et"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
#: client/scenes/stream_gui.cpp:431 client/scenes/stream_gui.cpp:502
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "Boy {:.1f} deg"
|
msgstr "Boy {:.1f} deg"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
#: client/scenes/stream_gui.cpp:432 client/scenes/stream_gui.cpp:503
|
||||||
|
|||||||
@@ -785,7 +785,7 @@ msgstr "启用"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
#: client/scenes/stream_gui.cpp:440 client/scenes/stream_gui.cpp:511
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "俯仰 {:.1f}°"
|
msgstr "俯仰 {:.1f}°"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
#: client/scenes/stream_gui.cpp:441 client/scenes/stream_gui.cpp:512
|
||||||
|
|||||||
@@ -529,7 +529,7 @@ msgstr "啟用"
|
|||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
|
#: client/scenes/stream_gui.cpp:514 client/scenes/stream_gui.cpp:561
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} °"
|
||||||
msgstr "高度 {:.1f} 度"
|
msgstr "高度 {:.1f} 度"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
|
#: client/scenes/stream_gui.cpp:515 client/scenes/stream_gui.cpp:562
|
||||||
|
|||||||
Reference in New Issue
Block a user