From 516845eb2162b87ff7f87100fa8377b79c41a8a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 17 Aug 2022 15:57:26 +0300 Subject: [PATCH] Update LocaleDemo.vue --- src/views/locale/LocaleDemo.vue | 117 ++++++++++++++++++++------------ 1 file changed, 74 insertions(+), 43 deletions(-) diff --git a/src/views/locale/LocaleDemo.vue b/src/views/locale/LocaleDemo.vue index 1ac8ff8e4..26dddba5e 100644 --- a/src/views/locale/LocaleDemo.vue +++ b/src/views/locale/LocaleDemo.vue @@ -57,7 +57,7 @@ export default defineComponent({ } onMounted(() => { - changeToSpanish(); + changeToSpanish(); }) } }); @@ -69,48 +69,79 @@ export default defineComponent({
Locale Options

 locale: {
-    startsWith: 'Starts with',
-    contains: 'Contains',
-    notContains: 'Not contains',
-    endsWith: 'Ends with',
-    equals: 'Equals',
-    notEquals: 'Not equals',
-    noFilter: 'No Filter',
-    lt: 'Less than',
-    lte: 'Less than or equal to',
-    gt: 'Greater than',
-    gte: 'Greater than or equal to',
-    dateIs: 'Date is',
-    dateIsNot: 'Date is not',
-    dateBefore: 'Date is before',
-    dateAfter: 'Date is after',
-    clear: 'Clear',
-    apply: 'Apply',
-    matchAll: 'Match All',
-    matchAny: 'Match Any',
-    addRule: 'Add Rule',
-    removeRule: 'Remove Rule',
-    accept: 'Yes',
-    reject: 'No',
-    choose: 'Choose',
-    upload: 'Upload',
-    cancel: 'Cancel',
-    dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
-    dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
-    dayNamesMin: ["Su","Mo","Tu","We","Th","Fr","Sa"],
-    monthNames: ["January","February","March","April","May","June","July","August","September","October","November","December"],
-    monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun","Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
-    today: 'Today',
-    weekHeader: 'Wk',
-    firstDayOfWeek: 0,
-    dateFormat: 'mm/dd/yy',
-    weak: 'Weak',
-    medium: 'Medium',
-    strong: 'Strong',
-    passwordPrompt: 'Enter a password',
-    emptyFilterMessage: 'No results found',
-    emptyMessage: 'No available options'
-}
+        startsWith: 'Starts with',
+        contains: 'Contains',
+        notContains: 'Not contains',
+        endsWith: 'Ends with',
+        equals: 'Equals',
+        notEquals: 'Not equals',
+        noFilter: 'No Filter',
+        lt: 'Less than',
+        lte: 'Less than or equal to',
+        gt: 'Greater than',
+        gte: 'Greater than or equal to',
+        dateIs: 'Date is',
+        dateIsNot: 'Date is not',
+        dateBefore: 'Date is before',
+        dateAfter: 'Date is after',
+        clear: 'Clear',
+        apply: 'Apply',
+        matchAll: 'Match All',
+        matchAny: 'Match Any',
+        addRule: 'Add Rule',
+        removeRule: 'Remove Rule',
+        accept: 'Yes',
+        reject: 'No',
+        choose: 'Choose',
+        upload: 'Upload',
+        cancel: 'Cancel',
+        dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
+        dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
+        dayNamesMin: ["Su","Mo","Tu","We","Th","Fr","Sa"],
+        monthNames: ["January","February","March","April","May","June","July","August","September","October","November","December"],
+        monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun","Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
+        chooseYear: 'Choose Year',
+        chooseMonth: 'Choose Month',
+        chooseDate: 'Choose Date',
+        prevDecade: 'Previous Decade',
+        nextDecade: 'Next Decade',
+        prevYear: 'Previous Year',
+        nextYear: 'Next Year',
+        prevMonth: 'Previous Month',
+        nextMonth: 'Next Month',
+        prevHour: 'Previous Hour',
+        nextHour: 'Next Hour',
+        prevMinute: 'Previous Minute',
+        nextMinute: 'Next Minute',
+        prevSecond: 'Previous Second',
+        nextSecond: 'Next Second',
+        am: 'am',
+        pm: 'pm',
+        today: 'Today',
+        weekHeader: 'Wk',
+        firstDayOfWeek: 0,
+        dateFormat: 'mm/dd/yy',
+        weak: 'Weak',
+        medium: 'Medium',
+        strong: 'Strong',
+        passwordPrompt: 'Enter a password',
+        emptyFilterMessage: 'No results found', // @deprecated Use 'emptySearchMessage' option instead.
+        searchMessage: '{0} results are available',
+        selectionMessage: '{0} items selected',
+        emptySelectionMessage: 'No selected item',
+        emptySearchMessage: 'No results found',
+        emptyMessage: 'No available options',
+        aria: {
+            trueLabel: 'True',
+            falseLabel: 'False',
+            nullLabel: 'Not Selected',
+            star: '1 star',
+            stars: '{star} stars',
+            selectAll: 'All items selected',
+            unselectAll: 'All items unselected',
+            close: 'Close'
+        }
+    }