[Lada-commits] [PATCH 2 of 2] Die Datei translations_de.js hinzugefügt. In Ihr sind Übersetzungen für die Buttons des Row-Editors enthalten
Wald Commits
scm-commit at wald.intevation.org
Mon Mar 16 13:03:06 CET 2015
# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1426508436 -3600
# Node ID b8d55860824d502ad4b48023fe06314b7438f659
# Parent 73b5b22a5b7604e043bcea1925889ce7630f09c9
Die Datei translations_de.js hinzugefügt. In Ihr sind Übersetzungen für die Buttons des Row-Editors enthalten.
diff -r 73b5b22a5b76 -r b8d55860824d index.html
--- 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>
diff -r 73b5b22a5b76 -r b8d55860824d resources/lib/translations_de.js
--- /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"
+ });
+ */
+});
More information about the Lada-commits
mailing list