From e54e4c606c017265e0bf0315d7a33c78ae3def36 Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 9 Jan 2013 18:28:20 -0600 Subject: [PATCH] oops, re-refactor closet_hangers.index.autocomplete, since markdown wraps it in a paragraph --- app/views/closet_hangers/index.html.haml | 8 ++++---- config/locales/en-meep.yml | 10 +++++----- config/locales/en.yml | 10 +++++----- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/app/views/closet_hangers/index.html.haml b/app/views/closet_hangers/index.html.haml index 8eab293e..2d68af13 100644 --- a/app/views/closet_hangers/index.html.haml +++ b/app/views/closet_hangers/index.html.haml @@ -76,19 +76,19 @@ - localized_cache :action_suffix => 'autocomplete_tmpls' do %script#autocomplete-item-tmpl{:type => 'text/x-jquery-tmpl'} %a - = tmd '.autocomplete.add_item', :item_name => '${item_name}' + = t '.autocomplete.add_item_html', :item_name => '${item_name}' %script#autocomplete-add-to-list-tmpl{:type => 'text/x-jquery-tmpl'} %a - = tmd '.autocomplete.add_to_list', :list_name => '${list_name}' + = t '.autocomplete.add_to_list_html', :list_name => '${list_name}' %script#autocomplete-add-to-group-tmpl{:type => 'text/x-jquery-tmpl'} %a - = tmd '.autocomplete.add_to_group', :group_name => '${group_name}' + = t '.autocomplete.add_to_group_html', :group_name => '${group_name}' %script#autocomplete-already-in-collection-tmpl{:type => 'text/x-jquery-tmpl'} %span - = tmd '.autocomplete.already_in_collection', + = t '.autocomplete.already_in_collection_html', :collection_name => '${collection_name}' - content_for :stylesheets do diff --git a/config/locales/en-meep.yml b/config/locales/en-meep.yml index 6d79e9ff..aa6514a2 100644 --- a/config/locales/en-meep.yml +++ b/config/locales/en-meep.yml @@ -119,11 +119,11 @@ en-meep: header: (Not in a meepit) empty: There aren't any meepits here. autocomplete: - add_item_markdown: Meep **%{item_name}** - add_to_list_markdown: Meep to **%{list_name}** - add_to_group_markdown: Meep to **%{group_name}**, no list - already_in_collection_markdown: - It's already meeped in **%{collection_name}** + add_item_html: Meep %{item_name} + add_to_list_html: Meep to %{list_name} + add_to_group_html: Meep to %{group_name}, no list + already_in_collection_html: + It's already meeped in %{collection_name} petpage: title: Export to meeppage diff --git a/config/locales/en.yml b/config/locales/en.yml index 943d5ad9..838d97fc 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -120,11 +120,11 @@ en: header: (Not in a list) empty: There aren't any items here. autocomplete: - add_item_markdown: Add **%{item_name}** - add_to_list_markdown: Add to **%{list_name}** - add_to_group_markdown: Add to **%{group_name}**, no list - already_in_collection_markdown: - It's already in **%{collection_name}** + add_item_html: Add %{item_name} + add_to_list_html: Add to %{list_name} + add_to_group_html: Add to %{group_name}, no list + already_in_collection_html: + It's already in %{collection_name} petpage: title: Export to petpage