diff artifacts/src/main/java/org/dive4elements/river/artifacts/common/I18NStrings.java @ 8999:e3b3ce32c825

Work on uinfo
author gernotbelger
date Thu, 12 Apr 2018 19:15:42 +0200
parents
children fe561931026c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/common/I18NStrings.java	Thu Apr 12 19:15:42 2018 +0200
@@ -0,0 +1,64 @@
+/** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde
+ * Software engineering by
+ *  Björnsen Beratende Ingenieure GmbH
+ *  Dr. Schumacher Ingenieurbüro für Wasser und Umwelt
+ *
+ * This file is Free Software under the GNU AGPL (>=v3)
+ * and comes with ABSOLUTELY NO WARRANTY! Check out the
+ * documentation coming with Dive4Elements River for details.
+ */
+package org.dive4elements.river.artifacts.common;
+
+/**
+ * @author Domenico Nardi Tironi
+ *
+ */
+public interface I18NStrings {
+    //////////// GENERIC TYPES + UNITS///////////////////////////////////////////////////////////////////////////////
+
+    // TODO: remove "sinfo" for these labels in messages.txt + de.messages.txt
+
+    String CSV_KM_HEADER = "sinfo.export.flow_depth.csv.header.km";
+
+    String CSV_META_HEADER_RESULT_LABEL = "sinfo.export.flow_depth.csv.meta.header.result.label";
+
+    String CSV_META_VERSION_LABEL = "sinfo.export.flow_depth.csv.meta.version.label";
+
+    String CSV_META_USER_LABEL = "sinfo.export.flow_depth.csv.meta.user.label";
+
+    String CSV_META_CREATION_LABEL = "sinfo.export.flow_depth.csv.meta.creation.label";
+
+    String CSV_META_RIVER_LABEL = "sinfo.export.flow_depth.csv.meta.river.label";
+
+    String CSV_META_RANGE_LABEL = "sinfo.export.flow_depth.csv.meta.range.label";
+
+    String CSV_META_HEADER_RESULT = "sinfo.export.flow_depth.csv.meta.header.result";
+
+    String CSV_META_VERSION = "sinfo.export.flow_depth.csv.meta.version";
+
+    String CSV_META_USER = "sinfo.export.flow_depth.csv.meta.user";
+
+    String CSV_META_CREATION = "sinfo.export.flow_depth.csv.meta.creation";
+
+    String CSV_META_RIVER = "sinfo.export.flow_depth.csv.meta.river";
+
+    String CSV_META_RANGE = "sinfo.export.flow_depth.csv.meta.range";
+
+    String CSV_META_HEIGHT_UNIT_RIVER = "sinfo.export.flow_depth.csv.meta.height_unit.river"; // move to child?
+
+    /// sonstiges:
+
+    // Einheiten:
+
+    String UNIT_NONE = "-";
+
+    String UNIT_M = "m";
+
+    String UNIT_KM = "km";
+
+    String UNIT_CM = "cm";
+
+    String UNIT_CM_A = "cm/a";
+
+    String UNIT_CUBIC_M = "m³/s";
+}

http://dive4elements.wald.intevation.org