Skip to content

Hungarian fixes implemented to documentation too. #60

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

Merged
merged 1 commit into from
Feb 28, 2022
Merged
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
71 changes: 71 additions & 0 deletions docs/locales/hu_HU.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,79 @@
# Hungarian (Hungary)

### `Faker\Provider\hu_HU\Address`

```php
// Generates a random Floor or Door with suffix
echo $faker->secondaryAddress(); // "10. emelet"

// Generates a random state
echo $faker->state(); // "Pest"

// Echo the capital of Hungary
echo $faker->capital(); // "Budapest"

// Generates a random big city
echo $faker->bigCity(); // "Békéscsaba"

// Generates a random small city
echo $faker->smallerCity(); // "Ajka"

// Generates a coordinates inside the border of Hungary
echo $faker->localCoordinates(); // ['47.049242', '18.355119']
```

### `Faker\Provider\hu_HU\Company`

```php
// Generates a random company suffix
echo $faker->companySuffix(); // "Kft"
```

### `Faker\Provider\hu_HU\Payment`

```php
// Generates a random bank account number
echo $faker->bankAccountNumber(); // "HU09904437680048220079300783"
```

### `Faker\Provider\hu_HU\Person`

```php
// Generates a random male first name
echo $faker->firstNameMale(); // "Albert"

// Generates a random female first name
echo $faker->firstNameFemale(); // "Adél"

// Generates a random unisex last name
echo $faker->lastName(); // "Antal"

// Generates a specific Hungarian name format for females after marriage
echo $faker->lastNameFemaleMarried(); // "Kissné"

// Generates a random prefix before the name
echo $faker->title(); // "Dr."

// Replaced by specific unisex hungarian title
echo $faker->titleMale(); // "Báró"

// Replaced by specific unisex hungarian title
echo $faker->titleFemale(); // "Özv."

// Echo the PhD suffix
echo $faker->suffix(); // "PhD"
```

### `Faker\Provider\hu_HU\PhoneNumber`

```php
// Generates a random phone number
echo $faker->phoneNumber(); // "+36-00-000-0000"
```

### `Faker\Provider\hu_HU\Text`

```php
// Generates a text
echo $faker->text(); // "ELSŐ FEJEZET 1 - Uram! A késemért jöttem! - Hol hagyta?"
```