mirror of
https://github.com/SinTan1729/movie-rename.git
synced 2024-12-26 20:28:36 -06:00
Show full language name in selection menu
This commit is contained in:
parent
cbb6b2ab21
commit
5d294a4687
1 changed files with 4 additions and 1 deletions
|
@ -45,7 +45,10 @@ impl fmt::Display for MovieEntry {
|
||||||
let mut buffer = String::new();
|
let mut buffer = String::new();
|
||||||
buffer.push_str(&format!("{} ", self.title));
|
buffer.push_str(&format!("{} ", self.title));
|
||||||
buffer.push_str(&format!("({}), ", self.year));
|
buffer.push_str(&format!("({}), ", self.year));
|
||||||
buffer.push_str(&format!("Language: {}, ", self.language));
|
buffer.push_str(&format!(
|
||||||
|
"Language: {}, ",
|
||||||
|
get_long_lang(self.language.as_str())
|
||||||
|
));
|
||||||
buffer.push_str(&format!("Directed by: {}, ", self.director));
|
buffer.push_str(&format!("Directed by: {}, ", self.director));
|
||||||
buffer.push_str(&format!("TMDb ID: {}", self.id));
|
buffer.push_str(&format!("TMDb ID: {}", self.id));
|
||||||
// buffer.push_str(&format!("Synopsis: {}", self.overview));
|
// buffer.push_str(&format!("Synopsis: {}", self.overview));
|
||||||
|
|
Loading…
Reference in a new issue