diff --git a/package.nw/i18n/cn.json b/package.nw/i18n/cn.json index 1bf5656..7a8fb8e 100644 --- a/package.nw/i18n/cn.json +++ b/package.nw/i18n/cn.json @@ -4,10 +4,10 @@ "The GridTracker Team" ], "last-updated": "2021-10-11", - "locale": "en", + "locale": "cn", "message-documentation": "qqq" - },"appname-title": "", -"appname-sub-title": "2Grid网格跟踪助手距离单", +"settings.general.DistanceUnits.label": "距离单位", "settings.general.Distance.dg": "KM公里", "settings.general.DecodeWaterfall.label": "右下角解码信息框", "settings.general.CheckNewVersion.label": "检查新版本", "settings.general.ClearAllSettings.label": "清除所有设置", -"settings.general.ClearSettingSure.label": "是的, 我确定!C A L LO O K(仅限美国", -"settings.lookup.Username.label": "用户姓名 密码朗读音质", +"settings.audio.Speech.Phonetics.label": "朗读说出呼号和网格的音质", "settings.audio.Device.label": "音频设备", "settings.audio.File.Volume.label": "音频文件音量", -"settings.audio.lighteningAlert.label": "雷电音频警报">雷电音频警报", +"settings.audio.lighteningAlert.label": "雷电音频警报", "settings.audio.lighteningAlert.voice": "0无声", "settings.audio.QSOLogEventFile.label": "日志事件通知", "settings.logbook.callsigns.label": "曾经通联的呼号", -"settings.logbook.callsigns.enable": "Enle? PSK-Spots在网格之上", +"settings.grids.spotsOverGrids.label": "将接收Spots放置在网格图层上", "settings.grids.opacity.label": "网格透明度", "settings.grids.splitQSL.label": "分离QSL网格", "settings.grids.AutoMouseOver.label": "鼠标自动移至网格", @@ -108,7 +108,7 @@ "settings.map.RXSpotPath.enable.label": "路径", "settings.map.RXSpotPath.width.label": "路径宽", "settings.map.AutoNight.enable.label": "自动夜间地图", -"settings.map.NightMap.select.label": "更改地图">夜间地图", +"settings.map.NightMap.select.label": "更改地图", "settings.map.NightQSXPath.color.label": "夜间QSX路径颜色", "settings.map.NightQRZPath.color.label": "夜间QRZ路径颜色", "settings.map.NightRXSpot.color.label": "夜间PSK-Spot颜色", @@ -116,68 +116,57 @@ "settings.map.NightBrightness.label": "夜间亮度", "settings.logging.tableheader.result": "源/同步", "settings.logging.gridtracker.source": "", -"settings.logging.gridtracker.details": "", +"settings.logging.gridtracker.details": "", "settings.logging.LocalFiles.details.add": "增加文件", "settings.logging.LocalFiles.details.noFiles": "未选择文件", "settings.logging.PSKReporter.details": "小时历史纪录", "settings.logging.QRZcom.details.apikey": "QRZ.com", "settings.logging.QRZcom.test.button": "测试", -"settings.logging.ClubLog.details.email": "td>CubLog", +"settings.logging.ClubLog.details.email": "CubLog", "settings.logging.ClubLog.test.button": "测试", "settings.logging.HRDLogNet.source": "", -"settings.logging.HRDLogNet.details.help.label": "td>TQSL 路径", -"settings.logging.LoTW.test.TQSLButton": "class="button" onclick="if ( ValidateText(lotwLogin) && VadateTx(lotwPassword) grabLOtWLog(true);">测试下载", +"settings.logging.LoTW.details.login": "LotW", +"settings.logging.LoTW.details.station": "TQSL 路径", +"settings.logging.LoTW.test.TQSLButton": "测试下载", "settings.logging.N1MM.source": "", -"settings.logging.N1MM.details.IP": "inputtype="checkbox" checked="false" class="inputTextValue" idbutonN1MMCheckBox" onclick=" VaidaeIPaddress(N1MMIpIput,thi); ValidatePort(N1MMPortInput,this, null ); n1mmLoggerChange();" /", +"settings.logging.N1MM.details.IP": "", "settings.logging.Log4OM.source": "", -"settings.logging.Log4OM.details.IP": "inputtype="checkbox" checked="false" class="inputTextValue" id="buttonLog4OMCheckBox" onclick=" ValidateIPaddres(log4OMIpIput,thi); ValidatePort(log4OMPorInput,this, null ); log4OMLoggerChanged);" ", +"settings.logging.Log4OM.details.IP": "", "settings.logging.N3FJP.source": "日志", -"settings.logging.N3FJP.details.IP": "inputtype="heckbox" checked="fase" class="inputTextValeid="butonacLogCheckBox" onclick=VlidateIPaddres(acLogIpIput,thi); ValidatePort(acLogPortInput,this, null ); acLogLoggerChnged();" /", +"settings.logging.N3FJP.details.IP": "", "settings.logging.DXKeeper.source": "", -"settings.logging.DXKeeper.details.IP": "inputtype="checkbox" checked="false" class="inputTextValue" id="buttondxkLogCheckBox" onclick=" ValidateIPaddres(dxkLogIpIput,thi); ValidatePort(dxkLogPorInput,this, null ); dxkLogLoggerChanged);" ", +"settings.logging.DXKeeper.details.IP": "", "settings.logging.HRDLogbook.source": "", -"settings.logging.HRDLogbook.details.IP": "inputtype="checkx" checked="false" class="inputTextValue" id="butonHrdLogbookCheckBox onclick=" ValidateIPaddress(hrdLogbookIpIput,thi); ValidatePort(hrdLogbookPortInput,this, ull ); hrLogbookLoggerCanged();" /", +"settings.logging.HRDLogbook.details.IP": "", "settings.callroster.AlwaysOnTop.label": "窗口总是在最上层", "settings.callroster.MaxAge.label": "呼叫列表最长时间", -"settings.callroster.MultiRig.label": "当QSO回答", "settings.callroster.MultiRig.HaltTx.label": "在所有其他情况下停止发射", "settings.callroster.MultiRig.label": "当QSO回答", "settings.callroster.MultiRig.SwitchView.label": "将显示切换到传输实例", "settings.callroster.AudioAlert.label": "开启声音警报 新渴望", "settings.callroster.AudioAlert.MediaFile": "1文本朗读", "settings.alerts.AudioAlert.label": "声音警报", -"settings.alerts.AudioAlert.Reference.label": "rcolspan="5" title="日志文件参考"", +"settings.alerts.AudioAlert.Reference.label": "日志文件参考", "settings.alerts.AudioAlert.Reference.anyBandAnyDigi": "0当前波段及模式", "settings.alerts.AudioAlert.Header.Value": "启用", -"settings.alerts.AudioAlert.Status.confirmed": "th>呼号新的", -"settings.alerts.AudioAlert.Notify.MediaFile": "1文本朗读", -"settings.alerts.AudioAlert.Status.confirmed": "wrked">新的", -"settings.alerts.AudioAlert.Notify.MediaFile": "1文本朗读", -"settings.alerts.AudioAlert.Status.confirmed": "th>CQ Zone呼号", "roster.title": "呼叫列", -"roster.controls.less": "MorControlsLink">打开控件栏", -"roster.controls.logbook.mixBandDigiMode": "div id="LogbookControls">日志 呼", +"roster.secondary.wanted.OAMS": "呼" } \ No newline at end of file diff --git a/package.nw/lib/gt.js b/package.nw/lib/gt.js index ec9ab0c..f75af9a 100644 --- a/package.nw/lib/gt.js +++ b/package.nw/lib/gt.js @@ -6,7 +6,6 @@ var gtVersionStr = pjson.version var gtVersion = parseInt(gtVersionStr.replace(/\./g, "")); var gtBeta = pjson.betaVersion; -// var banana = require("../../node_modules/banana-i18n/dist/banana-i18n.js"); var g_startVersion = 0; if (typeof localStorage.currentVersion != "undefined") { g_startVersion = localStorage.currentVersion; } @@ -13576,12 +13575,13 @@ function startupVersionInit() function loadi18n() { $.i18n().load( - { - en: "i18n/en.json", - es: "i18n/es.json", - cn: "i18n/cn.sjon" - } - ); + { + en: "i18n/en.json", + es: "i18n/es.json", + cn: "i18n/cn.json" + }).done(function () { + // $.i18n().locale = 'cn'; + }); } function startupButtonsAndInputs()