зеркало из https://github.com/mozilla/pjs.git
Add UI to control the looping of animated images (64831). r=hixie sr=ben a=asa
This commit is contained in:
Родитель
380a75ccae
Коммит
2d68b181d4
|
@ -42,7 +42,7 @@
|
|||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
|
||||
var _elementIDs = ["accOrgImages", "networkImageBehaviour", "networkImageWarnAboutImages"];
|
||||
var _elementIDs = ["accOrgImages", "networkImageBehaviour", "networkImageWarnAboutImages", "imageLooping"];
|
||||
|
||||
function init()
|
||||
{
|
||||
|
@ -117,5 +117,18 @@
|
|||
</box>
|
||||
|
||||
</titledbox>
|
||||
<titledbox orient="vertical">
|
||||
<label value="&animLoopingDetails.label;"/>
|
||||
<radiogroup id="imageLooping" orient="vertical" autostretch="never"
|
||||
pref="true" preftype="string" prefstring="image.animation_mode"
|
||||
prefattribute="value">
|
||||
<radio group="imageLooping" value="normal" label="&animLoopForever.label;"
|
||||
accesskey="&animLoopForever.accesskey;"/>
|
||||
<radio group="imageLooping" value="once" label="&animLoopOnce.label;"
|
||||
accesskey="&animLoopOnce.accesskey;"/>
|
||||
<radio group="imageLooping" value="never" label="&animLoopNever.label;"
|
||||
accesskey="&animLoopNever.accesskey;"/>
|
||||
</radiogroup>
|
||||
</titledbox>
|
||||
|
||||
</window>
|
||||
|
|
|
@ -19,3 +19,11 @@
|
|||
<!ENTITY viewImagesExplanation.label "View list of sites about which image acceptance information is stored">
|
||||
<!ENTITY viewImages.label "View Image Permissions">
|
||||
<!ENTITY viewImages.accesskey "p">
|
||||
<!ENTITY animLoopingTitle.label "Image Looping">
|
||||
<!ENTITY animLoopingDetails.label "Animated images should loop:">
|
||||
<!ENTITY animLoopForever.label "Forever">
|
||||
<!ENTITY animLoopForever.accesskey "F">
|
||||
<!ENTITY animLoopOnce.label "Once">
|
||||
<!ENTITY animLoopOnce.accesskey "O">
|
||||
<!ENTITY animLoopNever.label "Never">
|
||||
<!ENTITY animLoopNever.accesskey "N">
|
||||
|
|
Загрузка…
Ссылка в новой задаче