Skip to content

Commit

Permalink
Fix: translate filters related text
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifycode committed Sep 5, 2024
1 parent d5ba1fc commit 85b2cd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
[ngClass]="{ 'search-form__filters-panel--open': isFiltersVisible }"
>
<div class="search-form__filters-panel__head" *ngIf="!isDesktop">
<h3>Filters and sorting</h3>
<h3>{{ 'app.filters_and_sorting' | translate }}</h3>
<mzima-client-button
tabindex="-1"
fill="outline"
Expand Down Expand Up @@ -322,10 +322,9 @@ <h3>Filters and sorting</h3>
<mat-icon iconPrefix svgIcon="plus"></mat-icon>
{{ 'global_filter.save_new_filter' | translate }}
</mzima-client-button>
<span class="no-saved-filters" postfix *ngIf="savedSearches?.length === 0"
>No saved filters. Saved filter(s) will appear here for you to select once made
available.</span
>
<span class="no-saved-filters" postfix *ngIf="savedSearches?.length === 0">
{{ 'global_filter.no_saved_filters' | translate }}
</span>
</app-filter-control>

<app-filter-control
Expand Down
2 changes: 2 additions & 0 deletions apps/web-mzima-client/src/assets/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
"close_and_view": "Close and view results",
"show_more_less": "Show more/less",
"filters": "Filters",
"filters_and_sorting": "Filters and sorting",
"filter_by_survey": "Filter by survey",
"configure": "Configure",
"post": "Post",
Expand Down Expand Up @@ -602,6 +603,7 @@
"source": "Source",
"saved_filters": "Saved filters",
"saved_filter": "Saved filter",
"no_saved_filters": "No saved filters. Saved filter(s) will appear here for you to select once made available.",
"save_new_filter": "Save new filter",
"clear_all_filters": "Clear all filters",
"delete_this_saved_filter": "Are you sure you want to delete this saved filter?"
Expand Down

0 comments on commit 85b2cd6

Please sign in to comment.