Commit 2d35e74b authored by Claudio Valerio's avatar Claudio Valerio

Added Imported label into the translate string list

parent 73555ef0
...@@ -144,7 +144,7 @@ void UBLibraryController::importImageOnLibrary(QImage& pImage) ...@@ -144,7 +144,7 @@ void UBLibraryController::importImageOnLibrary(QImage& pImage)
{ {
if(!pImage.isNull()){ if(!pImage.isNull()){
QDateTime now = QDateTime::currentDateTime(); QDateTime now = QDateTime::currentDateTime();
QString filePath = mPicturesStandardDirectoryPath.toLocalFile() + "/ImportedImage-" + now.toString("dd-MM-yyyy hh-mm-ss") + ".png"; QString filePath = mPicturesStandardDirectoryPath.toLocalFile() + "/" + tr("ImportedImage") + "-" + now.toString("dd-MM-yyyy hh-mm-ss") + ".png";
filePath = UBFileSystemUtils::normalizeFilePath(filePath); filePath = UBFileSystemUtils::normalizeFilePath(filePath);
pImage.save(filePath); pImage.save(filePath);
UBApplication::showMessage(tr("Added 1 Image to Library")); UBApplication::showMessage(tr("Added 1 Image to Library"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment