Clarify messages, use the degree symbol instead of 'deg'

This commit is contained in:
Guillaume Meunier
2026-07-26 17:24:37 +02:00
parent 741114272a
commit c40d9eeddc
15 changed files with 17 additions and 17 deletions
+3 -3
View File
@@ -218,7 +218,7 @@ void settings_performance(const settings_context & ctx)
list.push_back({
.id = "##refresh",
.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,
.get_int = [&config, rates] {
for (size_t i = 0; i < rates.size(); ++i)
@@ -241,7 +241,7 @@ void settings_performance(const settings_context & ctx)
ctx.on_streaming_changed(); },
.options = [rates] {
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)
opts.push_back(fmt::format("{}", int(r)));
return opts; },
@@ -534,7 +534,7 @@ void settings_audio(const settings_context & ctx)
list.push_back({
.id = "##unprocessed",
.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,
.get_bool = [&config] { return config.mic_unprocessed_audio; },
.set_bool = [&config](bool v) { config.mic_unprocessed_audio = v; config.save(); },
+1 -1
View File
@@ -477,7 +477,7 @@ void scenes::stream::gui_foveation_settings(float predicted_display_period)
ImGui::PushFont(nullptr, constants::gui::font_size_large);
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", 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::PopFont();