Skip to content

Commit

Permalink
Update copy
Browse files Browse the repository at this point in the history
  • Loading branch information
mvasilak committed Apr 18, 2024
1 parent b33600b commit 0d7bd0d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Zotero/Assets/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -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";
4 changes: 2 additions & 2 deletions Zotero/Controllers/OpenItemsController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -313,15 +313,15 @@ 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)
}
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)
Expand Down
8 changes: 4 additions & 4 deletions Zotero/Extensions/Localizable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d7bd0d

Please sign in to comment.