ext-lang-gr.js
6.26 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/**
* Greek (Old Version) Translations by Vagelis
* 03-June-2007
*/
Ext.onReady(function() {
var cm = Ext.ClassManager,
exists = Ext.Function.bind(cm.get, cm);
if (Ext.Updater) {
Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Öüñôùóç...</div>';
}
Ext.define("Ext.locale.gr.view.View", {
override: "Ext.view.View",
emptyText: ""
});
Ext.define("Ext.locale.gr.grid.Panel", {
override: "Ext.grid.Panel",
ddText: "{0} åðéëåãìÝíç(åò) ãñáììÞ(Ýò)"
});
Ext.define("Ext.locale.gr.TabPanelItem", {
override: "Ext.TabPanelItem",
closeText: "Êëåßóôå áõôÞ ôçí êáñôÝëá"
});
Ext.define("Ext.locale.gr.form.field.Base", {
override: "Ext.form.field.Base",
invalidText: "Ç ôéìÞ óôï ðåäßï äåí åßíáé Ýãêõñç"
});
// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.gr.view.AbstractView", {
override: "Ext.view.AbstractView",
msg: "Öüñôùóç..."
});
if (Ext.Date) {
Ext.Date.monthNames = ["ÉáíïõÜñéïò", "ÖåâñïõÜñéïò", "ÌÜñôéïò", "Áðñßëéïò", "ÌÜéïò", "Éïýíéïò", "Éïýëéïò", "Áýãïõóôïò", "ÓåðôÝìâñéïò", "Ïêôþâñéïò", "ÍïÝìâñéïò", "ÄåêÝìâñéïò"];
Ext.Date.dayNames = ["ÊõñéáêÞ", "ÄåõôÝñá", "Ôñßôç", "ÔåôÜñôç", "ÐÝìðôç", "ÐáñáóêåõÞ", "ÓÜââáôï"];
}
if (Ext.MessageBox) {
Ext.MessageBox.buttonText = {
ok: "ÅíôÜîåé",
cancel: "Áêýñùóç",
yes: "Íáé",
no: "¼÷é"
};
}
if (exists('Ext.util.Format')) {
Ext.apply(Ext.util.Format, {
thousandSeparator: '.',
decimalSeparator: ',',
currencySign: '\u20ac',
// Greek Euro
dateFormat: 'ì/ç/Å'
});
}
Ext.define("Ext.locale.gr.picker.Date", {
override: "Ext.picker.Date",
todayText: "ÓÞìåñá",
minText: "Ç çìåñïìçíßá áõôÞ åßíáé ðñéí ôçí ìéêñüôåñç çìåñïìçíßá",
maxText: "Ç çìåñïìçíßá áõôÞ åßíáé ìåôÜ ôçí ìåãáëýôåñç çìåñïìçíßá",
disabledDaysText: "",
disabledDatesText: "",
monthNames: Ext.Date.monthNames,
dayNames: Ext.Date.dayNames,
nextText: 'Åðüìåíïò ÌÞíáò (Control+Right)',
prevText: 'Ðñïçãïýìåíïò ÌÞíáò (Control+Left)',
monthYearText: 'ÅðéëÝîôå ÌÞíá (Control+Up/Down ãéá ìåôáêßíçóç óôá Ýôç)',
todayTip: "{0} (Spacebar)",
format: "ì/ç/Å"
});
Ext.define("Ext.locale.gr.toolbar.Paging", {
override: "Ext.PagingToolbar",
beforePageText: "Óåëßäá",
afterPageText: "áðü {0}",
firstText: "Ðñþôç óåëßäá",
prevText: "Ðñïçãïýìåíç óåëßäá",
nextText: "Åðüìåíç óåëßäá",
lastText: "Ôåëåõôáßá óåëßäá",
refreshText: "ÁíáíÝùóç",
displayMsg: "ÅìöÜíéóç {0} - {1} áðü {2}",
emptyMsg: 'Äåí âñÝèçêáí åããñáöÝò ãéá åìöÜíéóç'
});
Ext.define("Ext.locale.gr.form.field.Text", {
override: "Ext.form.field.Text",
minLengthText: "Ôï åëÜ÷éóôï ìÝãåèïò ãéá áõôü ôï ðåäßï åßíáé {0}",
maxLengthText: "Ôï ìÝãéóôï ìÝãåèïò ãéá áõôü ôï ðåäßï åßíáé {0}",
blankText: "Ôï ðåäßï áõôü åßíáé õðï÷ñåùôïêü",
regexText: "",
emptyText: null
});
Ext.define("Ext.locale.gr.form.field.Number", {
override: "Ext.form.field.Number",
minText: "Ç åëÜ÷éóôç ôéìÞ ãéá áõôü ôï ðåäßï åßíáé {0}",
maxText: "Ç ìÝãéóôç ôéìÞ ãéá áõôü ôï ðåäßï åßíáé {0}",
nanText: "{0} äåí åßíáé Ýãêõñïò áñéèìüò"
});
Ext.define("Ext.locale.gr.form.field.Date", {
override: "Ext.form.field.Date",
disabledDaysText: "ÁðåíåñãïðïéçìÝíï",
disabledDatesText: "ÁðåíåñãïðïéçìÝíï",
minText: "Ç çìåñïìçíßá ó' áõôü ôï ðåäßï ðñÝðåé íá åßíáé ìåôÜ áðü {0}",
maxText: "Ç çìåñïìçíßá ó' áõôü ôï ðåäßï ðñÝðåé íá åßíáé ðñéí áðü {0}",
invalidText: "{0} äåí åßíáé Ýãêõñç çìåñïìçíßá - ðñÝðåé íá åßíáé ôçò ìïñöÞò {1}",
format: "ì/ç/Å"
});
Ext.define("Ext.locale.gr.form.field.ComboBox", {
override: "Ext.form.field.ComboBox",
valueNotFoundText: undefined
}, function() {
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
loadingText: "Öüñôùóç..."
});
});
if (exists('Ext.form.field.VTypes')) {
Ext.apply(Ext.form.field.VTypes, {
emailText: 'Áõôü ôï ðåäßï ðñÝðåé íá åßíáé e-mail address ôçò ìïñöÞò "user@example.com"',
urlText: 'Áõôü ôï ðåäßï ðñÝðåé íá åßíáé ìéá äéåýèõíóç URL ôçò ìïñöÞò "http:/' + '/www.example.com"',
alphaText: 'Áõôü ôï ðåäßï ðñÝðåé íá ðåñéÝ÷åé ãñÜììáôá êáé _',
alphanumText: 'Áõôü ôï ðåäßï ðñÝðåé íá ðåñéÝ÷åé ãñÜììáôá, áñéèìïýò êáé _'
});
}
Ext.define("Ext.locale.gr.grid.header.Container", {
override: "Ext.grid.header.Container",
sortAscText: "Áýîïõóá Ôáîéíüìçóç",
sortDescText: "Öèßíïõóá Ôáîéíüìçóç",
lockText: "Êëåßäùìá óôÞëçò",
unlockText: "Îåêëåßäùìá óôÞëçò",
columnsText: "ÓôÞëåò"
});
Ext.define("Ext.locale.gr.grid.PropertyColumnModel", {
override: "Ext.grid.PropertyColumnModel",
nameText: "¼íïìá",
valueText: "ÔéìÞ",
dateFormat: "ì/ç/Å"
});
});