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.
Files changed (61) hide show
  1. data/.gitignore +4 -3
  2. data/Gemfile +11 -7
  3. data/Rakefile +1 -1
  4. data/bin/refinerycms +10 -2
  5. data/changelog.md +11 -0
  6. data/config/amazon_s3.yml.example +2 -2
  7. data/config/cucumber.yml +3 -3
  8. data/config/environments/cucumber.rb +0 -4
  9. data/config/environments/production.rb +2 -2
  10. data/config/rackspace_cloudfiles.yml.example +10 -9
  11. data/features/refinery/dashboard.feature +1 -1
  12. data/features/step_definitions/refinery/core_steps.rb +51 -0
  13. data/features/step_definitions/web_steps.rb +0 -52
  14. data/features/support/env.rb +76 -52
  15. data/lib/gemspec.rb +1 -1
  16. data/lib/tasks/cucumber.rake +3 -3
  17. data/public/javascripts/jquery/jquery.html5-placeholder-shim.js +7 -2
  18. data/public/javascripts/refinery/admin.js +8 -3
  19. data/readme.md +30 -127
  20. data/todo.md +4 -11
  21. data/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb +1 -1
  22. data/vendor/plugins/attachment_fu/test/database.yml +2 -2
  23. data/vendor/plugins/authentication/app/views/admin/users/_form.html.erb +10 -3
  24. data/vendor/plugins/authentication/app/views/admin/users/_user.html.erb +2 -1
  25. data/vendor/plugins/authentication/config/locales/nb.yml +44 -44
  26. data/vendor/plugins/dashboard/config/locales/nb.yml +10 -7
  27. data/vendor/plugins/images/app/helpers/admin/images_helper.rb +1 -1
  28. data/vendor/plugins/images/app/views/admin/images/_form.html.erb +14 -7
  29. data/vendor/plugins/images/app/views/admin/images/_grid_view.html.erb +2 -1
  30. data/vendor/plugins/images/app/views/admin/images/_list_view_image.html.erb +2 -1
  31. data/vendor/plugins/images/config/locales/da.yml +4 -6
  32. data/vendor/plugins/images/config/locales/de.yml +4 -6
  33. data/vendor/plugins/images/config/locales/en.yml +4 -6
  34. data/vendor/plugins/images/config/locales/es.yml +4 -6
  35. data/vendor/plugins/images/config/locales/fr.yml +4 -6
  36. data/vendor/plugins/images/config/locales/it.yml +4 -6
  37. data/vendor/plugins/images/config/locales/nb.yml +22 -19
  38. data/vendor/plugins/images/config/locales/nl.yml +4 -6
  39. data/vendor/plugins/images/config/locales/pt-BR.yml +4 -6
  40. data/vendor/plugins/images/config/locales/sl.yml +4 -6
  41. data/vendor/plugins/inquiries/config/locales/nb.yml +35 -25
  42. data/vendor/plugins/model_translations/test/model_translations_test.rb +1 -1
  43. data/vendor/plugins/pages/app/views/admin/pages/_form.html.erb +19 -4
  44. data/vendor/plugins/pages/config/locales/nb.yml +71 -29
  45. data/vendor/plugins/refinery/app/views/shared/_content_page.html.erb +1 -1
  46. data/vendor/plugins/refinery/app/views/shared/admin/_form_actions.html.erb +6 -4
  47. data/vendor/plugins/refinery/app/views/shared/admin/_resource_picker.html.erb +1 -1
  48. data/vendor/plugins/refinery/config/locales/nb.yml +28 -31
  49. data/vendor/plugins/refinery/lib/generators/refinery/refinery_generator.rb +1 -0
  50. data/vendor/plugins/refinery/lib/generators/refinery/templates/config/locales/nb.yml +16 -0
  51. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb +6 -1
  52. data/vendor/plugins/refinery/lib/refinery.rb +1 -1
  53. data/vendor/plugins/refinery/lib/tasks/refinery.rake +65 -7
  54. data/{lib/refinery → vendor/plugins/refinery/lib}/tasks/refinery.rb +2 -4
  55. data/vendor/plugins/refinery_settings/app/models/refinery_setting.rb +9 -0
  56. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/_form.html.erb +3 -1
  57. data/vendor/plugins/refinery_settings/config/locales/nb.yml +31 -9
  58. data/vendor/plugins/resources/app/views/admin/resources/_form.html.erb +3 -1
  59. data/vendor/plugins/resources/config/locales/nb.yml +8 -7
  60. metadata +7 -6
  61. 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 (confirm("Are you sure you want to " + (t=($(this).attr('title') || $(this).attr('tooltip')))[0].toLowerCase() + t.substring(1) + "?"))
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 for small business.__
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
- ## What it's good at?
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 small business sites where the client needs to be able to update their website themselves__ without being bombarded with anything too complicated.
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 aimed at the end user making it easy for them to pick up and make changes themselves.
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.2](http://github.com/parndt/acts_as_indexed)
33
- * [authlogic ~> 2.1.4](http://rubygems.org/gems/authlogic)
34
- * [friendly_id ~> 3.0.4](http://rubygems.org/gems/friendly_id)
35
- * [rails ~> 2.3.6](http://rubygems.org/gems/rails)
36
- * [rmagick ~> 2.12.2](http://rubygems.org/gems/rmagick)
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 ~> 2.3.12](http://rubygems.org/gems/will_paginate)
32
+ * [will_paginate = 2.3.14](http://rubygems.org/gems/will_paginate)
39
33
 
40
- ### Other dependencies
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 or 10.6 users [this shell install script](http://github.com/maddox/magick-installer) will be easier.
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
- Now, news should be up and running.
39
+ ## How to
101
40
 
102
- ### 3. Starting up your site
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
- ruby script/server
46
+ ## Help and Documentation
105
47
 
106
- Now visit [http://localhost:3000](http://localhost:3000) and your Refinery site should be running.
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
- ## Setting Up on Heroku or Using S3 for Storage
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
- ## License
107
+ [Full plugin list here](http://wiki.github.com/resolve/refinerycms/plugins)
205
108
 
206
- Refinery is released under the MIT license and is copyright (c) 2005-2010 [Resolve Digital Ltd.](http://www.resolvedigital.co.nz)
109
+ ## License
207
110
 
208
- [Read the license](http://github.com/resolve/refinerycms/blob/master/license.md)
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
- # Improve the Generator
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", :dbfile => ":memory:")
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
- :dbfile: attachment_fu_plugin.sqlite.db
3
+ :database: attachment_fu_plugin.sqlite
4
4
  sqlite3:
5
5
  :adapter: sqlite3
6
- :dbfile: attachment_fu_plugin.sqlite3.db
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", :locals => {:f => f, :continue_editing => false, :hide_delete => !current_user.can_delete?(@user)} %>
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') if current_user.can_delete?(user) %>
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 'Bruker'-instikket fra kontoen du er logget inn som."
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: Blankt passord beholder ditt nåværende passord.
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: Opprett En Ny Bruker
10
- no_users_yet: Det er ingen brukere enda. Trykk "Opprett En Ny Bruker" for å legge til din første bruker.
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 for alltid
17
+ confirm_delete_title: Fjern denne brukeren permanent
14
18
  edit_user: Rediger denne brukeren
15
- email_user: Send epost til denne brukeren
19
+ email_user: Send en e-post til denne brukeren
16
20
  preview: ({{who}}) opprettet {{created_at}}
17
21
  sessions:
18
- login_successful: Innlogging vellykket
19
- login_failed: Beklager, ditt brukernavn eller passord er feil.
20
- logged_out: Du er logget ut.
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
- login: Innloggingsnavn
23
- log_in: Logg inn
24
- cancel: Avbryt
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å her</a> for å redigere siden din sitt navn"
33
- signup_disabled: Brukerpåmelding er deaktivert
30
+ setup_website_name: "Først, la oss gi siden et navn. <a href='{{link}}' name='{{title}}'>Gå hit</a> for å endre navnet websiden din"
31
+ signup_disabled: Registrering av nye brukere er deaktivert
34
32
  new:
35
- fill_form: Fyll ut skjemaet under med detaljene dine vi kan deg startet.
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 utført!
37
+ signup_complete: Registrering komplett!
40
38
  forgot:
41
- email_address: E-postadresse
42
- enter_email_address: Vennligst skriv inn e-postadressen for kontoen din.
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 angitt en e-postadresse.
45
- email_not_associated_with_account: "Beklager, '{{email}}' er ikke knyttet til noen kontoer. <br/> Er du sikker på at du har skrevet inn riktig e-postadresse?"
46
- email_reset_sent: En e-post har blitt sendt til deg med en kobling for å tilbakestille passordet.
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: "Vi beklager, men denne tilbakestille koden er utløpt eller er ugyldig. Hvis du har problemer prøve å kopiere og lime inn URL fra e-posten din i nettleseren, eller starte tilbakestille passordet prosessen."
49
- successful: "Passord Vellykket nullstilling for {{email}}"
46
+ code_invalid: "Beklager, men denne koden for å tilbakestille passordet har utløpt eller er ugyldig. Om du opplever problemer 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 aktiver din nye konto
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 dine innstikk:"
54
- account_created: Din konto er opprettet.
53
+ activated_email: "{{who}}, din konto er aktivert. Du kan nå begynne å legge til tillegg:"
54
+ account_created: Din konto er opprettet.
55
55
  user_name: Brukernavn {{name}}
56
56
  password: Passord {{password}}
57
- visit_url: " til denne adressen for å aktivere kontoen din:"
58
- link_to_reset_your_password: Lenke for å nullstille passordet ditt
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 blankt
61
+ login_blank: kan ikke være blank
62
62
  login_not_found: er ikke gyldig
63
- login_invalid: kan bare innholde bokstaver, nummer, mellomrom og .-_@.
64
- consecutive_failed_logins_limit_exceeded: Grensen for antall for misslykkete innloggingsforsøk nådd, kontoen er deaktivert.
65
- email_invalid: skal se ut som en epost-adresse.
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 skrevet inn noe innloggingsinformasjon
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: brukernavn
77
- email: epost
78
- password: passord
79
- remember_me: husk meg
80
- incorrect: "beklager, ditt {{login_field}} eller passord er ikke korrekt."
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."