Skip to content

Commit a01ef4c

Browse files
committed
fix: version label
License: MIT Signed-off-by: Henrique Dias <[email protected]>
1 parent 5d01e89 commit a01ef4c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

assets/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"moveRepositoryLocation": "Move Repository Location",
4141
"runGarbageCollector": "Run Garbage Collector",
4242
"selectDirectory": "Select Directory",
43+
"customIpfsBinary": "Custom IPFS Binary",
4344
"setCustomIpfsBinary": "Set Custom IPFS Binary",
4445
"clearCustomIpfsBinary": "Clear Custom IPFS Binary",
4546
"polkitDialog": {

src/tray.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ function buildMenu (ctx) {
133133
click: () => { shell.openExternal('https://github.com/ipfs-shipyard/ipfs-desktop/releases') }
134134
},
135135
{
136-
label: `go-ipfs ${hasCustomBinary() ? '(custom)' : GO_IPFS_VERSION}`,
136+
label: hasCustomBinary()
137+
? i18n.t('customIpfsBinary')
138+
: `go-ipfs ${GO_IPFS_VERSION}`,
137139
click: () => { shell.openExternal('https://github.com/ipfs/go-ipfs/releases') }
138140
},
139141
{ type: 'separator' },

0 commit comments

Comments
 (0)