active_scaffold_vho 3.0.26 → 3.0.27
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +42 -0
- data/Gemfile +1 -10
- data/Gemfile.lock +78 -10
- data/Rakefile +19 -17
- data/active_scaffold_vho.gemspec +14 -324
- data/frontends/default/javascripts/jquery/active_scaffold.js +23 -13
- data/frontends/default/javascripts/prototype/active_scaffold.js +22 -14
- data/frontends/default/stylesheets/stylesheet.css +1 -1
- data/frontends/default/views/_list.html.erb +2 -1
- data/frontends/default/views/_list_messages.html.erb +2 -2
- data/frontends/default/views/_list_pagination.html.erb +3 -6
- data/frontends/default/views/_list_record_columns.html.erb +1 -1
- data/lib/active_scaffold/actions/list.rb +7 -6
- data/lib/active_scaffold/active_record_permissions.rb +25 -0
- data/lib/active_scaffold/attribute_params.rb +5 -2
- data/lib/active_scaffold/bridges/shared/date_bridge.rb +3 -3
- data/lib/active_scaffold/bridges/tiny_mce/public/javascripts/prototype/tiny_mce_bridge.js +1 -1
- data/lib/active_scaffold/config/core.rb +8 -1
- data/lib/active_scaffold/config/field_search.rb +22 -1
- data/lib/active_scaffold/data_structures/column.rb +19 -2
- data/lib/active_scaffold/finder.rb +19 -30
- data/lib/active_scaffold/helpers/human_condition_helpers.rb +4 -2
- data/lib/active_scaffold/helpers/list_column_helpers.rb +9 -2
- data/lib/active_scaffold/locale/de.yml +118 -0
- data/lib/active_scaffold/locale/en.yml +115 -0
- data/lib/active_scaffold/version.rb +1 -1
- data/lib/active_scaffold.rb +0 -1
- data/test/mock_app/public/stylesheets/active_scaffold/default/stylesheet.css +1 -1
- metadata +102 -62
- data/lib/active_scaffold/locale/de.rb +0 -120
- data/lib/active_scaffold/locale/en.rb +0 -119
@@ -1,119 +0,0 @@
|
|
1
|
-
{
|
2
|
-
:'en' => {
|
3
|
-
:active_scaffold => {
|
4
|
-
:add => 'Add',
|
5
|
-
:add_existing => 'Add Existing',
|
6
|
-
:add_existing_model => 'Add Existing %{model}',
|
7
|
-
:are_you_sure_to_delete => 'Are you sure you want to delete %{label}?',
|
8
|
-
:cancel => 'Cancel',
|
9
|
-
:click_to_edit => 'Click to edit',
|
10
|
-
:click_to_reset => 'Click to reset',
|
11
|
-
:close => 'Close',
|
12
|
-
:config_list => 'Configure',
|
13
|
-
:config_list_model => 'Configure Columns for %{model}',
|
14
|
-
:create => 'Create',
|
15
|
-
:create_model => 'Create %{model}',
|
16
|
-
:create_another => 'Create Another %{model}',
|
17
|
-
:created_model => 'Created %{model}',
|
18
|
-
:create_new => 'Create New',
|
19
|
-
:customize => 'Customize',
|
20
|
-
:delete => 'Delete',
|
21
|
-
:deleted_model => 'Deleted %{model}',
|
22
|
-
:delimiter => 'Delimiter',
|
23
|
-
:download => 'Download',
|
24
|
-
:edit => 'Edit',
|
25
|
-
:export => 'Export',
|
26
|
-
:nested_for_model => '%{nested_model} for %{parent_model}',
|
27
|
-
:nested_of_model => '%{nested_model} of %{parent_model}',
|
28
|
-
:false => 'False',
|
29
|
-
:filtered => '(Filtered)',
|
30
|
-
:found => 'Found',
|
31
|
-
:hide => 'Hide',
|
32
|
-
:live_search => 'Live Search',
|
33
|
-
:loading => 'Loading…',
|
34
|
-
:next => 'Next',
|
35
|
-
:no_entries => 'No Entries',
|
36
|
-
:no_options => 'no options',
|
37
|
-
:omit_header => 'Omit Header',
|
38
|
-
:options => 'Options',
|
39
|
-
:pdf => 'PDF',
|
40
|
-
:previous => 'Previous',
|
41
|
-
:print => 'Print',
|
42
|
-
:refresh => 'Refresh',
|
43
|
-
:remove => 'Remove',
|
44
|
-
:remove_file => 'Remove or Replace file',
|
45
|
-
:replace_with_new => 'Replace With New',
|
46
|
-
:revisions_for_model => 'Revisions for %{model}',
|
47
|
-
:reset => 'Reset',
|
48
|
-
:saving => 'Saving…',
|
49
|
-
:search => 'Search',
|
50
|
-
:search_terms => 'Search Terms',
|
51
|
-
:_select_ => '- select -',
|
52
|
-
:show => 'Show',
|
53
|
-
:show_model => 'Show %{model}',
|
54
|
-
:_to_ => ' to ',
|
55
|
-
:true => 'True',
|
56
|
-
:update => 'Update',
|
57
|
-
:update_model => 'Update %{model}',
|
58
|
-
:updated_model => 'Updated %{model}',
|
59
|
-
:'=' => '=',
|
60
|
-
:'>=' => '>=',
|
61
|
-
:'<=' => '<=',
|
62
|
-
:'>' => '>',
|
63
|
-
:'<' => '<',
|
64
|
-
:'!=' => '!=',
|
65
|
-
:between => 'Between',
|
66
|
-
:contains => 'Contains',
|
67
|
-
:begins_with => 'Begins with',
|
68
|
-
:ends_with => 'Ends with',
|
69
|
-
:today => 'Today',
|
70
|
-
:yesterday => 'Yesterday',
|
71
|
-
:tomorrow => 'Tommorrow',
|
72
|
-
:this_week => 'This Week',
|
73
|
-
:prev_week => 'Last Week',
|
74
|
-
:next_week => 'Next Week',
|
75
|
-
:this_month => 'This Month',
|
76
|
-
:prev_month => 'Last Month',
|
77
|
-
:next_month => 'Next Month',
|
78
|
-
:this_year => 'This Year',
|
79
|
-
:prev_year => 'Last Year',
|
80
|
-
:next_year => 'Next Year',
|
81
|
-
:past => 'Past',
|
82
|
-
:future => 'Future',
|
83
|
-
:range => 'Range',
|
84
|
-
:seconds => 'Seconds',
|
85
|
-
:minutes => 'Minutes',
|
86
|
-
:hours => 'Hours',
|
87
|
-
:days => 'Days',
|
88
|
-
:weeks => 'Weeks',
|
89
|
-
:months => 'Months',
|
90
|
-
:years => 'Years',
|
91
|
-
:optional_attributes => 'Further Options',
|
92
|
-
:null => 'Null',
|
93
|
-
:not_null => 'Not Null',
|
94
|
-
:date_picker_options => {
|
95
|
-
:weekHeader => 'Wk',
|
96
|
-
:firstDay => 0,
|
97
|
-
:isRTL => false,
|
98
|
-
:showMonthAfterYear => false
|
99
|
-
},
|
100
|
-
:datetime_picker_options => {
|
101
|
-
},
|
102
|
-
:errors => {
|
103
|
-
:template => {
|
104
|
-
:header => {
|
105
|
-
:one => "1 error prohibited this %{model} from being saved.",
|
106
|
-
:other => "%{count} errors prohibited this %{model} from being saved"
|
107
|
-
},
|
108
|
-
:body => "There were problems with the following fields:"
|
109
|
-
}
|
110
|
-
},
|
111
|
-
# error_messages
|
112
|
-
:cant_destroy_record => "%{record} can't be destroyed",
|
113
|
-
:internal_error => 'Request Failed (code 500, Internal Error)',
|
114
|
-
:version_inconsistency => 'Version inconsistency - this record has been modified since you started editing it.',
|
115
|
-
:record_not_saved => 'Failed to save record cause of an unknown error',
|
116
|
-
:no_authorization_for_action => "No Authorization for action %{action}"
|
117
|
-
}
|
118
|
-
}
|
119
|
-
}
|