Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Added Malaysia Localized data and fix Singapore able to generate StreetName from Array #1233

Closed
wants to merge 5 commits into from

Conversation

shiroamada
Copy link

Added Malaysia Localized data

@shiroamada shiroamada changed the title Added Malaysia Localized data Added Malaysia Localized data and fix Singapore able to generate StreetName from Array Jun 16, 2017
'Jalan', 'Lorong',
);

// http://www.streetdirectory.com/malaysia/kl/asia_travel/street/
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The content of this site is copyrighted. Please find a datasource compatible with the MIT license.

"{{streetNumber}} {{streetAddress}},\n{{postcode}} {{townName}},\n{{country}}",
);

protected static $townName = array(
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not enough entropy, please find a larger list

protected static $postcode = array('#####');

protected static $country = array(
'Malaysia',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, a random country should return any country in the world

'Malaysia',
);

public function streetPrefix()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be a static function. Same for many other functions in your code.

@pimjansen
Copy link
Contributor

Closing this PR since it got stale. Please feel free to reopen if needed

@pimjansen pimjansen closed this Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants