refinerycms 0.9.7.7 → 0.9.7.8
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -3
- data/Gemfile +11 -7
- data/Rakefile +1 -1
- data/bin/refinerycms +10 -2
- data/changelog.md +11 -0
- data/config/amazon_s3.yml.example +2 -2
- data/config/cucumber.yml +3 -3
- data/config/environments/cucumber.rb +0 -4
- data/config/environments/production.rb +2 -2
- data/config/rackspace_cloudfiles.yml.example +10 -9
- data/features/refinery/dashboard.feature +1 -1
- data/features/step_definitions/refinery/core_steps.rb +51 -0
- data/features/step_definitions/web_steps.rb +0 -52
- data/features/support/env.rb +76 -52
- data/lib/gemspec.rb +1 -1
- data/lib/tasks/cucumber.rake +3 -3
- data/public/javascripts/jquery/jquery.html5-placeholder-shim.js +7 -2
- data/public/javascripts/refinery/admin.js +8 -3
- data/readme.md +30 -127
- data/todo.md +4 -11
- data/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb +1 -1
- data/vendor/plugins/attachment_fu/test/database.yml +2 -2
- data/vendor/plugins/authentication/app/views/admin/users/_form.html.erb +10 -3
- data/vendor/plugins/authentication/app/views/admin/users/_user.html.erb +2 -1
- data/vendor/plugins/authentication/config/locales/nb.yml +44 -44
- data/vendor/plugins/dashboard/config/locales/nb.yml +10 -7
- data/vendor/plugins/images/app/helpers/admin/images_helper.rb +1 -1
- data/vendor/plugins/images/app/views/admin/images/_form.html.erb +14 -7
- data/vendor/plugins/images/app/views/admin/images/_grid_view.html.erb +2 -1
- data/vendor/plugins/images/app/views/admin/images/_list_view_image.html.erb +2 -1
- data/vendor/plugins/images/config/locales/da.yml +4 -6
- data/vendor/plugins/images/config/locales/de.yml +4 -6
- data/vendor/plugins/images/config/locales/en.yml +4 -6
- data/vendor/plugins/images/config/locales/es.yml +4 -6
- data/vendor/plugins/images/config/locales/fr.yml +4 -6
- data/vendor/plugins/images/config/locales/it.yml +4 -6
- data/vendor/plugins/images/config/locales/nb.yml +22 -19
- data/vendor/plugins/images/config/locales/nl.yml +4 -6
- data/vendor/plugins/images/config/locales/pt-BR.yml +4 -6
- data/vendor/plugins/images/config/locales/sl.yml +4 -6
- data/vendor/plugins/inquiries/config/locales/nb.yml +35 -25
- data/vendor/plugins/model_translations/test/model_translations_test.rb +1 -1
- data/vendor/plugins/pages/app/views/admin/pages/_form.html.erb +19 -4
- data/vendor/plugins/pages/config/locales/nb.yml +71 -29
- data/vendor/plugins/refinery/app/views/shared/_content_page.html.erb +1 -1
- data/vendor/plugins/refinery/app/views/shared/admin/_form_actions.html.erb +6 -4
- data/vendor/plugins/refinery/app/views/shared/admin/_resource_picker.html.erb +1 -1
- data/vendor/plugins/refinery/config/locales/nb.yml +28 -31
- data/vendor/plugins/refinery/lib/generators/refinery/refinery_generator.rb +1 -0
- data/vendor/plugins/refinery/lib/generators/refinery/templates/config/locales/nb.yml +16 -0
- data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb +6 -1
- data/vendor/plugins/refinery/lib/refinery.rb +1 -1
- data/vendor/plugins/refinery/lib/tasks/refinery.rake +65 -7
- data/{lib/refinery → vendor/plugins/refinery/lib}/tasks/refinery.rb +2 -4
- data/vendor/plugins/refinery_settings/app/models/refinery_setting.rb +9 -0
- data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/_form.html.erb +3 -1
- data/vendor/plugins/refinery_settings/config/locales/nb.yml +31 -9
- data/vendor/plugins/resources/app/views/admin/resources/_form.html.erb +3 -1
- data/vendor/plugins/resources/config/locales/nb.yml +8 -7
- metadata +7 -6
- data/lib/refinery/tasks/refinery.rake +0 -59
@@ -36,11 +36,16 @@
|
|
36
36
|
$ol.css(calcPositionCss($(this)));
|
37
37
|
return true;
|
38
38
|
}
|
39
|
+
|
40
|
+
var possible_line_height = {};
|
41
|
+
if( $(this).css('height') != 'auto') {
|
42
|
+
possible_line_height = { lineHeight: $(this).css('height') };
|
43
|
+
}
|
39
44
|
|
40
45
|
var ol = $('<label />')
|
41
46
|
.text($(this).attr('placeholder'))
|
42
47
|
.addClass(config.cls)
|
43
|
-
.css({
|
48
|
+
.css($.extend({
|
44
49
|
position:'absolute',
|
45
50
|
display: 'inline',
|
46
51
|
float:'none',
|
@@ -50,7 +55,7 @@
|
|
50
55
|
color: config.color,
|
51
56
|
cursor: 'text',
|
52
57
|
fontSize: $(this).css('font-size')
|
53
|
-
})
|
58
|
+
}, possible_line_height))
|
54
59
|
.css(calcPositionCss(this))
|
55
60
|
.attr('for', this.id)
|
56
61
|
.data('target',$(this))
|
@@ -78,7 +78,13 @@ init_interface = function() {
|
|
78
78
|
|
79
79
|
init_delete_confirmations = function() {
|
80
80
|
$('a.confirm-delete').click(function(e) {
|
81
|
-
if (
|
81
|
+
if ((confirmation = $(this).attr('data-confirm')) == null || confirmation.length == 0) {
|
82
|
+
if ((title = ($(this).attr('title') || $(this).attr('tooltip'))) == null || title.length == 0) {
|
83
|
+
title = "Remove this forever";
|
84
|
+
}
|
85
|
+
confirmation = "Are you sure you want to " + title[0].toLowerCase() + title.substring(1) + "?";
|
86
|
+
}
|
87
|
+
if (confirm(confirmation))
|
82
88
|
{
|
83
89
|
$("<form method='POST' action='" + $(this).attr('href') + "'></form>")
|
84
90
|
.append("<input type='hidden' name='_method' value='delete' />")
|
@@ -99,8 +105,7 @@ init_flash_messages = function(){
|
|
99
105
|
}
|
100
106
|
|
101
107
|
init_modal_dialogs = function(){
|
102
|
-
$('a[href*="dialog=true"]').not('#dialog_container a').each(function(i, anchor)
|
103
|
-
{
|
108
|
+
$('a[href*="dialog=true"]').not('#dialog_container a').each(function(i, anchor) {
|
104
109
|
$(anchor).data({
|
105
110
|
'dialog-width': parseInt($(anchor.href.match("width=([0-9]*)")).last().get(0), 928)||928
|
106
111
|
, 'dialog-height': parseInt($(anchor.href.match("height=([0-9]*)")).last().get(0), 473)||473
|
data/readme.md
CHANGED
@@ -1,25 +1,19 @@
|
|
1
1
|
# Refinery CMS
|
2
2
|
|
3
|
-
__An open source Ruby on Rails content management system
|
4
|
-
|
5
|
-
## Demo Site
|
6
|
-
|
7
|
-
* [Front end live demo ](http://demo.refinerycms.com)
|
8
|
-
* [Back end live demo ](http://demo.refinerycms.com/admin)
|
9
|
-
|
10
|
-
For more screenshots, example sites & high level information: [http://refinerycms.com](http://refinerycms.com)
|
3
|
+
__An open source Ruby on Rails content management system.__ More information at [http://refinerycms.com](http://refinerycms.com)
|
11
4
|
|
12
5
|
![Refinery Dashboard](http://refinerycms.com/system/images/0000/0576/dashboard.png)
|
13
6
|
|
14
|
-
|
7
|
+
Wanna see Refinery for yourself? [Try the demo](http://demo.refinerycms.com/refinery)
|
8
|
+
|
9
|
+
## What's it good at?
|
15
10
|
|
16
|
-
__Refinery is great for
|
11
|
+
__Refinery is great for sites where the client needs to be able to update their website themselves__ without being bombarded with anything too complicated.
|
17
12
|
|
18
|
-
Unlike other content managers, Refinery is truly
|
13
|
+
Unlike other content managers, Refinery is truly __aimed at the end user__ making it easy for them to pick up and make changes themselves.
|
19
14
|
|
20
15
|
### For developers
|
21
16
|
|
22
|
-
* Allows you to get a small business site completed __ridiculously quickly__
|
23
17
|
* Easily __[Theme and customise](http://github.com/resolve/refinerycms/blob/master/vendor/plugins/themes/readme.md)__ the look to suit the business
|
24
18
|
* __[Extend with custom plugins](http://github.com/resolve/refinerycms/blob/master/vendor/plugins/refinery/plugins.md)__ to do anything Refinery doesn't do out of the box
|
25
19
|
* Sticks to __"the Rails way"__ as much as possible. We don't force you to learn new templating languages.
|
@@ -29,121 +23,35 @@ Unlike other content managers, Refinery is truly aimed at the end user making it
|
|
29
23
|
|
30
24
|
Refinery's gem requirements are:
|
31
25
|
|
32
|
-
* [acts_as_indexed = 0.6.
|
33
|
-
* [authlogic
|
34
|
-
* [friendly_id
|
35
|
-
* [rails
|
36
|
-
* [rmagick ~> 2.12.
|
26
|
+
* [acts_as_indexed = 0.6.3](http://github.com/parndt/acts_as_indexed)
|
27
|
+
* [authlogic = 2.1.5](http://rubygems.org/gems/authlogic)
|
28
|
+
* [friendly_id = 3.0.6](http://rubygems.org/gems/friendly_id)
|
29
|
+
* [rails = 2.3.8](http://rubygems.org/gems/rails)
|
30
|
+
* [rmagick ~> 2.12.0](http://rubygems.org/gems/rmagick)
|
37
31
|
* [truncate_html = 0.3.2](http://rubygems.org/gems/truncate_html)
|
38
|
-
* [will_paginate
|
32
|
+
* [will_paginate = 2.3.14](http://rubygems.org/gems/will_paginate)
|
39
33
|
|
40
|
-
|
34
|
+
Other dependencies
|
41
35
|
|
42
36
|
* [RMagick](http://github.com/rmagick/rmagick) - [Install docs](http://rmagick.rubyforge.org/install-faq.html) or for
|
43
|
-
Mac OS 10.5
|
44
|
-
|
45
|
-
## Installing and Setting Up Refinery
|
46
|
-
|
47
|
-
### 1. Get the Refinery code
|
48
|
-
|
49
|
-
#### Install the Gem
|
50
|
-
|
51
|
-
gem install refinerycms
|
52
|
-
refinery path/to/project
|
53
|
-
|
54
|
-
#### Or, clone Refinery's GIT repository
|
55
|
-
|
56
|
-
The git repository is where all of the changes are made when any new code is written or existing code is updated. For this reason it is often better to use the gem or to checkout a particular tag (the latest is usually considered the most stable). So unless you want to use the latest code, checkout the latest tag by replacing 0.9.X.XX below with the appropriate version:
|
57
|
-
|
58
|
-
git clone git://github.com/resolve/refinerycms.git mynewsite.com
|
59
|
-
cd ./mynewsite.com
|
60
|
-
git checkout 0.9.X.XX
|
61
|
-
git remote rm origin
|
62
|
-
git remote add origin git@github.com:you/yournewsite.git
|
63
|
-
mv ./config/database.yml.example ./config/database.yml
|
64
|
-
|
65
|
-
### 2. Configuration
|
66
|
-
|
67
|
-
Firstly, edit ``config/database.yml`` to reflect your database server details.
|
68
|
-
|
69
|
-
Next you'll need to install bundler if you don't have it already:
|
70
|
-
|
71
|
-
gem install bundler
|
72
|
-
|
73
|
-
Now you will need to make sure that you specify the correct database driver and web server.
|
74
|
-
The default choices are mysql and unicorn but to change them open up ``Gemfile`` which is in your application's root directory.
|
75
|
-
You'll see a section like this:
|
76
|
-
|
77
|
-
# Specify the database driver as appropriate for your application (only one).
|
78
|
-
gem 'mysql', :require => 'mysql'
|
79
|
-
#gem 'sqlite3-ruby', :require => 'sqlite3'
|
80
|
-
|
81
|
-
# Specify your favourite web server (only one).
|
82
|
-
gem 'unicorn', :group => :development
|
83
|
-
#gem 'mongrel', :group => :development
|
84
|
-
|
85
|
-
To choose a different driver or web server just comment out the one we've pre-selected and uncomment or write the one you want instead.
|
86
|
-
|
87
|
-
After you have bundler and you've chosen your database driver and web server, you'll need to install the gems that Refinery depends on.
|
88
|
-
You can do this by running:
|
89
|
-
|
90
|
-
bundle install
|
91
|
-
|
92
|
-
Next create your database and fill it with Refinery's default data:
|
93
|
-
|
94
|
-
rake db:setup
|
95
|
-
|
96
|
-
Note: The news engine that was previously in Refinery's core was extracted into a separate gem / plugin to be found here:
|
97
|
-
|
98
|
-
http://github.com/resolve/refinerycms-news
|
37
|
+
Mac OS 10.5+ users [this shell install script](http://github.com/maddox/magick-installer) will be easier.
|
99
38
|
|
100
|
-
|
39
|
+
## How to
|
101
40
|
|
102
|
-
|
41
|
+
* __[Install Refinery](http://tutorials.refinerycms.org/tutorials/how-to-install-refinery)__
|
42
|
+
* [Update Refinery to the latest version](http://tutorials.refinerycms.org/tutorials/how-to-update-refinery-to-the-latest-version)
|
43
|
+
* [Install Refinery on Heroku](http://tutorials.refinerycms.org/tutorials/how-to-install-refinery-on-heroku)
|
44
|
+
* [Run the Refinery test suite](http://tutorials.refinerycms.org/tutorials/how-to-test-refinery)
|
103
45
|
|
104
|
-
|
46
|
+
## Help and Documentation
|
105
47
|
|
106
|
-
|
107
|
-
|
108
|
-
You will be prompted to setup your first user.
|
109
|
-
|
110
|
-
## Help and Developer Documentation
|
111
|
-
|
112
|
-
* [Tutorial Site](http://resolve.github.com/refinerycms)
|
113
|
-
* [Google Group Discussion](http://groups.google.com/group/refinery-cms)
|
114
|
-
* [Developer/API documentation](http://api.refinerycms.org)
|
115
|
-
* [GitHub repository](http://github.com/resolve/refinerycms)
|
116
|
-
* [Developer video - 26 mins](http://refinerycms.com/pages/for-developers)
|
48
|
+
* [Tutorial Site](http://tutorials.refinerycms.org)
|
49
|
+
* [Google Group Discussion](http://group.refinerycms.org)
|
117
50
|
* [IRC Channel](irc://irc.freenode.net/refinerycms)
|
51
|
+
* [GitHub repository](http://github.com/resolve/refinerycms)
|
52
|
+
* [Developer/API documentation](http://api.refinerycms.org)
|
118
53
|
|
119
|
-
##
|
120
|
-
|
121
|
-
If you're using [Heroku](http://heroku.com/) you will want to put
|
122
|
-
|
123
|
-
Refinery.s3_backend = true
|
124
|
-
|
125
|
-
in your ``config/environments/production.rb`` file to make Refinery store files uploaded on Amazon S3.
|
126
|
-
|
127
|
-
## Updating to the latest Refinery
|
128
|
-
|
129
|
-
### When using the gem
|
130
|
-
|
131
|
-
Simply run the command:
|
132
|
-
|
133
|
-
rake refinery:update
|
134
|
-
|
135
|
-
and the up-to-date core files will be copied from the latest gem into your project.
|
136
|
-
|
137
|
-
### When using GIT
|
138
|
-
|
139
|
-
You can update by running these commands:
|
140
|
-
|
141
|
-
git remote add refinerycms git://github.com/resolve/refinerycms.git
|
142
|
-
git pull refinerycms master
|
143
|
-
|
144
|
-
This will pull in all of the updated files in the project and may result in some merge conflicts which you will need to resolve.
|
145
|
-
|
146
|
-
## What comes included with Refinery
|
54
|
+
## Features
|
147
55
|
|
148
56
|
### [Pages](http://github.com/resolve/refinerycms/blob/master/vendor/plugins/pages/readme.md)
|
149
57
|
|
@@ -155,6 +63,7 @@ This will pull in all of the updated files in the project and may result in some
|
|
155
63
|
* Easily upload and insert images
|
156
64
|
* Upload and link to resources such as PDF documents
|
157
65
|
* Uses the popular [attachment_fu](http://github.com/technoweenie/attachment_fu) Rails plugin
|
66
|
+
* Supports storage on Amazon S3
|
158
67
|
|
159
68
|
### [Inquiries](http://github.com/resolve/refinerycms/blob/master/vendor/plugins/inquiries/readme.md)
|
160
69
|
|
@@ -169,7 +78,7 @@ This will pull in all of the updated files in the project and may result in some
|
|
169
78
|
|
170
79
|
### [Dashboard](http://github.com/resolve/refinerycms/blob/master/vendor/plugins/dashboard/readme.md)
|
171
80
|
|
172
|
-
* Get an overview of what has been updated recently
|
81
|
+
* Get an overview of what has been updated recently and see recent inquiries.
|
173
82
|
|
174
83
|
### [Authentication & Users](http://github.com/resolve/refinerycms/blob/master/vendor/plugins/authentication/readme.md)
|
175
84
|
|
@@ -190,19 +99,13 @@ Extend Refinery easily by running the Refinery generator
|
|
190
99
|
|
191
100
|
to get help on how to use that. Or read the full documentation on [writing plugins for Refinery](http://github.com/resolve/refinerycms/blob/master/vendor/plugins/refinery/plugins.md)
|
192
101
|
|
193
|
-
### Run the Tests
|
194
|
-
|
195
|
-
If you have installed Refinery using GIT (described above in step 1 of installing Refinery) then you'll be able to run the tests. At your Rails root run:
|
196
|
-
|
197
|
-
rake test
|
198
|
-
|
199
102
|
### Popular Plugins
|
200
103
|
|
201
104
|
* [Portfolio](http://github.com/resolve/refinerycms-portfolio) - manage groups of images like an image gallery.
|
202
105
|
* [News](http://github.com/resolve/refinerycms-news) - post and manage news items.
|
203
106
|
|
204
|
-
|
107
|
+
[Full plugin list here](http://wiki.github.com/resolve/refinerycms/plugins)
|
205
108
|
|
206
|
-
|
109
|
+
## License
|
207
110
|
|
208
|
-
|
111
|
+
Refinery is released under the [MIT license](http://github.com/resolve/refinerycms/blob/master/license.md) and is copyright (c) 2005-2010 [Resolve Digital Ltd.](http://www.resolvedigital.co.nz)
|
data/todo.md
CHANGED
@@ -7,25 +7,18 @@ What are some of the known things that need to be done?
|
|
7
7
|
* Add unit test coverage for user, user plugin and user mailer
|
8
8
|
* Add unit test coverage for inquiry mailer and inquiry setting
|
9
9
|
* Add functional tests for the whole of Refinery.
|
10
|
+
* Add Cucumber for the whole of Refinery. (MOST IMPORTANT)
|
11
|
+
* Add RSpec for the whole of Refinery.
|
10
12
|
|
11
13
|
# Rails 3.0 Support
|
12
14
|
|
13
15
|
We've started an effort to move to Rails 3.0 - that just needs to be completed.
|
14
16
|
|
15
|
-
#
|
16
|
-
|
17
|
-
We need to have support for build in Refinery field types like "image". So I could run
|
18
|
-
|
19
|
-
./script/generate refinery staff name:string bio:text mugshot:image
|
20
|
-
|
21
|
-
And it will automatically create a form field that pops open the image picker on the staff form.
|
22
|
-
|
23
|
-
There is now a partial to easily call an image picker.
|
17
|
+
Join the IRC channel on freenode.net #refinerycms on August 7th to contribute!
|
24
18
|
|
25
19
|
# I18n support
|
26
20
|
|
27
21
|
* Check all the views for missing translations
|
28
|
-
- Write a small tool that extracts t('.whatever') and check which translation keys are missing, or which keys are not used at all.
|
29
22
|
* Translate models and model attributes used in forms (Rails 2.3.8 supports translation form labels!)
|
30
23
|
* Javascript messages etc:
|
31
|
-
- http://github.com/fnando/i18n-js
|
24
|
+
- http://github.com/fnando/i18n-js
|
@@ -19,7 +19,7 @@ class Test::Unit::TestCase
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
-
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :
|
22
|
+
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
|
23
23
|
|
24
24
|
# AR keeps printing annoying schema statements
|
25
25
|
$stdout = StringIO.new
|
@@ -1,9 +1,9 @@
|
|
1
1
|
sqlite:
|
2
2
|
:adapter: sqlite
|
3
|
-
:
|
3
|
+
:database: attachment_fu_plugin.sqlite
|
4
4
|
sqlite3:
|
5
5
|
:adapter: sqlite3
|
6
|
-
:
|
6
|
+
:database: attachment_fu_plugin.sqlite3
|
7
7
|
postgresql:
|
8
8
|
:adapter: postgresql
|
9
9
|
:username: postgres
|
@@ -10,12 +10,12 @@
|
|
10
10
|
</div>
|
11
11
|
<div class='field'>
|
12
12
|
<%= f.label :password %>
|
13
|
-
<%= f.password_field :password %>
|
13
|
+
<%= f.password_field :password, :autocomplete => 'off' %>
|
14
14
|
<%= "<br /><span class='preview'>#{t('.blank_password_keeps_current')}</span>" unless @user.new_record? %>
|
15
15
|
</div>
|
16
16
|
<div class='field'>
|
17
17
|
<%= f.label :password_confirmation %>
|
18
|
-
<%= f.password_field :password_confirmation %>
|
18
|
+
<%= f.password_field :password_confirmation, :autocomplete => 'off' %>
|
19
19
|
</div>
|
20
20
|
<div class='field plugin_access'>
|
21
21
|
<span class='label_with_help'>
|
@@ -42,7 +42,14 @@
|
|
42
42
|
<% end %>
|
43
43
|
</ul>
|
44
44
|
</div>
|
45
|
-
<%= render :partial => "/shared/admin/form_actions",
|
45
|
+
<%= render :partial => "/shared/admin/form_actions",
|
46
|
+
:locals => {
|
47
|
+
:f => f,
|
48
|
+
:continue_editing => false,
|
49
|
+
:hide_delete => !current_user.can_delete?(@user),
|
50
|
+
:delete_title => t('admin.users.user.confirm_delete_title'),
|
51
|
+
:delete_confirmation => t('admin.users.user.confirm_delete_message', :who => @user.login)
|
52
|
+
} %>
|
46
53
|
<% end %>
|
47
54
|
|
48
55
|
<% content_for :head do %>
|
@@ -8,7 +8,8 @@
|
|
8
8
|
<span class='actions'>
|
9
9
|
<%= link_to refinery_icon_tag('delete.png'), admin_user_path(user),
|
10
10
|
:class => "cancel confirm-delete",
|
11
|
-
:title => t('.confirm_delete_title')
|
11
|
+
:title => t('.confirm_delete_title'),
|
12
|
+
:'data-confirm' => t('.confirm_delete_message', :who => user.login) if current_user.can_delete?(user) %>
|
12
13
|
<%= link_to refinery_icon_tag('application_edit.png'), edit_admin_user_path(user),
|
13
14
|
:title => t('.edit_user')%>
|
14
15
|
<%= mail_to user.email, refinery_icon_tag('email_go.png'),
|
@@ -1,80 +1,80 @@
|
|
1
1
|
nb:
|
2
|
+
plugins:
|
3
|
+
refinery_users:
|
4
|
+
title: Brukere
|
2
5
|
admin:
|
3
6
|
users:
|
4
7
|
update:
|
5
|
-
cannot_remove_user_plugin_from_current_user: "Du kan ikke fjerne '
|
8
|
+
cannot_remove_user_plugin_from_current_user: "Du kan ikke fjerne tillegget 'Brukere' når du er logget inn med denne brukeren"
|
6
9
|
form:
|
7
|
-
blank_password_keeps_current:
|
10
|
+
blank_password_keeps_current: La feltet forbli tomt om du ikke ønsker å endre passordet
|
11
|
+
enable_all: merk alle
|
8
12
|
index:
|
9
|
-
create_new_user:
|
10
|
-
no_users_yet:
|
13
|
+
create_new_user: Lag ny bruker
|
14
|
+
no_users_yet: Det er ikke opprettet noen brukere enda. Trykk "Opprett ny bruker" for å legge til din første bruker.
|
11
15
|
user:
|
12
16
|
confirm_delete_message: "Er du sikker på at du ønsker å slette '{{who}}'?"
|
13
|
-
confirm_delete_title: Fjern denne brukeren
|
17
|
+
confirm_delete_title: Fjern denne brukeren permanent
|
14
18
|
edit_user: Rediger denne brukeren
|
15
|
-
email_user: Send
|
19
|
+
email_user: Send en e-post til denne brukeren
|
16
20
|
preview: ({{who}}) opprettet {{created_at}}
|
17
21
|
sessions:
|
18
|
-
login_successful:
|
19
|
-
login_failed: Beklager,
|
20
|
-
logged_out: Du
|
22
|
+
login_successful: Du er logget inn
|
23
|
+
login_failed: "Beklager, passordet eller brukernavnet ditt er feil."
|
24
|
+
logged_out: Du har blitt logget ut.
|
21
25
|
new:
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
password: Passord
|
26
|
-
remember_me: Husk meg
|
27
|
-
or: eller
|
28
|
-
forgot_password: Jeg har glømt passordet mitt
|
29
|
-
hello_please_sign_in: Hei! Vennligst logg inn
|
30
|
-
sign_in: Logg på
|
26
|
+
hello_please_sign_in: "Hei! Vennligst logg inn."
|
27
|
+
sign_in: Logg inn
|
28
|
+
forgot_password: Jeg glemte passordet mitt
|
31
29
|
users:
|
32
|
-
setup_website_name: "Først la oss gi siden et navn. <a href='{{link}}' name='{{title}}'>Gå
|
33
|
-
signup_disabled:
|
30
|
+
setup_website_name: "Først, la oss gi siden et navn. <a href='{{link}}' name='{{title}}'>Gå hit</a> for å endre navnet på websiden din"
|
31
|
+
signup_disabled: Registrering av nye brukere er deaktivert
|
34
32
|
new:
|
35
|
-
fill_form: Fyll ut
|
33
|
+
fill_form: Fyll ut detaljene dine nedenfor slik at vi kan komme i gang.
|
36
34
|
sign_up: Registrer deg
|
37
35
|
create:
|
38
36
|
welcome: Velkommen til Refinery, {{who}}
|
39
|
-
signup_complete: Registrering
|
37
|
+
signup_complete: Registrering komplett!
|
40
38
|
forgot:
|
41
|
-
email_address: E-
|
42
|
-
enter_email_address: Vennligst
|
39
|
+
email_address: E-post Adresse
|
40
|
+
enter_email_address: Vennligst tast inn e-post adressen for din konto.
|
43
41
|
reset_password: Tilbakestill passord
|
44
|
-
blank_email: Du har ikke
|
45
|
-
email_not_associated_with_account: "Beklager, '{{email}}' er ikke
|
46
|
-
email_reset_sent: En e-post har blitt sendt til deg med en
|
42
|
+
blank_email: Du har ikke oppgitt noen e-post adresse.
|
43
|
+
email_not_associated_with_account: "Beklager, '{{email}}' er ikke tilknyttet noen konto.<br/>Er du sikker på at du tastet inn riktig e-post adresse?"
|
44
|
+
email_reset_sent: En e-post har blitt sendt til deg med en lenke for å tilbakestille passordet ditt.
|
47
45
|
reset:
|
48
|
-
code_invalid: "
|
49
|
-
successful: "
|
46
|
+
code_invalid: "Beklager, men denne koden for å tilbakestille passordet har utløpt eller er ugyldig. Om du opplever problemer så kan du forsøker å kopiere og lime inn lenken fra e-posten du mottok, eller start prosessen med å tilbakestille passordet på nytt."
|
47
|
+
successful: "Passordet for {{email}} er nå tilbakestilt"
|
48
|
+
pick_new_password_for: "Velg et nytt passord for {{email}}"
|
49
|
+
reset_password: Tilbakestill passord
|
50
50
|
user_mailer:
|
51
|
-
please_activate: Vennligst
|
51
|
+
please_activate: Vennligst aktivert din nye konto
|
52
52
|
activated: Din konto er nå aktivert!
|
53
|
-
activated_email: "{{who}}, din konto er aktivert. Du kan nå legge til
|
54
|
-
account_created: Din konto er opprettet.
|
53
|
+
activated_email: "{{who}}, din konto er nå aktivert. Du kan nå begynne å legge til tillegg:"
|
54
|
+
account_created: Din konto er nå opprettet.
|
55
55
|
user_name: Brukernavn {{name}}
|
56
56
|
password: Passord {{password}}
|
57
|
-
visit_url: "
|
58
|
-
link_to_reset_your_password: Lenke for å
|
57
|
+
visit_url: "Beskø denne lenken for å aktivere kontoen din:"
|
58
|
+
link_to_reset_your_password: Lenke for å tilbakestille passordet ditt
|
59
59
|
authlogic:
|
60
60
|
error_messages:
|
61
|
-
login_blank: kan ikke være
|
61
|
+
login_blank: kan ikke være blank
|
62
62
|
login_not_found: er ikke gyldig
|
63
|
-
login_invalid:
|
64
|
-
consecutive_failed_logins_limit_exceeded:
|
65
|
-
email_invalid:
|
63
|
+
login_invalid: "burde kun inneholde bokstaver, tall, mellomrom og .-_@."
|
64
|
+
consecutive_failed_logins_limit_exceeded: "Du har overskredet det tillatte antall feilede innlogginger, din konto er deaktivert."
|
65
|
+
email_invalid: burde se ut som en e-post adresse.
|
66
66
|
password_blank: kan ikke være blank
|
67
67
|
password_invalid: er ikke gyldig
|
68
68
|
not_active: Din konto er ikke aktivert
|
69
69
|
not_confirmed: Din konto er ikke bekreftet
|
70
70
|
not_approved: Din konto er ikke godkjent
|
71
|
-
no_authentication_details: Du har ikke
|
71
|
+
no_authentication_details: Du har ikke oppgitt noen innloggingsinformasjon.
|
72
72
|
models:
|
73
73
|
user_session: UserSession
|
74
74
|
attributes:
|
75
75
|
user_session:
|
76
|
-
login:
|
77
|
-
email:
|
78
|
-
password:
|
79
|
-
remember_me:
|
80
|
-
incorrect: "
|
76
|
+
login: Brukernavn
|
77
|
+
email: E-post
|
78
|
+
password: Passord
|
79
|
+
remember_me: Husk meg
|
80
|
+
incorrect: "Beklager, din {{login_field}} eller passord var ikke riktig."
|