Browse Source

Merge pull request #11498 from nextcloud/copy-link-wording

Change wording of 'Copy URL' to more understandable 'Copy link'
pull/11462/head
Morris Jobke 8 years ago
committed by GitHub
parent
commit
66970f4c17
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/js/sharedialoglinkshareview.js
  2. 4
      tests/acceptance/features/bootstrap/FilesAppContext.php

2
core/js/sharedialoglinkshareview.js

@ -600,7 +600,7 @@
var popover = this.popoverMenuTemplate({
cid: this.model.get('linkShare').id,
copyLabel: t('core', 'Copy URL'),
copyLabel: t('core', 'Copy link'),
social: social,
shareLinkURL: this.model.get('linkShare').link,

4
tests/acceptance/features/bootstrap/FilesAppContext.php

@ -227,9 +227,9 @@ class FilesAppContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function copyUrlMenuItem() {
return Locator::forThe()->xpath("//a[normalize-space() = 'Copy URL']")->
return Locator::forThe()->xpath("//a[normalize-space() = 'Copy link']")->
descendantOf(self::shareLinkMenu())->
describedAs("Copy URL menu item in the share link menu in the details view in Files app");
describedAs("Copy link menu item in the share link menu in the details view in Files app");
}
/**

Loading…
Cancel
Save