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