Skip to content

Commit 62d0d71

Browse files
authored
Merge pull request #95 from crydotsnake/feature/translation-label-copy-path
FEATURE: add own translation label for clipboard button
2 parents 9decbe2 + 2504315 commit 62d0d71

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

Resources/Private/JavaScript/components/RedirectListItem.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export class RedirectListItem extends React.PureComponent<RedirectListItemProps>
9797
role="button"
9898
className="copy-path"
9999
onClick={() => handleCopyPathAction(redirect.sourceUriPath)}
100+
title={translate('clipBoardCopyLabel', 'Copy')}
100101
>
101102
<Icon icon="clipboard" />
102103
</span>
@@ -109,6 +110,7 @@ export class RedirectListItem extends React.PureComponent<RedirectListItemProps>
109110
role="button"
110111
className="copy-path"
111112
onClick={() => handleCopyPathAction(redirect.targetUriPath)}
113+
title={translate('clipBoardCopyLabel', 'Copy')}
112114
>
113115
<Icon icon="clipboard" />
114116
</span>

Resources/Private/Translations/de/Modules.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,10 @@
393393
<source>The 451 HTTP status code shows that the requested content has been deleted because of legal reasons.</source>
394394
<target>Der HTTP-Statuscode 451 zeigt an, dass der angeforderte Inhalt aus rechtlichen Gründen gelöscht wurde.</target>
395395
</trans-unit>
396+
<trans-unit id="clipBoardCopyLabel" xml:space="preserve">
397+
<source>Copy</source>
398+
<target>Kopieren</target>
399+
</trans-unit>
396400
</body>
397401
</file>
398402
</xliff>

Resources/Private/Translations/en/Modules.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,10 @@
304304
<trans-unit id="statusCodes.451.tooltip" xml:space="preserve">
305305
<source>The 451 HTTP status code shows that the requested content has been deleted because of legal reasons.</source>
306306
</trans-unit>
307+
<trans-unit id="clipBoardCopyLabel" xml:space="preserve">
308+
<source>Copy</source>
309+
<target>Kopieren</target>
310+
</trans-unit>
307311
</body>
308312
</file>
309313
</xliff>

0 commit comments

Comments
 (0)