orcaslicer/resources/web/data/text.js

208 lines
6.7 KiB
JavaScript
Raw Normal View History

var LangText={
"en":{
"t1":"Welcome to Bambu Studio",
"t2":"Bambu Studio will be setup in several steps. Let's start!",
"t3":"User Agreement",
"t4":"Disagree",
"t5":"Agree",
"t6":"We kindly request your help to improve<br/> everyone's printing",
"t7":"Allow sending anonymous data",
"t8":"Back",
"t9":"Next",
"t10":"Printer Selection",
"t11":"All",
"t12":"Clear all",
"t13":"mm nozzle",
"t14":"Filament Selection",
"t15":"Printer",
"t16":"Filament type",
"t17":"Vendor",
"t18":"error",
"t19":"At least one filament must be selected.",
"t20":"Do you want to use default filament ?",
"t21":"yes",
"t22":"no",
"t23":"Release note",
"t24":"Get Started",
"t25":"Finish",
"t26":"Login",
"t27":"Register",
"t28":"Recent",
"t29":"Mall",
"t30":"Manual",
"t31":"New project",
"t32":"Create new project",
"t33":"Open project",
"t34":"hotspot",
"t35":"Recently opened",
"t36":"ok",
"t37":"At least one printer must be selected.",
"t38":"Cancel",
"t39":"Confirm",
"t40":"Network disconnect, please check and try again later.",
"t47":"Please select your login region",
"t48":"Asia-Pacific",
"t49":"China",
"t50":"Log out",
"t52":"Skip",
"t53":"Join",
"t54":"In the 3D Printing community, we learn from each other's successes and failures to adjust our own slicing parameters and settings. Bambu Studio follows the same principle and uses machine learning to improve its performance from the successes and failures of the vast number of prints by our users. We are training Bambu Studio to be smarter by feeding them the real-world data. If you are willing, this service will access information from your error logs and usage logs, which may include information described in ",
"t55":"Privacy Policy",
"t56":". We will not collect any Personal Data by which an individual can be identified directly or indirectly, including without limitation names, addresses, payment information, or phone numbers. By enabling this service, you agree to these terms and the statement about Privacy Policy.",
"t57":"",
"t58":"",
"t59":".",
"t60":"Europe",
"t61":"North America",
"t62":"Others",
"t63":"After changing the region, your account will be logged out. Please log in again later.",
"t64":"Bambu Network plug-in",
"t65":"Sending print job via WLAN",
"t66":"Full remote control",
"t67":"Liveview streaming",
"t68":"User data synchronization",
"t69":"Install Bambu Network plug-in",
"t70":"",
"t71":"Downloading",
"t72":"Downloading failed",
"t73":"Installation successful.",
"t74":"Restart",
"t75":"Bambu Network plug-in provides the following features:",
"t76":"Bambu Network plug-in not detected. Click ",
"t77":"here",
"t78":" to install it.",
"t79":"Failed to install plug-in. ",
"t80":"Try the following steps:",
"t81":"1, Click ",
"t82":" to open the plug-in directory",
"t83":"2, Close all open Bambu Studio",
"t84":"3, Delete all files under the plug-in directory",
"t85":"4, Reopen Bambu studio and install the plug-in again",
"t86":"Close",
"t87":"User Manual",
"t88":"Remove",
"t89":"Open Containing Folder"
},
"zh_CN":{
"t1":"欢迎使用Bambu Studio",
"t2":"Bambu Studio需要几步安装步骤让我们开始吧",
"t3":"用户使用协议",
"t4":"拒绝",
"t5":"同意",
"t6":"帮助提升Bambu Studio性能",
"t7":"允许发送匿名数据",
"t8":"上一步",
"t9":"下一步",
"t10":"选择打印机",
"t11":"全部",
"t12":"清空",
"t13":"mm 喷嘴",
"t14":"选择材料",
"t15":"打印机",
"t16":"材料类型",
"t17":"供应商",
"t18":"错误",
"t19":"至少要选择一款材料。",
"t20":"你希望使用默认的材料列表吗?",
"t21":"是",
"t22":"否",
"t23":"发布说明",
"t24":"开始",
"t25":"结束",
"t26":"登录",
"t27":"注册",
"t28":"近期",
"t29":"商城",
"t30":"使用手册",
"t31":"新建项目",
"t32":"创建一个新项目",
"t33":"打开项目",
"t34":"热点",
"t35":"近期打开文件",
"t36":"确定",
"t37":"至少需要选择一款打印机。",
"t38":"取消",
"t39":"确定",
"t40":"网络不通,请检查并稍后重试。",
"t47":"请选择登录区域",
"t48":"亚太",
"t49":"中国",
"t50":"退出登录",
"t52":"忽略",
"t53":"同意",
"t54":"在3D打印社区我们从彼此的成功和失败中学习调整自己的切片参数和设置。Bambu Studio遵循同样的原则通过机器学习的方式从大量用户打印的成功和失败中获取经验从而改善打印性能。我们正在通过向Bambu Studio提供真实世界的数据来训练他们变得更聪明。如果您愿意此服务将访问您的错误日志和使用日志中的信息其中可能包括",
"t55":"隐私政策",
"t56":"中描述的信息。我们不会收集任何可以直接或间接识别个人的个人数据,包括但不限于姓名、地址、支付信息或电话号码。启用此服务即表示您同意这些条款和有关隐私政策的声明。",
"t57":"",
"t58":"",
"t59":"。",
"t60":"欧洲",
"t61":"北美",
"t62":"其他",
"t63":"切换区域后,你的账号会被登出。稍后请重新登录。",
"t64":"Bambu网络插件",
"t65":"通过WLAN发送打印任务",
"t66":"强大的远程控制功能",
"t67":"实时视频流",
"t68":"用户数据同步",
"t69":"安装Bambu网络插件",
"t70":"",
"t71":"正在下载",
"t72":"下载失败",
"t73":"安装成功。",
"t74":"重启",
"t75":"Bambu网络插件提供以下功能",
"t76":"没有发现Bambu网络插件请",
"t77":"下载",
"t78":"并安装。",
"t79":"安装插件失败。",
"t80":"请尝试如下步骤:",
"t81":"1, 点击",
"t82":"打开插件所在目录",
"t83":"2, 关闭所有Bambu Studio",
"t84":"3, 删除插件所在目录下的所有文件",
"t85":"4, 重新启动Bambu Studio并尝试安装插件",
"t86":"关闭",
"t87":"使用引导",
"t88":"移除",
"t89":"打开所在的文件夹"
}
};
var LANG_COOKIE_NAME="BambuWebLang";
var LANG_COOKIE_EXPIRESECOND= 365*86400;
function TranslatePage()
{
let strLang=GetQueryString("lang");
if(strLang!=null)
{
//setCookie(LANG_COOKIE_NAME,strLang,LANG_COOKIE_EXPIRESECOND,'/');
localStorage.setItem(LANG_COOKIE_NAME,strLang);
}
else
{
//strLang=getCookie(LANG_COOKIE_NAME);
strLang=localStorage.getItem(LANG_COOKIE_NAME);
}
//alert(strLang);
if( !LangText.hasOwnProperty(strLang) )
strLang="en";
let AllNode=$(".trans");
let nTotal=AllNode.length;
for(let n=0;n<nTotal;n++)
{
let OneNode=AllNode[n];
let tid=$(OneNode).attr("tid");
if( LangText[strLang].hasOwnProperty(tid) )
{
$(OneNode).html(LangText[strLang][tid]);
}
}
}