Skip to content

Commit

Permalink
Merge pull request #95 from crydotsnake/feature/translation-label-cop…
Browse files Browse the repository at this point in the history
…y-path

FEATURE: add own translation label for clipboard button
  • Loading branch information
Sebobo authored Jan 10, 2024
2 parents 9decbe2 + 2504315 commit 62d0d71
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Resources/Private/JavaScript/components/RedirectListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export class RedirectListItem extends React.PureComponent<RedirectListItemProps>
role="button"
className="copy-path"
onClick={() => handleCopyPathAction(redirect.sourceUriPath)}
title={translate('clipBoardCopyLabel', 'Copy')}
>
<Icon icon="clipboard" />
</span>
Expand All @@ -109,6 +110,7 @@ export class RedirectListItem extends React.PureComponent<RedirectListItemProps>
role="button"
className="copy-path"
onClick={() => handleCopyPathAction(redirect.targetUriPath)}
title={translate('clipBoardCopyLabel', 'Copy')}
>
<Icon icon="clipboard" />
</span>
Expand Down
4 changes: 4 additions & 0 deletions Resources/Private/Translations/de/Modules.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,10 @@
<source>The 451 HTTP status code shows that the requested content has been deleted because of legal reasons.</source>
<target>Der HTTP-Statuscode 451 zeigt an, dass der angeforderte Inhalt aus rechtlichen Gründen gelöscht wurde.</target>
</trans-unit>
<trans-unit id="clipBoardCopyLabel" xml:space="preserve">
<source>Copy</source>
<target>Kopieren</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions Resources/Private/Translations/en/Modules.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@
<trans-unit id="statusCodes.451.tooltip" xml:space="preserve">
<source>The 451 HTTP status code shows that the requested content has been deleted because of legal reasons.</source>
</trans-unit>
<trans-unit id="clipBoardCopyLabel" xml:space="preserve">
<source>Copy</source>
<target>Kopieren</target>
</trans-unit>
</body>
</file>
</xliff>

0 comments on commit 62d0d71

Please sign in to comment.