[haiku-commits] haiku: hrev53687 - src/apps/haikudepot/ui

  • From: humdinger <humdingerb@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 4 Jan 2020 11:37:01 -0500 (EST)

hrev53687 adds 1 changeset to branch 'master'
old head: a00b7c2f185fc40a25ae13438ca20d4a99558538
new head: 8793a2cd57df4de547c38b1876998b701b26b819
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=8793a2cd57df+%5Ea00b7c2f185f

----------------------------------------------------------------------------

8793a2cd57df: 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...

                                        [ Humdinger <humdingerb@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev53687
Commit:      8793a2cd57df4de547c38b1876998b701b26b819
URL:         https://git.haiku-os.org/haiku/commit/?id=8793a2cd57df
Author:      Humdinger <humdingerb@xxxxxxxxx>
Date:        Sat Jan  4 16:34:08 2020 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 3 deletions(-)
src/apps/haikudepot/ui/PackageInfoView.cpp | 4 +---

----------------------------------------------------------------------------

diff --git a/src/apps/haikudepot/ui/PackageInfoView.cpp 
b/src/apps/haikudepot/ui/PackageInfoView.cpp
index 74499a14ef..52be4db4c7 100644
--- a/src/apps/haikudepot/ui/PackageInfoView.cpp
+++ b/src/apps/haikudepot/ui/PackageInfoView.cpp
@@ -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();
 


Other related posts:

  • » [haiku-commits] haiku: hrev53687 - src/apps/haikudepot/ui - humdinger