->setEnabled(req->hasRole("createorder")&&o.canOrder());
m->addAction(tr("&Sell..."),this,SLOT(createSale()))
->setEnabled(req->hasRole("createsale")&&o.canSell());
- m->addAction(tr("&Prune and recheck..."),this,SLOT(recheckOrder()));
+ m->addAction(tr("&Prune and recheck..."),this,SLOT(recheckOrder()))
+ ->setEnabled(o.orderID()<0);
m->addSeparator();
m->addAction(tr("C&ancel Order..."),this,SLOT(cancelOrder()))
->setEnabled(req->hasRole("cancelorder")&&o.isStored());
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS><TS version="1.1" language="de">
+<defaultcodec></defaultcodec>
<context>
<name>MCheckDialog</name>
<message>
<location filename="order.cpp" line="351"/>
<source>yyyy-MM-dd hh:mm ap</source>
<comment>date/time format</comment>
- <translation>ddd, dd.MM.yyyy hh:mm Uhr</translation>
+ <translation>ddd, dd.MM.yyyy hh:mm 'Uhr'</translation>
</message>
<message>
<location filename="order.cpp" line="364"/>