-
Notifications
You must be signed in to change notification settings - Fork 134
Add new Pirate English locale #874
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
Conversation
Release 2.3.1
itssimple
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
ocean90
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Proposal based on the Emoji locale:
$pirate = new GP_Locale();
$pirate->english_name = 'English (Pirate)';
$pirate->native_name = 'English (Pirate)';
$pirate->lang_code_iso_639_2 = 'art';
$pirate->wp_locale = 'art_xpirate';
$pirate->slug = 'en-pi';
$pirate->google_code = 'xx-pirate';
$pirate->facebook_locale = 'en_PI';art is for artificial languages.
|
Sure thing, I'll amend the PR when I have a spare moment 👍 |
|
Trying to figure out how to update this PR. Made the changes here: https://github.com/danieltj27/GlotPress-WP/commit/63db8c662ce922d97836c43740a649d24c50e83b |
|
Might be easier to do a new PR if it's giving you problems merging in the changes to this tree. |
|
Ah, sorry. It looks like the commits are sorted in ascending order so I didn't see it at the bottom. Oh dear... okay well it should be update now in this PR ready for review 👍 |
ocean90
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't worry about the merging, we can squash and merge it for you.
Just noticed that I forgot to change the slug property. If we follow Emoji it would be art-xpirate but I'd be fine with just pirate though. Since the list is sorted alphabetically it should be moved before the Polish locale.
|
Okay I can make the change later on. I think it’s probably best to keep it the same as Emoji so it’s |
|
@ocean90 updated the slug for Pirate to |
Please add a new locale for English (Pirate).
This is based off of the original request in PR #832.
I've also altered the locale code to match up with existing locales of the same name. Facebook refers to it as
en_PIso I suggest keeping the locale code the same for compatibility.See #828.