Skip to content

Commit

Permalink
feat: added Hungarian locale (hu_HU)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloczikvn committed Feb 21, 2023
1 parent db5eab4 commit 20a6308
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
82 changes: 82 additions & 0 deletions src/locales/hu_HU.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
import hu from 'date-fns/locale/hu';

const Calendar = {
sunday: 'V',
monday: 'H',
tuesday: 'K',
wednesday: 'Sze',
thursday: 'Cs',
friday: 'P',
saturday: 'Szo',
ok: 'Rendben',
today: 'Ma',
yesterday: 'Tegnap',
hours: 'Óra',
minutes: 'Perc',
seconds: 'Másodperc',
/**
* Format of the string is based on Unicode Technical Standard #35:
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
**/
formattedMonthPattern: 'yyyy MMM',
formattedDayPattern: 'yyyy MMM dd',
dateLocale: hu as any
};

export default {
common: {
loading: 'Betöltés...',
emptyMessage: 'Nem található adat'
},
Plaintext: {
unfilled: 'Kitöltetlen',
notSelected: 'Nincs kiválasztva',
notUploaded: 'Nincs feltöltve'
},
Pagination: {
more: 'Több',
prev: 'Előző',
next: 'Következő',
first: 'Első',
last: 'Utolsó',
limit: '{0} / oldal',
total: 'Összes sor: {0}',
skip: 'Lapozz ide: {0}'
},
Calendar,
DatePicker: {
...Calendar
},
DateRangePicker: {
...Calendar,
last7Days: 'Utolsó 7 nap'
},
Picker: {
noResultsText: 'Nincs találat',
placeholder: 'Válassza ki',
searchPlaceholder: 'Keresés',
checkAll: 'Összes'
},
InputPicker: {
newItem: 'Új elem',
createOption: 'Opció létrehozása "{0}"'
},
Uploader: {
inited: 'Kezdés',
progress: 'Feltöltés',
error: 'Hiba',
complete: 'Befejezett',
emptyFile: 'Üres',
upload: 'Feltöltés'
},
CloseButton: {
closeLabel: 'Bezárás'
},
Breadcrumb: {
expandText: 'Útvonal megjelenítése'
},
Toggle: {
on: 'Be',
off: 'Ki'
}
};
1 change: 1 addition & 0 deletions src/locales/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export { default as enUS } from './en_US';
export { default as esAR } from './es_AR';
export { default as esES } from './es_ES';
export { default as fiFI } from './fi_FI';
export { default as huHU } from './hu_HU';
export { default as itIT } from './it_IT';
export { default as kkKZ } from './kk_KZ';
export { default as koKR } from './ko_KR';
Expand Down

0 comments on commit 20a6308

Please sign in to comment.