Skip to content

FEATURE: add own translation label for clipboard button #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>