Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/resources/Resources.java @ 8222:1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 08 Sep 2014 15:54:12 +0200 |
parents | e4606eae8ea5 |
children | e4aadc953665 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8221:a0994a326e2a | 8222:1cd7225df846 |
---|---|
78 | 78 |
79 Locale[] locales = INSTANCE.getLocales(); | 79 Locale[] locales = INSTANCE.getLocales(); |
80 return meta.getPreferredLocale(locales); | 80 return meta.getPreferredLocale(locales); |
81 } | 81 } |
82 | 82 |
83 public static String getMsg(CallMeta meta, String key) { | |
84 return getMsg(meta, key, key); | |
85 } | |
83 | 86 |
84 /** | 87 /** |
85 * This method returns the translated value for <i>key</i> or <i>def</i> if | 88 * This method returns the translated value for <i>key</i> or <i>def</i> if |
86 * <i>key</i> is not existing in the resource bundle. | 89 * <i>key</i> is not existing in the resource bundle. |
87 * | 90 * |