Skip to content

Commit

Permalink
fix field name translation
Browse files Browse the repository at this point in the history
  • Loading branch information
winkelement committed Nov 19, 2018
1 parent 9ab1210 commit 5c2fa65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hooks/all.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function HookRs_tooltipAllThumblistextra()
<?php if ($tooltip_maxwidth) { echo 'maxWidth: ' . $tooltip_maxwidth . ','; } ?>
theme: 'tooltipster-<?php echo $tooltip_display_theme; ?>',
contentAsHTML: true,
content: '<i class="fa fa-spinner fa-pulse fa-2x fa-fw"></i>',
content: '<i class="fa fa-cog fa-spin fa-2x"></i>',
functionBefore: function(instance, helper)
{
var $origin = jQuery(helper.origin);
Expand Down
2 changes: 1 addition & 1 deletion hooks/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function HookRs_tooltipSearchEndofsearchpage()
<?php if ($tooltip_maxwidth) { echo 'maxWidth: ' . $tooltip_maxwidth . ','; } ?>
theme: 'tooltipster-<?php echo $tooltip_display_theme; ?>',
contentAsHTML: true,
content: '<i class="fa fa-spinner fa-pulse fa-2x fa-fw"></i>',
content: '<i class="fa fa-cog fa-spin fa-2x"></i>',
functionBefore: function(instance, helper)
{
var $origin = jQuery(helper.origin);
Expand Down
2 changes: 1 addition & 1 deletion include/generate.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
if ($tooltip_show_fieldname)
{
$fieldname_array = sql_query("select title from resource_type_field where ref = $tfield");
$fieldname = '<td>' . $fieldname_array[0]["title"] . ' : </td>';
$fieldname = '<td>' . lang_or_i18n_get_translated($fieldname_array[0]["title"],'fieldtitle-') . ':</td>';
}
else
{
Expand Down

0 comments on commit 5c2fa65

Please sign in to comment.