File tree 4 files changed +21
-9
lines changed
4 files changed +21
-9
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ export class CameraSource extends UploaderBlock {
215
215
216
216
CameraSource . template = /* HTML */ `
217
217
<uc-activity-header>
218
- <button type="button" class="uc-mini-btn" set="onclick: *historyBack">
218
+ <button type="button" class="uc-mini-btn" set="onclick: *historyBack" l10n="@title:back" >
219
219
<uc-icon name="back"></uc-icon>
220
220
</button>
221
221
<div set="@hidden: !cameraSelectHidden">
@@ -227,7 +227,12 @@ CameraSource.template = /* HTML */ `
227
227
set="$.options: cameraSelectOptions; @hidden: cameraSelectHidden; onchange: onCameraSelectChange"
228
228
>
229
229
</uc-select>
230
- <button type="button" class="uc-mini-btn uc-close-btn" set="onclick: *closeModal">
230
+ <button
231
+ type="button"
232
+ class="uc-mini-btn uc-close-btn"
233
+ set="onclick: *closeModal"
234
+ l10n="@title:a11y-activity-header-button-close"
235
+ >
231
236
<uc-icon name="close"></uc-icon>
232
237
</button>
233
238
</uc-activity-header>
Original file line number Diff line number Diff line change @@ -249,14 +249,19 @@ export class ExternalSource extends UploaderBlock {
249
249
250
250
ExternalSource . template = /* HTML */ `
251
251
<uc-activity-header>
252
- <button type="button" class="uc-mini-btn" set="onclick: *historyBack">
252
+ <button type="button" class="uc-mini-btn" set="onclick: *historyBack" l10n="@title:back" >
253
253
<uc-icon name="back"></uc-icon>
254
254
</button>
255
255
<div>
256
256
<uc-icon set="@name: activityIcon"></uc-icon>
257
257
<span>{{activityCaption}}</span>
258
258
</div>
259
- <button type="button" class="uc-mini-btn uc-close-btn" set="onclick: *historyBack">
259
+ <button
260
+ type="button"
261
+ class="uc-mini-btn uc-close-btn"
262
+ set="onclick: *historyBack"
263
+ l10n="@title:a11y-activity-header-button-close"
264
+ >
260
265
<uc-icon name="close"></uc-icon>
261
266
</button>
262
267
</uc-activity-header>
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ export class Icon extends Block {
9
9
...this . init$ ,
10
10
name : '' ,
11
11
href : '' ,
12
- title : '' ,
13
12
} ;
14
13
}
15
14
@@ -33,12 +32,10 @@ export class Icon extends Block {
33
32
34
33
Icon . template = /* HTML */ `
35
34
<svg ref="svg" xmlns="http://www.w3.org/2000/svg">
36
- <title>{{title}}</title>
37
35
<use set="@href: href;"></use>
38
36
</svg>
39
37
` ;
40
38
41
39
Icon . bindAttributes ( {
42
40
name : 'name' ,
43
- title : 'title' ,
44
41
} ) ;
Original file line number Diff line number Diff line change @@ -38,14 +38,19 @@ export class UrlSource extends UploaderBlock {
38
38
39
39
UrlSource . template = /* HTML */ `
40
40
<uc-activity-header>
41
- <button type="button" class="uc-mini-btn" set="onclick: *historyBack">
41
+ <button type="button" class="uc-mini-btn" set="onclick: *historyBack" l10n="@title:back" >
42
42
<uc-icon name="back"></uc-icon>
43
43
</button>
44
44
<div>
45
45
<uc-icon name="url"></uc-icon>
46
46
<span l10n="caption-from-url"></span>
47
47
</div>
48
- <button type="button" class="uc-mini-btn uc-close-btn" set="onclick: *closeModal">
48
+ <button
49
+ type="button"
50
+ class="uc-mini-btn uc-close-btn"
51
+ set="onclick: *closeModal"
52
+ l10n="@title:a11y-activity-header-button-close"
53
+ >
49
54
<uc-icon name="close"></uc-icon>
50
55
</button>
51
56
</uc-activity-header>
You can’t perform that action at this time.
0 commit comments