diff --git a/translations/qgc-json.ts b/translations/qgc-json.ts index 02565bf..d7a88f3 100644 --- a/translations/qgc-json.ts +++ b/translations/qgc-json.ts @@ -1,3 +1,6 @@ + + + SubmarineFact.json @@ -3343,9 +3346,9 @@ - .QGC.MetaData.Facts[language].shortDescription, + .QGC.MetaData.Facts[virtualJoystickAutoCenterThrottle].longDescription, - Language + If enabled the throttle stick will snap back to center when released. @@ -3355,6 +3358,12 @@ + .QGC.MetaData.Facts[virtualJoystickAutoCenterThrottle].shortDescription, + + Auto-Center Throttle + + + .QGC.MetaData.Facts[showLargeCompass].longDescription, Show large compass on instrument panel @@ -3427,6 +3436,12 @@ + .QGC.MetaData.Facts[language].shortDescription, + + Language + + + .QGC.MetaData.Facts[firstRunPromptIdsShown].shortDescription, Comma separated list of first run prompt ids which have already been shown. @@ -3481,12 +3496,6 @@ - .QGC.MetaData.Facts[virtualJoystickCentralized].longDescription, - - If this option is enabled the virtual joystick throttle stick will be centralized. - - - .QGC.MetaData.Facts[enforceChecklist].shortDescription, Preflight checklist must pass before arming @@ -3685,9 +3694,9 @@ - .QGC.MetaData.Facts[virtualJoystickCentralized].shortDescription, + .QGC.MetaData.Facts[indoorPalette].longDescription, - Set virtual joystick to be centralize throttle (spring-loaded). + The color scheme for the user interface. @@ -3703,12 +3712,6 @@ - .QGC.MetaData.Facts[indoorPalette].longDescription, - - The color scheme for the user interface. - - - .QGC.MetaData.Facts[enableTaisyncVideo].shortDescription, .QGC.MetaData.Facts[enableTaisyncVideo].longDescription, Enable Taisync Video Support diff --git a/translations/qgc-lupdate-json.py b/translations/qgc-lupdate-json.py index 2faa978..016cd29 100755 --- a/translations/qgc-lupdate-json.py +++ b/translations/qgc-lupdate-json.py @@ -88,6 +88,9 @@ def walkDirectoryTreeForJsonFiles(dir, multiFileLocArray): def writeJsonTSFile(multiFileLocArray): jsonTSFile = codecs.open('qgc-json.ts', 'w', "utf-8") + jsonTSFile.write("\n") + jsonTSFile.write("\n") + jsonTSFile.write("\n") for entry in multiFileLocArray: jsonTSFile.write("\n") jsonTSFile.write(" %s\n" % entry[0])