Skip to content

Commit

Permalink
Merge branch 'develop' into develop
Browse files Browse the repository at this point in the history
Signed-off-by: Aravindhan Alagesan <[email protected]>
  • Loading branch information
aranaravi authored Feb 19, 2024
2 parents 5ad844d + 245ca5a commit ecfdfeb
Show file tree
Hide file tree
Showing 18 changed files with 1,861 additions and 86 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div id="flex-single-view" style="padding-top: 12px;padding-bottom: 10px;">
<div id="flex-container">
<div id="myDiv" class="flex-body" *ngIf="displayedColumns && actionEllipsis">
<mat-card *ngIf="filterColumns">
<mat-card *ngIf="filterColumns" class="lost-rid-status-card">
<div class="example-container">
<span><h3 class="header">{{'lostRID.subtitleenrollment' | translate}}</h3></span>
<div *ngFor="let field of filterColumns; let i = index" style="display:inline-flex;">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,8 @@ h3 {
color: #ffffff!important;
}

:dir(rtl) .lost-rid-status-card {
padding-left: 50px !important;
padding-right: 50px !important;
}

16 changes: 9 additions & 7 deletions admin-ui/src/app/shared/dialog/dialog.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,15 @@ <h2 class="filter-heading">{{ "filters.titleTxt" | translate }}</h2>

