Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
74c49f94
Unverified
Commit
74c49f94
authored
Jul 31, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing CLI issue not having the translation repository bound
parent
28bed628
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
AsgardServiceProvider.php
Modules/Core/Providers/AsgardServiceProvider.php
+1
-1
changelog.yml
Modules/Core/changelog.yml
+3
-0
TranslationServiceProvider.php
Modules/Translation/Providers/TranslationServiceProvider.php
+3
-0
No files found.
Modules/Core/Providers/AsgardServiceProvider.php
View file @
74c49f94
...
...
@@ -12,7 +12,7 @@ class AsgardServiceProvider extends ServiceProvider
{
public
function
register
()
{
if
(
$this
->
app
->
runningInConsole
()
===
false
&&
class_exists
(
TranslationServiceProvider
::
class
))
{
if
(
class_exists
(
TranslationServiceProvider
::
class
))
{
$this
->
app
->
register
(
TranslationServiceProvider
::
class
);
}
...
...
Modules/Core/changelog.yml
View file @
74c49f94
url
:
https://github.com/AsgardCms/Platform
versions
:
"
2.5.2"
:
changed
:
-
Fixing CLI issue not having the translation repository bound
"
2.5.1"
:
changed
:
-
Add missing <code>id</code> attribute to editor's textarea
...
...
Modules/Translation/Providers/TranslationServiceProvider.php
View file @
74c49f94
...
...
@@ -49,6 +49,9 @@ class TranslationServiceProvider extends ServiceProvider
public
function
boot
()
{
if
(
$this
->
app
->
runningInConsole
()
===
true
)
{
return
;
}
$this
->
publishConfig
(
'translation'
,
'config'
);
$this
->
publishConfig
(
'translation'
,
'permissions'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment