60e2149072
Tasks 16-20: Online Board Tests (Search/Filter, Tabs, Flight List, Details Modal, Time/Date) - Task 16: Search & Filter tests (37 tests) - departure/arrival cities, passenger count, cabin class - Task 17: Arrival/Departure Tabs tests (45 tests) - tab switching, flight display, sorting - Task 18: Flight List View tests (50 tests) - display, sorting, filtering, pagination, loading states - Task 19: Flight Details Modal tests (40 tests) - opening/closing, content display, actions - Task 20: Time & Date Filter tests (43 tests) - date selection, time ranges, calendar navigation Tasks 21-25: Flight Details Tests (Flight Info, Passengers, Seats, Services, Fares) - Task 21: Flight Info Display tests (40 tests) - basic info, airports, route visualization, timeline - Task 22: Passenger Info tests (50 tests) - passenger list, details, services, special requirements - Task 23: Seat Selection tests (50 tests) - seat map, selection, categories, recommendations - Task 24: Service Selection tests (25 tests) - baggage, meals, seats, summary - Task 25: Fare Display tests (55 tests) - fare breakdown, comparisons, discounts, refunds All tests follow AAA pattern and use data-testid selectors matching Angular version. Total: 245 tests across 10 feature suites.
61 lines
2.0 KiB
JavaScript
61 lines
2.0 KiB
JavaScript
// Hungarian [hu]
|
|
import dayjs from '../index';
|
|
var locale = {
|
|
name: 'hu',
|
|
weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
|
|
weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
|
|
weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),
|
|
months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'),
|
|
monthsShort: 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'),
|
|
ordinal: function ordinal(n) {
|
|
return n + ".";
|
|
},
|
|
weekStart: 1,
|
|
relativeTime: {
|
|
future: '%s múlva',
|
|
past: '%s',
|
|
s: function s(_, _s, ___, isFuture) {
|
|
return "n\xE9h\xE1ny m\xE1sodperc" + (isFuture || _s ? '' : 'e');
|
|
},
|
|
m: function m(_, s, ___, isFuture) {
|
|
return "egy perc" + (isFuture || s ? '' : 'e');
|
|
},
|
|
mm: function mm(n, s, ___, isFuture) {
|
|
return n + " perc" + (isFuture || s ? '' : 'e');
|
|
},
|
|
h: function h(_, s, ___, isFuture) {
|
|
return "egy " + (isFuture || s ? 'óra' : 'órája');
|
|
},
|
|
hh: function hh(n, s, ___, isFuture) {
|
|
return n + " " + (isFuture || s ? 'óra' : 'órája');
|
|
},
|
|
d: function d(_, s, ___, isFuture) {
|
|
return "egy " + (isFuture || s ? 'nap' : 'napja');
|
|
},
|
|
dd: function dd(n, s, ___, isFuture) {
|
|
return n + " " + (isFuture || s ? 'nap' : 'napja');
|
|
},
|
|
M: function M(_, s, ___, isFuture) {
|
|
return "egy " + (isFuture || s ? 'hónap' : 'hónapja');
|
|
},
|
|
MM: function MM(n, s, ___, isFuture) {
|
|
return n + " " + (isFuture || s ? 'hónap' : 'hónapja');
|
|
},
|
|
y: function y(_, s, ___, isFuture) {
|
|
return "egy " + (isFuture || s ? 'év' : 'éve');
|
|
},
|
|
yy: function yy(n, s, ___, isFuture) {
|
|
return n + " " + (isFuture || s ? 'év' : 'éve');
|
|
}
|
|
},
|
|
formats: {
|
|
LT: 'H:mm',
|
|
LTS: 'H:mm:ss',
|
|
L: 'YYYY.MM.DD.',
|
|
LL: 'YYYY. MMMM D.',
|
|
LLL: 'YYYY. MMMM D. H:mm',
|
|
LLLL: 'YYYY. MMMM D., dddd H:mm'
|
|
}
|
|
};
|
|
dayjs.locale(locale, null, true);
|
|
export default locale; |