HaikuDepot: Remove an unneeded B_TRANSLATE

If the string consists solely of variable that mustn't be translated,
don't bother to sending it to Pootle for translation...
This commit is contained in:
Humdinger 2020-01-04 17:34:08 +01:00
parent a00b7c2f18
commit 8793a2cd57
1 changed files with 1 additions and 3 deletions

View File

@ -401,9 +401,7 @@ public:
} else
fPublisherView->SetText(publisher);
BString version = B_TRANSLATE("%Version%");
version.ReplaceAll("%Version%", package.Version().ToString());
fVersionInfo->SetText(version);
fVersionInfo->SetText(package.Version().ToString());
RatingSummary ratingSummary = package.CalculateRatingSummary();