Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
31103adc
o2oa
项目概览
ghsby
/
o2oa
落后 Fork 源项目 2880 个版本
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
31103adc
编写于
4月 19, 2021
作者:
NoSubject
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加英文语言包
上级
df1def17
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
34 addition
and
15 deletion
+34
-15
o2web/source/o2_core/o2.js
o2web/source/o2_core/o2.js
+5
-2
o2web/source/x_component_Profile/lp/en.js
o2web/source/x_component_Profile/lp/en.js
+1
-1
o2web/source/x_component_Profile/lp/zh-cn.js
o2web/source/x_component_Profile/lp/zh-cn.js
+2
-2
o2web/source/x_component_process_ProcessManager/$Main/startMenu.json
...e/x_component_process_ProcessManager/$Main/startMenu.json
+4
-4
o2web/source/x_component_process_ProcessManager/lp/en.js
o2web/source/x_component_process_ProcessManager/lp/en.js
+7
-0
o2web/source/x_component_process_ProcessManager/lp/zh-cn.js
o2web/source/x_component_process_ProcessManager/lp/zh-cn.js
+5
-5
o2web/source/x_desktop/js/base_loader.js
o2web/source/x_desktop/js/base_loader.js
+10
-1
未找到文件。
o2web/source/o2_core/o2.js
浏览文件 @
31103adc
...
...
@@ -86,8 +86,9 @@ if (!window.Promise){
"
path
"
:
"
../o2_core/o2
"
};
_lp
=
_lp
.
toLowerCase
();
var
supportedLanguages
=
[
"
zh-cn
"
,
"
en
"
];
this
.
o2
.
languageName
=
_lp
;
_lp
=
_lp
.
toLocaleLowerCase
();
var
supportedLanguages
=
[
"
zh-CN
"
,
"
en
"
];
if
(
supportedLanguages
.
indexOf
(
_lp
)
==-
1
)
_lp
=
"
zh-cn
"
;
this
.
o2
.
language
=
_lp
;
this
.
o2
.
splitStr
=
/
\s
*
(?:
,|;
)\s
*/
;
...
...
@@ -1490,6 +1491,8 @@ if (!window.Promise){
res
.
setHeader
(
"
Content-Type
"
,
"
application/json; charset=utf-8
"
);
res
.
setHeader
(
"
Accept
"
,
"
text/html,application/json,*/*
"
);
res
.
setHeader
(
"
Accept-Language
"
,
o2
.
languageName
);
if
(
window
.
layout
)
{
if
(
layout
[
"
debugger
"
]){
res
.
setHeader
(
"
x-debugger
"
,
"
true
"
);
...
...
o2web/source/x_component_Profile/lp/en.js
浏览文件 @
31103adc
...
...
@@ -38,7 +38,7 @@ MWF.xApplication.Profile.LP = {
"
ipAddressIncorrectNotice
"
:
"
IP address format is incorrect:
"
,
"
language
"
:
"
Language
"
,
"
lps
"
:
{
"
zh-
cn
"
:
"
简体中文
"
,
"
zh-
CN
"
:
"
简体中文
"
,
"
en
"
:
"
English(US)
"
},
...
...
o2web/source/x_component_Profile/lp/zh-cn.js
浏览文件 @
31103adc
...
...
@@ -38,8 +38,8 @@ MWF.xApplication.Profile.LP = {
"
ipAddressIncorrectNotice
"
:
"
IP地址格式不正确:
"
,
"
language
"
:
"
语言设置
"
,
"
lps
"
:
{
"
zh-
cn
"
:
"
简体中文
"
,
"
en
"
:
"
English
(US)
"
"
zh-
CN
"
:
"
简体中文
"
,
"
en
"
:
"
English
"
},
"
passwordRule
"
:
"
密码规则
"
,
...
...
o2web/source/x_component_process_ProcessManager/$Main/startMenu.json
浏览文件 @
31103adc
...
...
@@ -33,7 +33,7 @@
//
"sub"
:
[]
//
},
{
"title"
:
"数据配置"
,
"title"
:
MWF.xApplication.process.ProcessManager.LP.dataConfig
,
"id"
:
"1.1"
,
"action"
:
"dataConfig"
,
"icon"
:
"process_data.png"
,
...
...
@@ -41,7 +41,7 @@
"sub"
:
[]
},
{
"title"
:
"脚本配置"
,
"title"
:
MWF.xApplication.process.ProcessManager.LP.scriptConfig
,
"id"
:
"1.1"
,
"action"
:
"scriptConfig"
,
"icon"
:
"process_script.png"
,
...
...
@@ -49,7 +49,7 @@
"sub"
:
[]
},
{
"title"
:
"资源文件"
,
"title"
:
MWF.xApplication.process.ProcessManager.LP.fileConfig
,
"id"
:
"1.1"
,
"action"
:
"fileConfig"
,
"icon"
:
"process_file.png"
,
...
...
@@ -65,7 +65,7 @@
//
"sub"
:
[]
//
},
{
"title"
:
"应用属性"
,
"title"
:
MWF.xApplication.process.ProcessManager.LP.applicationConfig
,
"id"
:
"1.1"
,
"action"
:
"applicationProperty"
,
"icon"
:
"process_property.png"
,
...
...
o2web/source/x_component_process_ProcessManager/lp/en.js
浏览文件 @
31103adc
...
...
@@ -17,6 +17,13 @@ MWF.xApplication.process.ProcessManager.LP = {
"
copyConfirm_cancel
"
:
"
Cancel
"
,
"
copynew
"
:
"
New
"
,
"
formConfig
"
:
"
Form
"
,
"
processConfig
"
:
"
Process
"
,
"
dataConfig
"
:
"
Data
"
,
"
scriptConfig
"
:
"
Script
"
,
"
fileConfig
"
:
"
Resource
"
,
"
applicationConfig
"
:
"
Attributes
"
,
"
findDesigner
"
:
"
FindCode
"
,
"
ok
"
:
"
OK
"
,
...
...
o2web/source/x_component_process_ProcessManager/lp/zh-cn.js
浏览文件 @
31103adc
...
...
@@ -18,11 +18,11 @@ MWF.xApplication.process.ProcessManager.LP = {
"
copynew
"
:
"
新
"
,
"
formConfig
"
:
"
表单配置
"
,
// "formConfig": "
",
// "formConfig": "
",
// "formConfig": "
",
// "formConfig": "
",
// "formConfig": "
",
"
processConfig
"
:
"
流程配置
"
,
"
dataConfig
"
:
"
数据配置
"
,
"
scriptConfig
"
:
"
脚本配置
"
,
"
fileConfig
"
:
"
资源文件
"
,
"
applicationConfig
"
:
"
应用属性
"
,
"
findDesigner
"
:
"
查找设计
"
,
...
...
o2web/source/x_desktop/js/base_loader.js
浏览文件 @
31103adc
...
...
@@ -104,7 +104,16 @@ o2.addReady(function () {
layout
.
sessionPromise
=
new
Promise
(
function
(
resolve
,
reject
){
o2
.
Actions
.
get
(
"
x_organization_assemble_authentication
"
).
getAuthentication
(
function
(
json
)
{
if
(
resolve
)
resolve
(
json
.
data
);
if
(
json
.
data
.
language
!==
o2
.
languageName
){
o2
.
language
=
json
.
data
.
language
.
toLowerCase
();
o2
.
languageName
=
json
.
data
.
language
;
var
lp
=
o2
.
session
.
path
+
"
/lp/
"
+
o2
.
language
+
"
.js
"
;
o2
.
load
(
lp
,
{
"
reload
"
:
true
},
function
(){
if
(
resolve
)
resolve
(
json
.
data
);
});
}
else
{
if
(
resolve
)
resolve
(
json
.
data
);
}
}.
bind
(
this
),
function
(
xhr
,
text
,
error
)
{
if
(
reject
)
reject
({
"
xhr
"
:
xhr
,
"
text
"
:
text
,
"
error
"
:
error
});
}.
bind
(
this
));
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录