Skip to content

Commit 0fd6352

Browse files
sylvestreRenjiSann
authored andcommitted
who: hardcode idle current/unknown placeholders
1 parent 170f012 commit 0fd6352

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/uu/who/locales/en-US.ftl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ who-user-count = # { $count ->
3232
}
3333
3434
# Idle time indicators
35-
who-idle-current = .
3635
who-idle-old = old
37-
who-idle-unknown = ?
3836
3937
# System information
4038
who-runlevel = run-level { $level }

src/uu/who/locales/fr-FR.ftl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ who-user-count = # { $count ->
3232
3333
# Idle time indicators
3434
who-idle-old = anc.
35-
who-idle-unknown = ?
3635
3736
# System information
3837
who-runlevel = niveau-exec { $level }

src/uu/who/src/platform/unix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ impl Who {
379379
}
380380

381381
let idle = if last_change == 0 {
382-
translate!("who-idle-unknown").into()
382+
" ?".into()
383383
} else {
384384
idle_string(last_change, 0)
385385
};

0 commit comments

Comments
 (0)