chore: Add L10n for Followed Tags
This commit is contained in:
parent
ba26dd2076
commit
f112e68e79
|
@ -722,6 +722,10 @@
|
|||
},
|
||||
"bookmark": {
|
||||
"title": "Bookmarks"
|
||||
|
||||
},
|
||||
"followed_tags": {
|
||||
"title": "Followed Tags"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ extension FollowedTagsViewController {
|
|||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
let _title = "Followed Tags"
|
||||
let _title = L10n.Scene.FollowedTags.title
|
||||
title = _title
|
||||
titleView.update(title: _title, subtitle: nil)
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ final class ProfileViewController: UIViewController, NeedsDependency, MediaPrevi
|
|||
private(set) lazy var followedTagsBarButtonItem: UIBarButtonItem = {
|
||||
let barButtonItem = UIBarButtonItem(image: UIImage(systemName: "number"), style: .plain, target: self, action: #selector(ProfileViewController.followedTagsItemPressed(_:)))
|
||||
barButtonItem.tintColor = .white
|
||||
//barButtonItem.accessibilityLabel = "" TODO: add missing L10n.Common.Controls.Actions.XXXXXX
|
||||
barButtonItem.accessibilityLabel = L10n.Scene.FollowedTags.title
|
||||
return barButtonItem
|
||||
}()
|
||||
|
||||
|
|
|
@ -633,6 +633,10 @@ public enum L10n {
|
|||
/// Favorited By
|
||||
public static let title = L10n.tr("Localizable", "Scene.FavoritedBy.Title", fallback: "Favorited By")
|
||||
}
|
||||
public enum FollowedTags {
|
||||
/// Followed Tags
|
||||
public static let title = L10n.tr("Localizable", "Scene.FollowedTags.Title", fallback: "Followed Tags")
|
||||
}
|
||||
public enum Follower {
|
||||
/// Followers from other servers are not displayed.
|
||||
public static let footer = L10n.tr("Localizable", "Scene.Follower.Footer", fallback: "Followers from other servers are not displayed.")
|
||||
|
|
|
@ -231,6 +231,7 @@ uploaded to Mastodon.";
|
|||
"Scene.FavoritedBy.Title" = "Favorited By";
|
||||
"Scene.Follower.Footer" = "Followers from other servers are not displayed.";
|
||||
"Scene.Follower.Title" = "follower";
|
||||
"Scene.FollowedTags.Title" = "Followed Tags";
|
||||
"Scene.Following.Footer" = "Follows from other servers are not displayed.";
|
||||
"Scene.Following.Title" = "following";
|
||||
"Scene.HomeTimeline.NavigationBarState.Accessibility.LogoHint" = "Tap to scroll to top and tap again to previous location";
|
||||
|
@ -461,4 +462,4 @@ uploaded to Mastodon.";
|
|||
back in your hands.";
|
||||
"Scene.Wizard.AccessibilityHint" = "Double tap to dismiss this wizard";
|
||||
"Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Switch between multiple accounts by holding the profile button.";
|
||||
"Scene.Wizard.NewInMastodon" = "New in Mastodon";
|
||||
"Scene.Wizard.NewInMastodon" = "New in Mastodon";
|
||||
|
|
|
@ -231,6 +231,7 @@ uploaded to Mastodon.";
|
|||
"Scene.FavoritedBy.Title" = "Favorited By";
|
||||
"Scene.Follower.Footer" = "Followers from other servers are not displayed.";
|
||||
"Scene.Follower.Title" = "follower";
|
||||
"Scene.FollowedTags.Title" = "Followed Tags";
|
||||
"Scene.Following.Footer" = "Follows from other servers are not displayed.";
|
||||
"Scene.Following.Title" = "following";
|
||||
"Scene.HomeTimeline.NavigationBarState.Accessibility.LogoHint" = "Tap to scroll to top and tap again to previous location";
|
||||
|
@ -461,4 +462,4 @@ uploaded to Mastodon.";
|
|||
back in your hands.";
|
||||
"Scene.Wizard.AccessibilityHint" = "Double tap to dismiss this wizard";
|
||||
"Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Switch between multiple accounts by holding the profile button.";
|
||||
"Scene.Wizard.NewInMastodon" = "New in Mastodon";
|
||||
"Scene.Wizard.NewInMastodon" = "New in Mastodon";
|
||||
|
|
Loading…
Reference in New Issue