1
0
Fork 0

Launcher: fix missing translation annotations

Thanks to Sidi Liang for catching these.
This commit is contained in:
James Turner 2018-09-09 14:52:54 +01:00
parent 9549ac8027
commit ec488bf204
3 changed files with 12 additions and 12 deletions

View file

@ -117,18 +117,18 @@ Item {
SettingCheckbox {
id: advancedWeather
label: qsTr("Advanced weather modelling")
description: "Detailed weather simulation based on local terrain and "
description: qsTr("Detailed weather simulation based on local terrain and "
+ "atmospheric simulation. Note that using advanced weather with "
+ "real-world weather data (METAR) information may not show exactly "
+ "the conditions recorded, and is not recommended for multi-player "
+ "flight since the weather simulation is not shared over the network."
+ "flight since the weather simulation is not shared over the network.")
setting: "aws-enabled"
},
SettingCheckbox {
id: fetchMetar
label: qsTr("Real-world weather")
description: "Download real-world weather from the NOAA servers based on location."
description: qsTr("Download real-world weather from the NOAA servers based on location.")
option: "real-weather-fetch"
setting: "fetch-metar"
},
@ -156,7 +156,7 @@ Item {
hidden: !weatherScenario.isCustomMETAR
enabled: !fetchMetar.checked
label: "METAR"
label: qsTr("METAR")
placeholder: "XXXX 012345Z 28035G50KT 250V300 9999 TSRA SCT022CB BKN030 13/09 Q1005"
useFullWidth: true
setting: "custom-metar"
@ -228,8 +228,8 @@ Item {
function summary()
{
var result = [];
if (advancedWeather.checked) result.push("advanced weather");
if (fetchMetar.checked) result.push("real-world weather");
if (advancedWeather.checked) result.push(qsTr("advanced weather"));
if (fetchMetar.checked) result.push(qsTr("real-world weather"));
return result;
}
}

View file

@ -280,10 +280,10 @@ Item {
contents: [
SettingCheckbox {
id: terrasync
label: "Download scenery automatically"
description: "FlightGear can automatically download scenery as needed, and check for updates to "
label: qsTr("Download scenery automatically")
description: qsTr("FlightGear can automatically download scenery as needed, and check for updates to "
+ "the scenery. If you disable this option, you will need to download & install scenery "
+ "using an alternative method."
+ "using an alternative method.")
keywords: ["terrasync", "download", "scenery"]
option: "terrasync"
setting: "terrasync"
@ -409,9 +409,9 @@ Item {
function summary()
{
var result = [];
if (rembrandt) result.push("Rembrandt");
if (rembrandt) result.push(qsTr("Rembrandt"));
else if (alsEnabled) result.push("ALS");
if (msaaEnabled) result.push("anti-aliasing");
if (msaaEnabled) result.push(qsTr("anti-aliasing"));
return result;
}

View file

@ -86,7 +86,7 @@ Item {
// dynamic text sizing, so bind it manually
y: logoText.y + Style.margin + logoText.contentHeight
wrapMode: Text.WordWrap
text: "Licenced under the GNU Public License (GPL) - click for more info"
text: qsTr("Licenced under the GNU Public License (GPL) - click for more info")
baseTextColor: "white"
style: Text.Outline
styleColor: "black"