This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.js.DIST.html
93 lines (73 loc) · 2.45 KB
/
config.js.DIST.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/* jshint -W097 */
'use strict';
/*!
Application configuration - copy & rename me to "config.js"
Part of nQuire-it | GPL | © The Open University (IET).
<SCRIPT> (please leave me!)
*/
angular.module('senseItWeb').constant('senseItConfig', {
debug: false,
recaptcha: {
siteKey: "6Lf2DhUTAAAAAFHjZKAbauPlEtiegg0nFf41-msN"
},
version: '_VERSION_',
build_time: '_TIME_',
// LEAVE me in the '.DIST.html' file - just for translation purposes!
other_texts_to_translate: [
"{{ 'nQuire-it — join missions to explore your world' | translate }}",
"{{ '%s — nQuire-it' | translate}}",
"{{ 'The site will be undergoing maintenance on {{DATE}}.' | translate }}",
"{{ 'Updates via <a href=\"https://twitter.com/nQuireit\">@nQuireit on Twitter</a>.' | translate }}",
"{{ 'Feature project' | translate }}",
"{{ 'Unfeature' | translate }}",
"{{ '{{MISSION}} missions' | translate }}",
"{{ 'Greek schools missions' | translate }}"
],
// The list to appear in the language switcher.
langs: {
en: "English (en)",
el: "Ελληνικά (el)", //Greek
es: "Español (es)"
/*
af: "Afrikaans (af)",
de: "Deutsch (de)",
fr: "Français (fr)",
zh_cn: "简体中文 (zh-cn)",
zh_tw: "正體中文 (zh-tw)"
*/
},
lang_admin_texts: {
en: "English",
el: "Greek",
es: "Spanish",
fr: "French"
},
// Flags - only for admin UI.
lang_flags: {
en: "gb",
el: "gr",
es: "es",
fr: "fr"
},
lang_url_regex: /\/\/(www\.nquire-it\.org|nquire|approval)\/(el|en|es|fr)/,
//LIVE: lang_url_regex: /\/\/(www\.nquire-it\.org)\/(el|en|es|fr)/,
// Position of switcher: false, "top" or "bottom".
lang_switch: "top",
// Help text on the approval/ test site only.
_DISABLE_admin_texts_help:
"<p>Please only translate the help/about texts on the <a href='http://nquire-it.org/#/admin/texts'>LIVE site</a>.",
// Scratchpad/notepad on test site only.
admin_texts_notepad: false,
admin_refresh_lists: false,
site_message_class: "alert alert-warning",
base_url: "/",
// DEV: Alternative image URL - for development, testing, etc.!
// image_url_template: 'http://www.nquire-it.org/{p}?ref=nickf',
// DEV: Alternative API url - for development etc.!
// api_url_template: 'http://www.nquire-it.org/{p}.json',
tag_label_template: '$1', //Or: '$1.HIDE.new'
// Show custom filter-tags? (true, false)
custom_filters: true,
custom_filters_admin: true
});
/* jshint +W097 */