60 lines
4.8 KiB
PHP
Executable File
60 lines
4.8 KiB
PHP
Executable File
<?php
|
||
return array(
|
||
"officeViewer.meta.name" => "Office阅读器",
|
||
"officeViewer.meta.title" => "Office在线预览",
|
||
"officeViewer.meta.desc" => "Office文件在线预览。本应用整合了WebOffice、LibreOffice、officeLive、永中office等方式,实现office文件基本的在线预览需求。",
|
||
'officeViewer.meta.netwrokDesc' => "<h4>说明 :</h4>本应用在运行过程中,可能涉及外网请求。其中,WebOffice和LibreOffice无需请求外网,其他可能涉及的外网接口分别如下: <br/>
|
||
officeLive:<br/>
|
||
<span class='blue-6'>https://owa-box.vips100.com</span><br/>
|
||
<span class='blue-6'>https://docview.mingdao.com</span><br/>
|
||
<span class='blue-6'>https://preview.tita.com</span><br/>
|
||
<span class='blue-6'>https://view.officeapps.live.com</span><br/>
|
||
永中Office:<br/>
|
||
<span class='blue-6'>http://dcs.yozosoft.com</span>",
|
||
'officeViewer.meta.netwrokUrl' => "接口地址",
|
||
'officeViewer.meta.service' => "服务设置",
|
||
'officeViewer.meta.openType' => "解析方式",
|
||
'officeViewer.meta.instruction' => "使用说明",
|
||
|
||
'officeViewer.main.error' => "操作失败!",
|
||
'officeViewer.main.invalidType' => "无效的打开方式,请联系管理员!",
|
||
'officeViewer.main.invalidUrl' => "无效的请求地址,请联系管理员!",
|
||
'officeViewer.main.notNetwork' => "请求失败,检查服务器能否连接网络。",
|
||
'officeViewer.main.needNetwork' => "服务器需在外网",
|
||
'officeViewer.main.needDomain' => ",且为域名访问。",
|
||
'officeViewer.main.tryAgain' => ",请重试!",
|
||
"officeViewer.main.invalidExt" => "不支持的文件格式",
|
||
|
||
"officeViewer.webOffice.name" => "自动解析",
|
||
"officeViewer.webOffice.desc" => "选择【自动解析】时,如果当前方式不支持,将自动切换为下一种;<br/>如果希望解析风格统一,或支持更多格式,可指定为其中一种方式。",
|
||
|
||
"officeViewer.libreOffice.desc" => "<div style='margin-top:3px;'>通过服务器上的LibreOffice,将文件转换为pdf格式,实现文件预览。</div>",
|
||
"officeViewer.libreOffice.checkError" => "LibreOffice调用失败,检测是否安装该软件,或是否有执行权限。",
|
||
"officeViewer.libreOffice.sofficeError" => "LibreOffice服务异常,请检查后再试。",
|
||
"officeViewer.libreOffice.convertError" => "转换失败,请检查文件或Office服务是否正常。",
|
||
"officeViewer.libreOffice.execDisabled" => "[shell_exec]函数被禁用,请开启后重试。",
|
||
"officeViewer.libreOffice.path" => "LibreOffice路径",
|
||
"officeViewer.libreOffice.pathDesc" => "<br/>
|
||
<span style='margin: 5px 0px;margin-bottom:10px;display: inline-block;'>LibreOffice路径为安装目录下的soffice路径,请根据安装自行填写。</span> <br/>
|
||
<button class='btn btn-success check-libreoffice mr-5' style='padding: 5px 12px;border-radius: 3px;font-size: 13px;'>连接测试</button>
|
||
<a style='padding: 6px 12px; vertical-align: middle;' target='_blank' href='https://zh-cn.libreoffice.org/get-help/install-howto/'>安装指南</a>",
|
||
|
||
"officeViewer.officeLive.desc" => "<div style='margin-top:3px;'>通过微软office服务解析文件(通过文件外链解析),实现文件预览。<br/><code style='color:#c7254e'>服务器需在外网,且为域名访问</code><br>内网的用户,可以自己搭建;<a href='https://kodcloud.com/help/show-5.html' target='_blank'>了解详情</a></div>",
|
||
"officeViewer.officeLive.apiServer" => "服务器接口",
|
||
"officeViewer.officeLive.apiServerDesc" => "<div class='can-select'>微软官方服务及第三方服务接口,选其中一个填写:<br/>
|
||
<div class='mt-5'> https://view.officeapps.live.com/op/embed.aspx?src=</div>
|
||
<div class='grey-8'>https://owa-box.vips100.com/op/view.aspx?src=</div>
|
||
<div class='grey-8'>https://docview.mingdao.com/op/view.aspx?src=</div>
|
||
<div class='grey-8'>https://preview.tita.com/op/view.aspx?src=</div>
|
||
<div class='grey-8'>https://view.officeapps.live.com/op/view.aspx?src=</div></div>",
|
||
|
||
|
||
'officeViewer.yzOffice.name' => "永中Office",
|
||
'officeViewer.yzOffice.desc' => "<div style='margin-top:3px;'>通过永中office服务解析文件(文件会上传至其服务器),实现文件预览。<br><code style='color:#c7254e'>服务器需能访问外网</code></div>",
|
||
'officeViewer.yzOffice.transfer' => "1.数据传输中,请稍后...",
|
||
'officeViewer.yzOffice.converting' => '2.文件转换中,请稍后...',
|
||
'officeViewer.yzOffice.uploadError' => "上传失败,请检查php执行超时时间!",
|
||
'officeViewer.yzOffice.convert' => "正在转换,请稍后...",
|
||
'officeViewer.yzOffice.transferAgain' => "重新转换",
|
||
'officeViewer.yzOffice.linkExpired' => "链接已失效"
|
||
); |