kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
wip, i18n debugging
rodzic
013d9c8ebf
commit
734e972d9e
Plik diff jest za duży
Load Diff
|
@ -46,9 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<script src="./lib/moment-timezone-with-data.js" type="text/javascript"></script>
|
||||
<script src="./lib/datepicker.js"></script>
|
||||
<script src="./lib/callsigns.js" type="text/javascript"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.min.js"
|
||||
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
|
||||
crossorigin="anonymous"></script>
|
||||
<script src="node_modules/jquery/dist/jquery.js"></script>
|
||||
<script src="./lib/CLDRPluralRuleParser.js"></script>
|
||||
<script src="./lib/jquery.i18n.js"></script>
|
||||
<script src="./lib/jquery.i18n.messagestore.js"></script>
|
||||
|
@ -1202,7 +1200,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label data-i18n="settings.UDP.Port.label" for="udpPortInput">Port</label>
|
||||
<label data-i18n="settings.general.UDP.Port.label" for="udpPortInput">Port</label>
|
||||
<input
|
||||
id="udpPortInput"
|
||||
type="text"
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
"message-documentation": "qqq"
|
||||
},
|
||||
"COMMENT_GridTracker.html": "",
|
||||
"appname-title": "GridTracker $1",
|
||||
"appname-title": "GridTracker",
|
||||
"appname-sub-title": "An Amteur Radio Companion",
|
||||
"statupStatusDiv": "Initial Startup",
|
||||
"documents.Div1": "Your Documents folder (${searchedDocFolder}) could not be located.",
|
||||
"documents.Div1": "Your Documents folder <div id='searchedDocFolder'></div> could not be located.",
|
||||
"documents.Div2": "GridTracker can not continue without it.",
|
||||
"documents.Div3": "Please select a directory so that GridTracker can store important files.",
|
||||
"legend.title": "Legend",
|
||||
|
@ -432,7 +432,7 @@
|
|||
"settings.OAMS.message.NotAway": "Not Away",
|
||||
"settings.OAMS.message.AmAway": "I Am Away",
|
||||
"settings.OAMS.message.awayText": "Away Text",
|
||||
"settings.about.AppVersion": "GridTracker $1",
|
||||
"settings.about.AppVersion": "GridTracker",
|
||||
"settings.about.Brief": "GridTracker is a warehouse of amateur radio information presented in an easy to use interface",
|
||||
"settings.about.FeatureList1": "From Live Traffic Decodes",
|
||||
"settings.about.FeatureList2": "Logbooks",
|
||||
|
|
|
@ -272,7 +272,7 @@ function saveAndCloseApp()
|
|||
}
|
||||
catch (e)
|
||||
{
|
||||
console.log(e);
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
if (g_map)
|
||||
|
@ -294,7 +294,7 @@ function saveAndCloseApp()
|
|||
}
|
||||
catch (e)
|
||||
{
|
||||
console.log(e);
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -323,7 +323,10 @@ function saveAndCloseApp()
|
|||
g_baWindowHandle.window.close(true);
|
||||
g_callRosterWindowHandle.window.close(true);
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
nw.App.quit();
|
||||
}
|
||||
|
||||
|
@ -2078,7 +2081,7 @@ function createSpotTipTable(toolElement)
|
|||
}
|
||||
catch (err)
|
||||
{
|
||||
console.log("Unexpected error at createSpotTipTable", toolElement, err)
|
||||
console.error("Unexpected error at createSpotTipTable", toolElement, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2414,7 +2417,10 @@ function renderTooltipWindow(feature)
|
|||
g_popupWindowHandle.width = parseInt(positionInfo.width) + 20;
|
||||
g_popupWindowHandle.height = parseInt(positionInfo.height) + 50;
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2502,7 +2508,10 @@ function openConditionsWindow()
|
|||
g_conditionsWindowHandle.hide();
|
||||
}
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2593,7 +2602,10 @@ function openCallRosterWindow(show = true)
|
|||
g_callRosterWindowHandle.hide();
|
||||
}
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2605,7 +2617,10 @@ function updateRosterWorked()
|
|||
{
|
||||
g_callRosterWindowHandle.window.updateWorked();
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2617,7 +2632,10 @@ function updateRosterInstances()
|
|||
{
|
||||
g_callRosterWindowHandle.window.updateInstances();
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2674,7 +2692,10 @@ function openStatsWindow(show = true)
|
|||
g_statsWindowHandle.hide();
|
||||
}
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2719,7 +2740,10 @@ function showMessaging(show = true, cid)
|
|||
g_chatWindowHandle.focus();
|
||||
if (typeof cid != "undefined") g_chatWindowHandle.window.openId(cid);
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2773,7 +2797,10 @@ function onRightClickGridSquare(feature)
|
|||
{
|
||||
renderTooltipWindow(feature);
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
mouseOutOfDataItem();
|
||||
}
|
||||
|
@ -4012,7 +4039,10 @@ function reloadInfo(bandOrMode)
|
|||
{
|
||||
g_statsWindowHandle.window.reloadInfo();
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6467,7 +6497,10 @@ function handleWsjtxStatus(newMessage)
|
|||
{
|
||||
g_callRosterWindowHandle.window.processStatus(newMessage);
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
if (g_activeInstance == "")
|
||||
|
@ -6846,7 +6879,7 @@ function handleWsjtxStatus(newMessage)
|
|||
}
|
||||
catch (err)
|
||||
{
|
||||
console.log("Unexpected error inside handleWsjtxStatus", err)
|
||||
console.error("Unexpected error inside handleWsjtxStatus", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7356,7 +7389,7 @@ function handleWsjtxDecode(newMessage)
|
|||
}
|
||||
catch (err)
|
||||
{
|
||||
console.log("Unexpected error inside handleWsjtxDecode 1", err)
|
||||
console.error("Unexpected error inside handleWsjtxDecode 1", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7404,7 +7437,7 @@ function handleWsjtxDecode(newMessage)
|
|||
}
|
||||
catch (err)
|
||||
{
|
||||
console.log("Unexpected error inside handleWsjtxDecode 2", err)
|
||||
console.error("Unexpected error inside handleWsjtxDecode 2", err)
|
||||
}
|
||||
|
||||
var feature = shapeFeature(
|
||||
|
@ -7504,7 +7537,7 @@ function handleWsjtxDecode(newMessage)
|
|||
}
|
||||
catch (err)
|
||||
{
|
||||
console.log("Unexpected error inside handleWsjtxDecode 3", err)
|
||||
console.error("Unexpected error inside handleWsjtxDecode 3", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7632,7 +7665,10 @@ function goProcessRoster(isRealtime = false)
|
|||
}
|
||||
g_callRosterWindowHandle.window.processRoster(g_callRoster);
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -8639,7 +8675,7 @@ function showWorkedBox(sortIndex, nextPage, redraw)
|
|||
}
|
||||
catch (e)
|
||||
{
|
||||
console.log(e);
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -8668,17 +8704,18 @@ function lookupValidateCallByElement(elementString)
|
|||
{
|
||||
if (
|
||||
g_lookupWindowHandle != null &&
|
||||
typeof g_statsWindowHandle.window.validateCallByElement !== "undefined"
|
||||
typeof g_lookupWindowHandle.window.validateCallByElement !== "undefined"
|
||||
)
|
||||
{
|
||||
g_lookupWindowHandle.window.validateCallByElement(elementString);
|
||||
}
|
||||
}
|
||||
|
||||
function lookupFocus(selection)
|
||||
{
|
||||
if (
|
||||
g_lookupWindowHandle != null &&
|
||||
typeof g_statsWindowHandle.window.statsFocus !== "undefined"
|
||||
typeof g_lookupWindowHandle.window.statsFocus !== "undefined"
|
||||
)
|
||||
{
|
||||
g_lookupWindowHandle.window.statsFocus(selection);
|
||||
|
@ -9196,7 +9233,10 @@ function openBaWindow(show = true)
|
|||
g_baWindowHandle.hide();
|
||||
}
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -9248,7 +9288,10 @@ function openLookupWindow(show = false)
|
|||
g_lookupWindowHandle.window.saveScreenSettings();
|
||||
}
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -11072,7 +11115,10 @@ function setGtShareButtons()
|
|||
{
|
||||
g_chatWindowHandle.hide();
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -12745,6 +12791,7 @@ function readAcksFromDisk()
|
|||
catch (e)
|
||||
{
|
||||
// file failed to load, probably not downloaded
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -13698,7 +13745,10 @@ function startupButtonsAndInputs()
|
|||
|
||||
setGtShareButtons();
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
function startupEventsAndTimers()
|
||||
|
@ -14052,7 +14102,10 @@ function updateWsjtxListener(port)
|
|||
{
|
||||
g_wsjtUdpServer.dropMembership(g_appSettings.wsjtIP);
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
g_wsjtUdpServer.close();
|
||||
g_wsjtUdpServer = null;
|
||||
|
@ -15738,6 +15791,7 @@ function is_dir(path)
|
|||
catch (e)
|
||||
{
|
||||
// lstatSync throws an error if path doesn't exist
|
||||
console.error(e);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -15767,7 +15821,7 @@ function purgeUserFiles(userDir, systemDir)
|
|||
}
|
||||
catch (e)
|
||||
{
|
||||
console.log(e);
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -15966,7 +16020,10 @@ function saveReceptionReports()
|
|||
JSON.stringify(g_receptionReports)
|
||||
);
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
function loadReceptionReports()
|
||||
|
@ -16273,7 +16330,7 @@ function createSpot(report, key, fromPoint, addToLayer = true)
|
|||
}
|
||||
catch (err)
|
||||
{
|
||||
console.log("Unexpected error inside createSpot", report, err)
|
||||
console.error("Unexpected error inside createSpot", report, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -16567,7 +16624,10 @@ function setRosterTop()
|
|||
{
|
||||
g_callRosterWindowHandle.setAlwaysOnTop(g_appSettings.rosterAlwaysOnTop);
|
||||
}
|
||||
catch (e) { }
|
||||
catch (e)
|
||||
{
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue