Merge pull request #802 from McGiverGim/bf-i18n_some_titles

i18n titles
10.3.x-maintenance
Michael Keller 2017-12-19 01:54:37 +13:00 committed by GitHub
commit 148178e109
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 196 additions and 74 deletions

View File

@ -38,6 +38,24 @@
"permanentExpertMode": {
"message": "Permanently enable Expert Mode"
},
"sensorStatusGyro": {
"message": "Gyroscope"
},
"sensorStatusAccel": {
"message": "Accelerometer"
},
"sensorStatusMag": {
"message": "Magnetometer"
},
"sensorStatusBaro": {
"message": "Barometer"
},
"sensorStatusGPS": {
"message": "GPS"
},
"sensorStatusSonar": {
"message": "Sonar / Range finder"
},
"checkForConfiguratorUnstableVersions": {
"message": "Show update notifications for unstable versions of the configurator"
},
@ -306,6 +324,9 @@
"defaultDonateText": {
"message": "This utility is fully <strong>open source</strong> and is available free of charge to all <strong>Betaflight</strong> users.<br />If you found the Betaflight or Betaflight configurator useful, please consider <strong>supporting</strong> its development by donating."
},
"defaultDonate": {
"message": "Donate"
},
"defaultSponsorsHead": {
"message": "Sponsors"
},
@ -1503,6 +1524,59 @@
"message": "Signal Strength"
},
"motorNumber1":{
"message": "Motor - 1"
},
"motorNumber2":{
"message": "Motor - 2"
},
"motorNumber3":{
"message": "Motor - 3"
},
"motorNumber4":{
"message": "Motor - 4"
},
"motorNumber5":{
"message": "Motor - 5"
},
"motorNumber6":{
"message": "Motor - 6"
},
"motorNumber7":{
"message": "Motor - 7"
},
"motorNumber8":{
"message": "Motor - 8"
},
"servoNumber1":{
"message": "Servo - 1"
},
"servoNumber2":{
"message": "Servo - 2"
},
"servoNumber3":{
"message": "Servo - 3"
},
"servoNumber4":{
"message": "Servo - 4"
},
"servoNumber5":{
"message": "Servo - 5"
},
"servoNumber6":{
"message": "Servo - 6"
},
"servoNumber7":{
"message": "Servo - 7"
},
"servoNumber8":{
"message": "Servo - 8"
},
"motorsResetMaximum":{
"message": "Reset overtime maximum"
},
"motorsMaster": {
"message": "Master"
},
@ -1730,12 +1804,18 @@
"firmwareFlasherFlashDevelopmentFirmwareDescription": {
"message": "Flash most recent (untested) development firmware."
},
"firmwareFlasherManualPort": {
"message": "Port"
},
"firmwareFlasherManualBaud": {
"message": "Manual baud rate"
},
"firmwareFlasherManualBaudDescription": {
"message": "Manual selection of baud rate for boards that don't support the default speed or for flashing via bluetooth.<br /><span class=\"message-negative\">Note:</span> Not used when flashing via USB DFU"
},
"firmwareFlasherBaudRate": {
"message": "Baud Rate"
},
"firmwareFlasherShowDevelopmentReleases":{
"message": "Show unstable releases"
},
@ -1854,6 +1934,48 @@
"ledStripIndecatorOverlay": {
"message": "Indicator (uses position on matrix)"
},
"colorBlack": {
"message": "black"
},
"colorWhite": {
"message": "white"
},
"colorRed": {
"message": "red"
},
"colorOrange": {
"message": "orange"
},
"colorYellow": {
"message": "yellow"
},
"colorLimeGreen": {
"message": "lime green"
},
"colorGreen": {
"message": "green"
},
"colorMintGreen": {
"message": "mint green"
},
"colorCyan": {
"message": "cyan"
},
"colorLightBlue": {
"message": "light blue"
},
"colorBlue": {
"message": "blue"
},
"colorDarkViolet": {
"message": "dark violet"
},
"colorMagenta": {
"message": "magenta"
},
"colorDeepPink": {
"message": "deep pink"
},
"controlAxisRoll": {
"message": "Roll [A]"
},

View File

@ -119,13 +119,13 @@
</div>
<div id="portsinput">
<div class="dropdown dropdown-dark">
<select class="dropdown-select" id="port" title="Port">
<select class="dropdown-select" id="port" i18n_title="firmwareFlasherManualPort">
<option value="manual">Manual</option>
<!-- port list gets generated here -->
</select>
</div>
<div class="dropdown dropdown-dark">
<select class="dropdown-select" id="baud" title="Baud Rate">
<select class="dropdown-select" id="baud" i18n_title="firmwareFlasherBaudRate">
<option value="1000000">1000000</option>
<option value="500000">500000</option>
<option value="250000">250000</option>
@ -168,22 +168,22 @@
</div>
<div id="sensor-status" class="sensor_state mode-connected">
<ul>
<li class="gyro" title="Gyroscope">
<li class="gyro" i18n_title="sensorStatusGyro">
<div class="gyroicon">Gyro</div>
</li>
<li class="accel" title="Accelerometer">
<li class="accel" i18n_title="sensorStatusAccel">
<div class="accicon">Accel</div>
</li>
<li class="mag" title="Magnetometer">
<li class="mag" i18n_title="sensorStatusMag">
<div class="magicon">Mag</div>
</li>
<li class="baro" title="Barometer">
<li class="baro" i18n_title="sensorStatusBaro">
<div class="baroicon">Baro</div>
</li>
<li class="gps" title="GPS">
<li class="gps" i18n_title="sensorStatusGps">
<div class="gpsicon">GPS</div>
</li>
<li class="sonar" title="Sonar / Range finder">
<li class="sonar" i18n_title="sensorStatusSonar">
<div class="sonaricon">Sonar</div>
</li>
</ul>
@ -214,46 +214,46 @@
<div class="tab_container">
<div id="tabs">
<ul class="mode-disconnected">
<li class="tab_landing"><a href="#" i18n="tabLanding" class="tabicon ic_welcome" title="Welcome"></a>
<li class="tab_landing"><a href="#" i18n="tabLanding" class="tabicon ic_welcome" i18n_title="tabLanding"></a>
</li>
<li class="tab_help"><a href="#" i18n="tabHelp" class="tabicon ic_help"
title="Documentation &amp; Support"></a></li>
i18n_title="tabHelp"></a></li>
<li class="tab_firmware_flasher"><a href="#" i18n="tabFirmwareFlasher" class="tabicon ic_flasher"
title="Firmware Flasher"></a></li>
i18n_title="tabFirmwareFlasher"></a></li>
</ul>
<ul class="mode-connected">
<li class="tab_setup"><a href="#" i18n="tabSetup" class="tabicon ic_setup" title="Setup"></a></li>
<li class="tab_setup_osd"><a href="#" i18n="tabSetupOSD" class="tabicon ic_setup" title="OSD Setup"></a></li>
<li class="tab_setup"><a href="#" i18n="tabSetup" class="tabicon ic_setup" i18n_title="tabSetup"></a></li>
<li class="tab_setup_osd"><a href="#" i18n="tabSetupOSD" class="tabicon ic_setup" i18n_title="tabSetupOSD"></a></li>
<li class="tab_ports"><a href="#" i18n="tabPorts" class="tabicon ic_ports" title="Ports"></a></li>
<li class="tab_ports"><a href="#" i18n="tabPorts" class="tabicon ic_ports" i18n_title="tabPorts"></a></li>
<li class="tab_configuration"><a href="#" i18n="tabConfiguration" class="tabicon ic_config"
title="Configuration"></a></li>
i18n_title="tabConfiguration"></a></li>
<li class="tab_power"><a href="#" i18n="tabPower" class="tabicon ic_power"
title="Power &amp; Battery"></a></li>
i18n_title="tabPower"></a></li>
<li class="tab_failsafe"><a href="#" i18n="tabFailsafe" class="tabicon ic_failsafe"
title="Failsafe"></a></li>
i18n_title="tabFailsafe"></a></li>
<li class="tab_pid_tuning"><a href="#" i18n="tabPidTuning" class="tabicon ic_pid"
title="PID Tuning"></a></li>
<li class="tab_receiver"><a href="#" i18n="tabReceiver" class="tabicon ic_rx" title="Receiver"></a></li>
<li class="tab_auxiliary"><a href="#" i18n="tabAuxiliary" class="tabicon ic_modes" title="Modes"></a>
i18n_title="tabPidTuning"></a></li>
<li class="tab_receiver"><a href="#" i18n="tabReceiver" class="tabicon ic_rx" i18n_title="tabReceiver"></a></li>
<li class="tab_auxiliary"><a href="#" i18n="tabAuxiliary" class="tabicon ic_modes" i18n_title="tabAuxiliary"></a>
</li>
<li class="tab_adjustments"><a href="#" i18n="tabAdjustments" class="tabicon ic_adjust"
title="Adjustments"></a></li>
<li class="tab_servos"><a href="#" i18n="tabServos" class="tabicon ic_servo" title="Servos"></a></li>
<li class="tab_gps"><a href="#" i18n="tabGPS" class="tabicon ic_gps" title="GPS"></a></li>
<li class="tab_motors"><a href="#" i18n="tabMotorTesting" class="tabicon ic_motor" title="Motors"></a>
i18n_title="tabAdjustments"></a></li>
<li class="tab_servos"><a href="#" i18n="tabServos" class="tabicon ic_servo" i18n_title="tabServos"></a></li>
<li class="tab_gps"><a href="#" i18n="tabGPS" class="tabicon ic_gps" i18n_title="tabGPS"></a></li>
<li class="tab_motors"><a href="#" i18n="tabMotorTesting" class="tabicon ic_motor" i18n_title="tabMotorTesting"></a>
</li>
<li class="tab_osd"><a href="#" i18n="tabOsd" class="tabicon ic_osd" title="Osd"></a></li>
<li class="tab_osd"><a href="#" i18n="tabOsd" class="tabicon ic_osd" i18n_title="tabOsd"></a></li>
<li class="tab_transponder"><a href="#" i18n="tabTransponder" class="tabicon ic_transponder"
title="Transponder"></a></li>
<li class="tab_led_strip"><a href="#" i18n="tabLedStrip" class="tabicon ic_led" title="LED Strip"></a>
i18n_title="tabTransponder"></a></li>
<li class="tab_led_strip"><a href="#" i18n="tabLedStrip" class="tabicon ic_led" i18n_title="tabLedStrip"></a>
</li>
<li class="tab_sensors"><a href="#" i18n="tabRawSensorData" class="tabicon ic_sensors"
title="Sensors"></a></li>
i18n_title="tabRawSensorData"></a></li>
<li class="tab_logging"><a href="#" i18n="tabLogging" class="tabicon ic_log"
title="Tethered Logging"></a></li>
i18n_title="tabLogging"></a></li>
<li class="tab_onboard_logging"><a href="#" i18n="tabOnboardLogging" class="tabicon ic_data"
title="Onboard Logging"></a></li>
i18n_title="tabOnboardLogging"></a></li>
<!-- spare icons
<li class=""><a href="#"class="tabicon ic_mission">Mission (spare icon)</a></li>
<li class=""><a href="#"class="tabicon ic_advanced">Advanced (spare icon)</a></li>
@ -261,7 +261,7 @@
-->
</ul>
<ul class="mode-connected mode-connected-cli">
<li class="tab_cli"><a href="#" i18n="tabCLI" class="tabicon ic_cli" title="CLI"></a></li>
<li class="tab_cli"><a href="#" i18n="tabCLI" class="tabicon ic_cli" i18n_title="tabCLI"></a></li>
</ul>
</div>
<div class="clear-both"></div>

View File

@ -36,7 +36,7 @@
<tr class="option manual_baud_rate">
<td><label> <input class="flash_manual_baud toggle" type="checkbox" /> <span
i18n="firmwareFlasherManualBaud"></span> <select id="flash_manual_baud_rate"
title="Baud Rate">
i18n_title="firmwareFlasherBaudRate">
<option value="921600">921600</option>
<option value="460800">460800</option>
<option value="256000" selected="selected">256000</option>

View File

@ -25,7 +25,7 @@
<div i18n="defaultDonateText"></div>
<div class="donate">
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dreambb1982%40gmail%2ecom&lc=US&item_name=Betaflight&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest"
target="_blank" title="Donate"><img src="./images/btn-donate.png" alt="Paypal"
target="_blank" i18n_title="defaultDonate"><img src="./images/btn-donate.png" alt="Paypal"
height="30" /></a>
</li>
</div>

View File

@ -160,34 +160,34 @@
</div>
<div class="colors">
<button class="color-0" title="black">0</button>
<button class="color-1" title="white">1</button>
<button class="color-2" title="red">2</button>
<button class="color-3" title="orange">3</button>
<button class="color-4" title="yellow">4</button>
<button class="color-5" title="lime green">5</button>
<button class="color-6" title="green">6</button>
<button class="color-7" title="mint green">7</button>
<button class="color-8" title="cyan">8</button>
<button class="color-9" title="light blue">9</button>
<button class="color-10" title="blue">10</button>
<button class="color-11" title="dark violet">11</button>
<button class="color-12" title="magenta">12</button>
<button class="color-13" title="deep pink">13</button>
<button class="color-14" title="black">14</button>
<button class="color-15" title="black">15</button>
<button class="color-0" i18n_title="colorBlack">0</button>
<button class="color-1" i18n_title="colorWhite">1</button>
<button class="color-2" i18n_title="colorRed">2</button>
<button class="color-3" i18n_title="colorOrange">3</button>
<button class="color-4" i18n_title="colorYellow">4</button>
<button class="color-5" i18n_title="colorLimeGreen">5</button>
<button class="color-6" i18n_title="colorGreen">6</button>
<button class="color-7" i18n_title="colorMintGreen">7</button>
<button class="color-8" i18n_title="colorCyan">8</button>
<button class="color-9" i18n_title="colorLightBlue">9</button>
<button class="color-10" i18n_title="colorBlue">10</button>
<button class="color-11" i18n_title="colorDarkViolet">11</button>
<button class="color-12" i18n_title="colorMagenta">12</button>
<button class="color-13" i18n_title="colorDeepPink">13</button>
<button class="color-14" i18n_title="colorBlack">14</button>
<button class="color-15" i18n_title="colorBlack">15</button>
</div>
<div class="special_colors mode_colors">
<div class="section">Special colors</div>
<button class="mode_color-6-0" title="green">Disarmed</button>
<button class="mode_color-6-1" title="blue">Armed</button>
<button class="mode_color-6-2" title="white">Animation</button>
<!-- button class="mode_color-6-3" title="black">Background</button -->
<button class="mode_color-6-4" title="black">Blink background</button>
<button class="mode_color-6-5" title="red">GPS: no sats</button>
<button class="mode_color-6-6" title="orange">GPS: no lock</button>
<button class="mode_color-6-7" title="green">GPS: locked</button>
<button class="mode_color-6-0" i18n_title="colorGreen">Disarmed</button>
<button class="mode_color-6-1" i18n_title="colorBlue">Armed</button>
<button class="mode_color-6-2" i18n_title="colorWhite">Animation</button>
<!-- button class="mode_color-6-3" i18n_title="colorBlack">Background</button -->
<button class="mode_color-6-4" i18n_title="colorBlack">Blink background</button>
<button class="mode_color-6-5" i18n_title="colorRed">GPS: no sats</button>
<button class="mode_color-6-6" i18n_title="colorOrange">GPS: no lock</button>
<button class="mode_color-6-7" i18n_title="colorGreen">GPS: locked</button>
</div>
<div class="section">LED Strip Wiring</div>

View File

@ -23,7 +23,7 @@
<div class="table">
<div class="sensor row">
<div class="left-cell motor-button">
<a class="reset_max" href="#" title="Reset overtime maximum">Reset</a>
<a class="reset_max" href="#" i18n_title="motorsResetMaximum">Reset</a>
</div>
<div class="right-cell">
<select name="sensor_choice">
@ -106,28 +106,28 @@
<div class="left motors">
<div class="title2">Motors</div>
<ul class="titles">
<li title="Motor - 1">1</li>
<li title="Motor - 2">2</li>
<li title="Motor - 3">3</li>
<li title="Motor - 4">4</li>
<li title="Motor - 5">5</li>
<li title="Motor - 6">6</li>
<li title="Motor - 7">7</li>
<li title="Motor - 8">8</li>
<li i18n_title="motorNumber1">1</li>
<li i18n_title="motorNumber2">2</li>
<li i18n_title="motorNumber3">3</li>
<li i18n_title="motorNumber4">4</li>
<li i18n_title="motorNumber5">5</li>
<li i18n_title="motorNumber6">6</li>
<li i18n_title="motorNumber7">7</li>
<li i18n_title="motorNumber8">8</li>
</ul>
<div class="bar-wrapper"></div>
</div>
<div class="right servos">
<div class="title2">Servos</div>
<ul class="titles">
<li title="Servo - 8">8</li>
<li title="Servo - 7">7</li>
<li title="Servo - 6">6</li>
<li title="Servo - 5">5</li>
<li title="Servo - 4">4</li>
<li title="Servo - 3">3</li>
<li title="Servo - 2">2</li>
<li title="Servo - 1">1</li>
<li i18n_title="servoNumber8">8</li>
<li i18n_title="servoNumber7">7</li>
<li i18n_title="servoNumber6">6</li>
<li i18n_title="servoNumber5">5</li>
<li i18n_title="servoNumber4">4</li>
<li i18n_title="servoNumber3">3</li>
<li i18n_title="servoNumber2">2</li>
<li i18n_title="servoNumber1">1</li>
</ul>
<div class="bar-wrapper"></div>
</div>