diff options
author | Daniel Burrows <dburrows@debian.org> | 2007-11-12 09:10:43 -0800 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2007-11-12 09:10:43 -0800 |
commit | 71f8ed381722b1c491ed9e9213abbe6a87a9f241 (patch) | |
tree | c53c5a20776a222357e1f60b0dac0c1050b045a4 | |
parent | 3d1b455a22a37e5a670e6b6c3b94914dde707305 (diff) | |
download | aptitude-71f8ed381722b1c491ed9e9213abbe6a87a9f241.tar.gz |
Interpret key names in the broken indicator as wide-character strings. (Closes: #448753)
-rw-r--r-- | src/broken_indicator.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/broken_indicator.cc b/src/broken_indicator.cc index d4ff692a..67e32e93 100644 --- a/src/broken_indicator.cc +++ b/src/broken_indicator.cc @@ -115,7 +115,7 @@ private: vector<fragment *> key_hints; - key_hints.push_back(fragf(_("%s: Examine"), + key_hints.push_back(fragf(_("%ls: Examine"), examine.c_str())); @@ -123,15 +123,15 @@ private: bool can_next = (state.selected_solution < state.generated_solutions && !(state.selected_solution + 1 == state.generated_solutions && state.solutions_exhausted)); - key_hints.push_back(style_fragment(fragf(_("%s: Apply"), + key_hints.push_back(style_fragment(fragf(_("%ls: Apply"), apply.c_str()), can_apply ? st_normal : st_disabled)); - key_hints.push_back(style_fragment(fragf(_("%s: Next"), + key_hints.push_back(style_fragment(fragf(_("%ls: Next"), next.c_str()), can_next ? st_normal : st_disabled)); bool can_prev = (state.selected_solution > 0); - key_hints.push_back(style_fragment(fragf(_("%s: Previous"), + key_hints.push_back(style_fragment(fragf(_("%ls: Previous"), prev.c_str()), can_prev ? st_normal : st_disabled)); |