Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit f4977c1

Browse files
Merge pull request #1281 from ssbc/i18n-listenstatus
Use i18n for blocking/listening UI.
2 parents 52ea11c + a534082 commit f4977c1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/depject/contact/html/follow-toggle.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,32 +98,32 @@ exports.create = function (api) {
9898
const menu = electron.remote.Menu.buildFromTemplate([
9999
{
100100
type: 'radio',
101-
label: 'Neutral',
101+
label: i18n('Neutral'),
102102
checked: status == null,
103103
click: () => setStatus(id, null, { states, ignores })
104104
},
105105
{
106106
type: 'radio',
107-
label: 'Follow',
107+
label: i18n('Follow'),
108108
checked: status === true,
109109
click: () => setStatus(id, true, { states, ignores })
110110
},
111111
{
112112
type: 'radio',
113-
label: 'Block',
113+
label: i18n('Block'),
114114
checked: status === false,
115115
click: () => setStatus(id, false, { states, ignores })
116116
},
117117
{ type: 'separator' },
118118
{
119119
type: 'radio',
120-
label: 'Listen',
120+
label: i18n('Listen'),
121121
checked: !resolvedIgnoring,
122122
click: () => setIgnore(id, false, { states, ignores })
123123
},
124124
{
125125
type: 'radio',
126-
label: 'Ignore',
126+
label: i18n('Ignore'),
127127
checked: resolvedIgnoring,
128128
click: () => setIgnore(id, true, { states, ignores })
129129
}

0 commit comments

Comments
 (0)