Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
d3e4632a
Commit
d3e4632a
authored
Oct 29, 2013
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2121953
by TR: Fixed Use existing $config variable instead of Drupal::config().
parent
b8adc1c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/modules/locale/lib/Drupal/locale/Form/LocaleSettingsForm.php
...ules/locale/lib/Drupal/locale/Form/LocaleSettingsForm.php
+1
-1
No files found.
core/modules/locale/lib/Drupal/locale/Form/LocaleSettingsForm.php
View file @
d3e4632a
...
...
@@ -44,7 +44,7 @@ public function buildForm(array $form, array &$form_state) {
'#default_value'
=>
$config
->
get
(
'translation.check_disabled_modules'
),
);
if
(
$directory
=
\
Drupal
::
config
(
'locale.settings'
)
->
get
(
'translation.path'
))
{
if
(
$directory
=
$config
->
get
(
'translation.path'
))
{
$description
=
t
(
'Translation files are stored locally in the %path directory. You can change this directory on the <a href="@url">File system</a> configuration page.'
,
array
(
'%path'
=>
$directory
,
'@url'
=>
url
(
'admin/config/media/file-system'
)));
}
else
{
...
...
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