osclass / Osclass

With Osclass, get your own classifieds site for free. Build your own Osclass installation and start advertising real estate, jobs or whatever you want- in minutes!
http://osclass.org/
648 stars 344 forks source link

indonesian datepicker need to add backslash #2252

Closed plonknimbuzz closed 6 years ago

plonknimbuzz commented 6 years ago

version: 3.7.4 language: indonesian

both frontend footer or admin footer

$.datepicker.regional['custom'] = { // Default regional settings
        closeText: 'Done', // Display text for close link
        prevText: 'Prev', // Display text for previous month link
        nextText: 'Next', // Display text for next month link
        currentText: 'Today', // Display text for current month link
        monthNames: ['Januari','Februari','Maret','April','Mei','Juni','Juli','Agustus','September','Oktober','Nopember','Desember'], // Names of months for drop-down and formatting
        monthNamesShort: ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'Nopember', 'Desember'], // For formatting
        dayNames: ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jum\'at', 'Sabtu'], // For formatting
        dayNamesShort: ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jum'at', 'Sabtu'], // For formatting
        dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], // Column headings for days starting at Sunday
        weekHeader: 'Wk', // Column header for week of the year
        dateFormat: 'dd/mm/yy', // See format options on parseDate
        firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
        isRTL: false, // True if right-to-left language, false if left-to-right
        showMonthAfterYear: false, // True if the year select precedes month, false for month then year
        yearSuffix: '' // Additional text to append to the year in the month headers
            };

this line

dayNamesShort: ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jum'at', 'Sabtu'], // For formatting

jum'at is friday in english wrong: Jum'at correct: Jum\'at

how to fix this, i dont find any file that contains datepicker i18n, even i using windows search to find text kamis (thursday) => i try to find another day but didnt found the file.

i try to open several file in osclass folder but still didnt find it.

NOTE: if i used english again, the error is dissapear

plonknimbuzz commented 6 years ago

https://forums.osclass.org/3-7-x/where-is-the-file-that-initialize-i18n_datepicker/