/
en.rb
688 lines (688 loc) · 30.3 KB
/
en.rb
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
# encoding: utf-8
{
:'en' => {
:application => {
:require_ssh_keys_error => "You need to upload your public key first",
:require_current_user => "Bad {{title}}, bad! You shouldn't be snooping around in other people's stuff!",
:no_commits_notice => "The repository doesn't have any commits yet",
},
:admin => {
:users_controller => {
:create_notice => 'User was successfully created.',
:suspend_notice => "User {{user_name}} was successfully suspended.",
:suspend_error => "Unable to suspend user {{user_name}}.",
:unsuspend_notice => "User {{user_name}} was successfully unsuspended.",
:unsuspend_error => "Unable to unsuspend user {{user_name}}.",
:check_admin => "For Administrators Only",
},
},
:mailer => {
:repository_clone => "{{login}} has cloned {{slug}}",
:request_notification => "{{login}} has requested a merge in {{title}}",
:new_password => "Your new password",
:subject => 'Please activate your new account',
:activated => 'Your account has been activated!',
},
:blobs_controller => {
:raw_error => "Blob is too big ({{size}} bytes). Clone the repository locally to see it",
},
:comments_controller => {
:create_success => "Your comment was added",
},
:committers_controller => {
:create_error_not_found => "Could not find user by that name",
:create_error_already_commiter => "Could not add user or user is already a committer",
:destroy_success => "User removed from repository",
:destroy_error => "Could not remove user from repository",
:find_repository_error => "You're not the owner of this repository",
},
:keys_controller => {
:create_notice => "Key added",
:destroy_notice => "Key removed",
},
:merge_requests_controller => {
:create_success => "You sent a merge request to \"{{name}}\"",
:resolve_notice => "The merge request was marked as {{status}}",
:resolve_disallowed => "The merge request could not be marked as {{status}}",
:update_success => "Merge request was updated",
:destroy_success => "Merge request was retracted",
:assert_resolvable_error => "You're not permitted to resolve this merge request",
:assert_ownership_error => "You're not the owner of this merge request",
:need_contribution_agreement => "You need to accept the contribution agreement",
:reopened => 'Merge request was reopened',
:reopening_failed => 'Merge request could not be reopened'
},
:projects_controller => {
:update_error => "You're not the owner of this project",
:destroy_error => "You're not the owner of this project, or the project has clones",
:create_only_for_site_admins => "Only site administrators are allowed to create new projects",
},
:repositories_controller => {
:new_clone_error => "Sorry, can't clone an empty repository",
:create_clone_error => "Sorry, can't clone an empty repository",
:create_success => "New repository created",
:destroy_notice => "The repository was deleted",
:destroy_error => "You're not the owner of this repository",
:adminship_error => "Sorry, only repository admins are allowed to do that",
:only_projects_create_new_error => "You can only add new repositories directly to a project",
},
:trees_controller => {
:archive_error => "The given repository or sha is invalid"
},
:groups_controller => {
:group_created => "Team created",
},
:users_controller => {
:create_notice => "Thanks for signing up! You will receive an account activation email soon",
:activate_notice => "Your account has been activated, welcome!",
:activate_error => "Invalid activation code",
:reset_password_notice => "A new password has been sent to your email",
:reset_password_error => "Invalid email",
:reset_password_inactive_account => 'Your account has not been activated yet. Please check your mailbox (including your spam folder) for an activation message from Gitorious',
},
:pages_controller => {
:invalid_page_error => "invalid page, badly formatted title or body",
:no_changes => "No changes was submitted",
:repository_not_ready => "The wiki is being created",
},
:memberships_controller => {
:membership_created => "Membership was successfully created",
:membership_updated => "Membership was updated",
:failed_to_destroy => "Failed to destroy membership",
:membership_destroyed => "Membership deleted",
},
:application_helper => {
:notice_for => lambda { |class_name| "This #{class_name} is being created,<br /> it will be ready pretty soon…"},
:event_status_add_project_repository => "created repository",
:event_status_created => "created project",
:event_status_deleted => "deleted project",
:event_status_updated => "updated project",
:event_status_cloned => "cloned",
:event_updated_repository => 'updated repository',
:event_status_deleted => "deleted",
:event_status_pushed => "pushed",
:event_status_started => "started development",
:event_branch_created => "created branch",
:event_branch_deleted => "deleted branch",
:event_tagged => "tagged",
:event_tag_deleted => "deleted tag",
:event_committer_added => "added {{committer}} as committer",
:event_committer_removed => "removed {{committer}} as committer",
:event_commented => "commented",
:event_requested_merge_of => "requested merge of",
:event_resolved_merge_request => "resolved merge request",
:event_reopened_merge_request => 'reopened merge request',
:event_updated_merge_request => "updated merge request",
:event_deleted_merge_request => "deleted merge request",
:event_status_push_wiki => "pushed wiki content",
:event_updated_wiki_page => "edited wiki page",
:event_status_pushed => 'pushed some commits',
:event_status_committed => 'committed',
:event_pushed_n => "pushed {{commit_link}}",
:more_info => "More info…",
},
:project => {
:format_slug_validation => "must match something in the range of [a-z0-9_\-]+",
:ssl_required => "Must begin with http(s)",
},
:user => {
:invalid_url => "Invalid url",
},
:membership => {
:notification_subject => "You have been added to a team",
:notification_body => "{{inviter}} added you to the \"{{group}}\" team, as a {{role}}",
},
:committership => {
:notification_subject => "A new committer has been added",
:notification_body => "{{inviter}} added {{user}} as a committer to the {{repository}} in the {{project}} project",
},
:ssh_key => {
:key_format_validation_message => "does not appear to be a valid public key",
},
:views => {
:layout => {
:system_notice => "System notice",
:home => "Home",
:dashboard => "Dashboard",
:admin => "Administration",
:projects => "All Projects",
:search => "Search",
:faq => "FAQ",
:about => "About Gitorious",
:my_account => "My Account",
:logout => "Logout",
:login => "Login",
:register => "Register",
:project_overview => "Project Overview",
:repositories => "Repositories",
:pages => "Wiki",
:user_mgt => "User Management",
:discussion => "Discussion group",
:teams => "All Teams",
:blog => "Blog",
},
:site => {
:pay_off => lambda {|gitorious_repo_path, read_more_path|
%{Gitorious provides free <a href="#{gitorious_repo_path}">open source</a> infrastructure for open source projects that use Git. <a href="#{read_more_path}">Read more »</a>}
},
:login_box_header => "Already registered?",
:page_title => "Free open source project hosting",
:description => "<strong>Gitorious</strong> is a great way of collaborating on distributed open source projects",
:for_projects => "For Projects",
:for_contributors => "For Contributors",
:creating_account => lambda { |this, path|
this.link_to("Creating a user account", path) +
" allows you to create your own project or participate in the development of any project." },
:newest_projects => "Latest projects",
:view_more => "View more »",
:dashboard => {
:page_title => "{{login}}'s dashboard",
:activities => "Activities",
:your_projects => "Your projects:",
:your_clones => "Your repository clones",
:your_account => "Your Account",
:your_profile => "Your Profile",
:projects => "Projects",
:repositories => "Repositories",
:team_memberships => "Team memberships",
:registration_button => "Register now"
},
},
:events => {
:page_title => "Events",
:activities => "Gitorious activities",
:system_activities => "System Activities",
},
:license => {
:show_title => 'End User License Agreement',
:terms_accepted => 'You have accepted the Terms of Use',
:terms_not_accepted => 'You need to accept the Terms of Use',
:terms_already_accepted => 'You have already accepted the latest terms of use'
},
:keys => {
:edit_title => "Edit a SSH key",
:ssh_keys => "Your SSH Keys",
:ssh_keys_breadcrumb => "SSH Keys",
:manage_ssh_keys => "Manage SSH keys",
:add_ssh_key => "Add SSH key",
:add_ssh_key_breadcrumb => "Add SSH Key",
:add_title => "Add a new public SSH key",
:your_public_key => "Your public key",
:hint => "It's generally located in ~/.ssh/id_rsa.pub or ~/.ssh/id_dsa.pub. If you want to use multiple keys you'll have to add each of them seperately. <br />The key should be in the format of: <br /><code>ssh-algorithm base64-content you@somehost</code>",
},
:users => {
:activated => "Activated?",
:suspended => "Suspended?",
:reset_pwd => "Reset Password",
:admin => "Admin?",
:suspend => "Suspend",
:unsuspend => "Unsuspend",
:create_btn => "Create New User",
:is_admin => "Is Administrator?",
:forgot_title => "Forgot your password?",
:send_new_passwd => 'Send me a new password',
:openid_build_title => 'Complete your registration',
:openid_build_description => 'You need enter the following details:',
:create_title => lambda { |this, path| "Create new user or " +
this.link_to( "login directly with your OpenID", path ) },
:create_description => "Creating a user account allows you to create your own project or participate in the development of any project.",
:wants_email_notifications => 'Send email notifications?',
:describe_email_notifications => "We will send you an email notification when you receive a message in Gitorious",
:member_for => "Member for",
:this_week => {
:one => "commit so far this week",
:other => "commits so far this week",
},
:about => "about {{about}}",
:edit_title => "Edit your details",
:edit_action => "Edit details",
:edit_breadcrumb => "Edit Details",
:realname => "Full name",
:email => "E-mail",
:url => "Website URL <small>(blog etc.)</small>",
:openid => "OpenID",
:my_account => "My account",
:chg_passwd_action => "Change password",
:chg_passwd_title => "Change your password",
:chg_passwd_breadcrumb => "Change Password",
:new_passwd => "New password",
:new_passwd_conf => "New password confirmation",
:edit_details => "Edit details",
:show_title => "Account",
:details_title => "Account details",
:edit_link => "edit",
:username => "Username",
:create => "create an account",
:license => 'End User License Agreement',
:send_user_msg => "Send {{username}} a message",
:avatar => 'Profile image'
},
:logs => {
:title => "Commits in {{repo_url}}:{{ref}}",
:project => "Project",
:maintainer => "Maintainer",
:head_tree => "HEAD tree",
:branches => "Branches",
:tags => "Tags",
:committed => "committed",
},
:blobs => {
:page_title => "{{path}} - {{repo}} in {{title}}",
:wrap => "Softwrap mode",
:title => "Blob of <code>{{path}}</code>",
:raw => "Raw blob data",
:show => "Blob contents",
:history => "Blob history",
:heading => "History for {{ref}}:{{path}}",
:too_big => lambda { |this, path| "This file is too big to be rendered within reasonable time, " +
this.link_to("try viewing the raw data", path) },
:message => lambda { |this, path|
"This blob appears to be binary data, if you like you can " +
this.link_to("download the raw data", path) + " (right click, save as)"
},
},
:comments => {
:commit => "on commit {{sha1}}",
:permalink => '<abbr title="permalink for this comment">#</abbr>',
:add_title => "Add a new comment",
:body => "Comment",
:add => "Add Comment",
:update_or_add => "Update / Add Comment",
:page_title => "Comments in {{repo}}",
:diff => "Commit diff",
:total => "Comments ({{total}})",
:page_title_2 => "Comments on {{title}}",
:page_title_3 => "Comments for "{{repo}}" repository in {{title}}",
},
:commits => {
:date => "Date",
:committer => "Committer",
:author => "Author",
:sha1 => "Commit SHA1",
:tree_sha1 => "Tree SHA1",
:parent_sha1 => "Parent SHA1",
:page_title => "Commit in {{repo}} in {{title}}",
:title => "Commit {{commit}}",
:message => lambda { |this, path| "This is the initial commit in this repository, " +
this.link_to( "browse the initial tree state", path ) + "." },
},
:sessions => {
:login => "Login",
:label => lambda { |this| "Email or #{this.switch_login('switch to OpenID','to_openid')}" },
:passwd => "Password",
:openid => lambda { |this| "OpenID or #{this.switch_login('switch to email login', 'to_email')}"},
:remember => "Remember me",
:submit => 'Log in',
:register => "Register",
:forgot => "Forgotten your password?",
:openid_url => "OpenID URL",
:email => "E-mail",
:to_openid => "Switch to OpenID",
:to_regular => "Switch to regular login",
:regular_login_header => "Regular login",
:openid_login_header => "OpenID login"
},
:searches => {
:search => "Search",
:hint => %Q{eg. 'wrapper', 'category:python' or '"document database"'},
:page_title => %Q{Search for "{{term}}"},
:no_results => "Sorry, no results for {{term}}",
:found => {
:one => "Found {{count}} result in {{time}}ms",
:other => "Found {{count}} results in {{time}}ms",
},
},
:trees => {
:page_title => "Tree for {{repo}} in {{title}}",
:title => "Tree of {{repo}} repository in {{title}}",
:download => "Download as gzipped tarball",
:branch => "Branch",
},
:repos => {
:overview => "Overview",
:commits => "Commits",
:tree => "Source Tree",
:comments => "Comments ({{count}})",
:requests => "Merge requests ({{count}})",
:public_url => "Public clone url",
:your_clone_url => "Your push url",
:clone_this_repo => "Clone this repository",
:more_info => "More info…",
:help_clone => "You can clone this repository with the following command",
:help_clone_http => "note that cloning over HTTP is slightly slower, but useful if you're behind a firewall",
:http_url => "Public HTTP clone url",
:push_url => "Push url",
:help_push => "You can run <code>git push {{repo}} master</code><br /> Or you can setup a remote like this:",
:owner => "Owner",
:creator => "creator",
:project => "Project",
:confirm_delete => "Please confirm deletion of {{repo}} in {{title}}",
:message_delete => "Once you press this button the repository will be deleted",
:btn_delete => "YES I am sure I want to delete this repository permanently",
:page_title => "Repositories in {{repo}}",
:title => "Repositories",
:commits => "Commits",
:tree => "Tree",
:activities => { :one => "activity", :other => "activities" },
:branches => { :one => "branch", :other => "branches" },
:authors => { :one => "author", :other => "authors" },
:name => %Q{Name <small>(eg "{{name}}-sandbox", "performance-fixes" etc)</small>},
:btn_clone => "Clone this repository on Gitorious",
:back => "Back to repository",
:show_page_title => "{{repo}} in {{title}}",
:show_title => ""{{repo}}" repository in {{title}}",
:committers_title => "Add committers to {{repo}} in {{title}}",
:committers_manage_group_members => "Manage team members for {{group}}",
:committers_howto => "There are two ways to add committers to a repository, either by adding
members to the team owning the repository, or to add another team as
committers.",
:transfer_owner => "Transfer owner",
:current_owner_project => "The repository is currrently owned by the {{project_name}} project (which you own).",
:current_owner_user => "The repository is currrently owned by you.",
:transfer_owner_howto => "If you wish, you can transfer ownership
of this repository to a team you're an administrator of. That way you can add
multiple users as committers, without requiring them to start a team.",
:add_committer_group => "Or you can add an existing team as committers to the repository,
thus giving all the members commit access.",
:activities => "Activities",
:clone_of => "Clone of",
:created => "Created",
:btn_request => "Request merge",
:btn_add_committer => "Add committer",
:btn_add_committers => "Add committers",
:btn_manage_committers => "Manage committers",
:btn_delete_repo => "Delete repository",
:btn_edit_repo => "Edit repository",
:edit_breadcrumb => "Edit Repository",
:committers => "Committers",
:current_committers => "Committers",
:remove => "Remove",
:clone_breadcrumb => "Clone Repository",
:create_title => lambda { |this, clone, project|
"Create a clone of #{this.link_to(this.send(:h, clone.name), this.send(:project_repository_path, project, clone) )} <small>in #{this.link_to this.send(:h, project.title), this.send(:project_path, project)}</small>"
},
:edit_group => "Edit/show team members",
:show_group => "Show team members",
:by_teams => "Team clones",
:by_users => "Personal clones",
},
:projects => {
:title => "Projects",
:back => "Back to edit screen",
:hint => %Q{<a href="http://daringfireball.net/projects/markdown/">Markdown</a> and basic html is allowed},
:categories => "Categories",
:delete => "Delete project",
:delete_title => "Please confirm deletion of {{title}}",
:delete_message => "Once you press this button the project will be deleted",
:delete_btn => "YES I am sure I want to delete this project permanently",
:edit => "Edit project",
:edit_breadcrumb => "Edit Project",
:update_title => "Edit project {{link}}",
:new => "New project",
:create_new => "Create a new project",
:popular => "Popular Categories",
:new_breadcrumb => "New Project",
:new_title => "Create a new project",
:new_hint => "After you've created the project you'll have the option of adding one or more repositories to the project.",
:create => "Create project",
:labels => "Labels",
:license => "License",
:owner => "Owner",
:created => "Created",
:website => "Website at ",
:mailing => "Mailinglist at ",
:bugtracker => "Bugtracker at ",
:repos => "Repositories",
:repository_clones => "Repository clones",
:no_clones_yet => "No clones on Gitorious yet of this project",
:project_members => "Project members",
:add_repository => "Add repository",
:edit_oauth_settings => 'Edit contribution settings',
:add_repository_breadcrumb => "Add Repository",
:edit_slug_title => 'Edit the slug (for URLs etc.)',
:edit_slug_disclaimer => 'Please note that by changing the slug <strong>all URLs, including git URLs, will be changed</strong>',
:update_slug => 'Update slug',
:merge_request_states_hint => 'Each line should contain one status tag that can be selected for merge requests in this project'
},
:merges => {
:info => {
:target_repos => "The one you wish this repository should be merged with",
:target_branch => "The target branch you wish your changes to be merged into",
:source_branch => "The source branch you wish the target repository should merge from",
:proposal => "A short summary of your changes",
},
:summary_title => "{{source}} has requested a merge with {{target}}",
:review => "Review merge request →",
:page_title => "Merge requests in {{repo}}",
:hint => %Q{A "merge request" is a notification from one repository to another that would like their changes to be merged upstream.},
:no_merge => "No merge requests yet",
:create_title => "Create a merge request",
:create_btn => "Create merge request",
:show_title => "Reviewing merge request {{source}} → {{target}}",
:update_btn => "Update merge request",
:delete_btn => 'Delete merge request',
:help => "One way to merge in these changes is to pull them into a local " +
"branch for review, verifying the changes and then merge to back " +
"to master. Your project may or may not use another method for " +
"integrating merge requests.",
:help_for_owners => lambda{|edit_link| "To make updates to your merge requests," +
"you can either edit it from <a href='#{edit_link}'>this link</a> or push your changes through git. "+
"Either way, a new version of your merge request will be created, up until the last commit you push. " +
"You may make as many updates as you like; the last one will always be displayed by default."},
:example => "Show example workflow",
:commits_to_merged => "Commits that would be merged",
:commits => "Commits",
:reopen_btn => 'Reopen merge request',
},
:committers => {
:title => "Give a user commit rights to {{repo}}",
:login => "Existing username <small>(search-as-you-type)</small>",
:add => "Add as committer",
},
:common => {
:confirm => "Are you sure?",
:create => "Create",
:creating => "Creating",
:editing => "Editing",
:edit => "Edit",
:save => "Save",
:delete => "delete",
:add => "Add",
:yes => "Yes",
:no => "No",
:back => "Back",
:signup => 'Sign up',
:toggle => "Toggle",
:none => "none",
:update => "Update",
:cancel => "cancel",
:or => "or",
:remove => "remove",
:format_using_markdown => %Q(Use {{markdown}} for formatting),
:markdown_format_with_help => %Q(Format pages using <a href="#markdown-help" onclick="$$('.markdown_help')[0].toggle();return false>Markdown</a>"),
},
:pages => {
:page => "page",
:last_edited_by => "Last edited by {{link_or_name}}",
:or_back_to_page => "or return to {{page_link}}",
:history => "History",
:last_n_edits => "Last {{n}} edits on {{title}}",
:index => "Pages index",
:format_using_markdown => %Q(Format pages using {{markdown}}),
:wikiwords_syntax => "[[Wikilink]] will be linked to a page of that name."
},
:memberships => {
:add_new_member => "Add new member",
:role => "Role",
:header_title => "Members in {{group_name}}",
:new_title => "Add new member to {{group_memberships}}",
},
:groups => {
:create_team => "Create a new team",
:update_team => 'Update a team',
:team_name => "Team name",
:project_name => "Project name",
:create_team_submit => "Create team",
:update_team_submit => 'Update team',
:teams => "Teams",
:member_singular => "member",
:member_plural => "members",
:repo_singular => "repository",
:repo_plural => "repositories",
:new_team_after_create_hint => "You can add more members to the team after you've created it",
:edit_memberships => "Edit memberships",
:edit_team => 'Edit team',
:description => 'Team description',
:avatar => 'Team image/logo:'
},
:committerships => {
:add_new => "Add committers",
:title => "Users & teams with commit rights to {{repo_name}}",
:committer_name => "Committer",
:group_name => "Team name",
:user_login => "Username",
:add_user => "Add a user",
:add_team => "Add a team",
:new_title => "Add a user or team as committers to {{repo_name}}",
:btn_add_as_committer => "Add as committers",
:return_to => "return to",
:or_return_to => "or return to",
:add_tema_note => "<strong>Note</strong> that adding a team will give
everyone in that team commit rights to your repository",
},
:aliases => {
:aliases_title => "Aliases",
:new_alias => "New alias",
:new_alias_breadcrumb => "New Alias",
:manage_aliases => "Manage aliases"
},
:messages => {
:collection_title => "Messages",
:title_new => "Compose a message",
:subject => "Subject",
:body => "Message body",
:recipient => "Choose one or more recipients, separate with comma",
:submit => "Send message",
:index_message => "Inbox",
:reply => "Reply",
:received_messages => "Inbox",
:all_messages => 'Archive',
:sent_messages => "Sent messages",
:new => "Compose a message",
:mark_as_read => "Mark as read"
}
},
:date => {
:formats => {
:long_ordinal => lambda { |date| "%B #{date.day.ordinalize}, %Y" },
:default => "%Y-%m-%d",
:short => "%e %b",
:long => "%B %e, %Y",
:only_day => "%e",
},
:day_names => %w(Sunday Monday Tuesday Wednesday Thursday Friday Saturday),
:abbr_day_names => %w(Sun Mon Tue Wed Thu Fri Sat),
:month_names => [nil] + %w(January February March April May June July August September October November December),
:abbr_month_names => [nil] + %w(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec),
:order => [ :year, :month, :day ],
},
:time => {
:formats => {
:long_ordinal => lambda { |time| "%B #{time.day.ordinalize}, %Y %H:%M" },
:default => "%a %b %d %H:%M:%S %Z %Y",
:time => "%H:%M",
:short => "%d %b %H:%M",
:long => "%B %d, %Y %H:%M",
:only_second => "%S",
:human => "%A %B %d %Y",
:short_time => "%H:%M",
:datetime => {
:formats => {
:default => "%Y-%m-%dT%H:%M:%S%Z",
},
},
},
:time_with_zone => {
:formats => {
:default => lambda { |time| "%Y-%m-%d %H:%M:%S #{time.formatted_offset(false, 'UTC')}" }
},
},
:am => 'AM',
:pm => 'PM',
},
:activerecord => {
:models => {
:comment => "Comment",
:event => "Event",
:group => "Team",
:membership => "Membership",
:merge_request => "Merge Request",
:project => "Project",
:repository => "Repository",
:role => "Role",
:ssh_key => "SSH Key",
:tags => "Category",
:user => "User",
},
:attributes => {
:user => {
:login => "Login",
:email => "Email",
:current_password => "Current Password",
:password => "Password",
:password_confirmation => "Password Confirmation",
:created_at => "Created At",
:updated_at => "Updated At",
:activation_code => "Activation Code",
:activated_at => "Activated At",
:fullname => "Full name",
:url => "Url",
:public_email => "Show email in public?"
},
:merge_request => {
:target_repository_id => "Target Repository",
:proposal => "Proposal",
:source_branch => "Source Branch",
:target_branch => "Target Branch",
},
:project => {
:title => "Title",
:description => "Description (obligatory)",
:slug => "Slug (for urls etc)",
:license => "License",
:home_url => "Home URL (if any)",
:mailinglist_url => "Mailinglist URL (if any)",
:bugtracker_url => "Bugtracker URL (if any)",
:wiki_enabled => "Should the wiki be enabled?",
:tag_list => "Categories (space separated)",
:merge_request_states => 'Merge request states',
},
:comment => {
:body => "Body",
},
:repository => {
:name => "Name",
:ready => "Ready",
:wiki_permissions => "Wiki permissions",
},
:keys => {
:key => "Key",
:ready => "Ready",
},
:roles => {
:name => "Role"
},
:memberships => {
:created_at => "Created at"
},
:committerships => {
:created_at => "Created at",
:committer => "committer",
:committer_type => "Committer type",
:repository => "Repository",
:creator => "Added by",
}
},
}
}
}