mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
Normalize Russian ASS Style (thx to
Some checks failed
auto-documentation / documentation (push) Has been cancelled
build and push docker image / build-node (push) Has been cancelled
Style and build test / tsc (push) Has been cancelled
Style and build test / eslint (push) Has been cancelled
Style and build test / prettier (push) Has been cancelled
Style and build test / build-test-arm64 (push) Has been cancelled
Style and build test / build-test-x64 (push) Has been cancelled
Some checks failed
auto-documentation / documentation (push) Has been cancelled
build and push docker image / build-node (push) Has been cancelled
Style and build test / tsc (push) Has been cancelled
Style and build test / eslint (push) Has been cancelled
Style and build test / prettier (push) Has been cancelled
Style and build test / build-test-arm64 (push) Has been cancelled
Style and build test / build-test-x64 (push) Has been cancelled
PystoyPlayer)
This commit is contained in:
parent
61d062a846
commit
e5b7d5d3d5
1 changed files with 5 additions and 0 deletions
|
|
@ -2869,6 +2869,11 @@ export default class Crunchy implements ServiceClass {
|
|||
|
||||
// Remove YCbCr
|
||||
sBody = sBody.replace(/^[ \t]*YCbCr Matrix:\s*.*\r?\n?/m, '');
|
||||
|
||||
// Force outline thickness for ru-RU: if the 17th field (Outline) equals 2.6 → 2
|
||||
if (langItem.cr_locale === 'ru-RU') {
|
||||
sBody = sBody.replace(/^[ \t]*(Style:\s*[^,\n]*(?:,[^,\n]*){15}),\s*2(?:[.,]6(?:0+)?)?(\s*,)/gm, '$1,2$2');
|
||||
}
|
||||
}
|
||||
|
||||
sxData.title = langItem.language;
|
||||
|
|
|
|||
Loading…
Reference in a new issue