Skip to content

Commit 9ebeb0d

Browse files
authored
block: consistent capitalization/style in block options (#2314)
1 parent 3aa8601 commit 9ebeb0d

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/modules/twinkleblock.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,12 +1386,12 @@ Twinkle.block.blockGroups = [
13861386
{
13871387
label: 'Common block reasons',
13881388
list: [
1389-
{ label: 'anonblock', value: 'anonblock' },
1390-
{ label: 'anonblock - likely a school', value: 'anonblock - school' },
1391-
{ label: 'school block', value: 'school block' },
1389+
{ label: 'Anonblock', value: 'anonblock' },
1390+
{ label: 'Anonblock – likely a school', value: 'anonblock - school' },
1391+
{ label: 'School block', value: 'school block' },
13921392
{ label: 'Generic block (custom reason)', value: 'uw-block' }, // ends up being default for registered users
1393-
{ label: 'Generic block (custom reason) - IP', value: 'uw-ablock', selected: true }, // set only when blocking IP
1394-
{ label: 'Generic block (custom reason) - indefinite', value: 'uw-blockindef' },
1393+
{ label: 'Generic block (custom reason) IP', value: 'uw-ablock', selected: true }, // set only when blocking IP
1394+
{ label: 'Generic block (custom reason) indefinite', value: 'uw-blockindef' },
13951395
{ label: 'Disruptive editing', value: 'uw-disruptblock' },
13961396
{ label: 'Inappropriate use of user talk page while blocked', value: 'uw-talkrevoked' },
13971397
{ label: 'Not here to build an encyclopedia', value: 'uw-nothereblock' },
@@ -1405,8 +1405,8 @@ Twinkle.block.blockGroups = [
14051405
list: [
14061406
{ label: 'Advertising', value: 'uw-adblock' },
14071407
{ label: 'Arbitration enforcement', value: 'uw-aeblock' },
1408-
{ label: 'Block evasion - IP', value: 'uw-ipevadeblock' },
1409-
{ label: 'Block evasion - Temporary account', value: 'uw-tempevadeblock' },
1408+
{ label: 'Block evasion IP', value: 'uw-ipevadeblock' },
1409+
{ label: 'Block evasion – temporary account', value: 'uw-tempevadeblock' },
14101410
{ label: 'BLP violations', value: 'uw-bioblock' },
14111411
{ label: 'Copyright violations', value: 'uw-copyrightblock' },
14121412
{ label: 'Creating nonsense pages', value: 'uw-npblock' },
@@ -1447,17 +1447,17 @@ Twinkle.block.blockGroups = [
14471447
{
14481448
label: 'Templated reasons',
14491449
list: [
1450-
{ label: 'blocked proxy', value: 'blocked proxy' },
1450+
{ label: 'Blocked proxy', value: 'blocked proxy' },
14511451
{ label: 'CheckUser block', value: 'CheckUser block' },
1452-
{ label: 'checkuserblock-account', value: 'checkuserblock-account' },
1453-
{ label: 'checkuserblock-wide', value: 'checkuserblock-wide' },
1454-
{ label: 'colocationwebhost', value: 'colocationwebhost' },
1455-
{ label: 'oversightblock', value: 'oversightblock' },
1456-
{ label: 'rangeblock', value: 'rangeblock' }, // Only for IP ranges, selected for non-/64 ranges in filtered_block_groups
1457-
{ label: 'spamblacklistblock', value: 'spamblacklistblock' },
1458-
{ label: 'tor', value: 'tor' },
1459-
{ label: 'webhostblock', value: 'webhostblock' },
1460-
{ label: 'zombie proxy', value: 'zombie proxy' }
1452+
{ label: 'CheckUser block – account', value: 'checkuserblock-account' },
1453+
{ label: 'CheckUser block – wide', value: 'checkuserblock-wide' },
1454+
{ label: 'Colocation webhost', value: 'colocationwebhost' },
1455+
{ label: 'Oversight block', value: 'oversightblock' },
1456+
{ label: 'Rangeblock', value: 'rangeblock' }, // Only for IP ranges, selected for non-/64 ranges in filtered_block_groups
1457+
{ label: 'Spam blacklist block', value: 'spamblacklistblock' },
1458+
{ label: 'Tor', value: 'tor' },
1459+
{ label: 'Webhost block', value: 'webhostblock' },
1460+
{ label: 'Zombie proxy', value: 'zombie proxy' }
14611461
]
14621462
}
14631463
];
@@ -1467,7 +1467,7 @@ Twinkle.block.blockGroupsPartial = [
14671467
label: 'Common partial block reasons',
14681468
list: [
14691469
{ label: 'Generic partial block (custom reason)', value: 'uw-pblock', selected: true },
1470-
{ label: 'Generic partial block (custom reason) - indefinite', value: 'uw-pblockindef' },
1470+
{ label: 'Generic partial block (custom reason) indefinite', value: 'uw-pblockindef' },
14711471
{ label: 'Edit warring', value: 'uw-ewpblock' }
14721472
]
14731473
},
@@ -1477,7 +1477,7 @@ Twinkle.block.blockGroupsPartial = [
14771477
{ label: 'Arbitration enforcement', value: 'uw-aepblock' },
14781478
{ label: 'Email harassment', value: 'uw-epblock' },
14791479
{ label: 'Misusing multiple accounts', value: 'uw-acpblock' },
1480-
{ label: 'Misusing multiple accounts - indefinite', value: 'uw-acpblockindef' }
1480+
{ label: 'Misusing multiple accounts indefinite', value: 'uw-acpblockindef' }
14811481
]
14821482
}
14831483
];

0 commit comments

Comments
 (0)