|
2 | 2 | <fieldset>
|
3 | 3 | <dl>
|
4 | 4 | <dt>
|
5 |
| - <%= f.label :name, ts("Tag name") %> |
| 5 | + <%= f.label :name, t(".tag_name") %> |
6 | 6 | <%= link_to_help "tag-search-text-help" %>
|
7 | 7 | </dt>
|
8 | 8 | <dd>
|
9 | 9 | <%= f.text_field :name %>
|
10 | 10 | </dd>
|
11 | 11 | <dt>
|
12 |
| - <%= f.label :fandoms, ts("Fandoms") %> |
| 12 | + <%= f.label :fandoms, t(".fandoms") %> |
13 | 13 | </dt>
|
14 | 14 | <dd>
|
15 | 15 | <%= f.text_field :fandoms, autocomplete_options("fandom", "aria-describedby" => "fandom-field-description") %>
|
16 | 16 | <p class="footnote" id="fandom-field-description">
|
17 |
| - <%= ts("Find tags wrangled to specific canonical fandoms.") %> |
| 17 | + <%= t(".fandoms_footnote") %> |
18 | 18 | </p>
|
19 | 19 | </dd>
|
20 |
| - <dt><%= ts("Type") %></dt> |
| 20 | + <dt><%= t(".type") %></dt> |
21 | 21 | <dd>
|
22 | 22 | <fieldset>
|
23 | 23 | <ul>
|
|
35 | 35 | </ul>
|
36 | 36 | </fieldset>
|
37 | 37 | </dd>
|
38 |
| - <dt><%= ts("Wrangling status") %></dt> |
| 38 | + <dt><%= t(".wrangling_status") %></dt> |
39 | 39 | <dd>
|
40 | 40 | <fieldset>
|
41 | 41 | <ul>
|
42 | 42 | <li>
|
43 |
| - <%= f.radio_button :canonical, "T" %> |
44 |
| - <%= f.label :canonical, ts("Canonical"), value: "T" %> |
| 43 | + <%= f.radio_button :wrangling_status, "canonical" %> |
| 44 | + <%= f.label :wrangling_status, t(".status_option.canonical"), value: "canonical" %> |
45 | 45 | </li>
|
46 | 46 | <li>
|
47 |
| - <%= f.radio_button :canonical, "F" %> |
48 |
| - <%= f.label :canonical, ts("Non-canonical"), value: "F" %> |
| 47 | + <%= f.radio_button :wrangling_status, "noncanonical" %> |
| 48 | + <%= f.label :wrangling_status, t(".status_option.noncanonical"), value: "noncanonical" %> |
49 | 49 | </li>
|
50 | 50 | <li>
|
51 |
| - <%= f.radio_button :canonical, "" %> |
52 |
| - <%= f.label :canonical, ts("Any status"), value: "" %> |
| 51 | + <%= f.radio_button :wrangling_status, "synonymous" %> |
| 52 | + <%= f.label :wrangling_status, t(".status_option.synonymous"), value: "synonymous" %> |
| 53 | + </li> |
| 54 | + <li> |
| 55 | + <%= f.radio_button :wrangling_status, "canonical_synonymous" %> |
| 56 | + <%= f.label :wrangling_status, t(".status_option.canonical_or_synonymous"), value: "canonical_synonymous" %> |
| 57 | + </li> |
| 58 | + <li> |
| 59 | + <%= f.radio_button :wrangling_status, "noncanonical_nonsynonymous" %> |
| 60 | + <%= f.label :wrangling_status, t(".status_option.noncanonical_and_nonsynonymous"), value: "noncanonical_nonsynonymous" %> |
| 61 | + </li> |
| 62 | + <li> |
| 63 | + <%= f.radio_button :wrangling_status, "" %> |
| 64 | + <%= f.label :wrangling_status, t(".status_option.any_status"), value: "" %> |
53 | 65 | </li>
|
54 | 66 | </ul>
|
55 | 67 | </fieldset>
|
| 68 | + </dd> |
56 | 69 | <dt>
|
57 |
| - <%= f.label :sort_column, ts("Sort by") %> |
| 70 | + <%= f.label :sort_column, t(".sort_by") %> |
58 | 71 | </dt>
|
59 | 72 | <dd>
|
60 | 73 | <%= f.select :sort_column, options_for_select(@search.sort_options, @search.sort_column) %>
|
61 | 74 | </dd>
|
62 | 75 | <dt>
|
63 |
| - <%= f.label :sort_direction, ts("Sort direction") %> |
| 76 | + <%= f.label :sort_direction, t(".sort_direction") %> |
64 | 77 | </dt>
|
65 | 78 | <dd>
|
66 | 79 | <%= f.select :sort_direction,
|
67 | 80 | options_for_select([["Ascending", "asc"], ["Descending", "desc"]], @search.sort_direction) %>
|
68 | 81 | </dd>
|
69 | 82 | </dl>
|
70 |
| - <p class="submit actions"><%= f.submit ts("Search Tags") %></p> |
| 83 | + <p class="submit actions"><%= f.submit t(".search_tags") %></p> |
71 | 84 | </fieldset>
|
72 | 85 | <% end %>
|
0 commit comments