Skip to content

Commit 8670c16

Browse files
MMwandighatuxpiper
authored andcommitted
fix for missing localization keys & inner html for 'no posts found' (#1517)
1 parent 0626895 commit 8670c16

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

apps/mobile-mzima-client/src/app/map/components/filters-form/filters-form.component.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,11 @@
5151
<ion-text color="medium" *ngIf="!form.controls['postsQuery'].value?.length">
5252
{{ 'app.find_posts' | translate }}
5353
</ion-text>
54-
<ion-text color="medium" *ngIf="form.controls['postsQuery'].value?.length">
55-
{{ 'app.no_posts_found' | translate }}
54+
<ion-text
55+
color="medium"
56+
*ngIf="form.controls['postsQuery'].value?.length"
57+
[innerHTML]="'app.no_posts_found' | translate"
58+
>
5659
</ion-text>
5760
</ng-container>
5861
</div>

apps/mobile-mzima-client/src/assets/locales/en.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"select_language": "Select language from the list",
4646
"current": "current",
4747
"bulk_actions": "Bulk Actions",
48+
"done": "Done",
4849
"no_posts": "No posts found!",
4950
"support_info": "Support and Information",
5051
"nothing_found":"Nothing found!",
@@ -62,6 +63,7 @@
6263
"required_location":"Required location field",
6364
"invisible_task":"This task will be visible when post is published.",
6465
"select_time": "Select Time",
66+
"select_dates": "Select Dates",
6567
"create_new_collection":"Create new collection",
6668
"collections": "Collections",
6769
"no_collections": "There are no collections yet!",
@@ -86,7 +88,16 @@
8688
"posts_uploading" : "<b>Uploading {{num_posts}} Posts</b><br/>We are currently uploading your posts",
8789
"posts_uploaded" : "<b>{{num_posts}} Posts Uploaded Successfully!</b><br/>Your posts were successfully uploaded. You can see them under \"My Posts\""
8890
},
91+
"categories": {
92+
"filter_info": {
93+
"subcategories": {
94+
"selected": "Selected {{ checkedOption }} of {{ optionsTotal }}",
95+
"none": "No Sub categories"
96+
}
97+
}
98+
},
8999
"map": "Map",
100+
"map_search":"Enter city or address",
90101
"activity": "Activity",
91102
"profile": "Profile",
92103
"language": "Language",

0 commit comments

Comments
 (0)