Some more l10n strings
[ajatus.git] / js / languages / en_GB.js
blob0e195d792ce24edc5862039b1e3b2bde7626eb51
1 /*
2 * This file is part of
4 * Ajatus - Distributed CRM
5 * @requires jQuery v1.2.1
6 *
7 * Copyright (c) 2007 Jerry Jalava <jerry.jalava@gmail.com>
8 * Copyright (c) 2007 Nemein Oy <http://nemein.com>
9 * Website: http://ajatus.info
10 * Licensed under the GPL license
11 * http://www.gnu.org/licenses/gpl.html
15 (function($){
16 $.ajatus = $.ajatus || {};
17 $.ajatus.i10n = $.ajatus.i10n || {};
19 $.ajatus.i10n.currency = {
20 name: 'US Dollar',
21 symbol: '$'
24 $.ajatus.i10n.dict = {
25 "en_GB": "English",
27 "distributed crm": "Distributed CRM",
28 "loading ajatus": "Loading Ajatus",
30 "failed": "failed",
31 "ok": "ok",
32 "continue": "Continue",
33 "type": "Type",
34 "undo": "Undo",
35 "archive": "Archive",
36 "archived": "Archived",
37 "delete": "Delete",
38 "deleted": "Deleted",
39 "undelete": "Undelete",
40 "view": "View",
41 "edit": "Edit",
42 "edit %s": "Edit %s",
43 "save": "Save",
44 "create": "Create",
45 "create %s": "Create %s",
46 "cancel": "Cancel",
47 "new": "New",
48 "add field": "Add field",
49 "actions": "Actions",
51 "title": "Title",
52 "description": "Description",
53 "date": "Date",
54 "firstname": "Firstname",
55 "lastname": "Lastname",
56 "email": "Email",
57 "phone": "Phone",
58 "hours": "Hours",
59 "amount": "Amount",
60 "vat": "VAT",
62 // Field types
63 "wiki": "Wiki",
64 "text": "Text",
65 "boolean": "Yes/no",
66 "integer": "Integer",
67 "selection": "Selection",
69 "global tag": "Global Tag",
70 "related objects": "Related Objects",
71 "widget": "Widget",
72 "select one": "Select one",
73 "edit mode": "Edit",
74 "preview mode": "Preview",
76 "empty results": "Empty results",
77 "no %s found": "No %s found.",
79 // Installer
80 "installing": "Installing",
81 "uninstalling": "Uninstalling",
82 "installing application database": "Installing application database",
83 "uninstalling application database": "Uninstalling application database",
84 "preparing application database": "Preparing application database",
85 "installing application tags database": "Installing application tags database",
86 "uninstalling application tags database": "Uninstalling application tags database",
87 "installing application content database": "Installing application content database",
88 "uninstalling application content database": "Uninstalling application content database",
90 // Metadata
91 "creator": "Creator",
92 "created": "Created",
93 "revisor": "Revisor",
94 "revised": "Revised",
95 "archiver": "Archiver",
96 "archived": "Archived",
97 "deleted": "Deleted",
99 // System views
100 "frontpage": "Frontpage",
101 "trash": "Trash",
102 "preferences": "Preferences",
103 "tags": "Tags",
104 "edit": "Edit",
105 "create": "Create",
106 "view item": "View item",
108 // Content types
109 "note": "Note",
110 "hour report": "Hour report",
111 "event": "Event",
112 "tag": "Tag",
113 "contact": "Contact",
114 "expense": "Expense report",
116 // Document actions
117 "unknown document action": "Unknown document action",
118 "unknown action %s requested for object %s!": "Unknown action %s requested for object %s!",
119 "object deleted": "Object deleted",
120 "object %s moved to trash.": "Object %s moved to trash.",
121 "object %s removed from ajatus.": "Object %s removed from Ajatus.",
122 "object restored": "Object restored",
123 "object %s restored succesfully.": "Object %s restored succesfully.",
124 "emptying action pool": "Emptying action pool",
125 "running %s pooled actions.": "Running %s pooled actions.",
128 "test %s": "Testing %s",
129 "%d comment": "%d comment",
130 "%d comment in %d doc": "%d comment in %d doc",
132 // Date format
133 "dateformat": "MDY/"
136 $.ajatus.i10n.inflections['en_GB'] = {
137 plural: [
138 [/(quiz)$/i, "$1zes" ],
139 [/^(ox)$/i, "$1en" ],
140 [/([m|l])ouse$/i, "$1ice" ],
141 [/(matr|vert|ind)ix|ex$/i, "$1ices" ],
142 [/(x|ch|ss|sh)$/i, "$1es" ],
143 [/([^aeiouy]|qu)y$/i, "$1ies" ],
144 [/(hive)$/i, "$1s" ],
145 [/(?:([^f])fe|([lr])f)$/i, "$1$2ves"],
146 [/sis$/i, "ses" ],
147 [/([ti])um$/i, "$1a" ],
148 [/(buffal|tomat)o$/i, "$1oes" ],
149 [/(bu)s$/i, "$1ses" ],
150 [/(alias|status)$/i, "$1es" ],
151 [/(octop|vir)us$/i, "$1i" ],
152 [/(ax|test)is$/i, "$1es" ],
153 [/s$/i, "s" ],
154 [/$/, "s" ]
156 singular: [
157 [/(quiz)zes$/i, "$1" ],
158 [/(matr)ices$/i, "$1ix" ],
159 [/(vert|ind)ices$/i, "$1ex" ],
160 [/^(ox)en/i, "$1" ],
161 [/(alias|status)es$/i, "$1" ],
162 [/(octop|vir)i$/i, "$1us" ],
163 [/(cris|ax|test)es$/i, "$1is" ],
164 [/(shoe)s$/i, "$1" ],
165 [/(o)es$/i, "$1" ],
166 [/(bus)es$/i, "$1" ],
167 [/([m|l])ice$/i, "$1ouse" ],
168 [/(x|ch|ss|sh)es$/i, "$1" ],
169 [/(m)ovies$/i, "$1ovie" ],
170 [/(s)eries$/i, "$1eries"],
171 [/([^aeiouy]|qu)ies$/i, "$1y" ],
172 [/([lr])ves$/i, "$1f" ],
173 [/(tive)s$/i, "$1" ],
174 [/(hive)s$/i, "$1" ],
175 [/([^f])ves$/i, "$1fe" ],
176 [/(^analy)ses$/i, "$1sis" ],
177 [/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$/i, "$1$2sis"],
178 [/([ti])a$/i, "$1um" ],
179 [/(n)ews$/i, "$1ews" ],
180 [/s$/i, "" ]
182 irregular: [
183 ['move', 'moves' ],
184 ['sex', 'sexes' ],
185 ['child', 'children'],
186 ['man', 'men' ],
187 ['person', 'people' ]
189 uncountable: [
190 "sheep",
191 "fish",
192 "series",
193 "species",
194 "money",
195 "rice",
196 "information",
197 "equipment"
199 ordinalize: function(number) {
200 if (11 <= parseInt(number) % 100 && parseInt(number) % 100 <= 13) {
201 return number + "th";
202 } else {
203 switch (parseInt(number) % 10) {
204 case 1:
205 return number + "st";
206 case 2:
207 return number + "nd";
208 case 3:
209 return number + "rd";
210 default:
211 return number + "th";
217 })(jQuery);