Fix ipfs badge text

This commit is contained in:
spylogsster@gmail.com
2021-03-12 17:13:53 +03:00
parent db2c19ee4e
commit e7ff2a3d09
2 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -340,8 +340,8 @@ By installing this extension, you are agreeing to the Google Widevine Terms of U
<message name="IDS_LOCATION_BAR_OPEN_IN_TOR" desc="Button in location bar to open onion available site in tor window.">
Open in Tor
</message>
<message name="IDS_LOCATION_BAR_OPEN_IN_IPFS" desc="Button in location bar to open ipfs available site.">
Open in IPFS
<message name="IDS_LOCATION_BAR_OPEN_USING_IPFS" desc="Button in location bar to open ipfs available site.">
Open using IPFS
</message>
<message name="IDS_LOCATION_BAR_ONION_AVAILABLE" desc="Button in location bar to indicate onion available site to open a new tab in tor window.">
Onion Available
@@ -63,9 +63,10 @@ class HighlightPathGenerator : public views::HighlightPathGenerator {
class IPFSLocationButtonView : public views::LabelButton {
public:
explicit IPFSLocationButtonView(Profile* profile)
: LabelButton(base::BindRepeating(&IPFSLocationButtonView::ButtonPressed,
base::Unretained(this)),
l10n_util::GetStringUTF16(IDS_LOCATION_BAR_OPEN_IN_IPFS)),
: LabelButton(
base::BindRepeating(&IPFSLocationButtonView::ButtonPressed,
base::Unretained(this)),
l10n_util::GetStringUTF16(IDS_LOCATION_BAR_OPEN_USING_IPFS)),
profile_(profile) {
// Render vector icon
const gfx::ImageSkia image =