Skip to content

Commit

Permalink
loading i18n add
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Jan 28, 2025
1 parent 9352707 commit 6daa739
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Facility/FacilityUsers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function FacilityUsers(props: { facilityId: string }) {
variant="outline"
>
{userListFetching
? "Loading..."
? t("loading")
: t("entity_count", {
count: userListData?.count ?? 0,
entity: "User",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Questionnaire/QuestionnaireSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function QuestionnaireSearch({
icon="l-spinner"
className="mr-2 h-4 w-4 animate-spin"
/>
Loading...
{t("loading")}
</>
) : (
<span>{t("add_questionnaire")}</span>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Organization/components/EntityBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const EntityBadge: React.FC<EntityBadgeProps> = ({
variant="outline"
>
{isFetching
? "Loading..."
? t("loading")
: t(customTranslation || "entity_count", {
count: count ?? 0,
...translationParams,
Expand Down

0 comments on commit 6daa739

Please sign in to comment.