1
0
Fork 0
forked from OpenNeo/impress

oops, re-refactor closet_hangers.index.autocomplete, since markdown wraps it in a paragraph

This commit is contained in:
Emi Matchu 2013-01-09 18:28:20 -06:00
parent 942fa63907
commit 0ae6762bf5
3 changed files with 14 additions and 14 deletions

View file

@ -76,19 +76,19 @@
- localized_cache :action_suffix => 'autocomplete_tmpls' do - localized_cache :action_suffix => 'autocomplete_tmpls' do
%script#autocomplete-item-tmpl{:type => 'text/x-jquery-tmpl'} %script#autocomplete-item-tmpl{:type => 'text/x-jquery-tmpl'}
%a %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'} %script#autocomplete-add-to-list-tmpl{:type => 'text/x-jquery-tmpl'}
%a %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'} %script#autocomplete-add-to-group-tmpl{:type => 'text/x-jquery-tmpl'}
%a %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'} %script#autocomplete-already-in-collection-tmpl{:type => 'text/x-jquery-tmpl'}
%span %span
= tmd '.autocomplete.already_in_collection', = t '.autocomplete.already_in_collection_html',
:collection_name => '${collection_name}' :collection_name => '${collection_name}'
- content_for :stylesheets do - content_for :stylesheets do

View file

@ -119,11 +119,11 @@ en-meep:
header: (Not in a meepit) header: (Not in a meepit)
empty: There aren't any meepits here. empty: There aren't any meepits here.
autocomplete: autocomplete:
add_item_markdown: Meep **%{item_name}** add_item_html: Meep <strong>%{item_name}</strong>
add_to_list_markdown: Meep to **%{list_name}** add_to_list_html: Meep to <strong>%{list_name}</strong>
add_to_group_markdown: Meep to **%{group_name}**, no list add_to_group_html: Meep to <strong>%{group_name}</strong>, no list
already_in_collection_markdown: already_in_collection_html:
It's already meeped in **%{collection_name}** It's already meeped in <strong>%{collection_name}</strong>
petpage: petpage:
title: Export to meeppage title: Export to meeppage

View file

@ -120,11 +120,11 @@ en:
header: (Not in a list) header: (Not in a list)
empty: There aren't any items here. empty: There aren't any items here.
autocomplete: autocomplete:
add_item_markdown: Add **%{item_name}** add_item_html: Add <strong>%{item_name}</strong>
add_to_list_markdown: Add to **%{list_name}** add_to_list_html: Add to <strong>%{list_name}</strong>
add_to_group_markdown: Add to **%{group_name}**, no list add_to_group_html: Add to <strong>%{group_name}</strong>, no list
already_in_collection_markdown: already_in_collection_html:
It's already in **%{collection_name}** It's already in <strong>%{collection_name}</strong>
petpage: petpage:
title: Export to petpage title: Export to petpage