changeset 631:b8d55860824d

Die Datei translations_de.js hinzugefügt. In Ihr sind Übersetzungen für die Buttons des Row-Editors enthalten.
author Dustin Demuth <dustin@intevation.de>
date Mon, 16 Mar 2015 13:20:36 +0100
parents 73b5b22a5b76
children f4f76fc04e28
files index.html resources/lib/translations_de.js
diffstat 2 files changed, 29 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/index.html	Mon Mar 16 12:50:40 2015 +0100
+++ b/index.html	Mon Mar 16 13:20:36 2015 +0100
@@ -21,6 +21,7 @@
     <script type="text/javascript" src="extjs/ext-all-debug.js"></script>
     <script type="text/javascript" src="extjs/locale/ext-lang-de.js"></script>
     <!-- </x-bootstrap> -->
+    <script type="text/javascript" src="resources/lib/translations_de.js"></script>
     <script type="text/javascript" src="app.js"></script>
     <!-- </x-compile> -->
 </head>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/resources/lib/translations_de.js	Mon Mar 16 13:20:36 2015 +0100
@@ -0,0 +1,28 @@
+/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
+ * Software engineering by Intevation GmbH
+ *
+ * This file is Free Software under the GNU GPL (v>=3)
+ * and comes with ABSOLUTELY NO WARRANTY! Check out
+ * the documentation coming with IMIS-Labordaten-Application for details.
+ */
+
+/*
+ * More Translations for extJS.
+ * Not everything is covered in the original translation.
+ * This file can be used to extend it.
+ */
+
+Ext.onReady(function() {
+    if (Ext.grid.RowEditor) {
+        Ext.grid.RowEditor.prototype.saveBtnText = "Speichern";
+        Ext.grid.RowEditor.prototype.cancelBtnText = "Abbrechen";
+    }
+
+    //this will not work... :-(
+    /*
+    Ext.override(Ext.ux.DateTimePicker ,{
+        todayText: "Heute",
+        timeLabel: "Uhrzeit"
+    });
+    */
+});

http://lada.wald.intevation.org