>>> translate-shell: Building community/translate-shell 0.9.7.1-r0 (using abuild 3.10.0-r0) started Wed, 15 Feb 2023 04:27:40 +0000
>>> translate-shell: Checking sanity of /home/buildozer/aports/community/translate-shell/APKBUILD...
>>> WARNING: translate-shell: No maintainer
>>> translate-shell: Analyzing dependencies...
>>> translate-shell: Installing for build: build-base gawk bash
(1/4) Installing gawk (5.1.1-r1)
(2/4) Installing readline (8.2.0-r0)
(3/4) Installing bash (5.2.15-r0)
Executing bash-5.2.15-r0.post-install
(4/4) Installing .makedepends-translate-shell (20230215.042740)
Executing busybox-1.35.0-r29.trigger
OK: 227 MiB in 101 packages
>>> translate-shell: Cleaning up srcdir
>>> translate-shell: Cleaning up pkgdir
>>> translate-shell: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/translate-shell-0.9.7.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
>>> translate-shell: Fetching translate-shell-0.9.7.1.tar.gz::https://github.com/soimort/translate-shell/archive/v0.9.7.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 94865 0 94865 0 0 73691 0 --:--:-- 0:00:01 --:--:-- 73691
>>> translate-shell: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/translate-shell-0.9.7.1.tar.gz
>>> translate-shell: Checking sha512sums...
translate-shell-0.9.7.1.tar.gz: OK
drop-rlwrap-emacs-tests.patch: OK
>>> translate-shell: Unpacking /var/cache/distfiles/v3.17/translate-shell-0.9.7.1.tar.gz...
>>> translate-shell: drop-rlwrap-emacs-tests.patch
patching file test/TestUtils.awk
[37m[OK] Task [1mbuild[22m completed.[0m
[37m[OK] Task [1mbuild[22m completed.[0m
[7m[1m====== TESTING FOR [4mCommons.awk[24m STARTED[22m[27m
[32m[1m[PASS] ( 1/3 ) TESTING anything()[22m[0m
[32m[1m[PASS] ( 2/3 ) TESTING anything()[22m[0m
[32m[1m[PASS] ( 3/3 ) TESTING anything()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING exists()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING exists()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING exists()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING exists()[22m[0m
[32m[1m[PASS] ( 1/3 ) TESTING belongsTo()[22m[0m
[32m[1m[PASS] ( 2/3 ) TESTING belongsTo()[22m[0m
[32m[1m[PASS] ( 3/3 ) TESTING belongsTo()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING identical()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING identical()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING identical()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING identical()[22m[0m
[32m[1m[PASS] ( 1/1 ) TESTING append()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING isnum()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING isnum()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING isnum()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING isnum()[22m[0m
[32m[1m[PASS] ( 1/3 ) TESTING startsWithAny()[22m[0m
[32m[1m[PASS] ( 2/3 ) TESTING startsWithAny()[22m[0m
[32m[1m[PASS] ( 3/3 ) TESTING startsWithAny()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING matchesAny()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING matchesAny()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING matchesAny()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING matchesAny()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING replicate()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING replicate()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING replicate()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING replicate()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING reverse()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING reverse()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING reverse()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING reverse()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING join()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING join()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING join()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING join()[22m[0m
[32m[1m[PASS] ( 1/1 ) TESTING explode()[22m[0m
[32m[1m[PASS] ( 1/8 ) TESTING escapeChar()[22m[0m
[32m[1m[PASS] ( 2/8 ) TESTING escapeChar()[22m[0m
[32m[1m[PASS] ( 3/8 ) TESTING escapeChar()[22m[0m
[32m[1m[PASS] ( 4/8 ) TESTING escapeChar()[22m[0m
[32m[1m[PASS] ( 5/8 ) TESTING escapeChar()[22m[0m
[32m[1m[PASS] ( 6/8 ) TESTING escapeChar()[22m[0m
[32m[1m[PASS] ( 7/8 ) TESTING escapeChar()[22m[0m
[32m[1m[PASS] ( 8/8 ) TESTING escapeChar()[22m[0m
[32m[1m[PASS] ( 1/6 ) TESTING literal()[22m[0m
[32m[1m[PASS] ( 2/6 ) TESTING literal()[22m[0m
[32m[1m[PASS] ( 3/6 ) TESTING literal()[22m[0m
[32m[1m[PASS] ( 4/6 ) TESTING literal()[22m[0m
[32m[1m[PASS] ( 5/6 ) TESTING literal()[22m[0m
[32m[1m[PASS] ( 6/6 ) TESTING literal()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING escape()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING escape()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING escape()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING escape()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING unescape()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING unescape()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING unescape()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING unescape()[22m[0m
[32m[1m[PASS] ( 1/10) TESTING parameterize()[22m[0m
[32m[1m[PASS] ( 2/10) TESTING parameterize()[22m[0m
[32m[1m[PASS] ( 3/10) TESTING parameterize()[22m[0m
[32m[1m[PASS] ( 4/10) TESTING parameterize()[22m[0m
[32m[1m[PASS] ( 5/10) TESTING parameterize()[22m[0m
[32m[1m[PASS] ( 6/10) TESTING parameterize()[22m[0m
[32m[1m[PASS] ( 7/10) TESTING parameterize()[22m[0m
[32m[1m[PASS] ( 8/10) TESTING parameterize()[22m[0m
[32m[1m[PASS] ( 9/10) TESTING parameterize()[22m[0m
[32m[1m[PASS] (10/10) TESTING parameterize()[22m[0m
[32m[1m[PASS] ( 1/10) TESTING unparameterize()[22m[0m
[32m[1m[PASS] ( 2/10) TESTING unparameterize()[22m[0m
[32m[1m[PASS] ( 3/10) TESTING unparameterize()[22m[0m
[32m[1m[PASS] ( 4/10) TESTING unparameterize()[22m[0m
[32m[1m[PASS] ( 5/10) TESTING unparameterize()[22m[0m
[32m[1m[PASS] ( 6/10) TESTING unparameterize()[22m[0m
[32m[1m[PASS] ( 7/10) TESTING unparameterize()[22m[0m
[32m[1m[PASS] ( 8/10) TESTING unparameterize()[22m[0m
[32m[1m[PASS] ( 9/10) TESTING unparameterize()[22m[0m
[32m[1m[PASS] (10/10) TESTING unparameterize()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING toString()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING toString()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING toString()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING toString()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING squeeze()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING squeeze()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING squeeze()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING squeeze()[22m[0m
[32m[1m[PASS] ( 1/12) TESTING yn()[22m[0m
[32m[1m[PASS] ( 2/12) TESTING yn()[22m[0m
[32m[1m[PASS] ( 3/12) TESTING yn()[22m[0m
[32m[1m[PASS] ( 4/12) TESTING yn()[22m[0m
[32m[1m[PASS] ( 5/12) TESTING yn()[22m[0m
[32m[1m[PASS] ( 6/12) TESTING yn()[22m[0m
[32m[1m[PASS] ( 7/12) TESTING yn()[22m[0m
[32m[1m[PASS] ( 8/12) TESTING yn()[22m[0m
[32m[1m[PASS] ( 9/12) TESTING yn()[22m[0m
[32m[1m[PASS] (10/12) TESTING yn()[22m[0m
[32m[1m[PASS] (11/12) TESTING yn()[22m[0m
[32m[1m[PASS] (12/12) TESTING yn()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING quote()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING quote()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING quote()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING quote()[22m[0m
[32m[1m[PASS] ( 1/6 ) TESTING unquote()[22m[0m
[32m[1m[PASS] ( 2/6 ) TESTING unquote()[22m[0m
[32m[1m[PASS] ( 3/6 ) TESTING unquote()[22m[0m
[32m[1m[PASS] ( 4/6 ) TESTING unquote()[22m[0m
[32m[1m[PASS] ( 5/6 ) TESTING unquote()[22m[0m
[32m[1m[PASS] ( 6/6 ) TESTING unquote()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING fileExists()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING fileExists()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING fileExists()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING fileExists()[22m[0m
[32m[1m[PASS] ( 1/4 ) TESTING dirExists()[22m[0m
[32m[1m[PASS] ( 2/4 ) TESTING dirExists()[22m[0m
[32m[1m[PASS] ( 3/4 ) TESTING dirExists()[22m[0m
[32m[1m[PASS] ( 4/4 ) TESTING dirExists()[22m[0m
[32m[1m[PASS] ( 1/2 ) TESTING detectProgram()[22m[0m
[32m[1m[PASS] ( 2/2 ) TESTING detectProgram()[22m[0m
[32m[1m[PASS] (121/121) TESTING COMPLETED. PERFECT![22m[0m
[7m[1m====== TESTING FOR [4mUtils.awk[24m STARTED[22m[27m
[32m[1m[PASS] ( 1/1 ) TESTING GawkVersion[22m[0m
[32m[1m[PASS] ( 1/5 ) TESTING newerVersion()[22m[0m
[32m[1m[PASS] ( 2/5 ) TESTING newerVersion()[22m[0m
[32m[1m[PASS] ( 3/5 ) TESTING newerVersion()[22m[0m
[32m[1m[PASS] ( 4/5 ) TESTING newerVersion()[22m[0m
[32m[1m[PASS] ( 5/5 ) TESTING newerVersion()[22m[0m
[32m[1m[PASS] ( 1/1 ) TESTING curl()[22m[0m
[32m[1m[PASS] ( 1/1 ) TESTING curlPost()[22m[0m
[32m[1m[PASS] ( 1/3 ) TESTING dump()[22m[0m
[32m[1m[PASS] ( 2/3 ) TESTING dump()[22m[0m
[32m[1m[PASS] ( 3/3 ) TESTING dump()[22m[0m
[32m[1m[PASS] ( 1/2 ) TESTING dumpX()[22m[0m
[32m[1m[PASS] ( 2/2 ) TESTING dumpX()[22m[0m
[32m[1m[PASS] ( 1/1 ) TESTING base64()[22m[0m
[32m[1m[PASS] ( 2/1 ) TESTING base64()[22m[0m
[32m[1m[PASS] ( 1/1 ) TESTING uprintf[22m[0m
[32m[1m[PASS] (16/16) TESTING COMPLETED. PERFECT![22m[0m
[7m[1m====== TESTING FOR [4mParser.awk[24m STARTED[22m[27m
[32m[1m[PASS] ( 1/8 ) TESTING tokenize()[22m[0m
[32m[1m[PASS] ( 2/8 ) TESTING tokenize()[22m[0m
[32m[1m[PASS] ( 3/8 ) TESTING tokenize()[22m[0m
[32m[1m[PASS] ( 4/8 ) TESTING tokenize()[22m[0m
[32m[1m[PASS] ( 5/8 ) TESTING tokenize()[22m[0m
[32m[1m[PASS] ( 6/8 ) TESTING tokenize()[22m[0m
[32m[1m[PASS] ( 7/8 ) TESTING tokenize()[22m[0m
[32m[1m[PASS] ( 8/8 ) TESTING tokenize()[22m[0m
[32m[1m[PASS] ( 1/10) TESTING parseJson()[22m[0m
[32m[1m[PASS] ( 2/10) TESTING parseJson()[22m[0m
[32m[1m[PASS] ( 3/10) TESTING parseJson()[22m[0m
[32m[1m[PASS] ( 4/10) TESTING parseJson()[22m[0m
[32m[1m[PASS] ( 5/10) TESTING parseJson()[22m[0m
[32m[1m[PASS] ( 6/10) TESTING parseJson()[22m[0m
[32m[1m[PASS] ( 7/10) TESTING parseJson()[22m[0m
[32m[1m[PASS] ( 8/10) TESTING parseJson()[22m[0m
[32m[1m[PASS] ( 9/10) TESTING parseJson()[22m[0m
[32m[1m[PASS] (10/10) TESTING parseJson()[22m[0m
[32m[1m[PASS] ( 1/1 ) TESTING parseList()[22m[0m
[32m[1m[PASS] (19/19) TESTING COMPLETED. PERFECT![22m[0m
[7m[1m====== TESTING FOR [4mLanguageHelper.awk[24m STARTED[22m[27m
[32m[1m[PASS] ( 1/5 ) TESTING getCode()[22m[0m
[32m[1m[PASS] ( 2/5 ) TESTING getCode()[22m[0m
[32m[1m[PASS] ( 3/5 ) TESTING getCode()[22m[0m
[32m[1m[PASS] ( 4/5 ) TESTING getCode()[22m[0m
[32m[1m[PASS] ( 5/5 ) TESTING getCode()[22m[0m
[32m[1m[PASS] ( 5/5 ) TESTING COMPLETED. PERFECT![22m[0m
build/trans -V
[1mTranslate Shell 0.9.7.1
[22mplatform Linux
terminal type vt102
bi-di emulator [N/A]
gawk (GNU Awk) 5.1.1
fribidi (GNU FriBidi) [NOT INSTALLED]
audio player [NOT INSTALLED]
terminal pager [NOT INSTALLED]
web browser xdg-open
user locale en_US.UTF-8 (English)
host language en
source language auto
target language en
translation engine auto
proxy [NONE]
user-agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36 Edg/104.0.1293.54
ip version [DEFAULT]
theme default
init file [NONE]
Report bugs to: https://github.com/soimort/translate-shell/issues
[ "`build/trans -no-init -D -b 忍者`" = 'ninja' ] &&\
[ "`build/trans -no-init -D -b -e bing 忍者`" = 'ninja' ] #&&\
#[ "`build/trans -no-init -D -b -e yandex Ninja`" = 'Ninja' ]
[37mGET /translate_a/single?client=gtx&ie=UTF-8&oe=UTF-8&dt=bd&dt=ex&dt=ld&dt=md&dt=rw&dt=rm&dt=ss&dt=t&dt=at&dt=gt&dt=qca&sl=auto&tl=en&hl=en&q=%E5%BF%8D%E8%80%85 HTTP/1.1
Host: translate.googleapis.com
Connection: close
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36 Edg/104.0.1293.54
[0m
[37m 16 bytes > HTTP/1.1 200 OK
[0m
[37m 46 bytes > Content-Type: application/json; charset=utf-8
[0m
[37m 32 bytes > X-Content-Type-Options: nosniff
[0m
[37m 62 bytes > Cache-Control: no-cache, no-store, max-age=0, must-revalidate
[0m
[37m 17 bytes > Pragma: no-cache
[0m
[37m 39 bytes > Expires: Mon, 01 Jan 1990 00:00:00 GMT
[0m
[37m 36 bytes > Date: Wed, 15 Feb 2023 04:27:44 GMT
[0m
[37m 80 bytes > Content-Disposition: attachment; filename="json.txt"; filename*=UTF-8''json.txt
[0m
[37m 180 bytes > Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version
[0m
[37m 43 bytes > Cross-Origin-Resource-Policy: cross-origin
[0m
[37m 149 bytes > Report-To: {"group":"TranslateApiHttp","max_age":2592000,"endpoints":[{"url":"https://csp.withgoogle.com/csp/report-to/TranslateApiHttp/external"}]}
[0m
[37m 173 bytes > Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-platform=*, ch-ua-platform-version=*
[0m
[37m 192 bytes > Content-Security-Policy: script-src 'report-sample' 'nonce-Vdo92DT0gUUmDpYNvAo_1Q' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/TranslateApiHttp/cspreport;worker-src 'self'
[0m
[37m 101 bytes > Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/TranslateApiHttp/cspreport
[0m
[37m 70 bytes > Cross-Origin-Opener-Policy: same-origin; report-to="TranslateApiHttp"
[0m
[37m 31 bytes > Access-Control-Allow-Origin: *
[0m
[37m 12 bytes > Server: ESF
[0m
[37m 20 bytes > X-XSS-Protection: 0
[0m
[37m 28 bytes > X-Frame-Options: SAMEORIGIN
[0m
[37m 20 bytes > Accept-Ranges: none
[0m
[37m 22 bytes > Vary: Accept-Encoding
[0m
[37m 18 bytes > Connection: close
[0m
[37m 27 bytes > Transfer-Encoding: chunked
[0m
[37m 1 bytes >
[0m
[37m 4 bytes > 177
[0m
[37m 362 bytes > [[["ninja","忍者",null,null,3,null,null,[[]],[[["8d78968b435177eedc6fc31def933f7a","zh_en_2022q2.md"]]]],[null,null,null,"Rěnzhě"]],null,"zh-CN",null,null,[["忍者",null,[["ninja",0,true,false,[3],null,[[3]]],["the ninja",0,true,false,[8]]],[[0,2]],"忍者",0,0]],0.6796875,[],[["zh-CN"],null,[0.6796875],["zh-CN"]],null,null,null,null,null,null,null,null,null,[null,2]]
[0m
[37m 2 bytes > 0
[0m
[37m 1 bytes >
[0m
[37mcontent = '''
177
[[["ninja","忍者",null,null,3,null,null,[[]],[[["8d78968b435177eedc6fc31def933f7a","zh_en_2022q2.md"]]]],[null,null,null,"Rěnzhě"]],null,"zh-CN",null,null,[["忍者",null,[["ninja",0,true,false,[3],null,[[3]]],["the ninja",0,true,false,[8]]],[[0,2]],"忍者",0,0]],0.6796875,[],[["zh-CN"],null,[0.6796875],["zh-CN"]],null,null,null,null,null,null,null,null,null,[null,2]]
0
'''[0m
[37mtokens = ["177", "[", "[", "[", "\"ninja\"", ",", "\"忍者\"", ",", "null", ",", "null", ",", "3", ",", "null", ",", "null", ",", "[", "[", "]", "]", ",", "[", "[", "[", "\"8d78968b435177eedc6fc31def933f7a\"", ",", "\"zh_en_2022q2.md\"", "]", "]", "]", "]", ",", "[", "null", ",", "null", ",", "null", ",", "\"Rěnzhě\"", "]", "]", ",", "null", ",", "\"zh-CN\"", ",", "null", ",", "null", ",", "[", "[", "\"忍者\"", ",", "null", ",", "[", "[", "\"ninja\"", ",", "0", ",", "true", ",", "false", ",", "[", "3", "]", ",", "null", ",", "[", "[", "3", "]", "]", "]", ",", "[", "\"the ninja\"", ",", "0", ",", "true", ",", "false", ",", "[", "8", "]", "]", "]", ",", "[", "[", "0", ",", "2", "]", "]", ",", "\"忍者\"", ",", "0", ",", "0", "]", "]", ",", "0.6796875", ",", "[", "]", ",", "[", "[", "\"zh-CN\"", "]", ",", "null", ",", "[", "0.6796875", "]", ",", "[", "\"zh-CN\"", "]", "]", ",", "null", ",", "null", ",", "null", ",", "null", ",", "null", ",", "null", ",", "null", ",", "null", ",", "null", ",", "[", "null", ",", "2", "]", "]", "0"][0m
[37mast = {
"0,0,0,0" "\"ninja\""
"0,0,0,1" "\"忍者\""
"0,0,0,2" "null"
"0,0,0,3" "null"
"0,0,0,4" "3"
"0,0,0,5" "null"
"0,0,0,6" "null"
"0,0,0,8,0,0,0" "\"8d78968b435177eedc6fc31def933f7a\""
"0,0,0,8,0,0,1" "\"zh_en_2022q2.md\""
"0,0,1,0" "null"
"0,0,1,1" "null"
"0,0,1,2" "null"
"0,0,1,3" "\"Rěnzhě\""
"0,1" "null"
"0,2" "\"zh-CN\""
"0,3" "null"
"0,4" "null"
"0,5,0,0" "\"忍者\""
"0,5,0,1" "null"
"0,5,0,2,0,0" "\"ninja\""
"0,5,0,2,0,1" "0"
"0,5,0,2,0,2" "true"
"0,5,0,2,0,3" "false"
"0,5,0,2,0,4,0" "3"
"0,5,0,2,0,5" "null"
"0,5,0,2,0,6,0,0" "3"
"0,5,0,2,1,0" "\"the ninja\""
"0,5,0,2,1,1" "0"
"0,5,0,2,1,2" "true"
"0,5,0,2,1,3" "false"
"0,5,0,2,1,4,0" "8"
"0,5,0,3,0,0" "0"
"0,5,0,3,0,1" "2"
"0,5,0,4" "\"忍者\""
"0,5,0,5" "0"
"0,5,0,6" "0"
"0,6" "0.6796875"
"0,8,0,0" "\"zh-CN\""
"0,8,1" "null"
"0,8,2,0" "0.6796875"
"0,8,3,0" "\"zh-CN\""
"0,9" "null"
"0,10" "null"
"0,11" "null"
"0,12" "null"
"0,13" "null"
"0,14" "null"
"0,15" "null"
"0,16" "null"
"0,17" "null"
"0,18,0" "null"
"0,18,1" "2"
"0" "0"
}[0m
[37m 16 bytes > HTTP/1.1 200 OK
[0m
[37m 23 bytes > Cache-Control: private
[0m
[37m 23 bytes > Content-Length: 621708
[0m
[37m 39 bytes > Content-Type: text/html; charset=utf-8
[0m
[37m 62 bytes > P3P: CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND"
[0m
[37m 307 bytes > UserAgentReductionOptOut: A7kgTC5xdZ2WIVGZEfb1hUoNuvjzOZX3VIV/BA6C18kQOOF50Q0D3oWoAm49k3BQImkujKILc7JmPysWk3CSjwUAAACMeyJvcmlnaW4iOiJodHRwczovL3d3dy5iaW5nLmNvbTo0NDMiLCJmZWF0dXJlIjoiU2VuZEZ1bGxVc2VyQWdlbnRBZnRlclJlZHVjdGlvbiIsImV4cGlyeSI6MTY4NDg4NjM5OSwiaXNTdWJkb21haW4iOnRydWUsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0=
[0m
[37m 181 bytes > Content-Security-Policy-Report-Only: script-src https: 'strict-dynamic' 'report-sample' 'nonce-X7NyFwt54iERG3edJ5uBxzJqar+JVmsj1GZFE8NK3xE='; base-uri 'self';report-to csp-endpoint
[0m
[37m 127 bytes > Report-To: {"group":"csp-endpoint","max_age":86400,"endpoints":[{"url":"https://aefd.nelreports.net/api/report?cat=bingcsp"}]}
[0m
[37m 152 bytes > Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version
[0m
[37m 103 bytes > X-MSEdge-Ref: Ref A: 73E29435C3294616B96F4A823EC27494 Ref B: MIL30EDGE0921 Ref C: 2023-02-15T04:27:45Z
[0m
[37m 36 bytes > Date: Wed, 15 Feb 2023 04:27:45 GMT
[0m
[37m 18 bytes > Connection: close
[0m
[37m 117 bytes > Set-Cookie: SUID=M; domain=.bing.com; expires=Wed, 15-Feb-2023 16:27:45 GMT; path=/; secure; HttpOnly; SameSite=None
[0m
[37m 138 bytes > Set-Cookie: MUID=21C878CB57696ED73F076A72561E6FB5; domain=.bing.com; expires=Mon, 11-Mar-2024 04:27:45 GMT; path=/; secure; SameSite=None
[0m
[37m 108 bytes > Set-Cookie: MUIDB=21C878CB57696ED73F076A72561E6FB5; expires=Mon, 11-Mar-2024 04:27:45 GMT; path=/; HttpOnly
[0m
[37m 97 bytes > Set-Cookie: _EDGE_S=F=1&SID=19F38CDD945F683A3A509E649528692E; domain=.bing.com; path=/; HttpOnly
[0m
[37m 97 bytes > Set-Cookie: _EDGE_V=1; domain=.bing.com; expires=Mon, 11-Mar-2024 04:27:45 GMT; path=/; HttpOnly
[0m
[37m 122 bytes > Set-Cookie: USRLOC=HS=1; domain=.bing.com; expires=Sat, 15-Feb-2025 04:27:45 GMT; path=/; secure; HttpOnly; SameSite=None
[0m
[37m 116 bytes > Set-Cookie: SRCHD=AF=NOFORM; domain=.bing.com; expires=Sat, 15-Feb-2025 04:27:45 GMT; path=/; secure; SameSite=None
[0m
[37m 159 bytes > Set-Cookie: SRCHUID=V=2&GUID=263104C51C174B48AA0B222767293EFD&dmnchg=1; domain=.bing.com; expires=Sat, 15-Feb-2025 04:27:45 GMT; path=/; secure; SameSite=None
[0m
[37m 121 bytes > Set-Cookie: SRCHUSR=DOB=20230215; domain=.bing.com; expires=Sat, 15-Feb-2025 04:27:45 GMT; path=/; secure; SameSite=None
[0m
[37m 123 bytes > Set-Cookie: SRCHHPGUSR=SRCHLANG=en; domain=.bing.com; expires=Sat, 15-Feb-2025 04:27:45 GMT; path=/; secure; SameSite=None
[0m
[37m 102 bytes > Set-Cookie: _SS=SID=19F38CDD945F683A3A509E649528692E; domain=.bing.com; path=/; secure; SameSite=None
[0m
[37m 46 bytes > X-CDN-TraceID: 0.94d37a5c.1676435265.12cafc4c
[0m
[37m 1 bytes >
[0m
[37m 230 bytes >
Bing Microsoft Translator0/1000 | ...[0m
[37m1868 bytes > ...[0m
[37m 67 bytes > class="tta_no_click_outline tta_focusTextLarge "
[0m
[37m 28 bytes > dir="ltr"
[0m
[37m 44 bytes > placeholder="Translation"
[0m
[37m 90 bytes > aria-label="Output text area" aria-readonly="true" aria-disabled="true"
[0m
[37m 59 bytes > style="height: 120px" spellcheck="false"
[0m
[37m1684 bytes > ...[0m
[37m 785 bytes > class="infobubble b_hide b_cards infobubble_tooltip" data-appns="translator" data-k="5076.2" data-ibp="" data-trp="" data-priority="" role="dialog"> ✕Search the web
class="infobubble b_hide b_cards infobubble_tooltip" data-appns="translator" data-k="5073.2" data-ibp="" data-trp="" data-priority="" role="dialog"> ✕Suggest an edit
class="infobubble b_hide b_cards infobubble_tooltip" data-appns="translator" data-k="5074.2" data-ibp="" data-trp="" data-priority="" role="dialog"> ✕Listen to translation
...[0m
[37m 164 bytes > class="b_expansion_wrapper b_onpage_expansion newexpcont" data-exp="I;expitem_-294980248_2;1;0;1;;Expansion;;1;1;expitem_-294980248_2_hit;10;0;"
[0m
[37m 60 bytes > href="javascript:void(0);" role="button"
[0m
[37m 40 bytes > aria-expanded="true"
[0m
[37m10604 bytes > ...[0m
[37m 137 bytes > var img_p = document.getElementById('id_p'); img_p && img_p.addEventListener('error', function() {FallBackToDefaultProfilePic(img_p) });;[0m
[37m 109 bytes > //]]> [0m
[37mIG = A0EF31492C914CE5B42C21CFCB1D4970[0m
[37mIID = translator.5024[0m
[37mBingTokenKey = &token=0VjezP7%2DoMdTi4eVLhHuv78oLMTd1U7J&key=1676435265425[0m
[37mPOST /ttranslatev3?IG=A0EF31492C914CE5B42C21CFCB1D4970&IID=translator.5024 HTTP/1.1
Host: www.bing.com
Connection: close
Content-Length: 98
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36 Edg/104.0.1293.54
Cookie: SUID=M; MUID=21C878CB57696ED73F076A72561E6FB5; MUIDB=21C878CB57696ED73F076A72561E6FB5; _EDGE_S=F=1&SID=19F38CDD945F683A3A509E649528692E; _EDGE_V=1; USRLOC=HS=1; SRCHD=AF=NOFORM; SRCHUID=V=2&GUID=263104C51C174B48AA0B222767293EFD&dmnchg=1; SRCHUSR=DOB=20230215; SRCHHPGUSR=SRCHLANG=en; _SS=SID=19F38CDD945F683A3A509E649528692E
[0m
[37m 16 bytes > HTTP/1.1 200 OK
[0m
[37m 23 bytes > Cache-Control: private
[0m
[37m 20 bytes > Content-Length: 186
[0m
[37m 46 bytes > Content-Type: application/json; charset=utf-8
[0m
[37m 62 bytes > P3P: CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND"
[0m
[37m 307 bytes > UserAgentReductionOptOut: A7kgTC5xdZ2WIVGZEfb1hUoNuvjzOZX3VIV/BA6C18kQOOF50Q0D3oWoAm49k3BQImkujKILc7JmPysWk3CSjwUAAACMeyJvcmlnaW4iOiJodHRwczovL3d3dy5iaW5nLmNvbTo0NDMiLCJmZWF0dXJlIjoiU2VuZEZ1bGxVc2VyQWdlbnRBZnRlclJlZHVjdGlvbiIsImV4cGlyeSI6MTY4NDg4NjM5OSwiaXNTdWJkb21haW4iOnRydWUsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0=
[0m
[37m 181 bytes > Content-Security-Policy-Report-Only: script-src https: 'strict-dynamic' 'report-sample' 'nonce-wVLKq/k4kEbz6LmFzg0jLn6gWYMEY0bCyFjrwnWFPJ0='; base-uri 'self';report-to csp-endpoint
[0m
[37m 127 bytes > Report-To: {"group":"csp-endpoint","max_age":86400,"endpoints":[{"url":"https://aefd.nelreports.net/api/report?cat=bingcsp"}]}
[0m
[37m 152 bytes > Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version
[0m
[37m 101 bytes > X-MSEdge-Ref: Ref A: 1E64E1E44D5C4D53A0621175A4A34C4B Ref B: FRAEDGE1514 Ref C: 2023-02-15T04:27:46Z
[0m
[37m 36 bytes > Date: Wed, 15 Feb 2023 04:27:46 GMT
[0m
[37m 18 bytes > Connection: close
[0m
[37m 108 bytes > Set-Cookie: MUIDB=21C878CB57696ED73F076A72561E6FB5; expires=Mon, 11-Mar-2024 04:27:46 GMT; path=/; HttpOnly
[0m
[37m 236 bytes > Set-Cookie: btstkn=2KJKWI7DY%252FqGwlZgxHGh5mUwVD8xqNk%252Bdtb0u4x1S6aIWWq2gT1dqDSsOqYeaQphQq4tl8DuvvlXXTCXTo3Jib%252FeEvblFkPhSp%252Fekg7hLsQ%253D; domain=.bing.com; expires=Thu, 16-Feb-2023 04:27:46 GMT; path=/; secure; SameSite=None
[0m
[37m 45 bytes > X-CDN-TraceID: 0.9fd37a5c.1676435266.b04d742
[0m
[37m 1 bytes >
[0m
[37m 184 bytes > [{"detectedLanguage":{"language":"zh-Hans","score":1.0},"translations":[{"text":"ninja","to":"en","sentLen":{"srcSentLen":[2],"transSentLen":[5]}}]},{"inputTransliteration":"rěn zhě"}][0m
[37mcontent = '''
[{"detectedLanguage":{"language":"zh-Hans","score":1.0},"translations":[{"text":"ninja","to":"en","sentLen":{"srcSentLen":[2],"transSentLen":[5]}}]},{"inputTransliteration":"rěn zhě"}]
'''[0m
[37mtokens = ["[", "{", "\"detectedLanguage\"", ":", "{", "\"language\"", ":", "\"zh-Hans\"", ",", "\"score\"", ":", "1.0", "}", ",", "\"translations\"", ":", "[", "{", "\"text\"", ":", "\"ninja\"", ",", "\"to\"", ":", "\"en\"", ",", "\"sentLen\"", ":", "{", "\"srcSentLen\"", ":", "[", "2", "]", ",", "\"transSentLen\"", ":", "[", "5", "]", "}", "}", "]", "}", ",", "{", "\"inputTransliteration\"", ":", "\"rěn zhě\"", "}", "]"][0m
[37mast = {
"0,0,detectedLanguage,language" "\"zh-Hans\""
"0,0,detectedLanguage,score" "1.0"
"0,0,translations,0,sentLen,srcSentLen,0" "2"
"0,0,translations,0,sentLen,transSentLen,0" "5"
"0,0,translations,0,text" "\"ninja\""
"0,0,translations,0,to" "\"en\""
"0,1,inputTransliteration" "\"rěn zhě\""
}[0m
>>> translate-shell: Entering fakeroot...
[37m[OK] Task [1mbuild[22m completed.[0m
[OK] translate-shell installed.
>>> translate-shell-doc*: Running split function doc...
>>> translate-shell-doc*: Preparing subpackage translate-shell-doc...
>>> translate-shell-doc*: Running postcheck for translate-shell-doc
>>> translate-shell*: Running postcheck for translate-shell
>>> translate-shell*: Preparing package translate-shell...
>>> translate-shell-doc*: Tracing dependencies...
>>> translate-shell-doc*: Package size: 24.0 KB
>>> translate-shell-doc*: Compressing data...
>>> translate-shell-doc*: Create checksum...
>>> translate-shell-doc*: Create translate-shell-doc-0.9.7.1-r0.apk
>>> translate-shell*: Tracing dependencies...
>>> translate-shell*: Package size: 256.0 KB
>>> translate-shell*: Compressing data...
>>> translate-shell*: Create checksum...
>>> translate-shell*: Create translate-shell-0.9.7.1-r0.apk
>>> translate-shell: Build complete at Wed, 15 Feb 2023 04:27:47 +0000 elapsed time 0h 0m 7s
>>> translate-shell: Cleaning up srcdir
>>> translate-shell: Cleaning up pkgdir
>>> translate-shell: Uninstalling dependencies...
(1/4) Purging .makedepends-translate-shell (20230215.042740)
(2/4) Purging gawk (5.1.1-r1)
(3/4) Purging bash (5.2.15-r0)
Executing bash-5.2.15-r0.pre-deinstall
(4/4) Purging readline (8.2.0-r0)
Executing busybox-1.35.0-r29.trigger
OK: 222 MiB in 97 packages
>>> translate-shell: Updating the community/armhf repository index...
>>> translate-shell: Signing the index...
|