Pārlūkot izejas kodu

Make project selection ARIA attributes translatable.

Paulo Reis 9 gadi atpakaļ
vecāks
revīzija
c105048e8d

+ 2 - 2
services/web/app/views/project/list/project-list.pug

@@ -128,7 +128,7 @@
 							input.select-all(
 							input.select-all(
 								select-all,
 								select-all,
 								type="checkbox"
 								type="checkbox"
-								aria-label="Select all"
+								aria-label=translate('select_all_projects')
 							)
 							)
 							span.header.clickable(ng-click="changePredicate('name')") #{translate("title")}
 							span.header.clickable(ng-click="changePredicate('name')") #{translate("title")}
 								i.tablesort.fa(ng-class="getSortIconClass('name')")
 								i.tablesort.fa(ng-class="getSortIconClass('name')")
@@ -149,7 +149,7 @@
 								type="checkbox",
 								type="checkbox",
 								ng-model="project.selected"
 								ng-model="project.selected"
 								stop-propagation="click"
 								stop-propagation="click"
-								aria-label="Select {{ project.name }}"
+								aria-label=translate('select_project') + " '{{ project.name }}'"
 							)
 							)
 							span
 							span
 								a.projectName(
 								a.projectName(