diff --git a/translations/qgc-json.ts b/translations/qgc-json.ts index 02565bfa3d31e2bec7dda652320b140dd9c60f84..d7a88f3f9624cfe322aea184ca52b420ab2dc879 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. @@ -3354,6 +3357,12 @@ Indoor,Outdoor + + .QGC.MetaData.Facts[virtualJoystickAutoCenterThrottle].shortDescription, + + Auto-Center Throttle + + .QGC.MetaData.Facts[showLargeCompass].longDescription, @@ -3426,6 +3435,12 @@ This value defines the default speed for calculating mission statistics for multi-rotor vehicles or VTOL vehicle in multi-rotor mode. It does not modify the flight speed for a specific flight plan. + + .QGC.MetaData.Facts[language].shortDescription, + + Language + + .QGC.MetaData.Facts[firstRunPromptIdsShown].shortDescription, @@ -3480,12 +3495,6 @@ If this option is enabled the preflight checklist must pass before arming. - - .QGC.MetaData.Facts[virtualJoystickCentralized].longDescription, - - If this option is enabled the virtual joystick throttle stick will be centralized. - - .QGC.MetaData.Facts[enforceChecklist].shortDescription, @@ -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. @@ -3702,12 +3711,6 @@ This value defines the default speed for calculating mission statistics for vehicles which do not support hover or VTOL vehicles in fixed wing mode. It does not modify the flight speed for a specific flight plan. - - .QGC.MetaData.Facts[indoorPalette].longDescription, - - The color scheme for the user interface. - - .QGC.MetaData.Facts[enableTaisyncVideo].shortDescription, .QGC.MetaData.Facts[enableTaisyncVideo].longDescription, diff --git a/translations/qgc-lupdate-json.py b/translations/qgc-lupdate-json.py index 2faa978b62c6cd43e6c26a6ee63a44be3b4f0113..016cd29b12a09f913a86ac8700e331f89e31362c 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])