From 9a01c3fb9f137b666f27fcf8f1bfc3ac9c42346b Mon Sep 17 00:00:00 2001 From: JosJuice Date: Mon, 16 Nov 2020 13:28:11 +0100 Subject: Use positional arguments in all translatable fmt strings We want to use positional arguments in translatable strings that have more than one argument so that translators can change the order of them, but the question is: Should we also use positional arguments in translatable strings with only one argument? I think it makes most sense that way, partially so that translators don't even have to be aware of the non-positional syntax and partially because "translatable strings use positional arguments" is an easier rule for us to remember than "transitional strings which have more than one argument use positional arguments". But let me know if you have a different opinion. --- Source/Core/InputCommon/InputConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/InputConfig.cpp') diff --git a/Source/Core/InputCommon/InputConfig.cpp b/Source/Core/InputCommon/InputConfig.cpp index b531e56003..03d2874332 100644 --- a/Source/Core/InputCommon/InputConfig.cpp +++ b/Source/Core/InputCommon/InputConfig.cpp @@ -73,7 +73,7 @@ bool InputConfig::LoadConfig(bool isGC) if (profiles.empty()) { // TODO: PanicAlert shouldn't be used for this. - PanicAlertFmtT("No profiles found for game setting '{}'", profile_setting); + PanicAlertFmtT("No profiles found for game setting '{0}'", profile_setting); continue; } -- cgit v1.2.3