chore(i18n,curriculum): processed translations (#42559)

This commit is contained in:
camperbot
2021-06-18 22:50:39 +09:00
committed by GitHub
parent 08daf11bef
commit 523633678b
6 changed files with 10 additions and 8 deletions

View File

@@ -88,8 +88,9 @@ assert(
```js
const noWhiteSpace = __helpers.removeWhiteSpace(code);
assert(
/constLOGIN=(['"`])LOGIN\1/.test(noWhiteSpace) &&
/constLOGOUT=(['"`])LOGOUT\1/.test(noWhiteSpace)
(/constLOGIN=(['"`])LOGIN\1/.test(noWhiteSpace) &&
/constLOGOUT=(['"`])LOGOUT\1/.test(noWhiteSpace)) ||
/const(LOGIN|LOGOUT)=(['"`])\1\2,(?!\1)(LOGIN|LOGOUT)=(['"`])\3\4/.test(noWhiteSpace)
);
```