From 14d9973c63ce80d9886c85bf4e10d1b49077e90c Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Tue, 20 Dec 2011 11:54:45 -0800 Subject: [PATCH] Add dashes to app name --- README.md | 4 ++-- config/environments/production.rb | 2 +- config/locales/de.yml | 2 +- config/locales/en.yml | 2 +- config/locales/es.yml | 2 +- config/locales/fr.yml | 2 +- config/locales/pt.yml | 2 +- test/functional/main_controller_test.rb | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ef2163e..89607b5 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# Adopt a Hydrant [![Build Status](https://secure.travis-ci.org/codeforamerica/adopt-a-hydrant.png?branch=master)][travis] [![Dependency Status](https://gemnasium.com/codeforamerica/adopt-a-hydrant.png?travis)][gemnasium] +# Adopt-a-Hydrant [![Build Status](https://secure.travis-ci.org/codeforamerica/adopt-a-hydrant.png?branch=master)][travis] [![Dependency Status](https://gemnasium.com/codeforamerica/adopt-a-hydrant.png?travis)][gemnasium] Claim responsibility for shoveling out a fire hydrant after it snows. [travis]: http://travis-ci.org/codeforamerica/adopt-a-hydrant [gemnasium]: https://gemnasium.com/codeforamerica/adopt-a-hydrant ## Screenshot -![Adopt a Hydrant](https://github.com/codeforamerica/adopt-a-hydrant/raw/master/screenshot.png "Adopt a Hydrant") +![Adopt-a-Hydrant](https://github.com/codeforamerica/adopt-a-hydrant/raw/master/screenshot.png "Adopt-a-Hydrant") ## Demo You can see a running version of the application at diff --git a/config/environments/production.rb b/config/environments/production.rb index 49512d8..97bf03a 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -48,7 +48,7 @@ AdoptAThing::Application.configure do # Disable delivery errors, bad email addresses will be ignored config.action_mailer.raise_delivery_errors = true config.action_mailer.delivery_method = :smtp - config.action_mailer.default_url_options = {:host => 'AdoptAThing.org'} + config.action_mailer.default_url_options = {:host => 'adoptahydrant.org'} # Enable threaded mode # config.threadsafe! diff --git a/config/locales/de.yml b/config/locales/de.yml index 1b9e148..efe4414 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -63,7 +63,7 @@ de: adopted: "{thing_name} wurde verabschiedet" byline: "von %{name}" edit_profile: "Ihr Profil bearbeiten" - main: "Adoptieren Sie einen %{thing}" + main: "Adopt-a-%{thing}" ofline: "der %{organization}" thank_you: "Vielen Dank für die Annahme dieser %{thing}!" tos: "Nutzungsbedingungen" diff --git a/config/locales/en.yml b/config/locales/en.yml index 2441c4f..ace2ea6 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -63,7 +63,7 @@ en: adopted: "%{thing_name} has been adopted" byline: "by %{name}" edit_profile: "Edit your Profile" - main: "Adopt a %{thing}" + main: "Adopt-a-%{thing}" ofline: "of %{organization}" thank_you: "Thank you for adopting this %{thing}!" tos: "Terms of Service" diff --git a/config/locales/es.yml b/config/locales/es.yml index 6340062..48f0360 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -63,7 +63,7 @@ es: adopted: "%{thing_name} ha sido adoptada." byline: "por %{name}" edit_profile: "Edita tu perfil" - main: "Adoptar una %{thing}" + main: "Adopt-a-%{thing}" ofline: "de %{organization}" thank_you: "Gracias por la adopción de esta %{thing}!" tos: "Términos de Servicio" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 58a86b4..e038bcf 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -63,7 +63,7 @@ fr: adopted: "%{thing_name} a été adoptée" byline: "par %{name}" edit_profile: "Modifiez votre profil" - main: "Adopter une %{thing}" + main: "Adopt-a-%{thing}" ofline: "de %{organization}" thank_you: "Merci pour l'adoption de cette %{thing}!" tos: "Conditions d'utilisation" diff --git a/config/locales/pt.yml b/config/locales/pt.yml index 0eec5da..2621541 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -63,7 +63,7 @@ pt: adopted: "%{thing_name} foi adotada" byline: "por %{name}" edit_profile: "Editar seu Perfil" - main: "Adote um %{thing}" + main: "Adotar-um-%{thing}" ofline: "do %{organization}" thank_you: "Obrigado por adotar este %{thing}!" tos: "Termos de Serviço" diff --git a/test/functional/main_controller_test.rb b/test/functional/main_controller_test.rb index 2c435c0..07ae1ba 100644 --- a/test/functional/main_controller_test.rb +++ b/test/functional/main_controller_test.rb @@ -4,7 +4,7 @@ class MainControllerTest < ActionController::TestCase test 'should return the home page' do get :index assert_response :success - assert_select 'title', 'Adopt a Hydrant' + assert_select 'title', 'Adopt-a-Hydrant' assert_select 'p#tagline', 'Claim responsibility for shoveling out a fire hydrant after it snows.' assert_select 'form' do assert_select '[action=?]', '/'