<!-- Message PopUp -->
<div class="pop-up" *ngIf="input.case === 'MESSAGE'">
<img
src="assets/images/icon_Suceess right.png"
alt="Success Icon"
height="45px"
width="45px"
class="success-img"
*ngIf="input.title === 'Success' || input.title === 'نجاح' || input.title === 'Succès'|| input.title === 'सफलता' || input.title === 'ಯಶಸ್ಸು' || input.title === 'வெற்றி'" />
<div class="pop-up-header">
<img
src="assets/images/icon_Suceess right.png"
alt="Success Icon"
height="45px"
width="45px"
class="success-img"
*ngIf="input.title === 'Success' || input.title === 'نجاح' || input.title === 'Succès'|| input.title === 'सफलता' || input.title === 'ಯಶಸ್ಸು' || input.title === 'வெற்றி'" />
</div>
<div class="pop-up-header">
<b mat-dialog-title>{{ input.title }}</b>
<div mat-dialog-content>
Expand Down
7 changes: 7 additions & 0 deletions admin-ui/src/app/shared/table/table.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,11 @@ td.mat-footer-cell:last-child {
caption {
font-size: 1.2em;
font-weight: bold;
}

:dir(rtl) th.mat-header-cell:nth-of-type(1), :dir(rtl) td.mat-cell:nth-of-type(1),
:dir(rtl) td.mat-footer-cell:nth-of-type(1), :dir(rtl) .table-header:nth-of-type(1) {
text-align: right;
padding-right: 20px;
padding-left: 1px;
}
8 changes: 6 additions & 2 deletions admin-ui/src/app/shared/toolbar/toolbar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export class ToolbarComponent extends MatPaginatorIntl implements OnInit {
@Input() filtersAppliedFlag: boolean;
@Output() pageEvent = new EventEmitter();
lang: string;

pageSize: number;
itemsPerPageLabel: string = "";
constructor(
Expand All @@ -33,7 +32,12 @@ export class ToolbarComponent extends MatPaginatorIntl implements OnInit {
super();
let self = this;
self.translateService.getTranslation(self.headerService.getUserPreferredLanguage()).subscribe(response => {
self.itemsPerPageLabel = response.paginationLabel.showRows;
self.itemsPerPageLabel = response['paginatorIntl'].itemsPerPageLabel;
const originalGetRangeLabel = this.getRangeLabel;
self.getRangeLabel = (page: number, size: number, len: number) => {
return originalGetRangeLabel(page, size, len)
.replace('of', response['paginatorIntl'].of);
};
self.ngOnInit();
});
}
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/src/assets/entity-spec/dynamicfields.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"linkType": "",
"LinkURL": "",
"inputType": "textarea",
"ismandatory": "false"
"ismandatory": "true"
},
{
"name": "value",
Expand Down
70 changes: 61 additions & 9 deletions admin-ui/src/assets/i18n/ara.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
"subItem3": "الحصول على شهادة",
"subItem4": "تحميل الشهادة",
"subItem5": "تحميل شهادة مجال أخرى"
},
"item8": {
"title": "استرداد RID المفقود"
}
},
"dashboard": {
Expand Down Expand Up @@ -484,7 +487,7 @@
"message": "حجم الحمولة يتجاوز حد الحجم. يرجى التحقق من حجم الحمولة.",
"btnTxt": "حسنا"
},
"servicedown": {
"servicedown": {
"title": "الخدمة غير متاحة مؤقتا",
"message": "الخدمة ليست جاهزة للتعامل مع الطلب. يرجى المحاولة بعد وقت ما.",
"btnTxt": "حسنا"
Expand Down Expand Up @@ -753,7 +756,7 @@
"InActive":"غير نشط"
},
"lostRID":{
"titleTxt":"استرداد Lost RID",
"titleTxt":"استرداد RID المفقود",
"subtitleenrollment":"تفاصيل التسجيل",
"subtitlelocation":"موقع",
"searchbtn":"بحث",
Expand Down Expand Up @@ -828,8 +831,9 @@
"Zone":"منطقة",
"Logout":"تسجيل خروج"
},
"paginationLabel":{
"showRows":"عرض الصفوف"
"paginatorIntl": {
"itemsPerPageLabel": "مواد لكل صفحة",
"of": "ل"
},
"keymanager": {
"applicationIds": [{
Expand Down Expand Up @@ -862,6 +866,42 @@
}]
},

"download-card": {
"header": "تحميل البطاقة",
"text": "الرجاء إدخال معرّف التسجيل لتنزيل البطاقة الرقمية",
"error": "تم إدخال معرف تسجيل غير صالح",
"id": "معرف تسجيل",
"dob": "تاريخ الولادة",
"verifyanddownload": "لقد تحققت من الوجه.",
"reject": "الوجه غير متطابق.",
"submit": "رفض",
"download": "تحميل",
"searchLimit": "لقد تركت مع",
"outof": "عمليات البحث من أصل",
"dailylimit": "من الحد اليومي الخاص بك",
"verify": "هل يمكنك تأكيد ما إذا كان الوجه قد تم التحقق منه؟",
"placeholder":"معرف تسجيل",
"errorMessages": {
"title": "خطأ",
"message": "لم يتم العثور على RID",
"btnTxt": "موافق"
},
"popupMessages": {
"rejectMessages": {
"title": "النجاح",
"message": "لقد رفضت التحقق.",
"btnTxt": "موافق"
},
"noData": {
"title": "خطأ",
"message": "لاتوجد بيانات",
"btnTxt": "موافق"
}
},
"statuscheckFailed":"فشل",
"statuscheckCompleted":"منجز"

},
"serverError": {
"KER-KMS-001": "الشهادة غير صالحة",
"KER-KMS-002": "غير موجود في ",
Expand Down Expand Up @@ -1100,6 +1140,7 @@
"KER-MSD-058": "\nحدث خطأ أثناء إدخال تفاصيل السبب",
"KER-MSD-263": "\nحدث خطأ أثناء البحث في السجل: طلب غير صالح",
"KER-MSD-364": "\nفشل في استئناف الحزمة",
"KER-MSD-365": "مواصفات الجهاز غير نشطة",
"ADM-DPM-032": "\nمعرف / اسم موفر الجهاز غير موجود في قائمة موفري الأجهزة المسجلين",
"ADM-DPM-035": "حدث خطأ أثناء تخزين تفاصيل الجهاز المسجل",
"ADM-DPM-042": "\n٪ s لا يمكن تسجيل الجهاز لأنه ليس من الأجهزة المدرجة في القائمة البيضاء",
Expand Down Expand Up @@ -1257,7 +1298,7 @@
"KER-MSD-238": "حدث خطأ أثناء تحديث القالب" ,
"KER-MSD-096": "حدث خطأ أثناء حذف القالب" ,
"KER-MSD-232": "حدث خطأ أثناء إدراج تفاصيل تنسيق ملف القالب" ,
"KER-MSD-046": "لم يتم العثور على القالب." ,
"KER-MSD-046": "لم يتم العثور على القالب.",
"KER-MSD-093": "حدث خطأ أثناء تحديث القالب" ,
"KER-MSD-236": "حدث خطأ أثناء حذف القالب" ,
"KER-MSD-125": "لا يمكن حذف التبعية التي تم العثور عليها." ,
Expand Down Expand Up @@ -1318,7 +1359,7 @@
"KER-MSD-337": "حدث خطأ أثناء إحضار المنطقة" ,
"KER-MSD-339": "لم يتم العثور على منطقة للمستخدم الذي قام بتسجيل الدخول٪ s" ,
"KER-MSD-338": "حدث خطأ أثناء إحضار منطقة المستخدم" ,
"KER-MSD-391": "الكيان لمعرف المستخدم المحدد غير موجود" ,
"KER-MSD-391": "تعيين المنطقة مفقود. يرجى تعيين المستخدم للمنطقة",
"KER-MSD-392": "لم يتم العثور على الكيان الخاص برمز المنطقة الخاص بمعرف المستخدم" ,
"ADM-PKT-001": "المسؤول غير مخول" ,
"KER-MSD-393": "خطأ داخلي في الخادم" ,
Expand Down Expand Up @@ -1347,7 +1388,7 @@
"ADM-PKT-010": "استثناء تحليل JSON أثناء تحليل الاستجابة",
"ADM-PKT-090": "حدث خطأ أثناء إحضار تحديث حالة الحزمة",
"KER-MSD-999": "إدخال طلب غير صالح",
"KER-MSD-319": "إدخال أمر غير صالح",
"KER-MSD-319": "إدخال أمر غير صالح",
"ADMN-LRID-001" : "غير قادر على العثور على التخلص المفقود..",
"ADM-BLK-004" : "التنسيق المدعوم هو ملف csv فقط",
"ADM-BLK-005" : "التنسيق المدعوم هو ملف مضغوط فقط",
Expand Down Expand Up @@ -1464,7 +1505,18 @@
"RPR-SEN-SUCCESS-001": "تم استلام الإخطار للمنطقة الآمنة",
"RPR-RGS-034" : "البحث بين التاريخ يجب أن يكون أقل من 30 يومًا",
"KER-MSD-394": "تعيين منطقتك مفقود. الرجاء الاتصال بالمسؤول.",
"KER-USR-025": "تعيين المركز مفقود، ولا يمكن تنشيط المستخدم."

"KER-USR-025": "تعيين المركز مفقود، ولا يمكن تنشيط المستخدم.",
"ADM-AVD-001": "حدث خطأ تقني أثناء استرداد البيانات ، يرجى المحاولة مرة أخرى بعد مرور بعض الوقت.",
"ADM-AVD-002": "RID غير صالح",
"ADM-AVD-003": "لم يتم إنشاء بطاقة معرّف الطلب هذا. يُرجى التحقق من حالة المعرّف.",
"ADM-AVD-004": "لم يتم العثور على صورة مقدم الطلب",
"ADM-AVD-005": "لم يتم العثور على بطاقة رقمية لـ RID ، يرجى المحاولة بعد أيام قليلة",
"ADM-AVD-006": "الرجاء الإقرار بالتفاصيل قبل تنزيل البطاقة الرقمية",
"ADM-AVD-007": "معرّف الطلب غير موجود",
"ADM-AVD-008": "تجاوز حد البحث اليومي الخاص بك. يرجى محاولة البحث مرة أخرى غدًا.",
"ADM-AVD-009": "انتهت صلاحية استخدام مشاركة البيانات",
"ADM-AVD-509" : "لم يتم العثور على RID",
"ADM-AVD-510" : "تم تجاوز حد البحث لمقدم الطلب",
"ADM-AVD-511" : "طلب معرف غير موجود"
}
}
20 changes: 19 additions & 1 deletion admin-ui/src/assets/i18n/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
"name": "Kannada",
"nativeName": "ಕನ್ನಡ",
"locale": "kn_IN"
},
"spa": {
"name": "Spanish",
"nativeName": "Española",
"locale": "es_ES"
}
},
"keyboardMapping" :{
Expand All @@ -37,12 +42,14 @@
"ara": "ar",
"hin": "hi",
"tam": "ta",
"kan": "kn"
"kan": "kn",
"spa": "es"
},
"masterdataMapping" :{
"blocklisted-words": {
"name": {
"eng": "Blocklisted Words",
"spa": "Palabras bloqueadas",
"ara": "الكلمات المحظورة",
"fra": "Mots bloqués",
"tam": "தடுப்புப்பட்டியலில் உள்ள வார்த்தைகள்",
Expand All @@ -53,6 +60,7 @@
"holiday": {
"name": {
"eng": "Holiday",
"spa": "Día festivo",
"ara": "قائمة عطلة",
"fra": "Liste de vacances",
"tam": "விடுமுறை",
Expand All @@ -63,6 +71,7 @@
"document-type": {
"name": {
"eng": "Document Type",
"spa": "Tipo de Documento",
"ara": "أنواع المستندات",
"fra": "Types de documents",
"tam": "ஆவண வகை",
Expand All @@ -73,6 +82,7 @@
"templates": {
"name": {
"eng": "Templates",
"spa": "Plantillas",
"ara": "قوالب",
"fra": "Modèles",
"tam": "வார்ப்புருக்கள்",
Expand All @@ -83,6 +93,7 @@
"machine-type": {
"name": {
"eng": "Machine Types",
"spa": "Tipos de máquinas",
"ara": "أنواع الآلات",
"fra": "Types de machines",
"tam": "இயந்திர வகைகள்",
Expand All @@ -93,6 +104,7 @@
"device-types": {
"name": {
"eng": "Device Types",
"spa": "Tipos de dispositivos",
"ara": "أنواع الأجهزة",
"fra": "Types de périphériques",
"tam": "சாதன வகைகள்",
Expand All @@ -103,6 +115,7 @@
"document-categories": {
"name": {
"eng": "Document Categories",
"spa": "Categorías de documentos",
"ara": "فئات المستندات",
"fra": "Catégories de document",
"tam": "ஆவண வகைகள்",
Expand All @@ -113,6 +126,7 @@
"machine-specs": {
"name": {
"eng": "Machine Specification",
"spa": "Especificación de la máquina",
"ara": "المواصفات الجهاز",
"fra": "Spécifications de la machin",
"tam": "இயந்திர விவரக்குறிப்பு",
Expand All @@ -123,6 +137,7 @@
"device-specs": {
"name": {
"eng": "Device Specification",
"spa": "Especificación del dispositivo",
"ara": "مواصفات الجهاز",
"fra": "Spécifications de l\"appareil",
"tam": "சாதன விவரக்குறிப்பு",
Expand All @@ -133,6 +148,7 @@
"center-type": {
"name": {
"eng": "Center Type",
"spa": "Tipo de centro",
"ara": "نوع المركز",
"fra": "Type de centre",
"tam": "மைய வகை",
Expand All @@ -143,6 +159,7 @@
"dynamicfields": {
"name": {
"eng": "Dynamic Field",
"spa": "Campo Dinámico",
"ara": "مجال ديناميكي",
"fra": "Champ dynamique",
"tam": "டைனமிக் புலம்",
Expand All @@ -153,6 +170,7 @@
"documentCategoryMapping": {
"name": {
"eng": "Document Category - Type Mapping",
"spa": "Categoría de documento: asignación de tipos",
"ara": "فئة الوثيقة - نوع التعيين",
"fra": "Catégorie de document - Mappage de types",
"tam": "ஆவண வகை - வகை மேப்பிங்",
Expand Down
Loading

0 comments on commit ecfdfeb

Please sign in to comment.