first release of translation facility
* runtime - loading and translating * design-time - works with *.ts file (pip_tr utility) * compile-time - CMake macro for compile *.ts
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "piiostring.h"
|
||||
|
||||
#include "pitranslator.h"
|
||||
|
||||
|
||||
//! \class PIIOString piiostring.h
|
||||
//! \details
|
||||
@@ -49,7 +51,7 @@ void PIIOString::clear() {
|
||||
|
||||
bool PIIOString::open(PIString * string, PIIODevice::DeviceMode mode) {
|
||||
if (mode == PIIODevice::ReadWrite) {
|
||||
piCoutObj << "Error: ReadWrite mode not supported, use WriteOnly or ReadOnly";
|
||||
piCoutObj << "Error: ReadWrite mode not supported, use WriteOnly or ReadOnly"_tr("PIIOString");
|
||||
str = nullptr;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user