[TASK] Only include additional german locale
English is default
This commit is contained in:
parent
c878e0de97
commit
7bee4d9640
4
app.js
4
app.js
@ -5,7 +5,8 @@ require.config({
|
|||||||
"leaflet.label": "../bower_components/Leaflet.label/dist/leaflet.label",
|
"leaflet.label": "../bower_components/Leaflet.label/dist/leaflet.label",
|
||||||
"leaflet.providers": "../bower_components/leaflet-providers/leaflet-providers",
|
"leaflet.providers": "../bower_components/leaflet-providers/leaflet-providers",
|
||||||
"chroma-js": "../bower_components/chroma-js/chroma.min",
|
"chroma-js": "../bower_components/chroma-js/chroma.min",
|
||||||
"moment": "../bower_components/moment/min/moment-with-locales.min",
|
"moment": "../bower_components/moment/min/moment.min",
|
||||||
|
"moment.de": "../bower_components/moment/locale/de",
|
||||||
"tablesort": "../bower_components/tablesort/tablesort.min",
|
"tablesort": "../bower_components/tablesort/tablesort.min",
|
||||||
"tablesort.numeric": "../bower_components/tablesort/src/sorts/tablesort.numeric",
|
"tablesort.numeric": "../bower_components/tablesort/src/sorts/tablesort.numeric",
|
||||||
"d3": "../bower_components/d3/d3.min",
|
"d3": "../bower_components/d3/d3.min",
|
||||||
@ -19,6 +20,7 @@ require.config({
|
|||||||
shim: {
|
shim: {
|
||||||
"leaflet.label": ["leaflet"],
|
"leaflet.label": ["leaflet"],
|
||||||
"leaflet.providers": ["leaflet"],
|
"leaflet.providers": ["leaflet"],
|
||||||
|
"moment.de": ["moment"],
|
||||||
"tablesort": {
|
"tablesort": {
|
||||||
exports: "Tablesort"
|
exports: "Tablesort"
|
||||||
},
|
},
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
define(["moment", "numeral", "tablesort", "tablesort.numeric"],
|
define(["moment", "numeral", "tablesort", "tablesort.numeric", "moment.de"],
|
||||||
function (moment, numeral, Tablesort) {
|
function (moment, numeral, Tablesort) {
|
||||||
function showGeoURI(d) {
|
function showGeoURI(d) {
|
||||||
function showLatitude(d) {
|
function showLatitude(d) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
define(["moment", "router", "leaflet", "gui", "numeral"],
|
define(["moment", "router", "leaflet", "gui", "numeral", "moment.de"],
|
||||||
function (moment, Router, L, GUI, numeral) {
|
function (moment, Router, L, GUI, numeral) {
|
||||||
return function (config) {
|
return function (config) {
|
||||||
function handleData(data) {
|
function handleData(data) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
define(["map/clientlayer", "map/labelslayer",
|
define(["map/clientlayer", "map/labelslayer",
|
||||||
"d3", "leaflet", "moment", "locationmarker", "rbush",
|
"d3", "leaflet", "moment", "locationmarker", "rbush",
|
||||||
"leaflet.label", "leaflet.providers"],
|
"leaflet.label", "leaflet.providers", "moment.de"],
|
||||||
function (ClientLayer, LabelsLayer, d3, L, moment, LocationMarker, rbush) {
|
function (ClientLayer, LabelsLayer, d3, L, moment, LocationMarker, rbush) {
|
||||||
var options = {
|
var options = {
|
||||||
worldCopyJump: true,
|
worldCopyJump: true,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
define(["moment", "virtual-dom"], function (moment, V) {
|
define(["moment", "virtual-dom", "moment.de"], function (moment, V) {
|
||||||
return function (nodes, field, router, title) {
|
return function (nodes, field, router, title) {
|
||||||
var self = this;
|
var self = this;
|
||||||
var el, tbody;
|
var el, tbody;
|
||||||
|
Loading…
Reference in New Issue
Block a user