From 0d7bd0d0c2527a349ddf9ffce6d03c2886ff9ffe Mon Sep 17 00:00:00 2001 From: Miltiadis Vasilakis Date: Thu, 18 Apr 2024 16:22:36 +0300 Subject: [PATCH] Update copy --- Zotero/Assets/en.lproj/Localizable.strings | 4 ++-- Zotero/Controllers/OpenItemsController.swift | 4 ++-- Zotero/Extensions/Localizable.swift | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Zotero/Assets/en.lproj/Localizable.strings b/Zotero/Assets/en.lproj/Localizable.strings index 1b164a4d1..321b80444 100644 --- a/Zotero/Assets/en.lproj/Localizable.strings +++ b/Zotero/Assets/en.lproj/Localizable.strings @@ -564,7 +564,7 @@ "accessibility.pdf.open_items" = "Open Items"; "accessibility.pdf.current_item" = "Current Item"; "accessibility.pdf.current_item_close" = "Close"; -"accessibility.pdf.current_item_move_first" = "Move first"; -"accessibility.pdf.current_item_move_last" = "Move last"; +"accessibility.pdf.current_item_move_to_start" = "Move to start"; +"accessibility.pdf.current_item_move_to end" = "Move to end"; "accessibility.pdf.close_all_open_items" = "Close all"; "accessibility.pdf.close_other_open_items" = "Close other items"; diff --git a/Zotero/Controllers/OpenItemsController.swift b/Zotero/Controllers/OpenItemsController.swift index 3b52c2159..7de763522 100644 --- a/Zotero/Controllers/OpenItemsController.swift +++ b/Zotero/Controllers/OpenItemsController.swift @@ -313,7 +313,7 @@ final class OpenItemsController { } currentItemActions.append(closeAction) if index > 0 { - let moveToTopAction = UIAction(title: L10n.Accessibility.Pdf.currentItemMoveFirst, image: .init(systemName: "arrowshape.up.circle")) { [weak self] _ in + let moveToTopAction = UIAction(title: L10n.Accessibility.Pdf.currentItemMoveToStart, image: .init(systemName: "arrowshape.up.circle")) { [weak self] _ in guard let self else { return } move(item.kind, to: 0, for: sessionIdentifier) completion(false, true) @@ -321,7 +321,7 @@ final class OpenItemsController { currentItemActions.append(moveToTopAction) } if index < itemsCount - 1 { - let moveToBottomAction = UIAction(title: L10n.Accessibility.Pdf.currentItemMoveLast, image: .init(systemName: "arrowshape.down.circle")) { [weak self] _ in + let moveToBottomAction = UIAction(title: L10n.Accessibility.Pdf.currentItemMoveToEnd, image: .init(systemName: "arrowshape.down.circle")) { [weak self] _ in guard let self else { return } move(item.kind, to: itemsCount, for: sessionIdentifier) completion(false, true) diff --git a/Zotero/Extensions/Localizable.swift b/Zotero/Extensions/Localizable.swift index 19bb6c714..ed8b8007a 100644 --- a/Zotero/Extensions/Localizable.swift +++ b/Zotero/Extensions/Localizable.swift @@ -204,10 +204,10 @@ internal enum L10n { internal static let currentItem = L10n.tr("Localizable", "accessibility.pdf.current_item", fallback: "Current Item") /// Close internal static let currentItemClose = L10n.tr("Localizable", "accessibility.pdf.current_item_close", fallback: "Close") - /// Move first - internal static let currentItemMoveFirst = L10n.tr("Localizable", "accessibility.pdf.current_item_move_first", fallback: "Move first") - /// Move last - internal static let currentItemMoveLast = L10n.tr("Localizable", "accessibility.pdf.current_item_move_last", fallback: "Move last") + /// Move to end + internal static let currentItemMoveToEnd = L10n.tr("Localizable", "accessibility.pdf.current_item_move_to end", fallback: "Move to end") + /// Move to start + internal static let currentItemMoveToStart = L10n.tr("Localizable", "accessibility.pdf.current_item_move_to_start", fallback: "Move to start") /// Edit annotation internal static let editAnnotation = L10n.tr("Localizable", "accessibility.pdf.edit_annotation", fallback: "Edit annotation") /// Eraser