mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #1792] [MERGED] Plurality for non-Qt messages #704
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stenzek/duckstation/pull/1792
Author: @CookiePLMonster
Created: 3/12/2021
Status: ✅ Merged
Merged: 3/13/2021
Merged by: @stenzek
Base:
master← Head:plurality-pass📝 Commits (4)
787ab5dString: Add a new constructor948a6b5Make TranslateString and TranslateStdString support numbers6350bb0Hook up plurality to OSD messages5515a58Update PL localization📊 Changes
9 files changed (+497 additions, -390 deletions)
View changed files
📝
src/common/string.cpp(+5 -0)📝
src/common/string.h(+9 -0)📝
src/core/host_interface.cpp(+41 -4)📝
src/core/host_interface.h(+4 -2)📝
src/duckstation-qt/qthostinterface.cpp(+10 -16)📝
src/duckstation-qt/qthostinterface.h(+4 -4)📝
src/duckstation-qt/translations/duckstation-qt_en.ts(+45 -0)📝
src/duckstation-qt/translations/duckstation-qt_pl.ts(+368 -355)📝
src/frontend-common/common_host_interface.cpp(+11 -9)📄 Description
Extends
TranslateStringandTranslateStdStringto supportdisambiguationandnparameters, and hooks them up to cheat OSD messages.English and Polish translations are updated accordingly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.