Skip to content

Commit e237a1c

Browse files
[beacon] 編集(言い回し, 余計な訳注を除去, 対訳など
1 parent 68436d4 commit e237a1c

File tree

1 file changed

+15
-20
lines changed

1 file changed

+15
-20
lines changed

beacon-ja.html

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
schedule::::スケジュール
245245
他を阻まない:non-blocking
246246
他を阻む:blocking
247-
集約-:coalesce:~
247+
合体-:coalesce:~
248248
競う:competeする:~
249249
competing
250250
競合:contention:~
@@ -288,7 +288,6 @@
288288
-:hurt:~
289289
offline::::オフライン
290290
安全とされる:safelisted
291-
homescreen:
292291
mobile::::モバイル
293292
電力:energy:~
294293
interactive
@@ -330,6 +329,7 @@
330329
し易く:help
331330
できる-:enable
332331
しないようにする:prevent
332+
至らす:lead
333333

334334
●未分類
335335

@@ -344,14 +344,10 @@
344344
上限:limit:~
345345
上限:limits
346346

347-
●指示語
348-
種々の:various
349-
等しい:equal
347+
^en:homescreen
350348
他の:different
351-
-:happen
352349
量:amount
353350
高い/高:high/higher
354-
かもしれない:leads to
355351
-:leave
356352
-:parameter
357353

@@ -490,11 +486,11 @@ <h2 title="Introduction">1. 序論</h2>
490486
送達~率を改善するために,
491487
各~beaconを即時に送達することを選んでいる
492488
— それらの送達を[
493-
集約する/遅延する
489+
合体する/遅延する
494490
]代わりに。
495491
送達を遅延すると、
496492
~beacon要請を成功裡に完了するための時間が足りなくなり,
497-
重要な~app~dataを喪失するかもしれないので
493+
重要な~app~dataの喪失へ至らすこともある
498494
499495
Developers opt for immediate delivery of each beacon, instead of coalescing and deferring their delivery because this provides improved delivery rates. Deferring delivery may mean that the beacon request may not have sufficient time to complete successfully, which leads to loss of important application data.
500496
</li>
@@ -545,7 +541,7 @@ <h2 title="Introduction">1. 序論</h2>
545541
</li>
546542
<li>
547543
~UAは、
548-
~mobile機器~上の電力~利用を最適化するために,~beacon要請を効率的に集約することもできる
544+
~mobile機器~上の電力~利用を最適化するために,~beacon要請たちを効率的に合体することもできる
549545
550546
Beacon requests may be efficiently coalesced by the user agent to optimize energy use on mobile devices.
551547
</li>
@@ -612,19 +608,18 @@ <h2 title="Introduction">1. 序論</h2>
612608
`PAGE-VISIBILITY-2$r に定義された
613609
【が,今や `HTML$r にて`定義される@~HTMLinteraction#update-the-visibility-state$】
614610
`visibilitychange$et ~eventを利用する。
615-
この~eventは
616-
~pageが[
611+
~mobile機器においては
612+
この~eventが,~pageが[
617613
~background状態へ遷移するとき
618-
(例:利用者が他の~appに切替えたとき, ~homescreenへ戻ったとき, 等々)/
619-
~unloadされているとき
620-
に~mobile機器†上で発火されることが保証される,唯一の~eventである。
614+
(例:利用者が他の~appに切替えたとき, `homescreen^en へ戻ったとき, 等々)/
615+
~unloadされるとき
616+
に発火されることが保証される唯一の~eventである。
621617
開発者は、
622618
`unload^et ~eventに依拠するのは避けるべきである
623-
— それは、
624-
~pageが~background状態にあるとき
619+
— それは,~pageが~background状態にあるとき
625620
(すなわち, `visibilityState$m は `hidden^l )
626-
には発火されず,その処理nは~mobile~OS†により終了されるので。
627-
【†と記されているが、別に~mobile環境に限った話では無いであろう。】
621+
には発火されず
622+
~mobile~OSにおいては,その処理nは終了されるので。
628623
629624
Above example uses visibilitychange event defined in [PAGE-VISIBILITY-2] to trigger delivery of session data. This event is the only event that is guaranteed to fire on mobile devices when the page transitions to background state (e.g. when user switches to a different application, goes to homescreen, etc), or is being unloaded. Developers should avoid relying on unload event because it will not fire whenever a page is in a background state (i.e. visibilityState equal to hidden) and the process is terminated by the mobile OS.
630625
</p>
@@ -1054,7 +1049,7 @@ <h2 title="Privacy and Security">4. ~privacyと~security</h2>
10541049
~UAは,[
10551050
そのような要請を優先度化する
10561051
]ことも[
1057-
それらを集約して~system資源の利用を最適化する
1052+
それらを合体して~system資源の利用を最適化する
10581053
]こともできない。
10591054
10601055
The delivered data might contain potentially sensitive information, for example, data about a user's activity on a web page, to a server. While this can have privacy implications for the user, existing methods, such as scripted form-submit, image beacons, and XHR/fetch requests provide similar capabilities, but come with various and costly performance tradeoffs: the requests can be aborted by the user agent unless the developer blocks the user agent from processing other events (e.g. by invoking a synchronous request, or spinning in an empty loop), and the user agent is unable to prioritize and coalesce such requests to optimize use of system resources.

0 commit comments

Comments
 (0)