Fix ipfs badge text
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user