Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Is it logical to translate an URL address?
(1/1)
stahta01:
From "src\plugins\contrib\CppCheck\ConfigPanel.cpp"
--- Code: --- hycCppCheckWWW = new wxHyperlinkCtrl(this, ID_HYC_CPP_CHECK_WWW, _("http://cppcheck.sourceforge.net"), wxEmptyString, wxDefaultPosition, wxDefaultSize, wxHL_CONTEXTMENU|wxHL_ALIGN_CENTRE|wxNO_BORDER, _T("ID_HYC_CPP_CHECK_WWW"));
--- End code ---
--- Code: --- hycVeraWWW = new wxHyperlinkCtrl(this, ID_HYC_VERA_WWW, _("https://bitbucket.org/verateam/vera"), wxEmptyString, wxDefaultPosition, wxDefaultSize, wxHL_CONTEXTMENU|wxHL_ALIGN_CENTRE|wxNO_BORDER, _T("ID_HYC_VERA_WWW"));
--- End code ---
Is it logical to translate an URL address?
From https://docs.wxwidgets.org/trunk/group__group__funcmacro__string.html
--- Quote ---the _() macro is defined to do the same thing as wxGetTranslation()
--- End quote ---
Tim S.
oBFusCATed:
Nope.
Navigation
[0] Message Index
Go to full version