fixed translation issue

MOE-PHASE-2-SPRINT-1
umasoodch 3 years ago
parent f794061b8f
commit 0e27da67c7

@ -1,4 +1,5 @@
import { Component, OnInit, Input } from '@angular/core'; import { Component, OnInit, Input } from '@angular/core';
import { TranslatorService } from 'src/app/hmg-common/services/translator/translator.service';
@Component({ @Component({
selector: 'app-card-calendar', selector: 'app-card-calendar',
@ -11,7 +12,9 @@ export class CardCalendarComponent implements OnInit {
@Input() active: boolean; @Input() active: boolean;
@Input() color: string; @Input() color: string;
constructor() { } constructor(
public ts: TranslatorService,
) { }
ngOnInit() {} ngOnInit() {}

@ -10,12 +10,12 @@
<div class="description-box"> <div class="description-box">
<ion-row> <ion-row>
<ion-col size="4"> <ion-col size="4">
<div class="icon absence"></div><ion-label class="label-text">Absence</ion-label> <div class="icon absence"></div><ion-label class="label-text">{{ts.trPK('home','absence-name')}}</ion-label>
</ion-col> </ion-col>
<ion-col size="4"> <div class="icon bt"></div><ion-label class="label-text">{{ts.trPK('home','holiday-name')}}</ion-label></ion-col>
<ion-col size="4"> <ion-col size="4">
<div class="icon holiday"></div><ion-label class="label-text">Holiday</ion-label> <div class="icon holiday"></div><ion-label class="label-text">{{ts.trPK('home','businesstrip-name')}}</ion-label>
</ion-col> </ion-col>
<ion-col size="4"> <div class="icon bt"></div><ion-label class="label-text">Business Trip</ion-label></ion-col>
</ion-row> </ion-row>
</div> </div>
<ng-template #template let-showEventDetail="showEventDetail" let-selectedDate="selectedDate" let-noEventsLabel="noEventsLabel"> <ng-template #template let-showEventDetail="showEventDetail" let-selectedDate="selectedDate" let-noEventsLabel="noEventsLabel">

@ -38,18 +38,18 @@
<ion-col [size]="12" [ngClass]="direction == 'ltr'? 'col':'col-ar'"> <ion-col [size]="12" [ngClass]="direction == 'ltr'? 'col':'col-ar'">
<ion-row class="amountlabel"> <p>{{TODAYDATE.ABSENCE_ATTENDANCE_TYPE_NAME}}</p> </ion-row> <ion-row class="amountlabel"> <p>{{TODAYDATE.HOLIDAY_TYPE}}</p> </ion-row>
<ion-row class="rowlabel"> <ion-row class="rowlabel">
<p >{{ts.trPK('attendance-tracking','shift-time')}}</p> <p >{{ts.trPK('attendance-tracking','shift-time')}}</p>
</ion-row> </ion-row>
</ion-col> </ion-col>
<ion-col [size]="12" style="border-bottom: 1px solid #ccc;"> <!-- <ion-col [size]="12" style="border-bottom: 1px solid #ccc;">
<ion-row class="amountlabel"><p >{{TODAYDATE.ABSENCE_ATTENDANCE_TYPE_NAME}}</p> </ion-row> <ion-row class="amountlabel"><p >{{TODAYDATE.ABSENCE_ATTENDANCE_TYPE_NAME}}</p> </ion-row>
<ion-row class="rowlabel"> <ion-row class="rowlabel">
<p >{{ts.trPK('attendance-tracking','shift-type')}}</p> <p >{{ts.trPK('attendance-tracking','shift-type')}}</p>
</ion-row> </ion-row>
</ion-col> </ion-col> -->
<ion-col [size]="12" [ngClass]="direction == 'ltr'? 'col':'col-ar'"> <ion-col [size]="12" [ngClass]="direction == 'ltr'? 'col':'col-ar'">

@ -298,8 +298,8 @@
"ar": "نهاية" "ar": "نهاية"
}, },
"pending-transaction": { "pending-transaction": {
"en": "Pending Transactions", "en": "Notices",
"ar": "المعاملات المعلقة" "ar": "إشعارات"
}, },
"huawei-plugin-issue": { "huawei-plugin-issue": {
"en": "Error while initializing Huawei Location Plugin", "en": "Error while initializing Huawei Location Plugin",
@ -1268,8 +1268,20 @@
"ar": "هل ترغب في تسجيل الدخول باسم المستخدم الحالي؟" "ar": "هل ترغب في تسجيل الدخول باسم المستخدم الحالي؟"
}, },
"monthly-attendance": { "monthly-attendance": {
"ar":"اجازاتي", "ar":"التقويم",
"en": "Leaves Calendar" "en": "Calendar"
},
"absence-name": {
"ar":"إجازة",
"en": "Absence"
},
"holiday-name": {
"ar":"انتداب",
"en": "Business Trip"
},
"businesstrip-name": {
"ar":"إجازة رسمية",
"en": "Holiday"
}, },
"monthly-time-sheet-view": { "monthly-time-sheet-view": {
"en": "View your Leaves Information", "en": "View your Leaves Information",
@ -1771,7 +1783,7 @@
}, },
"start-date": { "start-date": {
"en": "Start Date", "en": "Start Date",
"ar": "تاريخ البدء" "ar": "تاريخ البداية"
}, },
"end-date": { "end-date": {
"en": "End Date", "en": "End Date",
@ -3648,8 +3660,8 @@
"ar": "وقت العمل لم ينتهي بعد" "ar": "وقت العمل لم ينتهي بعد"
}, },
"shift-time": { "shift-time": {
"en": "Leave Type", "en": "Leave Details",
"ar": "نوع الإجازة" "ar": "تفاصيل الإجازة"
}, },
"shift-type": { "shift-type": {
"en": "Attendance Type", "en": "Attendance Type",

Loading…
Cancel
Save