Explorar el Código

Mark for translation: roastmanager.xml

Neal Wilson hace 9 años
padre
commit
af0462b8a9
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4
    4
      config/Windows/roastmanager.xml

+ 4
- 4
config/Windows/roastmanager.xml Ver fichero

@@ -24,7 +24,7 @@
24 24
     </layout>
25 25
     <program>
26 26
         <![CDATA[
27
-            this.displayStatus("Ready.");
27
+            this.displayStatus(TTR("newroasted", "Ready."));
28 28
             var itemname = findChildObject(this, 'name');
29 29
             var newItemButton = findChildObject(this, 'ok');
30 30
             var window = this;
@@ -43,7 +43,7 @@
43 43
                 drop2.clear();
44 44
                 drop1.addSqlOptions("SELECT id, name FROM items WHERE id IN (SELECT item FROM current_items) ORDER BY name");
45 45
                 drop2.addSqlOptions("SELECT id, name FROM items WHERE category = 'Coffee: Roasted' AND id NOT IN (SELECT item FROM current_items) ORDER BY name");
46
-                window.displayStatus("Item removed.");
46
+                window.displayStatus(TTR("newroasted", "Item removed."));
47 47
             });
48 48
             restoreButton.clicked.connect(function() {
49 49
                 var q = "INSERT INTO current_items (item) VALUES (:id)";
@@ -56,7 +56,7 @@
56 56
                 drop2.clear();
57 57
                 drop1.addSqlOptions("SELECT id, name FROM items WHERE id IN (SELECT item FROM current_items) ORDER BY name");
58 58
                 drop2.addSqlOptions("SELECT id, name FROM items WHERE category = 'Coffee: Roasted' AND id NOT IN (SELECT item FROM current_items) ORDER BY name");
59
-                window.displayStatus("Item restored.");
59
+                window.displayStatus(TTR("newroasted", "Item restored."));
60 60
             });
61 61
             newItemButton.clicked.connect(function() {
62 62
                 var q = "INSERT INTO items (id, name, reference, unit, quantity, category) VALUES (default, :name, NULL, 'lb', 0, 'Coffee: Roasted') RETURNING id";
@@ -76,7 +76,7 @@
76 76
                 drop2.clear();
77 77
                 drop1.addSqlOptions("SELECT id, name FROM items WHERE id IN (SELECT item FROM current_items) ORDER BY name");
78 78
                 drop2.addSqlOptions("SELECT id, name FROM items WHERE category = 'Coffee: Roasted' AND id NOT IN (SELECT item FROM current_items) ORDER BY name");
79
-                window.displayStatus("Item added.");
79
+                window.displayStatus(TTR("newroasted", "Item added."));
80 80
             });
81 81
         ]]>
82 82
     </program>

Loading…
Cancelar
Guardar