Skip to content

Commit 1de6a80

Browse files
Make the “l10n” view easier to discover - fixes #839 (#848)
1 parent 2a17827 commit 1de6a80

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

app/classes/Transvision/ShowResults.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ public static function resultsTable($search_object, $search_results, $page)
465465
<tr class='{$component}'>
466466
<td>
467467
<span class='celltitle'>Entity</span>
468-
<a class='resultpermalink tag' id='{$anchor_name}' href='#{$anchor_name}' title='Permalink to this result'>link</a>
469-
<a class='l10n tag' href='/string/?entity={$key}&amp;repo={$current_repo}' title='List all translations for this entity'>l10n</a>
468+
<a class='resultpermalink tag' id='{$anchor_name}' href='#{$anchor_name}' title='Permalink to this result'>#</a>
469+
<a class='l10n tag' href='/string/?entity={$key}&amp;repo={$current_repo}' title='List all translations for this entity'>all locales</a>
470470
<span class='link_to_entity'>
471471
<a href=\"/{$entity_link}\">{$result_entity}</a>
472472
</span>

app/views/empty_strings.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@
9595
<tr class='{$component}'>
9696
<td>
9797
<span class='celltitle'>Entity</span>
98-
<a class='resultpermalink tag' id='{$anchor_name}' href='#{$anchor_name}' title='Permalink to this string'>link</a>
99-
<a class='l10n tag' href='/string/?entity={$key}&amp;repo={$repo}' title='List all translations for this entity'>l10n</a>
98+
<a class='resultpermalink tag' id='{$anchor_name}' href='#{$anchor_name}' title='Permalink to this string'>#</a>
99+
<a class='l10n tag' href='/string/?entity={$key}&amp;repo={$repo}' title='List all translations for this entity'>all locales</a>
100100
<span class='link_to_entity'>
101101
<a href=\"/{$entity_link}\">{$entity}</a>
102102
</span>

app/views/results_entities.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@
167167
<tr>
168168
<td>
169169
<span class='celltitle'>Entity</span>
170-
<a class='resultpermalink tag' id='{$anchor_name}' href='#{$anchor_name}' title='Permalink to this result'>link</a>
171-
<a class='l10n tag' href='/string/?entity={$entity}&amp;repo={$current_repo}' title='List all translations for this entity'>l10n</a>
170+
<a class='resultpermalink tag' id='{$anchor_name}' href='#{$anchor_name}' title='Permalink to this result'>#</a>
171+
<a class='l10n tag' href='/string/?entity={$entity}&amp;repo={$current_repo}' title='List all translations for this entity'>all locales</a>
172172
<span class='link_to_entity'>
173173
<a href='/{$entity_link}'>" . ShowResults::formatEntity($entity, $search->getSearchTerms()) . "</a>
174174
</span>

0 commit comments

Comments
 (0)