-
Notifications
You must be signed in to change notification settings - Fork 2k
/
js_strings.html
54 lines (48 loc) · 2.13 KB
/
js_strings.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
<script type="text/javascript"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
>
/*
* Included as inline javascript in layout_base.html. Simpler than
* trying to trick the translation system into reading a js file.
*/
var CKAN = CKAN || {};
CKAN.Strings = CKAN.Strings || {};
/*
* Used in application.js.
*/
CKAN.Strings.helloWorld = "${_('Hello there, world!')}";
CKAN.Strings.checking = "${_('Checking...')}";
CKAN.Strings.urlIsTooShort = "${_('Type at least two characters...')}";
CKAN.Strings.urlIsAvailable = "${_('This URL is available!')}";
CKAN.Strings.urlIsNotAvailable = "${_('This URL is already used, please use a different one.')}";
CKAN.Strings.bracketsNone = "${_('(none)')}";
CKAN.Strings.failedToSave = "${_('Failed to save, possibly due to invalid data ')}";
CKAN.Strings.addDataset = "${_('Add Dataset')}";
CKAN.Strings.addGroup = "${_('Add Group')}";
CKAN.Strings.youHaveUnsavedChanges = "${_("You have unsaved changed. Make sure to click 'Save Changes' below before leaving this page.")}";
CKAN.Strings.loading = "${_('Loading...')}";
CKAN.Strings.noNameBrackets = "${_('(no name)')}";
CKAN.Strings.deleteThisResourceQuestion = "${_('Delete the resource \'%name%\'?')}"
/*
* Used in templates.js.
*/
CKAN.Strings.fileUrl = "${_('File URL')}";
CKAN.Strings.apiUrl = "${_('Api URL')}";
CKAN.Strings.add = "${_('Add')}";
CKAN.Strings.cancel = "${_('Cancel')}";
CKAN.Strings.file = "${_('File')}";
CKAN.Strings.name = "${_('Name')}";
CKAN.Strings.description = "${_('Description')}";
CKAN.Strings.url = "${_('Url')}";
CKAN.Strings.format = "${_('Format')}";
CKAN.Strings.resourceType = "${_('Resource Type')}";
CKAN.Strings.sizeBracketsBytes = "${_('Size (Bytes)')}";
CKAN.Strings.mimetype = "${_('Mimetype')}";
CKAN.Strings.lastModified = "${_('Last Modified')}";
CKAN.Strings.mimetypeInner = "${_('Mimetype (Inner)')}";
CKAN.Strings.hash = "${_('Hash')}";
CKAN.Strings.id = "${_('ID')}";
CKAN.Strings.doneEditing = "${_('Done')}";
CKAN.Strings.resourceHasUnsavedChanges = "${_('This resource has unsaved changes.')}";
</script>