Skip to content

Commit 4c8e9e1

Browse files
Fix issue #336: Prevent Edge's translation from altering text by disabling translation on key elements
1 parent 5601d37 commit 4c8e9e1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/demo/index.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ function gtag() {
9494
<input class="param jscolor jscolor-active" id="background" name="background" alt="Background color" data-jscolor="{ format: 'hexa' }" value="#00000000">
9595

9696
<label for="center">Horizontally Centered</label>
97-
<select class="param" id="center" name="center" alt="Horizontally Centered">
97+
<select class="param" id="center" name="center" alt="Horizontally Centered" translate="no">
9898
<option>false</option>
9999
<option>true</option>
100100
</select>
101101

102102
<label for="vCenter">Vertically Centered</label>
103-
<select class="param" id="vCenter" name="vCenter" alt="Vertically Centered">
103+
<select class="param" id="vCenter" name="vCenter" alt="Vertically Centered" translate="no">
104104
<option>false</option>
105105
<option>true</option>
106106
</select>
@@ -112,13 +112,13 @@ function gtag() {
112112
</select>
113113

114114
<label for="repeat">Repeat</label>
115-
<select class="param" id="repeat" name="repeat" alt="Repeat">
115+
<select class="param" id="repeat" name="repeat" alt="Repeat" translate="no">
116116
<option>true</option>
117117
<option>false</option>
118118
</select>
119119

120120
<label for="random">Random</label>
121-
<select class="param" id="random" name="random" alt="Random">
121+
<select class="param" id="random" name="random" alt="Random" translate="no">
122122
<option>false</option>
123123
<option>true</option>
124124
</select>

0 commit comments

Comments
 (0)