87d7b5d36d
* Translated using Weblate (Catalan) Currently translated at 94.3% (133 of 141 strings) Translated using Weblate (Italian) Currently translated at 100.0% (141 of 141 strings) Translated using Weblate (Spanish) Currently translated at 100.0% (141 of 141 strings) Translated using Weblate (German) Currently translated at 100.0% (141 of 141 strings) Translated using Weblate (Catalan) Currently translated at 100.0% (141 of 141 strings) Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de> Translate-URL: https://hosted.weblate.org/projects/croodle/client/ca/ Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/ Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/ Translate-URL: https://hosted.weblate.org/projects/croodle/client/it/ Translation: Croodle/client * Translated using Weblate (Italian) Currently translated at 100.0% (141 of 141 strings) Translated using Weblate (French) Currently translated at 100.0% (141 of 141 strings) Translated using Weblate (Spanish) Currently translated at 95.7% (135 of 141 strings) Translated using Weblate (German) Currently translated at 100.0% (141 of 141 strings) Translated using Weblate (Italian) Currently translated at 100.0% (141 of 141 strings) Translated using Weblate (French) Currently translated at 100.0% (141 of 141 strings) Translated using Weblate (German) Currently translated at 100.0% (141 of 141 strings) Co-authored-by: J. Lavoie <j.lavoie@net-c.ca> Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/ Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/ Translate-URL: https://hosted.weblate.org/projects/croodle/client/fr/ Translate-URL: https://hosted.weblate.org/projects/croodle/client/it/ Translation: Croodle/client * Translated using Weblate (Norwegian Bokmål) Currently translated at 75.8% (107 of 141 strings) Translated using Weblate (English) Currently translated at 100.0% (141 of 141 strings) Added translation using Weblate (Norwegian Bokmål) Co-authored-by: Allan Nordhøy <epost@anotheragency.no> Translate-URL: https://hosted.weblate.org/projects/croodle/client/en/ Translate-URL: https://hosted.weblate.org/projects/croodle/client/nb_NO/ Translation: Croodle/client * Translated using Weblate (Spanish) Currently translated at 95.7% (135 of 141 strings) Translated using Weblate (German) Currently translated at 100.0% (141 of 141 strings) Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de> Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/ Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/ Translation: Croodle/client * Translated using Weblate (English) Currently translated at 100.0% (141 of 141 strings) Translation: Croodle/client Translate-URL: https://hosted.weblate.org/projects/croodle/client/en/ * Translated using Weblate (Catalan) Currently translated at 94.3% (133 of 141 strings) Translation: Croodle/client Translate-URL: https://hosted.weblate.org/projects/croodle/client/ca/ * Translated using Weblate (German) Currently translated at 100.0% (141 of 141 strings) Translation: Croodle/client Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/ * Translated using Weblate (Spanish) Currently translated at 95.7% (135 of 141 strings) Translation: Croodle/client Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/ * Translated using Weblate (French) Currently translated at 100.0% (141 of 141 strings) Translation: Croodle/client Translate-URL: https://hosted.weblate.org/projects/croodle/client/fr/ * Translated using Weblate (Italian) Currently translated at 100.0% (141 of 141 strings) Translation: Croodle/client Translate-URL: https://hosted.weblate.org/projects/croodle/client/it/ * Translated using Weblate (Norwegian Bokmål) Currently translated at 75.8% (107 of 141 strings) Translation: Croodle/client Translate-URL: https://hosted.weblate.org/projects/croodle/client/nb_NO/ * integrate norwegian locale Co-authored-by: J. Lavoie <j.lavoie@net-c.ca> Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
71 lines
1.6 KiB
JavaScript
71 lines
1.6 KiB
JavaScript
'use strict';
|
|
|
|
module.exports = function(environment) {
|
|
let ENV = {
|
|
modulePrefix: 'croodle',
|
|
environment,
|
|
rootURL: '',
|
|
locationType: 'hash',
|
|
EmberENV: {
|
|
FEATURES: {
|
|
// Here you can enable experimental features on an ember canary build
|
|
// e.g. EMBER_NATIVE_DECORATOR_SUPPORT: true
|
|
},
|
|
EXTEND_PROTOTYPES: {
|
|
Array: true,
|
|
Date: false,
|
|
String: false,
|
|
Function: true
|
|
}
|
|
},
|
|
|
|
APP: {
|
|
// Here you can pass flags/options to your application instance
|
|
// when it is created
|
|
},
|
|
|
|
contentSecurityPolicy: {
|
|
'default-src': "'none'",
|
|
'script-src': "'self'",
|
|
'font-src': "'self'",
|
|
'connect-src': "'self'",
|
|
'img-src': "'self' data:",
|
|
'style-src': "'self'",
|
|
'media-src': "'none'",
|
|
},
|
|
contentSecurityPolicyMeta: true,
|
|
|
|
moment: {
|
|
includeLocales: ['ca', 'de', 'en-gb', 'es', 'fr', 'it', 'nb'],
|
|
includeTimezone: 'subset'
|
|
},
|
|
};
|
|
|
|
if (environment === 'development') {
|
|
// ENV.APP.LOG_RESOLVER = true;
|
|
// ENV.APP.LOG_ACTIVE_GENERATION = true;
|
|
// ENV.APP.LOG_TRANSITIONS = true;
|
|
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
|
|
// ENV.APP.LOG_VIEW_LOOKUPS = true;
|
|
}
|
|
|
|
if (environment === 'test') {
|
|
ENV.rootURL = '/';
|
|
|
|
// Testem prefers this...
|
|
ENV.locationType = 'none';
|
|
|
|
// keep test console output quieter
|
|
ENV.APP.LOG_ACTIVE_GENERATION = false;
|
|
ENV.APP.LOG_VIEW_LOOKUPS = false;
|
|
|
|
ENV.APP.rootElement = '#ember-testing';
|
|
ENV.APP.autoboot = false;
|
|
}
|
|
|
|
if (environment === 'production') {
|
|
// here you can enable a production-specific feature
|
|
}
|
|
|
|
return ENV;
|
|
};
|