Skip to content

Commit dea2224

Browse files
committed
fix popup title
1 parent b577739 commit dea2224

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,9 @@ Do not use this inside of non-clickable elements (title attribute, alt attribute
329329
Changelog
330330
---------
331331

332+
0.4.4
333+
* Fix translation title popup
334+
332335
0.4.3
333336

334337
* New configurations (popup placement and basic language)

src/Translator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function transEditable($key, array $replace = [], $locale = null, $fallba
9292
' data-placement="'. config('translation-manager.popup_placement') .'"' .
9393
' data-pk=\'dummy\'' .
9494
' data-value=\'' . $escapedCurrentTranslation . '\'' .
95-
' data-title=\'' . $escapedEnglishTranslation . ' (' . $basicLocale . ' -> ' . $locale . ')\'>' .
95+
' data-title=\'' . $escapedBasicTranslation . ' (' . $basicLocale . ' -> ' . $locale . ')\'>' .
9696
$translation . '</span>';
9797
}
9898

0 commit comments

Comments
 (0)