blob: 8d2af67ef1bb32a116afdce5d0ad0dcceefb65a2 (
plain)
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
|
en:
support_tickets: "Support"
# translations used in the layout views or @title
layouts:
# fallback for all translations of "tickets" nested below:
tickets: "Tickets"
title:
tickets: "Tickets"
header:
tickets: "Tickets"
navigation:
tickets: "Support Tickets"
# Translations used in the views inside the tickets directory
tickets:
# If these do not exist they will be looked up in the global scope.
all: "All Tickets"
open: "Open Tickets"
closed: "Closed Tickets"
new: "New Ticket"
created: "Created at"
updated: "Updated at"
subject: "couchrest.models.tickets.attributes.subject"
status:
open: "Open"
closed: "Closed"
action:
open: "Open"
close: "Close"
confirm:
destroy:
are_you_sure: "Are you sure you want to destroy this ticket?"
# If you want to be more specific you can use the partial as a scope:
tabs:
all: "All Tickets"
open: "Open Tickets"
closed: "Closed Tickets"
index:
none: "No tickets have been found."
voices: "Voices"
destroy: "Destroy"
post_reply: "Post Reply"
reply_and_close: "Reply and Close"
access_ticket_text: >
You can later access this ticket at the URL %{full_url}. You might want to bookmark this page to find it again.
Anybody with this URL will be able to access this ticket, so if you are on a shared computer you might want to
remove it from the browser history.
# rails i18n
helpers:
# translations used for submit buttons. simple form picks these up
submit:
ticket:
create: "Submit Ticket"
update: "Update Ticket"
# translations for the model and its attributes
# serve as fallback for simpleform labels
couchrest:
models:
ticket: "Ticket"
ticket_comment: "Comment"
attributes:
ticket:
# these will fallback to translations in the "attributes" scope
subject: "Subject"
email: "Email"
regarding_user: "Regarding User"
regarding_account: "Regarding Account"
is_open: "Status"
ticket_comment:
body: "Description"
private: "private"
simple_form:
# labels next to the field
labels:
# these will fallback to the human_name translations of the model
ticket:
# these will fallback to translations in "simple_form.labels.defaults"
regarding_:
# you can be specific about translations for a given action:
#edit:
# regaring_user:
email: "Email"
comments:
# these will fall back to "simple_form.labels.comments"
body: "Description"
# comments: ~
options:
ticket:
is_open:
"true": "Open"
"false": "Closed"
# mouse over hints for the given fields
hints:
ticket:
email: "Please provide an email address so we can get back to you."
# these will fallback to translations in "simple_form.hints.defaults"
# placeholders inside the fields before anything was typed
#placeholders:
# ticket: ~
# these will fallback to translations in "simple_form.placeholders.defaults"
# these are generic defaults. They should be moved into the toplevel
# attributes:
#simple_form:
#labels:
# defaults:
|