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

Move JLanguage* to namespace #14410

Merged
merged 1 commit into from
Mar 10, 2017

Conversation

laoneo
Copy link
Member

@laoneo laoneo commented Mar 7, 2017

Moves the classes JLanguageAssociations and JLanguageMultilang to namespace.

To ensure BC, it was tested with lanternfish to have a test with an existing extension. Lanternfish is overriding JLanguageMultilang on the site part of Joomla and that worked. So @wilsonge guess we have a working real world scenario.

defined('JPATH_PLATFORM') or die;

/**
* Utitlity class for multilang
*
* @since 2.5.4
*/
class JLanguageMultilang
class Multilanguage
Copy link
Member

Choose a reason for hiding this comment

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

any reason to not capitalize it now? MultiLanguage

Copy link
Member Author

Choose a reason for hiding this comment

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

Is it not one word?

Copy link
Contributor

Choose a reason for hiding this comment

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

Depending on the source you use "multilanguage" isn't even a word...

Copy link
Member Author

Choose a reason for hiding this comment

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

Somebody on twitter told me that it is correct like it is now. But he can't comment because of a ban.

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

I saw that one too. Honestly I'd say it's fine as is. MultiLanguage works too. But I didn't major in English (any variant in case someone wants to comment on en-US-isms), so don't take my word as the gospel.

@wilsonge wilsonge merged commit 76e99a0 into joomla:3.8-dev Mar 10, 2017
@zero-24 zero-24 added this to the Joomla 3.8.0 milestone Mar 10, 2017
@laoneo laoneo deleted the j3/namespace/language branch March 13, 2017 11:39
@mbabker mbabker added this to Known Issue in [4.0] Namespacing Apr 19, 2017
@mbabker mbabker moved this from Known Issue to Completed in [4.0] Namespacing Apr 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

6 participants