mirror of
https://github.com/stenzek/duckstation.git
synced 2026-11-16 19:14:22 +01:00
FullscreenUI: Use plural formatting for binding timeout
This commit is contained in:
2 files changed
+6
-3
No files matched your search
@@ -552,8 +552,11 @@ void FullscreenUI::InputBindingDialog::Draw()
|
||||
ImGui::Dummy(LayoutScale(0.0f, 10.0f));
|
||||
|
||||
ImGui::PushFont(nullptr, UIStyle.MediumLargeFontSize, -1.0f);
|
||||
ImGui::TextAligned(0.5f, width,
|
||||
SmallString::from_format(FSUI_FSTR("Timing out in {:.0f} seconds..."), m_time_remaining));
|
||||
ImGui::TextAligned(
|
||||
0.5f, width, "%s",
|
||||
TinyString::from_format(FSUI_FSTR("Timing out in {}..."),
|
||||
Host::FormatTimespan(std::max(static_cast<int>(std::ceil(m_time_remaining)), 1), true))
|
||||
.c_str());
|
||||
ImGui::PopFont();
|
||||
|
||||
EndRender();
|
||||
|
||||
@@ -875,7 +875,7 @@ TRANSLATE_NOOP("FullscreenUI", "Theme");
|
||||
TRANSLATE_NOOP("FullscreenUI", "This game was not scanned by DuckStation. Some functionality is not available.");
|
||||
TRANSLATE_NOOP("FullscreenUI", "Threaded Rendering");
|
||||
TRANSLATE_NOOP("FullscreenUI", "Time Played: ");
|
||||
TRANSLATE_NOOP("FullscreenUI", "Timing out in {:.0f} seconds...");
|
||||
TRANSLATE_NOOP("FullscreenUI", "Timing out in {}...");
|
||||
TRANSLATE_NOOP("FullscreenUI", "Title");
|
||||
TRANSLATE_NOOP("FullscreenUI", "Title (*)");
|
||||
TRANSLATE_NOOP("FullscreenUI", "Title:");
|
||||
|
||||
Reference in new issue
Block a user