Skip to content

Commit

Permalink
add labels (rgaa)
Browse files Browse the repository at this point in the history
  • Loading branch information
baudelotphilippe committed Jul 9, 2024
1 parent 2a357ef commit d9c0936
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion daikoku/javascript/src/components/frontend/api/ApiCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ export const ApiCard = (props: {
<div className="btn_group d-flex align-items-start">
<Can I={manage} a={API} team={team}>
<button
type="button"
className="btn btn-sm btn-outline-primary me-1 mb-1"
aria-label={translate("settings")}
onClick={props.redirectToEditPage}
>
<i className="fas fa-cog" />
Expand Down
2 changes: 2 additions & 0 deletions daikoku/javascript/src/components/frontend/team/ApiList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ export const ApiList = (props: TApiList) => {
setPage(0)
setOffset(0)
}}
aria-label={translate('view.list')}

>
<List />
Expand All @@ -318,6 +319,7 @@ export const ApiList = (props: TApiList) => {
setPage(0)
setOffset(0)
}}
aria-label={translate('view.grid')}
>
<Grid />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export const SideBar = () => {
>
<img
src={tenant.logo}
alt={translate('tenant.logo')}
/>
</Link>

Expand Down
5 changes: 4 additions & 1 deletion daikoku/javascript/src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1384,5 +1384,8 @@
"aggregation.button.subscription.usual.label": "Subscribe with a new api key",
"aggregation.button.subscription.disable.label": "No api keys are present in your team",
"aggregation.button.subscription.enable.label": "Subscribe using an existing api key",
"documentation.not.setted.message":"it's seems that this plan has no documentation setted"
"documentation.not.setted.message":"it's seems that this plan has no documentation setted",
"view.grid":"View grid",
"view.list":"View list",
"tenant.logo":"Tenant logo"
}
5 changes: 4 additions & 1 deletion daikoku/javascript/src/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1384,5 +1384,8 @@
"aggregation.button.subscription.usual.label": "Souscrire avec une nouvelle clé d'API",
"aggregation.button.subscription.disable.label": "Aucune clé d'API",
"aggregation.button.subscription.enable.label": "Souscrire en étendant une clé d'API existante",
"documentation.not.setted.message":"Il semble qu'aucune documentation ne soit définie pour ce plan"
"documentation.not.setted.message":"Il semble qu'aucune documentation ne soit définie pour ce plan",
"view.grid":"Vue grille",
"view.list":"Vue liste",
"tenant.logo":"Logo du tenant"
}

0 comments on commit d9c0936

Please sign in to comment.