Skip to content

Commit e130ee5

Browse files
author
Ephraim Härer
committed
[BUGFIX] corrected path to translation file
1 parent df60485 commit e130ee5

6 files changed

Lines changed: 27 additions & 5 deletions

File tree

Classes/Hooks/PageLayoutController.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
/***************************************************************
88
* Copyright notice
9+
* (c) 2023-2025 Ephraim Härer <mail@ephra.im>
910
* (c) 2013 Jo Hasenau <info@cybercraft.de>, Tobias Ferger <tobi@tt36.de>
1011
* All rights reserved
1112
* This script is part of the TYPO3 project. The TYPO3 project is
@@ -68,7 +69,7 @@ public function __construct(PageRenderer $pageRenderer, IconFactory $iconFactory
6869
*/
6970
public function drawHeaderHook(): string
7071
{
71-
$this->pageRenderer->addInlineLanguageLabelFile('EXT:paste_reference/Resources/Private/Language/locallang_db.xml', 'tx_paste_reference_js');
72+
$this->pageRenderer->addInlineLanguageLabelFile('EXT:paste_reference/Resources/Private/Language/locallang_db.xlf', 'tx_paste_reference_js');
7273

7374
$jsLines = [];
7475

@@ -100,7 +101,7 @@ public function drawHeaderHook(): string
100101

101102
protected function getButtonTemplate(): string
102103
{
103-
$title = $this->helper->getLanguageService()->sL('LLL:EXT:paste_reference/Resources/Private/Language/locallang_db.xml:tx_paste_reference_js.copyfrompage');
104+
$title = $this->helper->getLanguageService()->sL('LLL:EXT:paste_reference/Resources/Private/Language/locallang_db.xlf:tx_paste_reference_js.copyfrompage');
104105
$icon = $this->iconFactory->getIcon('actions-insert-reference', Icon::SIZE_SMALL)->render();
105106
// the CSS-class "t3js-paste-new" does not exist in system extensions
106107
return '<button type="button" class="t3js-paste-new btn btn-default btn-sm" title="' . $title . '">' . $icon . '</button>';

Classes/PageLayoutView/ShortcutPreviewRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/***************************************************************
88
* Copyright notice
9-
* (c) 2023 Ephraim Härer <mail@ephra.im>
9+
* (c) 2023-2025 Ephraim Härer <mail@ephra.im>
1010
* (c) 2013 Jo Hasenau <info@cybercraft.de>
1111
* All rights reserved
1212
* This script is part of the TYPO3 project. The TYPO3 project is
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
3.0.5 - October 16, 2025
2+
========================
3+
4+
.. include:: ../../Includes.txt
5+
6+
.. only:: html
7+
8+
.. contents::
9+
:local:
10+
:depth: 3
11+
12+
13+
Important changes
14+
-----------------
15+
16+
All Changes
17+
-----------
18+
This is a list of all changes in this release: ::
19+
20+
- [BUGFIX] corrected path to translation file

Documentation/Misc/Changelog/Index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ List of versions
2020
:titlesonly:
2121
:glob:
2222

23+
3-0-5
2324
3-0-4
2425
3-0-3
2526
3-0-2

Documentation/guides.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
edit-on-github="Kephson/paste_reference"
1212
typo3-core-preferred="stable"/>
1313
<project title="Paste reference"
14-
release="3.0.4"
14+
release="3.0.5"
1515
version="3.0"
1616
copyright="2025"/>
1717
<inventory id="t3tsref" url="https://docs.typo3.org/typo3cms/TyposcriptReference/"/>

ext_emconf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
'title' => 'Paste reference for content elements',
1212
'description' => 'Paste reference instead of copy for content elements',
1313
'category' => 'plugin',
14-
'version' => '3.0.4',
14+
'version' => '3.0.5',
1515
'constraints' => [
1616
'depends' => [
1717
'typo3' => '12.4.0-12.4.99',

0 commit comments

Comments
 (0)