1
1
/********************** JavaScript Arena, english language resource *****************************/
2
2
3
- window . arena = { } ;
3
+ if ( ! arena . lang ) arena . lang = { } ;
4
4
5
- arena . lang = {
5
+ arena . lang . en = {
6
6
7
7
tool : {
8
8
usehint_text : '[Text] Drag: Draw text in colour. Shift: Draw text and background.' ,
@@ -14,35 +14,30 @@ arena.lang = {
14
14
usehint_dropper : '[Dropper] Click: Get text and foreground colour. Shift: text and background.' ,
15
15
16
16
barhint_NewMap : 'Create a new map. Will discard existing map.' ,
17
- barhint_ImportExport : 'Export map in various text formats, or import from exported Json data .' ,
17
+ barhint_ImportExport : 'Export/Import map. Long press Ctrl to export with last config .' ,
18
18
barhint_SaveLoad : 'Save / load map locally in browser' ,
19
19
barhint_rotateClock : 'Rotate whole map clockwise 90 degree. Ctrl: Anti-clockwise.' ,
20
20
//barhint_Layer : 'Click to select layer to draw. Top layer show first.',
21
21
//barhint_UsingLayer : 'You are drawing on this layer.',
22
22
barhint_Foreground : 'Drawing in this foreground colour. Click to fill current mask.' ,
23
- //barhint_Background : 'Drawing in this background colour. Click to fill current mask.',
24
23
barhint_Sync : 'Sync map to viewers. Double click to setup sharing.' ,
25
- barhint_MapInput : 'Brush text for text tool. Click or press Enter to set text.' ,
24
+ barhint_MapInput : 'Brush text for text tool. Click or press Enter to set text. End text with \'++\' to auto increment text. ' ,
26
25
barhint_Colour : 'Click to set foreground, Ctrl/Shift+Click to fill foreground/background of selected area.' ,
27
- //barhint_NoColour : 'No colour : Use lower layer\'s colour.',
28
- //barhint_ReverseColour : 'Reverse colour : Reverse lower layer\'s colour.',
29
26
barhint_Undo : 'Undo last command (Ctrl+Z)' ,
30
27
barhint_Redo : 'Redo next command (Ctrl+Y)' ,
31
- barhint_Layer : 'Click to work with this layer. Double-click to toggle visibility.' ,
28
+ barhint_Layer : 'Click to work with this layer. Double-click to toggle visibility. Shift+Minus/Plus to change layer. ' ,
32
29
barhint_toolText : 'Text tool, draw text on current layer. (T) Press Enter to set text before draw.' ,
33
30
barhint_toolBrush : 'Brush tool, paint background on current layer. (B)' ,
34
31
barhint_toolEraser : 'Eraser tool, erase stuff from curent layer. (E)' ,
35
32
barhint_toolMask : 'Rectangle mask tool, limit paint area or move masked area of current layer. (R) Double click: Mask Layer / Reduce mask. (R)' ,
36
33
barhint_toolMove : 'Move tool, move similiar area. (M)' ,
37
34
barhint_toolDropper : 'Dropper tool, get colours and text of current cell. (O)' ,
38
35
barhint_brushSize : 'Brush size. (+/-)' ,
39
- //barhint_viewLayer : 'View layer list. Shift+Minus/Plus to move between layers.',
40
- //barhint_viewGlyph : 'View glyph list.',
41
36
42
- barhint_AddLayer : 'Add top layer' ,
43
- barhint_DelLayer : 'Delete currnet layer' ,
44
- barhint_LayerUp : 'Move currnet layer up' ,
45
- barhint_LayerDown : 'Move currnet layer down' ,
37
+ barhint_AddLayer : 'Add new layer. ' ,
38
+ barhint_DelLayer : 'Delete currnet layer. ' ,
39
+ barhint_LayerUp : 'Move currnet layer up. ' ,
40
+ barhint_LayerDown : 'Move currnet layer down. ' ,
46
41
barhint_Glyph : 'Click to set brush text, Ctrl+Click to draw text in current mask.' ,
47
42
48
43
dlghint_TextPrompt : 'Enter text to draw:' ,
@@ -60,9 +55,13 @@ arena.lang = {
60
55
dlghint_CopyJson : 'Export in JSON. Layers are preserved, suitable for long-term map storage.' ,
61
56
} ,
62
57
58
+ ui : {
59
+ initial : '<b>Requires <a href="http://www.microsoft.com/windows/internet-explorer/default.aspx">IE 8+</a>, Latest <a href="http://www.mozilla.com/firefox/">Firefox</a>, or latest <a href="http://www.opera.com/">Opera</a></b>. <a href="http://www.apple.com/safari/">Safari</a> and <a href="http://www.google.com/chrome/">Chrome</a> may fails to save/load. <a href="http://goddessfantasy.net/sheepy/arena/archive/arena.2012-08-19.7z">Download Source</a>.' ,
60
+ } ,
61
+
63
62
command : {
64
- undo : "Undo %s" ,
65
- redo : "Redo %s" ,
63
+ undo : "Undo %s. " ,
64
+ redo : "Redo %s. " ,
66
65
67
66
name_SetMask : 'Set Mask' ,
68
67
name_SetCell : 'Set' ,
@@ -96,20 +95,23 @@ arena.lang = {
96
95
} ,
97
96
98
97
error : {
98
+ // Not all modules are loaded
99
+ IncompleteLoad : 'Cannot load. Check that browsers is up to date, clear cache, and then refresh.' ,
100
+
99
101
// Drawing error
100
102
NoMask : 'Where should I draw? Please select an area first.' ,
101
103
102
104
// Sync error
103
- TitleEmpty : 'Title must not be empty' ,
104
- AdminEmpty : 'Master password must not be empty' ,
105
- AdminViewerSame : 'Master password must not be same with viewer password' ,
106
- TitleExists : 'A shared map with same title already exists' ,
105
+ TitleEmpty : 'Title must not be empty. ' ,
106
+ AdminEmpty : 'Master password must not be empty. ' ,
107
+ AdminViewerSame : 'Master password must not be same with viewer password. ' ,
108
+ TitleExists : 'A shared map with same title already exists. ' ,
107
109
MalformedData : 'Malformed data.' ,
108
110
109
111
// S/L error
110
- NoHost : 'Save/load unavailable (Host not found). Blame HTML5 spec. ' ,
112
+ NoHost : 'Save/load unavailable (Host not found).' ,
111
113
NoLocalStorage : 'No LocalStorage facility. Please upgrade browser or enable offline storage.' ,
112
- SaveNotFound : 'Cannot find saved map' ,
114
+ SaveNotFound : 'Cannot find saved map. ' ,
113
115
114
116
// I/O error
115
117
CannotRestore : 'Cannot restore map.' ,
@@ -118,7 +120,13 @@ arena.lang = {
118
120
NoDeflate : 'Cannot load zip library. Please reload.' ,
119
121
} ,
120
122
121
-
123
+ layers : [
124
+ 'Terrain' ,
125
+ 'Effects' ,
126
+ 'Objects' ,
127
+ 'Creatures' ,
128
+ 'Overlay' ,
129
+ ] ,
122
130
123
131
palette : { /** Colour palettle. Same as mIRC. */
124
132
/*
0 commit comments