Ver código fonte

Make tabs translatable

Neal Wilson 7 anos atrás
pai
commit
cf65ed0450
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4
    4
      config/Windows/batchdetailsnew.xml

+ 4
- 4
config/Windows/batchdetailsnew.xml Ver arquivo

@@ -88,10 +88,10 @@
88 88
             var window = this;
89 89
             window.windowTitle = TTR("batchDetails", "Typica - Batch Details");
90 90
             var tabs = findChildObject(this, 'tabs');
91
-            tabs.addTab("Report");
92
-            tabs.addTab("Profile");
93
-            tabs.addTab("Edit");
94
-            tabs.addTab("Batch Tag");
91
+            tabs.addTab(TTR("batchDetails", "Report"));
92
+            tabs.addTab(TTR("batchDetails", "Profile"));
93
+            tabs.addTab(TTR("batchDetails", "Edit"));
94
+            tabs.addTab(TTR("batchDetails", "Batch Tag"));
95 95
             var pages = findChildObject(this, 'pages');
96 96
             tabs.currentChanged.connect(function(index) {
97 97
                 pages.setCurrentIndex(index);

Carregando…
Cancelar
Salvar