Skip to content

Commit

Permalink
fix(i18n): Datepicker Turkish translations (#19777) (#19830)
Browse files Browse the repository at this point in the history
* feat:Datepicker Turkish translations are added.

* chore: format

---------

(cherry picked from commit e18188e)

Co-authored-by: Türker Tunalı <turker.tunali@gmail.com>
  • Loading branch information
mergify[bot] and TurkerTunali committed Jan 30, 2023
1 parent 361e250 commit 5ba34b4
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions frappe/public/js/frappe/form/controls/datepicker_i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,44 @@ import "air-datepicker/dist/js/i18n/datepicker.zh.js";
firstDay: 1
};
})(jQuery);

(function ($) {
$.fn.datepicker.language["tr"] = {
days: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"],
daysShort: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
daysMin: ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"],
months: [
"Ocak",
"Şubat",
"Mart",
"Nisan",
"Mayıs",
"Haziran",
"Temmuz",
"Ağustos",
"Eylül",
"Ekim",
"Kasım",
"Aralık",
],
monthsShort: [
"Oca",
"Şub",
"Mar",
"Nis",
"May",
"Haz",
"Tem",
"Ağu",
"Eyl",
"Eki",
"Kas",
"Ara",
],
today: "Bugün",
clear: "Temizle",
dateFormat: "dd.mm.yyyy",
timeFormat: "hh:ii",
firstDay: 1,
};
})(jQuery);

0 comments on commit 5ba34b4

Please sign in to comment.