text box for speed setting is changed to not case-sensitive
This commit is contained in:
parent
c457807bf7
commit
20956a84c5
|
@ -66,7 +66,7 @@
|
||||||
suffix: 'Bytes',
|
suffix: 'Bytes',
|
||||||
defaultValue: '0',
|
defaultValue: '0',
|
||||||
required: true,
|
required: true,
|
||||||
pattern: '^(0|[1-9]\\d*(K|M)?)$'
|
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
|
||||||
},
|
},
|
||||||
'max-connection-per-server': {
|
'max-connection-per-server': {
|
||||||
type: 'integer',
|
type: 'integer',
|
||||||
|
@ -92,7 +92,7 @@
|
||||||
suffix: 'Bytes',
|
suffix: 'Bytes',
|
||||||
defaultValue: '20M',
|
defaultValue: '20M',
|
||||||
required: true,
|
required: true,
|
||||||
pattern: '^(0|[1-9]\\d*(K|M)?)$'
|
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
|
||||||
},
|
},
|
||||||
'netrc-path': {
|
'netrc-path': {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
@ -363,7 +363,7 @@
|
||||||
suffix: 'Bytes',
|
suffix: 'Bytes',
|
||||||
defaultValue: '50K',
|
defaultValue: '50K',
|
||||||
required: true,
|
required: true,
|
||||||
pattern: '^(0|[1-9]\\d*(K|M)?)$'
|
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
|
||||||
},
|
},
|
||||||
'bt-save-metadata': {
|
'bt-save-metadata': {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
|
@ -461,14 +461,14 @@
|
||||||
suffix: 'Bytes',
|
suffix: 'Bytes',
|
||||||
defaultValue: '0',
|
defaultValue: '0',
|
||||||
required: true,
|
required: true,
|
||||||
pattern: '^(0|[1-9]\\d*(K|M)?)$'
|
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
|
||||||
},
|
},
|
||||||
'max-upload-limit': {
|
'max-upload-limit': {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
suffix: 'Bytes',
|
suffix: 'Bytes',
|
||||||
defaultValue: '0',
|
defaultValue: '0',
|
||||||
required: true,
|
required: true,
|
||||||
pattern: '^(0|[1-9]\\d*(K|M)?)$'
|
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
|
||||||
},
|
},
|
||||||
'peer-id-prefix': {
|
'peer-id-prefix': {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
@ -711,7 +711,7 @@
|
||||||
suffix: 'Bytes',
|
suffix: 'Bytes',
|
||||||
defaultValue: '9223372036854775807',
|
defaultValue: '9223372036854775807',
|
||||||
required: true,
|
required: true,
|
||||||
pattern: '^(0|[1-9]\\d*(K|M)?)$'
|
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
|
||||||
},
|
},
|
||||||
'max-resume-failure-tries': {
|
'max-resume-failure-tries': {
|
||||||
type: 'integer',
|
type: 'integer',
|
||||||
|
@ -741,7 +741,7 @@
|
||||||
suffix: 'Bytes',
|
suffix: 'Bytes',
|
||||||
defaultValue: '1M',
|
defaultValue: '1M',
|
||||||
required: true,
|
required: true,
|
||||||
pattern: '^(0|[1-9]\\d*M?)$'
|
pattern: '^(0|[1-9]\\d*(M|m)?)$'
|
||||||
},
|
},
|
||||||
'show-console-readout': {
|
'show-console-readout': {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
|
@ -759,14 +759,14 @@
|
||||||
suffix: 'Bytes',
|
suffix: 'Bytes',
|
||||||
defaultValue: '0',
|
defaultValue: '0',
|
||||||
required: true,
|
required: true,
|
||||||
pattern: '^(0|[1-9]\\d*(K|M)?)$'
|
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
|
||||||
},
|
},
|
||||||
'max-download-limit': {
|
'max-download-limit': {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
suffix: 'Bytes',
|
suffix: 'Bytes',
|
||||||
defaultValue: '0',
|
defaultValue: '0',
|
||||||
required: true,
|
required: true,
|
||||||
pattern: '^(0|[1-9]\\d*(K|M)?)$'
|
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
|
||||||
},
|
},
|
||||||
'no-conf': {
|
'no-conf': {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
|
@ -777,7 +777,7 @@
|
||||||
suffix: 'Bytes',
|
suffix: 'Bytes',
|
||||||
defaultValue: '5M',
|
defaultValue: '5M',
|
||||||
required: true,
|
required: true,
|
||||||
pattern: '^(0|[1-9]\\d*(K|M)?)$'
|
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
|
||||||
},
|
},
|
||||||
'parameterized-uri': {
|
'parameterized-uri': {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
|
|
Reference in a new issue