MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / gui_string

Function gui_string

src/plugin/Settings.cpp:36–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34const wchar_t *default_delimiter_exclusions() { return L"'’_"; }
35
36std::wstring gui_string(LanguageNameStyle value) {
37 switch (value) {
38 case LanguageNameStyle::original:
39 return rc_str(IDS_LANGUAGE_NAME_STYLE_ORIGINAL);
40 case LanguageNameStyle::english:
41 return rc_str(IDS_LANGUAGE_NAME_STYLE_ENGLISH);
42 case LanguageNameStyle::localized:
43 return rc_str(IDS_LANGUAGE_NAME_STYLE_LOCALIZED);
44 case LanguageNameStyle::native:
45 return rc_str(IDS_LANGUAGE_NAME_STYLE_NATIVE);
46 case LanguageNameStyle::COUNT:
47 break;
48 }
49 throw std::runtime_error("Incorrect LanguageNameStyle value");
50}
51
52std::wstring gui_string(ProxyType value) {
53 switch (value) {

Callers 2

add_itemMethod · 0.85
add_itemsMethod · 0.85

Calls 1

rc_strFunction · 0.85

Tested by

no test coverage detected