Switched to a B_TRANSLATE_COMMENT because it's nt obvious that %MIT license% isn't a variable and has to be translated.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42531 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1236,12 +1236,12 @@ AboutView::_CreateCreditsView()
|
|||||||
"respective license.]\n\n"));
|
"respective license.]\n\n"));
|
||||||
|
|
||||||
// Haiku license
|
// Haiku license
|
||||||
BString haikuLicense = B_TRANSLATE("The code that is unique to Haiku, "
|
BString haikuLicense = B_TRANSLATE_COMMENT("The code that is unique to Haiku, "
|
||||||
"especially the kernel and all code that applications may link "
|
"especially the kernel and all code that applications may link "
|
||||||
"against, is distributed under the terms of the %MIT license%. "
|
"against, is distributed under the terms of the %MIT license%. "
|
||||||
"Some system libraries contain third party code distributed under the "
|
"Some system libraries contain third party code distributed under the "
|
||||||
"LGPL license. You can find the copyrights to third party code below.\n"
|
"LGPL license. You can find the copyrights to third party code below.\n"
|
||||||
"\n");
|
"\n", "%MIT license% isn't a variable and has to be translated.");
|
||||||
int32 licensePart1 = haikuLicense.FindFirst("%");
|
int32 licensePart1 = haikuLicense.FindFirst("%");
|
||||||
int32 licensePart2 = haikuLicense.FindLast("%");
|
int32 licensePart2 = haikuLicense.FindLast("%");
|
||||||
BString part;
|
BString part;
|
||||||
|
|||||||
Reference in New Issue
Block a user