diff options
Diffstat (limited to 'ui/src')
| -rw-r--r-- | ui/src/components/node_page.rs | 2 | ||||
| -rw-r--r-- | ui/src/components/props.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/node_page.rs b/ui/src/components/node_page.rs index 921f65d..17e923c 100644 --- a/ui/src/components/node_page.rs +++ b/ui/src/components/node_page.rs @@ -119,7 +119,7 @@ markup::define! { table { @for (key, value) in idents.entries::<&str>() { tr { tr { - td { @tr(ri.lang, &format!("id.{}", TAGREG.name(key))) } + td { @tr(ri.lang, &format!("id.{key}")) } @if let Some(url) = external_id_url(key, value) { td { a[href=url] { pre { @value } } } } else { diff --git a/ui/src/components/props.rs b/ui/src/components/props.rs index fa078e7..8f7bfc3 100644 --- a/ui/src/components/props.rs +++ b/ui/src/components/props.rs @@ -46,7 +46,7 @@ markup::define! { @match TypedTag(kind, PhantomData) { RTYP_YOUTUBE_LIKES => {p.likes{ @format_count(value as usize) " Likes" }} RTYP_YOUTUBE_VIEWS => {p{ @format_count(value as usize) " Views" }} - RTYP_YOUTUBE_FOLLOWERS => {p{ @format_count(value as usize) " Subscribers" }} + RTYP_YOUTUBE_SUBSCRIBERS => {p{ @format_count(value as usize) " Subscribers" }} RTYP_ROTTEN_TOMATOES => {p.rating{ @value " Tomatoes" }} RTYP_METACRITIC if *full => {p{ "Metacritic Score: " @value }} RTYP_IMDB => {p.rating{ "IMDb " @value }} |