Browse Source

Mark for translation: offline.xml

Neal Wilson 9 years ago
parent
commit
c28c09d898
1 changed files with 8 additions and 8 deletions
  1. 8
    8
      config/Windows/offline.xml

+ 8
- 8
config/Windows/offline.xml View File

11
         </splitter>
11
         </splitter>
12
     </layout>
12
     </layout>
13
 	<menu name="File">
13
 	<menu name="File">
14
-		<item id="save" shortcut="Ctrl+S">Save</item>
15
-		<item id="print" shortcut="Ctrl+P">Print</item>
16
-		<item id="export">Export CSV</item>
17
-		<item id="svgexport">Export XHTML+SVG</item>
14
+		<item id="save" shortcut="Ctrl+S">Save...</item>
15
+		<item id="print" shortcut="Ctrl+P">Print...</item>
16
+		<item id="export">Export CSV...</item>
17
+		<item id="svgexport">Export XHTML+SVG...</item>
18
 		<item id="quit" shortcut="Ctrl+Q">Quit</item>
18
 		<item id="quit" shortcut="Ctrl+Q">Quit</item>
19
 	</menu>
19
 	</menu>
20
 	<menu name="Log">
20
 	<menu name="Log">
54
 			};
54
 			};
55
 			var saveMenu = findChildObject(this, 'save');
55
 			var saveMenu = findChildObject(this, 'save');
56
 			saveMenu.triggered.connect(function() {
56
 			saveMenu.triggered.connect(function() {
57
-				var filename = QFileDialog.getSaveFileName(window, "Save Log As…", QSettings.value("script/lastDir", "") + "/");
57
+				var filename = QFileDialog.getSaveFileName(window, TTR("offline", "Save Log As..."), QSettings.value("script/lastDir", "") + "/");
58
 				if(filename != "") {
58
 				if(filename != "") {
59
 					var file = new QFile(filename);
59
 					var file = new QFile(filename);
60
 					setLogOutputColumns();
60
 					setLogOutputColumns();
65
 			var printMenu = findChildObject(this, 'print');
65
 			var printMenu = findChildObject(this, 'print');
66
 			printMenu.triggered.connect(function() {
66
 			printMenu.triggered.connect(function() {
67
 				var exportWindow = createWindow("print");
67
 				var exportWindow = createWindow("print");
68
-				exportWindow.windowTitle = "Typica - Print";
68
+				exportWindow.windowTitle = TTR("offline", "Typica - Print");
69
 				exportWindow.log = log;
69
 				exportWindow.log = log;
70
 			});
70
 			});
71
 			var exportMenu = findChildObject(this, 'export');
71
 			var exportMenu = findChildObject(this, 'export');
72
 			exportMenu.triggered.connect(function() {
72
 			exportMenu.triggered.connect(function() {
73
-				var filename = QFileDialog.getSaveFileName(window, "Export CSV As…", QSettings.value("script/lastDir", "") + "/");
73
+				var filename = QFileDialog.getSaveFileName(window, TTR("offline", "Export CSV As..."), QSettings.value("script/lastDir", "") + "/");
74
 				if(filename != "") {
74
 				if(filename != "") {
75
 					var file = new QFile(filename);
75
 					var file = new QFile(filename);
76
 					setLogOutputColumns();
76
 					setLogOutputColumns();
81
 			var svgExportMenu = findChildObject(this, 'svgexport');
81
 			var svgExportMenu = findChildObject(this, 'svgexport');
82
 			svgExportMenu.triggered.connect(function() {
82
 			svgExportMenu.triggered.connect(function() {
83
 				var exportWindow = createWindow("exportWindow");
83
 				var exportWindow = createWindow("exportWindow");
84
-				exportWindow.windowTitle = "Typica - Export XHTML+SVG";
84
+				exportWindow.windowTitle = TTR("offline", "Typica - Export XHTML+SVG");
85
 				exportWindow.log = log;
85
 				exportWindow.log = log;
86
 			});
86
 			});
87
 			var quitMenu = findChildObject(this, 'quit');
87
 			var quitMenu = findChildObject(this, 'quit');

Loading…
Cancel
Save