BlueGit

timfa bluegit

Files

bluegit / internal / i18n / catalog.go

catalog.go

feat: merge-request-pipelines en merge na een geslaagde run
timfa project_87923614_bot_3aff574f6f98414b945a8799374f9092 · pushed by timfa · 4 weeks ago
Failed 24b281c4 History
catalog.go 21.8 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 "mr.pipeline": "Pipeline",
157 "mr.noPipeline": "No pipeline for this merge request.",
158 "mr.block.running": "The pipeline is still running.",
159 "mr.block.failed": "The pipeline failed.",
160 "mr.block.waiting": "This merge request is waiting for a pipeline.",
161
162 "pipe.title": "Pipelines",
163 "pipe.ref": "branch, empty is the default",
164 "pipe.none": "No pipelines yet. Add blue-ci-cd.yml in the root.",
165 "pipe.one": "Pipeline",
166 "pipe.filter": "Filter pipelines",
167 "pipe.showID": "Show Pipeline ID",
168 "pipe.col.status": "Status",
169 "pipe.col.pipeline": "Pipeline",
170 "pipe.col.by": "Created by",
171 "pipe.col.stages": "Stages",
172 "pipe.passed": "Passed",
173 "pipe.failed": "Failed",
174 "pipe.running": "Running",
175 "pipe.pending": "Pending",
176 "pipe.manual": "Manual",
177 "pipe.skipped": "Skipped",
178 "pipe.warning": "Warning",
179 "pipe.stage": "Stage",
180 "pipe.duration": "Duration",
181 "pipe.finished": "Finished",
182 "pipe.queued": "Queued",
183 "pipe.timeout": "Timeout",
184 "pipe.runner": "Runner",
185 "pipe.runnerHere": "bluegit #1",
186 "pipe.source": "Source",
187 "pipe.commit": "Commit",
188 "pipe.for": "for",
189 "pipe.related": "Related jobs",
190 "pipe.search": "Search visible log output",
191 "pipe.utc": "Log timestamps in UTC.",
192 "pipe.raw": "Raw",
193 "pipe.wrap": "Wrap",
194 "pipe.top": "Top",
195 "pipe.bottom": "Bottom",
196 "pipe.full": "Full screen",
197 "pipe.prev": "Previous result",
198 "pipe.next": "Next result",
199 "pipe.started": "Started",
200 "pipe.by": "by",
201 "pipe.emptyLog": "No log yet.",
202 "pipe.play": "Play",
203 "pipe.src.push": "Push",
204 "pipe.src.web": "Web",
205 "pipe.src.merge_request_event": "Merge request",
206
207 "edit.title": "Pipeline Editor",
208 "edit.clean": "No issues found",
209 "edit.issues": "%d issues",
210 "edit.issueOne": "%d issue",
211 "edit.warnings": "%d warnings",
212 "edit.warningOne": "%d warning",
213 "edit.message": "Commit message",
214 "edit.branch": "Branch",
215 "edit.save": "Commit",
216 "edit.same": "Nothing changed.",
217 "edit.saved": "Committed.",
218 "edit.fail": "The file could not be committed.",
219 "edit.protected": "This branch is protected.",
220 "edit.badBranch": "That branch name cannot be used.",
221 "edit.needMessage": "A commit message is required.",
222 "mail.fail.subject": "Pipeline #%d in %s failed",
223 "mail.fail.intro": "Pipeline #%d in %s on %s failed.",
224 "mail.fail.jobs": "Failed jobs",
225 "mail.fail.open": "Open the pipeline",
226
227 "rel.none": "No releases yet.",
228 "rel.bytes": "bytes",
229
230 "set.onlyAdmin": "Only a maintainer changes settings, secrets and webhooks. Your role: %s.",
231 "set.general": "General",
232 "set.members": "Members",
233 "set.branches": "Branches",
234 "set.secrets": "Secrets",
235 "set.webhooks": "Webhooks",
236 "set.username": "username",
237 "set.pending": "waiting for the first sign-in",
238 "set.pattern": "master or release/*",
239 "set.protectHint": "Developers cannot push to these branches.",
240 "set.secretName": "Name",
241 "set.secretValue": "Value",
242 "set.protectedOnly": "Only include on a protected branch",
243 "set.valuesHidden": "Values are not shown again.",
244 "set.delete": "Delete",
245 "set.typeName": "Type %s",
246 "set.deleteRepo": "Delete repository",
247 "set.whName": "Name",
248 "set.preset": "Preset",
249 "set.preset.generic": "Generic JSON",
250 "set.preset.discord": "Discord",
251 "set.preset.grok": "Grok Bot",
252 "set.url": "URL",
253 "set.branchFilter": "Push branch filter",
254 "set.filterHint": "empty, master, or re:^release/.*",
255 "set.headers": "Headers, one per line",
256 "set.body": "Body template, empty sends the event as JSON",
257 "set.ev.push": "push",
258 "set.ev.mr": "merge request",
259 "set.ev.ok": "pipeline succeeded",
260 "set.ev.fail": "pipeline failed",
261 "set.ev.release": "release published",
262 "set.saveWebhook": "Save webhook",
263 "logo.file": "Logo",
264 "logo.hint": "PNG, JPEG, GIF or SVG. Images larger than 512×512 are scaled down.",
265
266 "acct.hint": "For git over HTTPS: your username and a token as the password.",
267 "acct.tokens": "Access tokens",
268 "acct.tokenName": "name, for example laptop",
269 "acct.newToken": "New token",
270 "acct.revoke": "Revoke",
271 "acct.ssh": "SSH keys",
272 "acct.keyName": "Name",
273 "acct.pubkey": "Public key",
274 "acct.add": "Add",
275 "acct.remove": "Remove",
276 "acct.export": "Download your data (JSON)",
277 "acct.language": "Language",
278
279 "setup.choose": "Choose storage",
280 "setup.pathTitle": "Storage path",
281 "setup.changeWarn": "Changing the path does not move repositories, artifacts or releases.",
282 "setup.free": "Free space: %s of %s.",
283 "setup.disk": "Path on disk",
284 "setup.rules": "The path must exist, be writable, and have at least %s free.",
285
286 "flash.saved": "Saved",
287 "flash.memberSaved": "Member saved",
288 "flash.memberRemoved": "Member removed",
289 "flash.branchOn": "Branch protected",
290 "flash.patternOff": "Pattern removed",
291 "flash.secretSaved": "Secret saved",
292 "flash.secretRemoved": "Secret removed",
293 "flash.webhookSaved": "Webhook saved",
294 "flash.webhookRemoved": "Webhook removed",
295 "flash.repoDeleted": "Repository deleted",
296 "flash.tokenCreated": "Token created. Copy it now; it is not shown again.",
297 "flash.tokenRevoked": "Token revoked",
298 "flash.sshAdded": "Key added",
299 "flash.sshRemoved": "Key removed",
300 "flash.pipeline": "Pipeline started",
301 "flash.language": "Language saved",
302 "flash.logo": "Logo saved",
303 "flash.star": "Star updated",
304
305 "err.forbidden": "no access",
306 "err.rights": "could not read permissions",
307 "err.badForm": "invalid form",
308 "err.badCSRF": "invalid form, reload the page",
309 "err.groupMissing": "group not found",
310 "err.gitInit": "git init: %s",
311 "err.confirmDelete": "type the repository name to delete it",
312 "err.tokenMissing": "token not found",
313 "err.sshBad": "that is not an OpenSSH public key",
314 "err.sshMissing": "key not found",
315 "err.pickEvent": "choose at least one event",
316 "err.preset": "unknown preset",
317 "err.header": "a header must look like Name: value",
318 "err.noStorageAdmin": "You cannot configure storage.",
319 "err.storageSave": "The path could not be saved.",
320 "err.storageSame": "Choose the directory for the repositories.",
321 "err.storageSet": "Storage set to %s. %s free.",
322 "err.storageMoved": "Storage path changed to %s. Existing data was not moved. %s free.",
323 "err.noStorage": "Storage is not set up yet. An administrator chooses a path in the web interface.",
324 "err.logoType": "use a PNG, JPEG, GIF or SVG",
325 "err.logoBig": "the file is too large",
326 "err.logoSVG": "this SVG is not accepted",
327 "err.logoStore": "the logo could not be saved",
328 "err.logoRead": "the logo could not be read",
329
330 "err.userName": "username %q cannot be used here",
331 "err.groupPath": "group path %q cannot be used",
332 "err.repoName": "repository name %q cannot be used",
333 "err.slug": "this name cannot be used",
334 "err.tag": "tag %q cannot be used",
335 "err.tagChar": "tag %q contains a forbidden character",
336 "err.groupNeedsName": "the group needs a name",
337 "err.pathUser": "path %s is already a user",
338 "err.pathGroup": "path %s is already a group",
339 "err.ownerKind": "owner must be user or group",
340 "err.visibility": "visibility must be public or private",
341 "err.userGroupClash": "a group named %s already exists; personal repositories would be unreachable",
342 "err.repoExists": "repository %s already exists",
343 "err.scope": "scope must be repo or group",
344 "err.pattern": "pattern %q cannot be used",
345 "err.emptyValue": "the value is empty",
346 "err.userTaken": "username %s is already in use",
347 "err.tokenNeedsName": "give the token a name",
348 "err.sshDup": "this key is already registered",
349 "err.notFound": "not found",
350 "err.noteEmpty": "a comment is empty",
351 "err.mrTitle": "a merge request needs a title",
352 "err.tagExists": "tag %s already exists",
353 "err.roleMissing": "role is missing",
354 "err.roleUnknown": "unknown role %q",
355 "err.hook.nowrite": "no write access on %s",
356 "err.hook.branch": "invalid branch %q",
357 "err.hook.protected": "branch %s is protected; only a maintainer may change it",
358 "err.hook.empty": "empty push",
359 "err.secretLen": "a secret name must be 1 to 80 characters",
360 "err.secretForm": "secret name %q must match [A-Z][A-Z0-9_]*",
361 "err.mergeConflict": "merge failed, there is a conflict or the branch is missing",
362 "err.targetBranch": "target branch %s: %s",
363
364 "err.pathMissing": "path is missing",
365 "err.pathNewline": "path contains a line break",
366 "err.pathAbsolute": "path must be absolute",
367 "err.pathAbsent": "path does not exist",
368 "err.pathRead": "cannot read path: %s",
369 "err.pathDir": "path is not a directory",
370 "err.pathFree": "could not determine free space: %s",
371 "err.pathWrite": "path is not writable",
372 "err.pathSpace": "not enough free space: %s free, at least %s",
373
374 "err.whFilter": "branchfilter: %s",
375 "err.whEvent": "unknown event %q",
376 "err.whTemplate": "unclosed {{ in the template",
377 "err.whSecret": "secret %s does not exist",
378 "err.whField": "unknown field event.%s",
379 "err.whPlaceholder": "unknown placeholder %q",
380 "err.whURL": "webhook URL is invalid",
381 "err.whScheme": "webhook URL must be http or https",
382 "err.whHost": "webhook host is missing",
383 "err.whBlockedIP": "%s is in a blocked range",
384 "err.whDNS": "dns for %s: %s",
385 "err.whNoAddr": "no address for %s",
386 "err.whBlockedHost": "%s points at %s in a blocked range",
387 "err.whRedirects": "too many redirects",
388 "err.whRedirectHost": "a redirect to another host with the original body was refused",
389
390 "flash.welcome": "Welcome, %s",
391 "flash.repoCreated": "Repository created",
392 "flash.groupCreated": "Group created",
393 "flash.mrOpened": "Merge request opened",
394 "flash.note": "Comment posted",
395 "flash.merged": "Merged",
396 "flash.closed": "Closed",
397 "hook.push": "%s pushed to %s in %s",
398 "hook.mr": "merge request !%s opened: %s",
399 "hook.release": "release %s of %s published",
400 "err.session": "session",
401 "err.oauth": "Sign-in failed: %s",
402 "err.oauthFail": "Sign-in failed",
403 "err.oauthState": "invalid sign-in state",
404 "err.branchMissing": "branch not found",
405 "err.branches": "choose two different branches",
406 "err.targetAccess": "no access to the target branch",
407 "err.commitMissing": "commit is not in this repository",
408 "err.artifactMissing": "artifact not found: %s %s",
409 "err.noWrite": "no write access",
410 "err.noRead": "no read access",
411 "err.overview": "overview",
412 "err.tokenAbsent": "token is missing",
413 "err.tokenBad": "token is invalid",
414 "err.jobToken": "job token is invalid",
415 "err.onlyAdmin": "only a maintainer",
416 "err.commitAbsent": "commit is missing",
417 "err.assetsJob": "assets belong with a job token",
418 "err.assetName": "asset name",
419 "err.assetDisk": "artifact is missing on disk",
420 "err.assetCopy": "could not copy the asset",
421 "err.tagFail": "tag: %s",
422 "err.json": "invalid json",
423 "commit.pushedBy": "pushed by %s",
424
425 "set.preset.custom": "No preset",
426 "set.preset.slack": "Slack",
427 "set.preset.teams": "Microsoft Teams",
428 "set.preset.mattermost": "Mattermost",
429 "set.preset.rocketchat": "Rocket.Chat",
430 "set.preset.telegram": "Telegram",
431 "set.preset.matrix": "Matrix",
432 "set.preset.googlechat": "Google Chat",
433 "set.preset.ntfy": "ntfy",
434 "set.preset.gotify": "Gotify",
435 "wh.webhookURL": "Webhook URL",
436 "wh.url": "URL",
437 "wh.username": "Username",
438 "wh.avatar": "Avatar URL",
439 "wh.icon": "Icon URL",
440 "wh.alias": "Alias",
441 "wh.token": "Secret",
442 "wh.tokenHint": "Name of a secret, for example BOT_TOKEN.",
443 "wh.chat": "Chat ID",
444 "wh.server": "Server",
445 "wh.topic": "Topic",
446 "wh.homeserver": "Homeserver",
447 "wh.room": "Room",
448 "wh.method": "Method",
449 "wh.contentType": "Content type",
450 "wh.headers": "Headers",
451 "wh.headerHint": "One header per line. A value may refer to a secret as {{secret.NAME}}.",
452 "wh.body": "Body template",
453 "wh.bodyHint": "Optional. Empty sends the event as JSON.",
454 "err.whTopic": "topic is invalid",
455 "err.whChat": "chat ID is invalid",
456 "err.whRoom": "room is invalid",
457 "err.whServer": "server URL is missing",
458 "err.whMethod": "method must be GET, POST, PUT or PATCH",
459
460 "mr.changes": "Changes",
461 "action.cancel": "Cancel",
462 "sug.applyWord": "Apply suggestions",
463 "sug.include": "Include this suggestion",
464 "sug.title": "Title",
465 "sug.description": "Description",
466 "sug.optional": "Optional.",
467 "sug.submit": "Create commit",
468 "sug.hint": "The suggestion block replaces the selected lines.",
469 "sug.bubble": "Comment on the selected lines",
470 "err.sugConflict": "%s:%d-%d has changed",
471 "err.sugOverlap": "suggestions in %s overlap",
472 "err.sugEmpty": "choose a suggestion",
473 "err.sugTitle": "a title is required",
474 "err.sugLines": "those lines are not in the file",
475 "err.sugFile": "that file is not available",
476 "err.sugGone": "that suggestion is not on this merge request",
477 "err.sugSame": "the suggestions do not change the file",
478 "err.sugBranch": "you cannot push to %s",
479 "flash.suggestions": "Suggestions applied",
480
481 "ci.err.yaml": "invalid YAML: %s",
482 "ci.err.mapping": "blue-ci-cd.yml must be a mapping",
483 "ci.err.list": "expected a list",
484 "ci.err.unknown": "unknown field %q",
485 "ci.warn.ignored": "%s is not used",
486 "ci.err.both": "use either top-level jobs or a jobs map",
487 "ci.err.includeRead": "cannot read include %s",
488 "ci.err.includeCycle": "include cycle at %s",
489 "ci.err.includeLocal": "include local must be a path",
490 "ci.err.includeRemote": "only local includes are supported",
491 "ci.err.rel": "path %q must be relative",
492 "ci.err.map": "expected a mapping",
493 "ci.err.jobsMap": "jobs must be a mapping",
494 "ci.err.jobMap": "job %s must be a mapping",
495 "ci.err.stageText": "stage must be text",
496 "ci.err.script": "script must be a list of commands",
497 "ci.err.needs": "needs must name a job",
498 "ci.err.resource": "resource_group must be text",
499 "ci.err.jobDup": "duplicate job %q",
500 "ci.err.extendsCycle": "cycle in extends at %s",
501 "ci.err.extends": "job %s extends unknown job %s",
502 "ci.err.noJobs": "no jobs",
503 "ci.err.stageEmpty": "empty stage name",
504 "ci.err.stageDup": "duplicate stage %q",
505 "ci.err.jobName": "invalid job name %q",
506 "ci.err.jobStage": "job %s has no stage",
507 "ci.err.stageUnknown": "job %s uses unknown stage %q",
508 "ci.err.noImage": "job %s has no image",
509 "ci.err.noScript": "job %s has no script",
510 "ci.err.emptyLine": "job %s has an empty script line",
511 "ci.err.needUnknown": "job %s needs unknown job %q",
512 "ci.err.needSelf": "job %s cannot depend on itself",
513 "ci.err.cycle": "cycle in needs at job %s",
514 "ci.err.artifacts": "artifacts must be a mapping",
515 "ci.err.expire": "expire_in must be text",
516 "ci.err.expireBad": "expire_in %q is invalid",
517 "ci.err.cache": "cache must be a mapping",
518 "ci.err.cacheKey": "cache key must be text",
519 "ci.err.rulesList": "rules must be a list",
520 "ci.err.ruleMap": "a rule must be a mapping",
521 "ci.err.ruleIf": "rule.if must be text",
522 "ci.err.ruleEmpty": "rule has no condition",
523 "ci.err.ruleExpr": "rule %q is not understood",
524 "ci.err.ruleCombine": "rule %q cannot combine conditions with && or ||",
525 "ci.err.regex": "invalid regex in %q: %s",
526 "ci.err.when": "when %q is not supported",
527 "ci.err.timeout": "timeout %q is invalid",
528 "ci.err.extendsList": "extends must be a job name or a list",
529 "ci.err.listText": "a list may only contain text",
530 "ci.err.varText": "variables must be text",
531 "ci.err.bool": "expected true or false",
532 "ci.err.dotdot": "path %q must stay inside the workspace",
533}