Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/uu/logname/locales/en-US.ftl
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
logname-about = Print user's login name
logname-error-no-login-name = no login name
2 changes: 2 additions & 0 deletions src/uu/logname/locales/fr-FR.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
logname-about = Afficher le nom de connexion de l'utilisateur
logname-error-no-login-name = aucun nom de connexion
2 changes: 1 addition & 1 deletion src/uu/logname/src/logname.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {

match get_userlogin() {
Some(userlogin) => println!("{userlogin}"),
None => show_error!("no login name"),
None => show_error!("{}", get_message("logname-error-no-login-name")),
}

Ok(())
Expand Down
Loading