Explorar el Código

Make window titles translatable

Neal Wilson hace 7 años
padre
commit
a3283d8f35
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      config/Windows/editinvoiceitem.xml
  2. 1
    1
      config/Windows/purchase.xml

+ 1
- 1
config/Windows/editinvoiceitem.xml Ver fichero

@@ -27,7 +27,7 @@
27 27
     <program>
28 28
         <![CDATA[
29 29
             window = this;
30
-            this.windowTitle = 'Typica - Item Detail';
30
+            this.windowTitle = TTR("invoiceitemdetail", "Typica - Item Detail");
31 31
             var nameField = findChildObject(this, 'name');
32 32
             var referenceField = findChildObject(this, 'reference');
33 33
             var costField = findChildObject(this, 'cost');

+ 1
- 1
config/Windows/purchase.xml Ver fichero

@@ -159,7 +159,7 @@
159 159
 				}
160 160
 				return w;
161 161
 			};
162
-            this.windowTitle = 'Typica - Coffee Purchase';
162
+            this.windowTitle = TTR("purchase", "Typica - Coffee Purchase");
163 163
             var form = findChildObject(this, 'form');
164 164
             form.setMaximumElementHeight(320);
165 165
             var appendForm = function() {

Loading…
Cancelar
Guardar