Update names of menu items for Finder extension (#1469)
This commit is contained in:
parent
792f568c0a
commit
8260a8279d
32 changed files with 6 additions and 6 deletions
|
@ -348,8 +348,8 @@ static constexpr double kGetFileStatusInterval = 2.0; // seconds
|
||||||
// Produce a menu for the extension.
|
// Produce a menu for the extension.
|
||||||
NSMenu *menu = [[NSMenu alloc] initWithTitle:@""];
|
NSMenu *menu = [[NSMenu alloc] initWithTitle:@""];
|
||||||
NSMenuItem *shareLinkItem =
|
NSMenuItem *shareLinkItem =
|
||||||
[menu addItemWithTitle:NSLocalizedString(@"Get Seafile Download Link",
|
[menu addItemWithTitle:NSLocalizedString(@"Get Download Link",
|
||||||
@"Get Seafile Download Link")
|
@"Get Download Link")
|
||||||
action:@selector(shareLinkAction:)
|
action:@selector(shareLinkAction:)
|
||||||
keyEquivalent:@""];
|
keyEquivalent:@""];
|
||||||
NSImage *seafileImage = [NSImage imageNamed:@"seafile.icns"];
|
NSImage *seafileImage = [NSImage imageNamed:@"seafile.icns"];
|
||||||
|
@ -366,8 +366,8 @@ static constexpr double kGetFileStatusInterval = 2.0; // seconds
|
||||||
auto repo = findRepoContainPath(watched_repos_, file_path);
|
auto repo = findRepoContainPath(watched_repos_, file_path);
|
||||||
if (repo != watched_repos_.end() && repo->internal_link_supported) {
|
if (repo != watched_repos_.end() && repo->internal_link_supported) {
|
||||||
NSMenuItem *internalLinkItem =
|
NSMenuItem *internalLinkItem =
|
||||||
[menu addItemWithTitle:NSLocalizedString(@"Get Seafile Internal Link",
|
[menu addItemWithTitle:NSLocalizedString(@"Get Internal Link",
|
||||||
@"Get Seafile Internal Link")
|
@"Get Internal Link")
|
||||||
action:@selector(internalLinkAction:)
|
action:@selector(internalLinkAction:)
|
||||||
keyEquivalent:@""];
|
keyEquivalent:@""];
|
||||||
[internalLinkItem setImage:seafileImage];
|
[internalLinkItem setImage:seafileImage];
|
||||||
|
@ -399,8 +399,8 @@ static constexpr double kGetFileStatusInterval = 2.0; // seconds
|
||||||
[shareToGroupByMenuItem setImage:seafileImage];
|
[shareToGroupByMenuItem setImage:seafileImage];
|
||||||
|
|
||||||
NSMenuItem *showUploadLinkByMenuItem =
|
NSMenuItem *showUploadLinkByMenuItem =
|
||||||
[menu addItemWithTitle:NSLocalizedString(@"Get Seafile Upload Link",
|
[menu addItemWithTitle:NSLocalizedString(@"Get Upload Link",
|
||||||
@"Get Seafile Upload Link")
|
@"Get Upload Link")
|
||||||
action:@selector(getUploadLinkAction:)
|
action:@selector(getUploadLinkAction:)
|
||||||
keyEquivalent:@""];
|
keyEquivalent:@""];
|
||||||
[showUploadLinkByMenuItem setImage:seafileImage];
|
[showUploadLinkByMenuItem setImage:seafileImage];
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue