diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2021-07-08 10:22:51 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2021-07-22 13:07:43 +0200 |
| commit | 37f286f18207876da4ffaeb2d9329d60bf6304d1 (patch) | |
| tree | 20de88ae57d71cb26a19ec74aefaebfdb11c18e5 /ios/MullvadVPN | |
| parent | 1d31f34f23a889b7810d75de20883e80bdb9e7fc (diff) | |
| download | mullvadvpn-37f286f18207876da4ffaeb2d9329d60bf6304d1.tar.xz mullvadvpn-37f286f18207876da4ffaeb2d9329d60bf6304d1.zip | |
Localize KeyboardNavigation
Diffstat (limited to 'ios/MullvadVPN')
| -rw-r--r-- | ios/MullvadVPN/UIBarButtonItem+KeyboardNavigation.swift | 14 | ||||
| -rw-r--r-- | ios/MullvadVPN/en.lproj/KeyboardNavigation.strings | 5 |
2 files changed, 17 insertions, 2 deletions
diff --git a/ios/MullvadVPN/UIBarButtonItem+KeyboardNavigation.swift b/ios/MullvadVPN/UIBarButtonItem+KeyboardNavigation.swift index 85d2d258a6..ee81308440 100644 --- a/ios/MullvadVPN/UIBarButtonItem+KeyboardNavigation.swift +++ b/ios/MullvadVPN/UIBarButtonItem+KeyboardNavigation.swift @@ -16,9 +16,19 @@ extension UIBarButtonItem { fileprivate var localizedTitle: String { switch self { case .previous: - return NSLocalizedString("Previous", comment: "Keyboard navigation toolbar") + return NSLocalizedString( + "PREVIOUS_BUTTON_TITLE", + tableName: "KeyboardNavigation", + value: "Previous", + comment: "Previous button" + ) case .next: - return NSLocalizedString("Next", comment: "Keyboard navigation toolbar") + return NSLocalizedString( + "NEXT_BUTTON_TITLE", + tableName: "KeyboardNavigation", + value: "Next", + comment: "Next button" + ) } } diff --git a/ios/MullvadVPN/en.lproj/KeyboardNavigation.strings b/ios/MullvadVPN/en.lproj/KeyboardNavigation.strings new file mode 100644 index 0000000000..753599eec9 --- /dev/null +++ b/ios/MullvadVPN/en.lproj/KeyboardNavigation.strings @@ -0,0 +1,5 @@ +/* Next button */ +"NEXT_BUTTON_TITLE" = "Next"; + +/* Previous button */ +"PREVIOUS_BUTTON_TITLE" = "Previous"; |
