2009-11-10 16:48:42 +01:00
|
|
|
#include "rar.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-07-15 00:40:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef RARDLL
|
|
|
|
const wchar* St(MSGID StringId)
|
2009-11-10 16:48:42 +01:00
|
|
|
{
|
2020-07-15 00:40:26 +02:00
|
|
|
return StringId;
|
2009-11-10 16:48:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-07-15 00:40:26 +02:00
|
|
|
// Needed for Unix swprintf to convert %s to %ls in legacy language resources.
|
|
|
|
const wchar *StF(MSGID StringId)
|
|
|
|
{
|
|
|
|
static wchar FormattedStr[512];
|
|
|
|
PrintfPrepareFmt(St(StringId),FormattedStr,ASIZE(FormattedStr));
|
|
|
|
return FormattedStr;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|