Skip to content

Commit

Permalink
Improved: Spaces in locales and inside the translation call in facili…
Browse files Browse the repository at this point in the history
…tyDetails
  • Loading branch information
Ritika-Patel08 committed Jan 10, 2024
1 parent dd769d5 commit fb43935
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
"Logging in": "Logging in",
"Logging out": "Logging out",
"Login": "Login",
"logins":"{facilitytype} logins",
"logins": "{facilitytype} logins",
"Login failed": "Login failed",
"Logout": "Logout",
"Longitude": "Longitude",
Expand Down
2 changes: 1 addition & 1 deletion src/views/FacilityDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
<ion-card>
<ion-card-header>
<ion-card-title>
{{ facilityTypes[current.facilityTypeId]?.description ? translate(`${facilityTypes[current.facilityTypeId]?.description} logins`) : translate('logins',{ facilitytype:`${current.facilityTypeId}` }) }}
{{ facilityTypes[current.facilityTypeId]?.description ? translate(`${facilityTypes[current.facilityTypeId]?.description} logins`) : translate('logins', { facilitytype:`${current.facilityTypeId}` }) }}
</ion-card-title>
<ion-button v-if="current.facilityLogins?.length" @click="createFacilityLoginModal()" fill="clear">
<ion-icon :icon="addCircleOutline" slot="end" />
Expand Down

0 comments on commit fb43935

Please sign in to comment.