BlueGit

timfa bluegit

Files

bluegit / internal / i18n / catalog.go

catalog.go

feat: nieuw-formulier, groepsoverzicht, logo's en talen
timfa project_87923614_bot_3aff574f6f98414b945a8799374f9092 · pushed by timfa · 3 weeks ago
Failed d1203d3b History
catalog.go 14.3 KiB Download Raw
1package i18n
2
3var catalogs = map[Lang]map[string]string{
4 EN: en,
5 NL: nl,
6 DE: de,
7 FR: fr,
8}
9
10var en = map[string]string{
11 "nav.dashboard": "Overview",
12 "nav.new": "New",
13 "nav.storage": "Storage",
14 "nav.signout": "Sign out",
15 "nav.signin": "Sign in",
16
17 "action.save": "Save",
18 "action.copy": "Copy",
19 "action.copied": "Copied",
20 "action.remove": "Remove",
21 "action.open": "Open",
22 "action.close": "Close",
23 "action.merge": "Merge",
24 "action.start": "Start",
25 "action.protect": "Protect",
26 "action.post": "Post",
27
28 "home.lead": "Sign in to view repositories.",
29 "home.public": "Public repositories",
30 "home.storage": "Storage is not set up yet. Repositories are temporarily unavailable.",
31
32 "dash.repos": "Repositories",
33 "dash.groups": "Groups",
34 "dash.noRepos": "No repositories yet.",
35 "dash.noGroups": "No groups yet.",
36
37 "heat.title": "Activity",
38 "heat.less": "Less",
39 "heat.more": "More",
40 "heat.note": "Commits, merge requests and comments.",
41 "heat.mon": "M",
42 "heat.wed": "W",
43 "heat.fri": "F",
44 "heat.none.year": "No contributions in the last 12 months",
45 "heat.one.year": "1 contribution in the last 12 months",
46 "heat.many.year": "%d contributions in the last 12 months",
47 "heat.none.day": "No contributions on %s",
48 "heat.one.day": "1 contribution on %s",
49 "heat.many.day": "%d contributions on %s",
50
51 "month.1": "January", "month.2": "February", "month.3": "March", "month.4": "April",
52 "month.5": "May", "month.6": "June", "month.7": "July", "month.8": "August",
53 "month.9": "September", "month.10": "October", "month.11": "November", "month.12": "December",
54 "month.s.1": "Jan", "month.s.2": "Feb", "month.s.3": "Mar", "month.s.4": "Apr",
55 "month.s.5": "May", "month.s.6": "Jun", "month.s.7": "Jul", "month.s.8": "Aug",
56 "month.s.9": "Sep", "month.s.10": "Oct", "month.s.11": "Nov", "month.s.12": "Dec",
57
58 "ago.just": "just now", "ago.minute": "1 minute ago", "ago.minutes": "%d minutes ago",
59 "ago.hour": "1 hour ago", "ago.hours": "%d hours ago",
60 "ago.day": "1 day ago", "ago.days": "%d days ago",
61 "ago.week": "1 week ago", "ago.weeks": "%d weeks ago",
62 "ago.month": "1 month ago", "ago.months": "%d months ago",
63 "ago.year": "1 year ago", "ago.years": "%d years ago",
64
65 "title.new": "New",
66 "title.account": "Account",
67 "title.storage": "Storage",
68 "title.commits": "Commits",
69 "title.branches": "Branches",
70 "title.mrs": "Merge requests",
71 "title.pipelines": "Pipelines",
72 "title.pipeline": "Pipeline",
73 "title.releases": "Releases",
74 "title.tags": "Tags",
75 "title.settings": "Settings",
76
77 "new.group": "New Group",
78 "new.repo": "New Repository",
79 "new.name": "Name",
80 "new.description": "Description",
81 "new.owner": "Owner",
82 "new.me": "Myself",
83 "new.visibility": "Visibility",
84 "new.role": "Default role",
85 "new.roleHint": "Role for members in new repositories of this group.",
86 "slug.bad": "This name cannot be used.",
87 "slug.free": "Available",
88 "slug.taken": "Taken",
89
90 "role.readonly": "Readonly",
91 "role.developer": "Developer",
92 "role.maintainer": "Maintainer",
93 "role.": "None",
94
95 "vis.public": "Public",
96 "vis.private": "Private",
97 "vis.protected": "Protected",
98
99 "group.tab.repos": "Repositories",
100 "group.tab.members": "Members",
101 "group.tab.settings": "Settings",
102 "group.search": "Search",
103 "group.sort": "Name",
104 "group.direction": "Sort direction",
105 "group.created": "Created %s",
106 "group.empty": "No repositories yet.",
107 "group.menu": "Menu",
108 "group.star": "Star",
109 "group.unstar": "Unstar",
110 "group.secretsNote": "Only secrets of this group.",
111 "group.defaultRole": "Default role for new repositories",
112
113 "tab.overview": "Overview",
114 "tab.files": "Files",
115 "tab.commits": "Commits",
116 "tab.branches": "Branches",
117 "tab.mrs": "Merge requests",
118 "tab.pipelines": "Pipelines",
119 "tab.releases": "Releases",
120 "tab.settings": "Settings",
121
122 "repo.searchFile": "Find file",
123 "repo.code": "Code",
124 "repo.ssh": "SSH",
125 "repo.https": "HTTPS",
126 "repo.cloneHint": "Username and a token as the password.",
127 "repo.name": "Name",
128 "repo.lastCommit": "Last commit",
129 "repo.lastChange": "Last update",
130 "repo.emptyDir": "This directory is empty.",
131 "repo.noCommits": "No commits yet.",
132 "repo.project": "Project information",
133 "repo.created": "Created on %s",
134 "repo.history": "History",
135 "repo.files": "Files",
136 "repo.binary": "Binary file.",
137 "repo.noTags": "No tags yet.",
138 "repo.noBranches": "No branches yet.",
139 "count.commit.one": "%d commit", "count.commit.many": "%d commits",
140 "count.branch.one": "%d branch", "count.branch.many": "%d branches",
141 "count.tag.one": "%d tag", "count.tag.many": "%d tags",
142 "count.release.one": "%d release", "count.release.many": "%d releases",
143
144 "mr.title": "Merge requests",
145 "mr.none": "No merge requests.",
146 "mr.new": "New",
147 "mr.titleField": "Title",
148 "mr.description": "Description",
149 "mr.source": "Source",
150 "mr.target": "Target",
151 "mr.commits": "Commits",
152 "mr.noDiff": "no commits ahead of the target branch, or the branch is missing",
153 "mr.comments": "Comments",
154 "mr.noComments": "No comments yet.",
155 "mr.comment": "Comment",
156
157 "pipe.title": "Pipelines",
158 "pipe.ref": "branch, empty is the default",
159 "pipe.none": "No pipelines yet. Add blue-ci-cd.yml in the root.",
160 "pipe.one": "Pipeline",
161
162 "rel.none": "No releases yet.",
163 "rel.bytes": "bytes",
164
165 "set.onlyAdmin": "Only a maintainer changes settings, secrets and webhooks. Your role: %s.",
166 "set.general": "General",
167 "set.members": "Members",
168 "set.branches": "Branches",
169 "set.secrets": "Secrets",
170 "set.webhooks": "Webhooks",
171 "set.username": "username",
172 "set.pending": "waiting for the first sign-in",
173 "set.pattern": "master or release/*",
174 "set.protectHint": "Developers cannot push to these branches.",
175 "set.secretName": "Name",
176 "set.secretValue": "Value",
177 "set.protectedOnly": "Only include on a protected branch",
178 "set.valuesHidden": "Values are not shown again.",
179 "set.delete": "Delete",
180 "set.typeName": "Type %s",
181 "set.deleteRepo": "Delete repository",
182 "set.whName": "Name",
183 "set.preset": "Preset",
184 "set.preset.generic": "Generic JSON",
185 "set.preset.discord": "Discord",
186 "set.preset.grok": "Grok Bot",
187 "set.url": "URL",
188 "set.branchFilter": "Push branch filter",
189 "set.filterHint": "empty, master, or re:^release/.*",
190 "set.headers": "Headers, one per line",
191 "set.body": "Body template, empty sends the event as JSON",
192 "set.ev.push": "push",
193 "set.ev.mr": "merge request",
194 "set.ev.ok": "pipeline succeeded",
195 "set.ev.fail": "pipeline failed",
196 "set.ev.release": "release published",
197 "set.saveWebhook": "Save webhook",
198 "logo.file": "Logo",
199 "logo.hint": "PNG, JPEG, GIF or SVG. Images larger than 512×512 are scaled down.",
200
201 "acct.hint": "For git over HTTPS: your username and a token as the password.",
202 "acct.tokens": "Access tokens",
203 "acct.tokenName": "name, for example laptop",
204 "acct.newToken": "New token",
205 "acct.revoke": "Revoke",
206 "acct.ssh": "SSH keys",
207 "acct.keyName": "Name",
208 "acct.pubkey": "Public key",
209 "acct.add": "Add",
210 "acct.remove": "Remove",
211 "acct.export": "Download your data (JSON)",
212 "acct.language": "Language",
213
214 "setup.choose": "Choose storage",
215 "setup.pathTitle": "Storage path",
216 "setup.changeWarn": "Changing the path does not move repositories, artifacts or releases.",
217 "setup.free": "Free space: %s of %s.",
218 "setup.disk": "Path on disk",
219 "setup.rules": "The path must exist, be writable, and have at least %s free.",
220
221 "flash.saved": "Saved",
222 "flash.memberSaved": "Member saved",
223 "flash.memberRemoved": "Member removed",
224 "flash.branchOn": "Branch protected",
225 "flash.patternOff": "Pattern removed",
226 "flash.secretSaved": "Secret saved",
227 "flash.secretRemoved": "Secret removed",
228 "flash.webhookSaved": "Webhook saved",
229 "flash.webhookRemoved": "Webhook removed",
230 "flash.repoDeleted": "Repository deleted",
231 "flash.tokenCreated": "Token created. Copy it now; it is not shown again.",
232 "flash.tokenRevoked": "Token revoked",
233 "flash.sshAdded": "Key added",
234 "flash.sshRemoved": "Key removed",
235 "flash.pipeline": "Pipeline started",
236 "flash.language": "Language saved",
237 "flash.logo": "Logo saved",
238 "flash.star": "Star updated",
239
240 "err.forbidden": "no access",
241 "err.rights": "could not read permissions",
242 "err.badForm": "invalid form",
243 "err.badCSRF": "invalid form, reload the page",
244 "err.groupMissing": "group not found",
245 "err.gitInit": "git init: %s",
246 "err.confirmDelete": "type the repository name to delete it",
247 "err.tokenMissing": "token not found",
248 "err.sshBad": "that is not an OpenSSH public key",
249 "err.sshMissing": "key not found",
250 "err.pickEvent": "choose at least one event",
251 "err.preset": "unknown preset",
252 "err.header": "a header must look like Name: value",
253 "err.noStorageAdmin": "You cannot configure storage.",
254 "err.storageSave": "The path could not be saved.",
255 "err.storageSame": "Choose the directory for the repositories.",
256 "err.storageSet": "Storage set to %s. %s free.",
257 "err.storageMoved": "Storage path changed to %s. Existing data was not moved. %s free.",
258 "err.noStorage": "Storage is not set up yet. An administrator chooses a path in the web interface.",
259 "err.logoType": "use a PNG, JPEG, GIF or SVG",
260 "err.logoBig": "the file is too large",
261 "err.logoSVG": "this SVG is not accepted",
262 "err.logoStore": "the logo could not be saved",
263 "err.logoRead": "the logo could not be read",
264
265 "err.userName": "username %q cannot be used here",
266 "err.groupPath": "group path %q cannot be used",
267 "err.repoName": "repository name %q cannot be used",
268 "err.slug": "this name cannot be used",
269 "err.tag": "tag %q cannot be used",
270 "err.tagChar": "tag %q contains a forbidden character",
271 "err.groupNeedsName": "the group needs a name",
272 "err.pathUser": "path %s is already a user",
273 "err.pathGroup": "path %s is already a group",
274 "err.ownerKind": "owner must be user or group",
275 "err.visibility": "visibility must be public or private",
276 "err.userGroupClash": "a group named %s already exists; personal repositories would be unreachable",
277 "err.repoExists": "repository %s already exists",
278 "err.scope": "scope must be repo or group",
279 "err.pattern": "pattern %q cannot be used",
280 "err.emptyValue": "the value is empty",
281 "err.userTaken": "username %s is already in use",
282 "err.tokenNeedsName": "give the token a name",
283 "err.sshDup": "this key is already registered",
284 "err.notFound": "not found",
285 "err.noteEmpty": "a comment is empty",
286 "err.mrTitle": "a merge request needs a title",
287 "err.tagExists": "tag %s already exists",
288 "err.roleMissing": "role is missing",
289 "err.roleUnknown": "unknown role %q",
290 "err.hook.nowrite": "no write access on %s",
291 "err.hook.branch": "invalid branch %q",
292 "err.hook.protected": "branch %s is protected; only a maintainer may change it",
293 "err.hook.empty": "empty push",
294 "err.secretLen": "a secret name must be 1 to 80 characters",
295 "err.secretForm": "secret name %q must match [A-Z][A-Z0-9_]*",
296 "err.mergeConflict": "merge failed, there is a conflict or the branch is missing",
297 "err.targetBranch": "target branch %s: %s",
298
299 "err.pathMissing": "path is missing",
300 "err.pathNewline": "path contains a line break",
301 "err.pathAbsolute": "path must be absolute",
302 "err.pathAbsent": "path does not exist",
303 "err.pathRead": "cannot read path: %s",
304 "err.pathDir": "path is not a directory",
305 "err.pathFree": "could not determine free space: %s",
306 "err.pathWrite": "path is not writable",
307 "err.pathSpace": "not enough free space: %s free, at least %s",
308
309 "err.whFilter": "branchfilter: %s",
310 "err.whEvent": "unknown event %q",
311 "err.whTemplate": "unclosed {{ in the template",
312 "err.whSecret": "secret %s does not exist",
313 "err.whField": "unknown field event.%s",
314 "err.whPlaceholder": "unknown placeholder %q",
315 "err.whURL": "webhook URL is invalid",
316 "err.whScheme": "webhook URL must be http or https",
317 "err.whHost": "webhook host is missing",
318 "err.whBlockedIP": "%s is in a blocked range",
319 "err.whDNS": "dns for %s: %s",
320 "err.whNoAddr": "no address for %s",
321 "err.whBlockedHost": "%s points at %s in a blocked range",
322 "err.whRedirects": "too many redirects",
323 "err.whRedirectHost": "a redirect to another host with the original body was refused",
324
325 "flash.welcome": "Welcome, %s",
326 "flash.repoCreated": "Repository created",
327 "flash.groupCreated": "Group created",
328 "flash.mrOpened": "Merge request opened",
329 "flash.note": "Comment posted",
330 "flash.merged": "Merged",
331 "flash.closed": "Closed",
332 "hook.push": "%s pushed to %s in %s",
333 "hook.mr": "merge request !%s opened: %s",
334 "hook.release": "release %s of %s published",
335 "err.session": "session",
336 "err.oauth": "Sign-in failed: %s",
337 "err.oauthFail": "Sign-in failed",
338 "err.oauthState": "invalid sign-in state",
339 "err.branchMissing": "branch not found",
340 "err.branches": "choose two different branches",
341 "err.targetAccess": "no access to the target branch",
342 "err.commitMissing": "commit is not in this repository",
343 "err.artifactMissing": "artifact not found: %s %s",
344 "err.noWrite": "no write access",
345 "err.noRead": "no read access",
346 "err.overview": "overview",
347 "err.tokenAbsent": "token is missing",
348 "err.tokenBad": "token is invalid",
349 "err.jobToken": "job token is invalid",
350 "err.onlyAdmin": "only a maintainer",
351 "err.commitAbsent": "commit is missing",
352 "err.assetsJob": "assets belong with a job token",
353 "err.assetName": "asset name",
354 "err.assetDisk": "artifact is missing on disk",
355 "err.assetCopy": "could not copy the asset",
356 "err.tagFail": "tag: %s",
357 "err.json": "invalid json",
358}