Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added Hungarian locale (hu_HU) #3075

Merged
merged 1 commit into from
Feb 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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