PageSourceSearch

https://coderspace.io/jsi18n/

js coderspace.io collected 2026-10-04 14:41:04 UTC 8,200 bytes, 221 lines download raw bytes

1
2'use strict';
3{
4  const globals = this;
5  const django = globals.django || (globals.django = {});
6
7  
8  django.pluralidx = function(n) {
9    const v = (n > 1);
10    if (typeof v === 'boolean') {
11      return v ? 1 : 0;
12    } else {
13      return v;
14    }
15  };
16  
17
18  /* gettext library */
19
20  django.catalog = django.catalog || {};
21  
22  const newcatalog = {
23    "%(sel)s of %(cnt)s selected": [
24      "%(sel)s / %(cnt)s se\u00e7ildi",
25      "%(sel)s / %(cnt)s se\u00e7ildi"
26    ],
27    "%s selected option not visible": [
28      "%s se\u00e7ilen se\u00e7enek g\u00f6r\u00fcn\u00fcr de\u011fil",
29      "%s se\u00e7ilen se\u00e7enek g\u00f6r\u00fcn\u00fcr de\u011fil"
30    ],
31    "(click to clear)": "(temizlemek i\u00e7in t\u0131klay\u0131n)",
32    "6 a.m.": "Sabah 6",
33    "6 p.m.": "6 \u00f6.s.",
34    "April": "Nisan",
35    "August": "A\u011fustos",
36    "Available %s": "Mevcut %s",
37    "Cancel": "\u0130ptal",
38    "Choose %s by selecting them and then select the \"Choose\" arrow button.": "Bunlar\u0131 se\u00e7erek %s se\u00e7in ve ard\u0131ndan \"Se\u00e7\" ok d\u00fc\u011fmesine t\u0131klay\u0131n.",
39    "Choose a Date": "Bir Tarih Se\u00e7in",
40    "Choose a Time": "Bir Saat Se\u00e7in",
41    "Choose a time": "Bir saat se\u00e7in",
42    "Choose all %s": "T\u00fcm %s se\u00e7",
43    "Choose selected %s": "Se\u00e7ilen %s se\u00e7",
44    "Chosen %s": "Se\u00e7ilen %s",
45    "December": "Aral\u0131k",
46    "February": "\u015eubat",
47    "Filter": "S\u00fczge\u00e7",
48    "Friday": "Cuma",
49    "January": "Ocak",
50    "July": "Temmuz",
51    "June": "Haziran",
52    "March": "Mart",
53    "May": "May\u0131s",
54    "Midnight": "Geceyar\u0131s\u0131",
55    "Monday": "Pazartesi",
56    "Noon": "\u00d6\u011fle",
57    "Note: You are %s hour ahead of server time.": [
58      "Not: Sunucu saatinin %s saat ilerisindesiniz.",
59      "Not: Sunucu saatinin %s saat ilerisindesiniz."
60    ],
61    "Note: You are %s hour behind server time.": [
62      "Not: Sunucu saatinin %s saat gerisindesiniz.",
63      "Not: Sunucu saatinin %s saat gerisindesiniz."
64    ],
65    "November": "Kas\u0131m",
66    "Now": "\u015eimdi",
67    "October": "Ekim",
68    "Remove %s by selecting them and then select the \"Remove\" arrow button.": "Bunlar\u0131 se\u00e7erek %s kald\u0131r\u0131n ve ard\u0131ndan \"Kald\u0131r\" ok d\u00fc\u011fmesine t\u0131klay\u0131n.",
69    "Remove all %s": "T\u00fcm %s kald\u0131r",
70    "Remove selected %s": "Se\u00e7ilen %s kald\u0131r",
71    "Saturday": "Cumartesi",
72    "September": "Eyl\u00fcl",
73    "Sunday": "Pazar",
74    "Thursday": "Per\u015fembe",
75    "Today": "Bug\u00fcn",
76    "Tomorrow": "Yar\u0131n",
77    "Tuesday": "Sal\u0131",
78    "Type into this box to filter down the list of available %s.": "Mevcut %s listesini s\u00fczmek i\u00e7in bu kutu i\u00e7ine yaz\u0131n.",
79    "Type into this box to filter down the list of selected %s.": "Se\u00e7ilen %s listesini s\u00fczmek i\u00e7in bu kutu i\u00e7ine yaz\u0131n.",
80    "Wednesday": "\u00c7ar\u015famba",
81    "Yesterday": "D\u00fcn",
82    "You have selected an action, and you haven\u2019t made any changes on individual fields. You\u2019re probably looking for the Go button rather than the Save button.": "Bir eylem se\u00e7tiniz, ancak tek tek alanlarda herhangi bir de\u011fi\u015fiklik yapmad\u0131n\u0131z. Muhtemelen Kaydet d\u00fc\u011fmesi yerine Git d\u00fc\u011fmesini ar\u0131yorsunuz.",
83    "You have selected an action, but you haven\u2019t saved your changes to individual fields yet. Please click OK to save. You\u2019ll need to re-run the action.": "Bir eylem se\u00e7tiniz, ancak de\u011fi\u015fikliklerinizi tek tek alanlara kaydetmediniz. Kaydetmek i\u00e7in l\u00fctfen TAMAM d\u00fc\u011fmesine t\u0131klay\u0131n. Eylemi yeniden \u00e7al\u0131\u015ft\u0131rman\u0131z gerekecek.",
84    "You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost.": "Bireysel d\u00fczenlenebilir alanlarda kaydedilmemi\u015f de\u011fi\u015fiklikleriniz var. E\u011fer bir eylem \u00e7al\u0131\u015ft\u0131r\u0131rsan\u0131z, kaydedilmemi\u015f de\u011fi\u015fiklikleriniz kaybolacakt\u0131r.",
85    "abbrev. day Friday\u0004Fri": "Cum",
86    "abbrev. day Monday\u0004Mon": "Pzt",
87    "abbrev. day Saturday\u0004Sat": "Cmt",
88    "abbrev. day Sunday\u0004Sun": "Paz",
89    "abbrev. day Thursday\u0004Thur": "Per",
90    "abbrev. day Tuesday\u0004Tue": "Sal",
91    "abbrev. day Wednesday\u0004Wed": "\u00c7r\u015f",
92    "abbrev. month April\u0004Apr": "Nis",
93    "abbrev. month August\u0004Aug": "A\u011fu",
94    "abbrev. month December\u0004Dec": "Ara",
95    "abbrev. month February\u0004Feb": "\u015eub",
96    "abbrev. month January\u0004Jan": "Oca",
97    "abbrev. month July\u0004Jul": "Tem",
98    "abbrev. month June\u0004Jun": "Haz",
99    "abbrev. month March\u0004Mar": "Mar",
100    "abbrev. month May\u0004May": "May",
101    "abbrev. month November\u0004Nov": "Kas",
102    "abbrev. month October\u0004Oct": "Eki",
103    "abbrev. month September\u0004Sep": "Eyl",
104    "one letter Friday\u0004F": "C",
105    "one letter Monday\u0004M": "Pt",
106    "one letter Saturday\u0004S": "Ct",
107    "one letter Sunday\u0004S": "P",
108    "one letter Thursday\u0004T": "Pe",
109    "one letter Tuesday\u0004T": "S",
110    "one letter Wednesday\u0004W": "\u00c7"
111  };
112  for (const key in newcatalog) {
113    django.catalog[key] = newcatalog[key];
114  }
115  
116
117  if (!django.jsi18n_initialized) {
118    django.gettext = function(msgid) {
119      const value = django.catalog[msgid];
120      if (typeof value === 'undefined') {
121        return msgid;
122      } else {
123        return (typeof value === 'string') ? value : value[0];
124      }
125    };
126
127    django.ngettext = function(singular, plural, count) {
128      const value = django.catalog[singular];
129      if (typeof value === 'undefined') {
130        return (count == 1) ? singular : plural;
131      } else {
132        return value.constructor === Array ? value[django.pluralidx(count)] : value;
133      }
134    };
135
136    django.gettext_noop = function(msgid) { return msgid; };
137
138    django.pgettext = function(context, msgid) {
139      let value = django.gettext(context + '\x04' + msgid);
140      if (value.includes('\x04')) {
141        value = msgid;
142      }
143      return value;
144    };
145
146    django.npgettext = function(context, singular, plural, count) {
147      let value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count);
148      if (value.includes('\x04')) {
149        value = django.ngettext(singular, plural, count);
150      }
151      return value;
152    };
153
154    django.interpolate = function(fmt, obj, named) {
155      if (named) {
156        return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
157      } else {
158        return fmt.replace(/%s/g, function(match){return String(obj.shift())});
159      }
160    };
161
162
163    /* formatting library */
164
165    django.formats = {
166    "DATETIME_FORMAT": "d F Y H:i",
167    "DATETIME_INPUT_FORMATS": [
168      "%d/%m/%Y %H:%M:%S",
169      "%d/%m/%Y %H:%M:%S.%f",
170      "%d/%m/%Y %H:%M",
171      "%Y-%m-%d %H:%M:%S",
172      "%Y-%m-%d %H:%M:%S.%f",
173      "%Y-%m-%d %H:%M",
174      "%Y-%m-%d"
175    ],
176    "DATE_FORMAT": "d F Y",
177    "DATE_INPUT_FORMATS": [
178      "%d/%m/%Y",
179      "%d/%m/%y",
180      "%y-%m-%d",
181      "%Y-%m-%d"
182    ],
183    "DECIMAL_SEPARATOR": ",",
184    "FIRST_DAY_OF_WEEK": 1,
185    "MONTH_DAY_FORMAT": "d F",
186    "NUMBER_GROUPING": 3,
187    "SHORT_DATETIME_FORMAT": "d M Y H:i",
188    "SHORT_DATE_FORMAT": "d M Y",
189    "THOUSAND_SEPARATOR": ".",
190    "TIME_FORMAT": "H:i",
191    "TIME_INPUT_FORMATS": [
192      "%H:%M:%S",
193      "%H:%M:%S.%f",
194      "%H:%M"
195    ],
196    "YEAR_MONTH_FORMAT": "F Y"
197  };
198
199    django.get_format = function(format_type) {
200      const value = django.formats[format_type];
201      if (typeof value === 'undefined') {
202        return format_type;
203      } else {
204        return value;
205      }
206    };
207
208    /* add to global namespace */
209    globals.pluralidx = django.pluralidx;
210    globals.gettext = django.gettext;
211    globals.ngettext = django.ngettext;
212    globals.gettext_noop = django.gettext_noop;
213    globals.pgettext = django.pgettext;
214    globals.npgettext = django.npgettext;
215    globals.interpolate = django.interpolate;
216    globals.get_format = django.get_format;
217
218    django.jsi18n_initialized = true;
219  }
220};
221

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.