Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osticket
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docker
osticket
Commits
a669a545
Commit
a669a545
authored
6 years ago
by
Peter Rotich
Browse files
Options
Downloads
Plain Diff
Merge remote branch 'upstream/develop' into develop-next
parents
75683fdc
8e41d7b1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/cli/modules/i18n.php
+7
-8
7 additions, 8 deletions
include/cli/modules/i18n.php
scp/css/scp.css
+1
-0
1 addition, 0 deletions
scp/css/scp.css
with
8 additions
and
8 deletions
include/cli/modules/i18n.php
+
7
−
8
View file @
a669a545
...
...
@@ -79,10 +79,9 @@ class i18n_Compiler extends Module {
self
::
$crowdin_api_url
);
$args
+=
array
(
'key'
=>
$this
->
key
);
foreach
(
$args
as
&
$a
)
$a
=
urlencode
(
$a
);
unset
(
$a
);
$url
.
=
'?'
.
Format
::
array_implode
(
'='
,
'&'
,
$args
);
if
(
$branch
=
$this
->
getOption
(
'branch'
,
false
))
$args
+=
array
(
'branch'
=>
$branch
);
$url
.
=
'?'
.
Http
::
build_query
(
$args
);
return
$this
->
_http_get
(
$url
);
}
...
...
@@ -189,7 +188,7 @@ class i18n_Compiler extends Module {
$contents
=
$zip
->
getFromIndex
(
$i
);
if
(
!
$contents
)
continue
;
if
(
fnmatch
(
'*
/messages
*
.po'
,
$info
[
'name'
]
)
!==
false
)
{
if
(
strpos
(
$info
[
'name'
],
'
/messages.po'
)
!==
false
)
{
$po_file
=
$contents
;
// Don't add the PO file as-is to the PHAR file
continue
;
...
...
@@ -222,10 +221,10 @@ class i18n_Compiler extends Module {
$this
->
stderr
->
write
(
$lang
.
": Unable to fetch Redactor language file
\n
"
);
// JQuery UI Datepicker
// http://
jquery-ui.googlecode.com/svn/tags/latest/ui/i18n/jquery.ui.datepicker-de.js
// http
s
://
github.com/jquery/jquery-ui/tree/master/ui/i18n
foreach
(
$langs
as
$l
)
{
list
(
$code
,
$js
)
=
$this
->
_http_get
(
'http://
jquery-ui.googlecode.com/svn/tags/latest/ui/i18n/jquery.ui.
datepicker-'
'http
s
://
raw.githubusercontent.com/jquery/jquery-ui/master/ui/i18n/
datepicker-'
.
str_replace
(
'_'
,
'-'
,
$l
)
.
'.js'
);
// If locale-specific version is not available, use the base
// language version (de if de_CH is not available)
...
...
@@ -673,7 +672,7 @@ class i18n_Compiler extends Module {
$this
->
stdout
->
write
(
sprintf
(
"'%s' (%s) and '%s' (%s)
\n
"
,
$orig
,
$usage
,
$other_orig
,
$other_usage
));
));
}
}
}
...
...
This diff is collapsed.
Click to expand it.
scp/css/scp.css
+
1
−
0
View file @
a669a545
...
...
@@ -1849,6 +1849,7 @@ ul.tabs.vertical li a {
}
ul
.tabs.alt
{
height
:
auto
;
background-color
:
initial
;
border-bottom
:
2px
solid
#ccc
;
border-bottom-color
:
rgba
(
0
,
0
,
0
,
0.1
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment