Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swifteditor
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
swifteditor
Commits
37dac855
Commit
37dac855
authored
Jun 30, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
英文补充
parent
b57f6426
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
MessageValidater.js
src/swift/MessageValidater.js
+3
-2
TagValidater.js
src/swift/TagValidater.js
+1
-1
No files found.
src/swift/MessageValidater.js
View file @
37dac855
...
...
@@ -16,7 +16,7 @@ function mt700({Tags}){
count
+=
itemValue
[
1
].
replace
(
/
[\r\n]{1,2}
/g
,
''
).
length
});
if
(
count
>
63400
)
return
`45A,46A,47A,49G,49H
总长度不得超过63400个字符
`
return
`45A,46A,47A,49G,49H
The total length shall not exceed 63400 characters
`
}
function
mt707
({
Tags
}){
...
...
@@ -29,7 +29,7 @@ function mt707({Tags}){
count
+=
itemValue
[
1
].
replace
(
/
[\r\n]{1,2}
/g
,
''
).
length
});
if
(
count
>
63400
)
return
`45B,46B,47B,49M,49N
总长度不得超过63400个字符
`
return
`45B,46B,47B,49M,49N
The total length shall not exceed 63400 characters
`
}
const
FUNC_SET
=
{
mt700
,
mt707
}
\ No newline at end of file
src/swift/TagValidater.js
View file @
37dac855
...
...
@@ -320,7 +320,7 @@ function TestAdr(adr,reg,line,length)
}
let
linemsg
=
''
if
(
arr
.
length
>
line
)
linemsg
=
`
最多
${
line
}
行
`
linemsg
=
`
Up to
${
line
}
lines
`
let
msg
=
[]
if
(
a1
.
length
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment