kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
adding i18n to other html files, need to call scripts I think to make them "work"
rodzic
3a00b5b3d0
commit
0761163ddd
|
@ -15,7 +15,7 @@
|
|||
-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Current Conditions</title>
|
||||
<title data-i18n="conditions.title">Current Conditions</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" href="./lib/style.css" />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<html lang="en" xml:lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Callsign Lookup</title>
|
||||
<title data-i18n="lookup.title">Callsign Lookup</title>
|
||||
<link rel="stylesheet" href="./lib/style.css" />
|
||||
<script src="./lib/protos.js" type="text/javascript"></script>
|
||||
<script src="./lib/screens.js"></script>
|
||||
|
@ -117,25 +117,20 @@
|
|||
>
|
||||
<div id="lookupBoxDiv" class="lookupContent" style="display: block; overflow: auto; overflow-x: hidden">
|
||||
<div>
|
||||
Callsign<input
|
||||
id="lookupCallsignInput"
|
||||
type="text"
|
||||
class="inputTextValue"
|
||||
size="12"
|
||||
onkeyup="if (event.keyCode === 13) lookupButtonID.click();"
|
||||
oninput="ValidateCallsign(this,null);"
|
||||
/>
|
||||
<label data-i18n="lookup.callsign.label" for="lookupCallsignInput">Callsign</label>
|
||||
<input
|
||||
id="lookupCallsignInput" type="text" class="inputTextValue" size="12" onkeyup="if (event.keyCode === 13) lookupButtonID.click();" oninput="ValidateCallsign(this,null);"/>
|
||||
<div
|
||||
data-i18n="lookup.callsign.button"
|
||||
id="lookupButtonID"
|
||||
title="Lookup Callsign"
|
||||
class="button"
|
||||
onclick="if ( ValidateCallsign(lookupCallsignInput,null) ) { lookupCallsign(lookupCallsignInput.value, null, false);}"
|
||||
>
|
||||
onclick="if ( ValidateCallsign(lookupCallsignInput,null) ) { lookupCallsign(lookupCallsignInput.value, null, false);}">
|
||||
Lookup
|
||||
</div>
|
||||
</div>
|
||||
<div id="lookupLocalDiv"></div>
|
||||
<div id="lookupInfoDiv">No Callsign information to display<br />try a lookup!</div>
|
||||
<div data-i18n="lookup.noinfo" id="lookupInfoDiv">No Callsign information to display<br />try a lookup!</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Data Breakout</title>
|
||||
<title data-i18n="popup.title">Data Breakout</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" href="./lib/style.css" />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%; width: 100%">
|
||||
<head>
|
||||
<title>Call Roster</title>
|
||||
<title data-i18n="roster.title">Call Roster</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" href="./lib/style.css" />
|
||||
<link id="roster" rel="stylesheet" href="./lib/style_roster.css" />
|
||||
|
@ -28,79 +28,68 @@
|
|||
<div id="MainCallRoster">
|
||||
<header id="RosterControls">
|
||||
<div id="TransmitControls">
|
||||
<div
|
||||
id="txrxdec"
|
||||
style="
|
||||
background-color: Green;
|
||||
border-style: outset;
|
||||
border-color: yellow;
|
||||
border-width: 3px;
|
||||
margin: 2px;
|
||||
"
|
||||
class="roundBorder"
|
||||
>
|
||||
Waiting…
|
||||
<div id="txrxdec" style=" background-color: Green; border-style: outset; border-color: yellow; border-width: 3px; margin: 2px;" class="roundBorder">
|
||||
Waiting…
|
||||
</div>
|
||||
|
||||
<div class="button" style="margin: 3px" onclick="window.opener.haltAllTx(true);">Halt Tx</div>
|
||||
</div>
|
||||
|
||||
<div id="MoreLessControls">
|
||||
<div class="link" onclick="toggleMoreControls()" id="ShowMoreControlsLink">More Controls</div>
|
||||
<div class="link" onclick="toggleMoreControls()" id="ShowFewerControlsLink">Fewer Controls</div>
|
||||
<div data-i18n="roster.controls.more" class="link" onclick="toggleMoreControls()" id="ShowMoreControlsLink">More Controls</div>
|
||||
<div data-i18n="roster.controls.less" class="link" onclick="toggleMoreControls()" id="ShowFewerControlsLink">Fewer Controls</div>
|
||||
</div>
|
||||
|
||||
<div id="MainRosterControls">
|
||||
<div id="LogbookControls">
|
||||
<label>Logbook</label>
|
||||
<label data-i18n="roster.controls.logbook.label">Logbook</label>
|
||||
<select id="referenceNeed" onchange="valuesChanged();">
|
||||
<option value="6">Award Tracker</option>
|
||||
<option value="0">Live Band & Mode</option>
|
||||
<option value="1">Live Band, Mix Modes</option>
|
||||
<option value="2">Live Band, Digi Modes</option>
|
||||
<option value="3">Mix Band, Live Mode</option>
|
||||
<option value="4">Mix Band & Modes</option>
|
||||
<option value="5">Mix Band & Digi Modes</option>
|
||||
<option data-i18n="roster.controls.logbook.awardTracker" value="6">Award Tracker</option>
|
||||
<option data-i18n="roster.controls.logbook.liveBandMode" value="0">Live Band & Mode</option>
|
||||
<option data-i18n="roster.controls.logbook.liveBandMixMode" value="1">Live Band, Mix Modes</option>
|
||||
<option data-i18n="roster.controls.logbook.liveBandDigiMode" value="2">Live Band, Digi Modes</option>
|
||||
<option data-i18n="roster.controls.logbook.mixBandLiveMode" value="3">Mix Band, Live Mode</option>
|
||||
<option data-i18n="roster.controls.logbook.mixBandMode" value="4">Mix Band & Modes</option>
|
||||
<option data-i18n="roster.controls.logbook.mixBandDigiMode" value="5">Mix Band & Digi Modes</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div id="CallsignsControls">
|
||||
<label>Callsigns</label>
|
||||
<label data-i18n="roster.controls.callsigns.label">Callsigns</label>
|
||||
<select id="callsignNeed" onchange="valuesChanged();">
|
||||
<option value="worked">New</option>
|
||||
<option value="confirmed">New+Unconfirmed</option>
|
||||
<option value="all">All Traffic</option>
|
||||
<option value="hits">All Traffic/Only Wanted</option>
|
||||
<option data-i18n="roster.controls.callsigns.worked" value="worked">New</option>
|
||||
<option data-i18n="roster.controls.callsigns.confirmed" value="confirmed">New+Unconfirmed</option>
|
||||
<option data-i18n="roster.controls.callsigns.all" value="all">All Traffic</option>
|
||||
<option data-i18n="roster.controls.callsigns.hits" value="hits">All Traffic/Only Wanted</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div id="HuntModeControls">
|
||||
<label>Hunting</label>
|
||||
|
||||
<label data-i18n="roster.controls.hunting.label">Hunting</label>
|
||||
<select id="huntMode" onchange="valuesChanged();" value="callsign">
|
||||
<option value="callsign">Callsign</option>
|
||||
<option value="grid">Grid</option>
|
||||
<option value="dxcc">DXCC</option>
|
||||
<option value="dxccs">DXCC (Single)</option>
|
||||
<option value="cq">CQ Zone</option>
|
||||
<option value="itu">ITU Zone</option>
|
||||
<option value="usstates">US States (WAS)</option>
|
||||
<option value="usstate">US State (Single)</option>
|
||||
<option value="wpx">Prefix (WPX)</option>
|
||||
<option data-i18n="roster.controls.hunting.callsign" value="callsign">Callsign</option>
|
||||
<option data-i18n="roster.controls.hunting.grid" value="grid">Grid</option>
|
||||
<option data-i18n="roster.controls.hunting.dxcc" value="dxcc">DXCC</option>
|
||||
<option data-i18n="roster.controls.hunting.dxccSingle" value="dxccs">DXCC (Single)</option>
|
||||
<option data-i18n="roster.controls.hunting.cqZone" value="cq">CQ Zone</option>
|
||||
<option data-i18n="roster.controls.hunting.ituZone" value="itu">ITU Zone</option>
|
||||
<option data-i18n="roster.controls.hunting.usStates" value="usstates">US States (WAS)</option>
|
||||
<option data-i18n="roster.controls.hunting.usState" value="usstate">US State (Single)</option>
|
||||
<option data-i18n="roster.controls.hunting.wpx"value="wpx">Prefix (WPX)</option>
|
||||
</select>
|
||||
|
||||
<select id="huntNeed" onchange="valuesChanged();">
|
||||
<option value="worked">New</option>
|
||||
<option value="confirmed">New+Unconfirmed</option>
|
||||
<option value="mixed">Mixed</option>
|
||||
<option data-i18n="roster.controls.huntNeed.worked" value="worked">New</option>
|
||||
<option data-i18n="roster.controls.huntNeed.confirmed" value="confirmed">New+Unconfirmed</option>
|
||||
<option data-i18n="roster.controls.huntNeed.mixed" value="mixed">Mixed</option>
|
||||
</select>
|
||||
|
||||
<select id="stateSelect" onchange="valuesChanged();">
|
||||
<option value="" selected="true">Select Territory</option>
|
||||
<option data-i18n="roster.controls.huntState.label"value="" selected="true">Select Territory</option>
|
||||
</select>
|
||||
|
||||
<select id="DXCCsSelect" onchange="valuesChanged();" id="HuntDXCCsControls">
|
||||
<option value="-1" selected="true">Select DXCC</option>
|
||||
<option data-i18n="roster.controls.huntDXCC.label" value="-1" selected="true">Select DXCC</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
@ -109,30 +98,30 @@
|
|||
<div id="AwardTrackerControls">
|
||||
<div id="AwardWantedList"></div>
|
||||
|
||||
<div class="button" onclick="openAwardPopup()">Add Awards</div>
|
||||
<div data-i18n="roster.controls.awardTracker.addButton" class="button" onclick="openAwardPopup()">Add Awards</div>
|
||||
|
||||
<div id="awardHunterDiv" style="display: none;">
|
||||
<table style="padding: 15px">
|
||||
<tr>
|
||||
<th align="center">New Award Tracker</th>
|
||||
<th data-i18n="roster.controls.awardTracker.new" align="center">New Award Tracker</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<select id="awardSponsor" onchange="awardSponsorChanged();">
|
||||
<option value="" disabled selected>Sponsor</option>
|
||||
<option data-i18n="roster.controls.awardTracker.sponsor" value="" disabled selected>Sponsor</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<select id="awardName" onchange="awardNameChanged();">
|
||||
<option value="" disabled selected>Name</option>
|
||||
<option data-i18n="roster.controls.awardTracker.name" value="" disabled selected>Name</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<div class="button" style="margin: 3px" onclick="closeAwardPopup()">Done</div>
|
||||
<div data-i18n="roster.controls.awardTracker.add" class="button" style="margin: 3px" onclick="closeAwardPopup()">Done</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -143,25 +132,28 @@
|
|||
|
||||
<div id="SecondaryRosterControls">
|
||||
<div id="huntingMatrixDiv" class="secondaryControlGroup">
|
||||
<h3>Wanted</h3>
|
||||
<h3 data-i18n="roster.secondary.wanted.label">Wanted</h3>
|
||||
|
||||
<div class='columns'>
|
||||
<div>
|
||||
<label><input type="checkbox" id="huntCallsign" onchange="wantedChanged(this);" /> Callsign</label>
|
||||
<input type="checkbox" id="huntCallsign" onchange="wantedChanged(this);" />
|
||||
<label data-i18n="roster.secondary.wanted.callsign" for="huntCallsign">Callsign</label>
|
||||
</div>
|
||||
<div>
|
||||
<label><input type="checkbox" id="huntGrid" onchange="wantedChanged(this);" /> Grid</label>
|
||||
<input type="checkbox" id="huntGrid" onchange="wantedChanged(this);" />
|
||||
<label data-i18n="roster.secondary.wanted.grid" for="huntGrid">Grid</label>
|
||||
</div>
|
||||
<div>
|
||||
<label ><input type="checkbox" id="huntDXCC" onchange="wantedChanged(this);" /> DXCC</label>
|
||||
<input type="checkbox" id="huntDXCC" onchange="wantedChanged(this);" />
|
||||
<label data-i18n="roster.secondary.wanted.dxcc" for="huntDXCC">DXCC</label>
|
||||
</div>
|
||||
<div>
|
||||
<label title="Stations calling *you*">
|
||||
<input type="checkbox" id="huntQRZ" onchange="wantedChanged(this);" /> QRZ
|
||||
</label>
|
||||
<input type="checkbox" id="huntQRZ" onchange="wantedChanged(this);" />
|
||||
<label data-i18n="roster.secondary.wanted.qrz" for="huntQRZ" title="Stations calling *you*">QRZ</label>
|
||||
</div>
|
||||
<div>
|
||||
<label><input type="checkbox" id="huntPX" onchange="wantedChanged(this);" /> WPX</label>
|
||||
<input type="checkbox" id="huntPX" onchange="wantedChanged(this);" />
|
||||
<label data-i18n="roster.secondary.wanted.wpx" for="huntPX">WPX</label>
|
||||
</div>
|
||||
<div>
|
||||
<label title="Off-Air Message Service Users">
|
||||
|
|
|
@ -508,6 +508,7 @@
|
|||
"roster.controls.huntNeed.mixed": "Mixed",
|
||||
"roster.controls.huntState.label": "Select Territory",
|
||||
"roster.controls.huntDXCC.label": "Select DXCC",
|
||||
"roster.controls.awardTracker.addButton": "Add Awards",
|
||||
"roster.controls.awardTracker.new": "New Award Tracker",
|
||||
"roster.controls.awardTracker.sponsor": "Sponosor",
|
||||
"roster.controls.awardTracker.name": "Name",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"message-documentation": "qqq"
|
||||
},
|
||||
"COMMENT_GridTracker.html": "",
|
||||
"appname-title": "GridTracker",
|
||||
"appname-title": "GridTracker ${version}",
|
||||
"appname-sub-title": "An Amteur Radio Companion",
|
||||
"statupStatusDiv": "Initial Startup",
|
||||
"documents.Div1": "Your Documents folder (${searchedDocFolder}) could not be located.",
|
||||
|
@ -323,6 +323,7 @@
|
|||
"settings.logging.LoTW.details.login": "Login",
|
||||
"settings.logging.LoTW.details.password": "Password",
|
||||
"settings.logging.LoTW.details.TQSLPath": "TQSL Path",
|
||||
"settings.logging.LoTW.details.TQSLPass": "TQSL Password",
|
||||
"settings.logging.LoTW.details.station": "Station Name",
|
||||
"settings.logging.LoTW.test.downloadButton":"Test Download",
|
||||
"settings.logging.LoTW.test.TQSLButton": "Test TQSL",
|
||||
|
@ -427,9 +428,10 @@
|
|||
"settings.OAMS.message.newAlert.Action": "New Message Action",
|
||||
"settings.OAMS.message.newAlert.Nothing": "Do Nothing",
|
||||
"settings.OAMS.message.newAlert.OpenWindow": "Open Messaging Window",
|
||||
"settings.OAMS.message.newAlert.awayMode": "Away Mode",
|
||||
"settings.OAMS.message.newAlert.NotAway": "Not Away",
|
||||
"settings.OAMS.message.newAlert.AmAway": "I Am Away",
|
||||
"settings.OAMS.message.awayMode": "Away Mode",
|
||||
"settings.OAMS.message.NotAway": "Not Away",
|
||||
"settings.OAMS.message.AmAway": "I Am Away",
|
||||
"settings.OAMS.message.awayText": "Away Text",
|
||||
"settings.about.AppVersion": "GridTracker ${version}",
|
||||
"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",
|
||||
|
@ -456,10 +458,10 @@
|
|||
"chat.ended": "Session ended",
|
||||
"chat.notAvail": "...this session is no longer available...",
|
||||
"chat.noHistory": "no message history",
|
||||
"chat.notice.bold": "NOTICE:",
|
||||
"chat.notice.para1": "GridTracker chat is not encrypted or obfuscated beyond HTTPS. This means that it's sent as plaintext that is vulnerable to hackers, pirates, the NSA, your wife, and anyone that thinks you're interesting enough to monitor.",
|
||||
"chat.notice.para2": "Not us, though. While GridTracker is free, unlike some other free apps, we don't store, save, sell, peek at or otherwise do anything with the chat that would violate your trust. We don't keep logs. We don't save Metadata. We just don't.",
|
||||
"chat.notice.para3": "Close GridTracker, lose the text. So write anything down you want to save. Because when it's gone, gone is forever.",
|
||||
"chat.notice.para1": "NOTICE: GridTracker chat is not encrypted or obfuscated beyond HTTPS. This means that it's sent as plaintext that is vulnerable to hackers, pirates, the NSA, your wife, and anyone that thinks you're interesting enough to monitor.",
|
||||
"chat.notice.para2": "<b>NEVER</b> give passwords, credit card numbers, safe combinations or any personal information that you don't want bad people to know because there are some very bad people out there.",
|
||||
"chat.notice.para3": "Not us, though. While GridTracker is free, unlike some other free apps, we don't store, save, sell, peek at or otherwise do anything with the chat that would violate your trust. We don't keep logs. We don't save Metadata. We just don't.",
|
||||
"chat.notice.para4": "Close GridTracker, lose the text. So write anything down you want to save. Because when it's gone, gone is forever.",
|
||||
"chat.notice.agree": "Click here to acknowledge the above and enable messaging",
|
||||
"chat.filter.band": "Band:",
|
||||
"chat.filter.mode": "Mode:",
|
||||
|
|
Ładowanie…
Reference in New Issue