Skip to content

Commit

Permalink
tpreferences: Make checkmark translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Mar 31, 2016
1 parent f6452a3 commit 4024e67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/dialogs/preferences_dialog.cpp
Expand Up @@ -66,8 +66,6 @@

namespace {

const std::string text_feature_on = "<span color='#0f0'>&#10003;</span>";

struct advanced_preferences_sorter
{
bool operator()(const config& lhs, const config& rhs) const
Expand Down Expand Up @@ -936,6 +934,8 @@ void tpreferences::setup_hotkey_list(twindow& window)
hotkey_list.clear();
visible_hotkeys_.clear();

std::string text_feature_on = "<span color='#0f0'>" + _("&#10003;") + "</span>";

FOREACH(const AUTO& hotkey_item, hotkey::get_hotkey_commands())
{
if (hotkey_item.hidden) {
Expand Down

0 comments on commit 4024e67

Please sign in to comment.