Merge pull request 'Add 'My feed' to i18n timeline name' (#1084) from myfeed-translation into main

Reviewed-on: https://git.joinplu.me/Plume/Plume/pulls/1084
This commit is contained in:
KitaitiMakoto 2022-05-14 18:35:35 +00:00
commit aff481b947

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(),