From: Thomas Wood Date: Fri, 12 Jun 2009 18:48:36 +0000 (+0000) Subject: Remove superfluous "language" from diary strings - it sounds weird (other option... X-Git-Tag: live~7088 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/5123163e92f55ab47ab19bcc411778957ded8857 Remove superfluous "language" from diary strings - it sounds weird (other option would be to change to "the {{language}} language") --- diff --git a/app/controllers/diary_entry_controller.rb b/app/controllers/diary_entry_controller.rb index 2599bd479..d3601d47b 100644 --- a/app/controllers/diary_entry_controller.rb +++ b/app/controllers/diary_entry_controller.rb @@ -102,7 +102,7 @@ class DiaryEntryController < ApplicationController :conditions => ["users.visible = ? AND diary_entries.language_code = ?", true, params[:language]], :order => 'created_at DESC', :limit => 20) @title = "OpenStreetMap diary entries in #{Language.find(params[:language]).english_name}" - @description = "Recent diary entries from users of OpenStreetMap in #{Language.find(params[:language]).english_name} language" + @description = "Recent diary entries from users of OpenStreetMap in #{Language.find(params[:language]).english_name}" @link = "http://#{SERVER_URL}/diary/#{params[:language]}" else @entries = DiaryEntry.find(:all, :include => :user, diff --git a/config/locales/en.yml b/config/locales/en.yml index b8a4955d4..e41f5e68c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -247,7 +247,7 @@ en: list: title: "Users' diaries" user_title: "{{user}}'s diary" - in_language_title: "Diary entries in {{language}} language" + in_language_title: "Diary Entries in {{language}}" new: New Diary Entry new_title: Compose a new entry in your user diary no_entries: No diary entries