Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
d441752d
Commit
d441752d
authored
Aug 27, 2004
by
Steven Wittens
Browse files
-
#9983
: UI consistency patch.
parent
89b0a0a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/locale.inc
View file @
d441752d
...
...
@@ -55,7 +55,7 @@ function _locale_admin_manage_screen() {
$ratio
=
(
$original
->
strings
>
0
&&
$translation
->
translation
>
0
)
?
round
((
$translation
->
translation
/
$original
->
strings
)
*
100.
,
2
)
:
0
;
$rows
[]
=
array
(
$key
,
(
$key
!=
'en'
?
form_textfield
(
''
,
'name]['
.
$key
,
$lang
,
15
,
64
)
:
$lang
),
form_checkbox
(
''
,
'enabled]['
.
$key
,
1
,
$status
->
enabled
),
form_radio
(
''
,
'sitedefault'
,
$key
,
$status
->
isdefault
),
"
$translation->translation
/
$original->strings
(
$ratio
%)"
,
(
$key
!=
'en'
?
l
(
t
(
'delete
locale
'
),
'admin/locale/language/delete/'
.
urlencode
(
$key
))
:
''
));
$rows
[]
=
array
(
$key
,
(
$key
!=
'en'
?
form_textfield
(
''
,
'name]['
.
$key
,
$lang
,
15
,
64
)
:
$lang
),
form_checkbox
(
''
,
'enabled]['
.
$key
,
1
,
$status
->
enabled
),
form_radio
(
''
,
'sitedefault'
,
$key
,
$status
->
isdefault
),
"
$translation->translation
/
$original->strings
(
$ratio
%)"
,
(
$key
!=
'en'
?
l
(
t
(
'delete'
),
'admin/locale/language/delete/'
.
urlencode
(
$key
))
:
''
));
}
}
...
...
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