diff --git a/app/models/environment.rb b/app/models/environment.rb index 73fe8b3..915f8b5 100644 --- a/app/models/environment.rb +++ b/app/models/environment.rb @@ -63,13 +63,13 @@ class Environment < ActiveRecord::Base end end - # the virtual community's terms of use: every user must accept them before + # the environment's terms of use: every user must accept them before # registering. def terms_of_use self.settings['terms_of_use'] end - # sets the virtual community's terms of use. + # sets the environment's terms of use. def terms_of_use=(value) self.settings['terms_of_use'] = value end @@ -117,7 +117,7 @@ class Environment < ActiveRecord::Base # name is mandatory validates_presence_of :name - # only one virtual community can be the default one + # only one environment can be the default one validates_uniqueness_of :is_default, :if => (lambda do |environment| environment.is_default? end), :message => _('Only one Virtual Community can be the default one') # ################################################# diff --git a/app/views/account/index.rhtml b/app/views/account/index.rhtml index 8f56ce4..e644494 100644 --- a/app/views/account/index.rhtml +++ b/app/views/account/index.rhtml @@ -23,5 +23,5 @@

<%= link_to _('Logout.'), :action => 'logout' %> -<%= _('It is always a good idea to make a logout when you finish using the virtual community.')%> +<%= _('It is always a good idea to make a logout when you finish using the environment.')%>

diff --git a/app/views/account/index_anonymous.rhtml b/app/views/account/index_anonymous.rhtml index a4139bd..83f535e 100644 --- a/app/views/account/index_anonymous.rhtml +++ b/app/views/account/index_anonymous.rhtml @@ -2,10 +2,10 @@

<%= link_to _('Login.'), :action => 'login' %> -<%= _('You need to login to be able to use all the features in this virtual community.') %> +<%= _('You need to login to be able to use all the features in this environment.') %>

<%= link_to _('Sign up.'), :action => 'signup' %> -<%= _('If you are not an user already, you can register now to become a member of this virtual community.') %> +<%= _('If you are not an user already, you can register now to become a member of this environment.') %>

diff --git a/app/views/admin_panel/index.rhtml b/app/views/admin_panel/index.rhtml index dfc8d75..6c575e8 100644 --- a/app/views/admin_panel/index.rhtml +++ b/app/views/admin_panel/index.rhtml @@ -1,6 +1,6 @@

<%= _('Administrator Panel') %>

-

<%= _('You, as an virtual community administrator, has the following options:')%>

+

<%= _('You, as an environment administrator, has the following options:')%>