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

Correct Core Installer Translation #3192

Merged
merged 11 commits into from
Nov 18, 2016
Merged

Correct Core Installer Translation #3192

merged 11 commits into from
Nov 18, 2016

Conversation

craigh
Copy link
Member

@craigh craigh commented Nov 17, 2016

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets #2191
Refs tickets -
License MIT
Changelog updated yes

Description

enable scan of locales on installation and set locale for installer based on user selection. Add translator usage to many parts of the core installer and upgrader.
closes #2191

@craigh craigh changed the title [WIP] enable scan of locales on installation and set locale for installer b… Enable scan of locales on installation and set locale for installer b… Nov 17, 2016
@craigh
Copy link
Member Author

craigh commented Nov 17, 2016

@Guite ready for review

@craigh craigh changed the title Enable scan of locales on installation and set locale for installer b… Correct Core Installer Translation Nov 17, 2016
$event = new ModuleStateEvent($this->container->get('kernel')->getModule('ZikulaRoutesModule'));
$this->container->get('event_dispatcher')->dispatch(CoreEvents::MODULE_POSTINSTALL, $event);
// $event = new ModuleStateEvent($this->container->get('kernel')->getModule('ZikulaRoutesModule'));
// $this->container->get('event_dispatcher')->dispatch(CoreEvents::MODULE_POSTINSTALL, $event);
Copy link
Member

Choose a reason for hiding this comment

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

I guess this got disabled because now only customised routes are persisted in the database? If yes, you can also remove it.

Copy link
Member Author

Choose a reason for hiding this comment

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

basically yes. I disabled it because it isn't needed. I left the code commented because removing it means the ajax stage should be fully removed and I didn't want to take the time to do that yet.

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@Guite
Copy link
Member

Guite commented Nov 18, 2016

Go for it ;-)

@craigh craigh merged commit f88545a into 1.4 Nov 18, 2016
@craigh craigh deleted the installerTranslation branch November 18, 2016 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants