1
|
|
|
// translations for English |
2
|
|
|
|
3
|
|
|
export default { |
4
|
|
|
content: { |
5
|
|
|
words: { |
6
|
|
|
animation: "animation", |
7
|
|
|
fade: "fade", |
8
|
|
|
bounce: "bounce", |
9
|
|
|
submit: "submit", |
10
|
|
|
reset: "Reset", |
11
|
|
|
continue: "continue", |
12
|
|
|
proceed: "continue", |
13
|
|
|
dismiss: "dismiss", |
14
|
|
|
source_code: "Source Code" |
15
|
|
|
}, |
16
|
|
|
titles: { |
17
|
|
|
method_usage: "Usage as a method", |
18
|
|
|
directive_usage: "Usage as a directive", |
19
|
|
|
confirmation_types: "Confirmation types", |
20
|
|
|
}, |
21
|
|
|
descriptions: { |
22
|
|
|
confirmation_types: { |
23
|
|
|
1: "Sometimes, you may want to be more strict by making sure a user really wants to proceed.", |
24
|
|
|
2: "The SOFT and HARD confirmation dialogs helps with that." |
25
|
|
|
}, |
26
|
|
|
}, |
27
|
|
|
examples: { |
28
|
|
|
method_usage: { |
29
|
|
|
1: "Alert Dialog - one button", |
30
|
|
|
2: "Html Dialog - style/format content", |
31
|
|
|
3: "Basic confirm - close instantly", |
32
|
|
|
4: "Loading Dialog - Useful with ajax", |
33
|
|
|
5: "Reversed Dialog - switch buttons", |
34
|
|
|
6: "Fade Dialog - Animation", |
35
|
|
|
7: "Bounce Dialog - Animation", |
36
|
|
|
8: 'Close when clicking outside dialog' |
37
|
|
|
}, |
38
|
|
|
directive_usage: { |
39
|
|
|
1: "Give it a string", |
40
|
|
|
2: "Go to example.com", |
41
|
|
|
3: "Give it an object v-confirm=\"messageAndCallback\"" |
42
|
|
|
}, |
43
|
|
|
confirmation_types: { |
44
|
|
|
1: "Soft confirm - multiple clicks required", |
45
|
|
|
2: "Hard confirm - verification text required" |
46
|
|
|
} |
47
|
|
|
} |
48
|
|
|
}, |
49
|
|
|
|
50
|
|
|
messages: { |
51
|
|
|
alert: 'This is an alert dialog. Click the button below to close.', |
52
|
|
|
html: `This dialog has <b class="dg-highlight-1">HTML</b> enabled. Click the button below to close.`, |
53
|
|
|
basic: 'This is a basic confirmation dialog. Clicking on either button dismisses the dialog instantly', |
54
|
|
|
soft: 'This is a soft confirmation dialog. Multiple clicks required to proceed.', |
55
|
|
|
hard: `This is a hard confirmation dialog. User\'s input must match <span class="dg-highlight-1">verification</span> <span class="dg-highlight-1">text</span> in order to proceed.`, |
56
|
|
|
loading: `This is a loading dialog. The loader will start once you Click on Proceed button`, |
57
|
|
|
reverse: `Left button is the Proceed button in this dialog. Click to have a feel of the reverse buttons`, |
58
|
|
|
click_continue: `You clicked continue`, |
59
|
|
|
click_cancel: `Closed because cancel was clicked`, |
60
|
|
|
loading_completed: `If you see me, then the loader has completed`, |
61
|
|
|
loading_canceled: `You clicked cancel, so there was no loading`, |
62
|
|
|
directive_object: "This dialog was also triggered using a v-confirm directive. It has both OK and CANCEL callback", |
63
|
|
|
directive_string: 'This is a message.', |
64
|
|
|
directive_link: 'This will take you to "http://example.com". Proceed with caution', |
65
|
|
|
form_reset: 'Changes would be discarded. Reset this form?', |
66
|
|
|
form_submit: 'Submit this form?', |
67
|
|
|
empty_name: "The name field is empty" |
68
|
|
|
}, |
69
|
|
|
placeholders: { |
70
|
|
|
your_name: "Your name" |
71
|
|
|
} |
72
|
|
|
} |