Add 'My feed' to i18n timeline name

This commit is contained in:
Kitaiti Makoto 2022-05-15 03:32:45 +09:00
parent db205d0d9d
commit 29ef73d307

View File

@ -116,6 +116,7 @@ pub fn translate_notification(ctx: BaseContext<'_>, notif: Notification) -> Stri
pub fn i18n_timeline_name(cat: &Catalog, tl: &str) -> String { pub fn i18n_timeline_name(cat: &Catalog, tl: &str) -> String {
match tl { match tl {
"Your feed" => i18n!(cat, "Your feed"), "Your feed" => i18n!(cat, "Your feed"),
"My feed" => i18n!(cat, "My feed"),
"Local feed" => i18n!(cat, "Local feed"), "Local feed" => i18n!(cat, "Local feed"),
"Federated feed" => i18n!(cat, "Federated feed"), "Federated feed" => i18n!(cat, "Federated feed"),
n => n.to_string(), n => n.to_string(),