Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
77cb7fbd
Commit
77cb7fbd
authored
Jul 24, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated configuration settings
parent
e9480fd3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
modules/config/config.js
modules/config/config.js
+5
-0
modules/config/configuration
modules/config/configuration
+0
-1
modules/config/configuration.json
modules/config/configuration.json
+1
-1
No files found.
modules/config/config.js
View file @
77cb7fbd
...
@@ -37,10 +37,15 @@ define([
...
@@ -37,10 +37,15 @@ define([
spec
.
config
.
settings
.
language_default
=
"
en-EN
"
;
spec
.
config
.
settings
.
language_default
=
"
en-EN
"
;
spec
.
config
.
settings
.
language_current
=
spec
.
config
.
settings
.
language_default
;
spec
.
config
.
settings
.
language_current
=
spec
.
config
.
settings
.
language_default
;
spec
.
config
.
settings
.
language_selector
=
"
translate
"
;
spec
.
config
.
settings
.
language_selector
=
"
translate
"
;
spec
.
config
.
settings
.
language_set
=
"
false
"
;
spec
.
config
.
settings
.
item_selector
=
"
item_id
"
;
}
else
{
}
else
{
// create application settings
// create application settings
spec
.
config
.
settings
.
language_default
=
spec
.
response
.
language_default
||
"
en-EN
"
;
spec
.
config
.
settings
.
language_current
=
spec
.
response
.
language_current
||
spec
.
config
.
settings
.
language_default
;
spec
.
config
.
settings
.
language_current
=
spec
.
response
.
language_current
||
spec
.
config
.
settings
.
language_default
;
spec
.
config
.
settings
.
language_selector
=
spec
.
response
.
selector
||
"
translate
"
;
spec
.
config
.
settings
.
language_selector
=
spec
.
response
.
selector
||
"
translate
"
;
spec
.
config
.
settings
.
language_set
=
spec
.
response
.
language_set
||
"
false
"
;
spec
.
config
.
settings
.
item_selector
=
spec
.
response
.
item_selector
||
"
item_id
"
;
}
}
spec
.
config
.
settings
.
screen_format
=
priv
.
setScreenDimensions
();
spec
.
config
.
settings
.
screen_format
=
priv
.
setScreenDimensions
();
...
...
modules/config/configuration
deleted
100644 → 0
View file @
e9480fd3
configuration({"default_language":"de-DE","language_current":"de-DE","language_selector":"translate","language_set":"false"});
modules/config/configuration.json
View file @
77cb7fbd
config_call(
{
"default_language"
:
"de-DE"
,
"language_current"
:
"de-DE"
,
"language_selector"
:
"translate"
,
"language_set"
:
"false"
}
);
config_call(
{
"default_language"
:
"de-DE"
,
"language_current"
:
"de-DE"
,
"language_selector"
:
"translate"
,
"language_set"
:
"false"
,
"item_identifier"
:
"item_id"
}
);
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