summaryrefslogtreecommitdiff
path: root/src/ClockTool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClockTool.cc')
-rw-r--r--src/ClockTool.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ClockTool.cc b/src/ClockTool.cc
index efc0ffb..7385a98 100644
--- a/src/ClockTool.cc
+++ b/src/ClockTool.cc
@@ -58,9 +58,9 @@ public:
58 if (m_tool.timeFormat().find("%k") != std::string::npos || 58 if (m_tool.timeFormat().find("%k") != std::string::npos ||
59 m_tool.timeFormat().find("%H") != std::string::npos || 59 m_tool.timeFormat().find("%H") != std::string::npos ||
60 m_tool.timeFormat().find("%T") != std::string::npos) 60 m_tool.timeFormat().find("%T") != std::string::npos)
61 setLabel( _FBTEXT(Toolbar, Clock24, "Clock: 24h", "set Clockmode to 24h") ); 61 setLabel( _FB_XTEXT(Toolbar, Clock24, "Clock: 24h", "set Clockmode to 24h") );
62 else 62 else
63 setLabel( _FBTEXT(Toolbar, Clock12, "Clock: 12h", "set Clockmode to 12h") ); 63 setLabel( _FB_XTEXT(Toolbar, Clock12, "Clock: 12h", "set Clockmode to 12h") );
64 } 64 }
65 65
66 void click(int button, int time) { 66 void click(int button, int time) {
@@ -107,9 +107,9 @@ public:
107 if (m_tool.timeFormat().find("%k") != std::string::npos || 107 if (m_tool.timeFormat().find("%k") != std::string::npos ||
108 m_tool.timeFormat().find("%H") != std::string::npos || 108 m_tool.timeFormat().find("%H") != std::string::npos ||
109 m_tool.timeFormat().find("%T") != std::string::npos) 109 m_tool.timeFormat().find("%T") != std::string::npos)
110 setLabel( _FBTEXT(Toolbar, Clock24, "Clock: 24h", "set Clockmode to 24h") ); 110 setLabel( _FB_XTEXT(Toolbar, Clock24, "Clock: 24h", "set Clockmode to 24h") );
111 else 111 else
112 setLabel( _FBTEXT(Toolbar, Clock12, "Clock: 12h", "set Clockmode to 12h") ); 112 setLabel( _FB_XTEXT(Toolbar, Clock12, "Clock: 12h", "set Clockmode to 12h") );
113 113
114 } // else some other strange format...so we don't do anything 114 } // else some other strange format...so we don't do anything
115 FbTk::MenuItem::click(button, time); 115 FbTk::MenuItem::click(button, time);
@@ -166,7 +166,7 @@ ClockTool::ClockTool(const FbTk::FbWindow &parent,
166 item->setCommand(saverc); 166 item->setCommand(saverc);
167 menu.insert(item); 167 menu.insert(item);
168 FbTk::RefCount<FbTk::Command> editformat_cmd(new EditClockFormatCmd()); 168 FbTk::RefCount<FbTk::Command> editformat_cmd(new EditClockFormatCmd());
169 menu.insert(_FBTEXT(Toolbar, ClockEditFormat, "Edit Clock Format", "edit Clock Format") , editformat_cmd); 169 menu.insert(_FB_XTEXT(Toolbar, ClockEditFormat, "Edit Clock Format", "edit Clock Format") , editformat_cmd);
170 170
171 171
172 update(0); 172 update(0);