Skip to content

Commit c1e091d

Browse files
committed
Formatted localized group name test.
1 parent a5f966c commit c1e091d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Sources/WindowsEmbeddingDemo/main.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ LRESULT CALLBACK ApplicationWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPAR
224224

225225
int wWinMain (HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPWSTR /*lpCmdLine*/, int /*nCmdShow*/)
226226
{
227-
std::wstring poContent = LR"(
227+
std::wstring poContent = LR"str(
228228
msgid "Integer"
229229
msgstr "LocInteger"
230230
msgid "Group"
@@ -233,7 +233,11 @@ int wWinMain (HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPWSTR /*lpCmdLi
233233
msgstr "LocInput"
234234
msgid "Output"
235235
msgstr "LocOutput"
236-
)";
236+
msgid "Add To Group \"%ls\""
237+
msgstr "Loc Add To Group \"%ls\""
238+
msgid "\%ls (\%ls)"
239+
msgstr "Loc %ls (%ls)"
240+
)str";
237241

238242
NUIE::PoDictionarySource poDictionarySource (poContent);
239243
FillDictionary (poDictionarySource);

0 commit comments

Comments
 (0)