diff --git a/CMakeLists.txt b/CMakeLists.txt index b99346b6..d55cc309 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,15 +8,24 @@ set(CMAKE_AUTORCC ON) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) +option(ENABLEOCR "Enable OCR" OFF) + include_directories(${PROJECT_BINARY_DIR}) configure_file(${PROJECT_SOURCE_DIR}/config.h.in ${PROJECT_BINARY_DIR}/config.h @ONLY) +find_package(Qt5 REQUIRED COMPONENTS + Core Gui Quick QuickCompiler + DBus Concurrent Svg PrintSupport LinguistTools) +find_package(Qt5Gui) find_package(DtkDeclarative REQUIRED) +find_package(DtkWidget REQUIRED) +find_package(DtkGui REQUIRED) +find_package(PkgConfig REQUIRED) # Application add_subdirectory(src) -add_subdirectory(qimage-plugins) +#add_subdirectory(qimage-plugins) # Unit Tests #add_subdirectory(tests) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 276cb9b5..23ea3397 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,48 +1,60 @@ -cmake_minimum_required(VERSION 3.1) - -#玲珑构建依赖目录 -include_directories(${CMAKE_INSTALL_PREFIX}/include) -include_directories(${CMAKE_INSTALL_PREFIX}/include/deepin-ocr-plugin-manager) - -set(APP_BIN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/bin/) set(BIN_NAME ${CMAKE_PROJECT_NAME}) -list (APPEND RESOURCES) - # Set sources set(SRC - main.cpp - ) - -# 源文件 -file(GLOB_RECURSE SRCS - ./src/*.h - ./src/*.cpp - ) + main.cpp +) + +file(GLOB OCR + ./src/ocr/*.h + ./src/ocr/*.cpp +) + +file(GLOB UIONIMAGE + ./src/unionimage/*.h + ./src/unionimage/*.cpp +) + +file(GLOB DBUS + ./src/dbus/*.h + ./src/dbus/*.cpp +) + +file(GLOB PRINTDIALOG + ./src/printdialog/*.h + ./src/printdialog/*.cpp +) + +file(GLOB UTILS + ./src/utils/*.h + ./src/utils/*.cpp +) + +file(GLOB TOP + ./src/*.h + ./src/*.cpp +) + +set(SRCS + ${PRINTDIALOG} + ${DBUS} + ${UIONIMAGE} + ${UTILS} + ${TOP} +) + +if(ENABLEOCR) + list(APPEND SRCS + ${OCR} + ) +endif() file(GLOB_RECURSE QMLSRC - ./*.qml - ) - -# Find the Qt5Quick library -find_package(Qt5Quick CONFIG REQUIRED) -find_package(Qt5QuickCompiler REQUIRED) -find_package(Qt5DBus CONFIG REQUIRED) -find_package(Qt5Concurrent CONFIG REQUIRED) -find_package(Qt5Svg CONFIG REQUIRED) -find_package(Qt5PrintSupport CONFIG REQUIRED) -find_package(Qt5LinguistTools CONFIG REQUIRED) + ./*.qml +) +pkg_search_module(LIBRAW REQUIRED IMPORTED_TARGET libraw) qtquick_compiler_add_resources(RCC_SOURCES ${RESOURCES}) -find_package(PkgConfig REQUIRED) -pkg_check_modules(3rd_lib REQUIRED - dtkwidget - ) - -# OCR -pkg_search_module(OCR_PLUGIN REQUIRED deepin-ocr-plugin-manager) -include_directories(${OCR_PLUGIN_INCLUDE_DIRS}) - # 保证 src 目录下头文件全局可见 include_directories(src) @@ -65,17 +77,28 @@ add_executable(${BIN_NAME} ${QM} deepin-image-viewer.qrc res.qrc - ) +) -target_include_directories(${BIN_NAME} PUBLIC ${3rd_lib_INCLUDE_DIRS}) target_link_libraries(${BIN_NAME} ${DtkDeclarative_LIBRARIES} - Qt5::Quick Qt5::PrintSupport Qt5::Gui Qt5::Qml Qt5::Core Qt5::DBus Qt5::Concurrent Qt5::Svg + Qt5::Quick + Qt5::PrintSupport + Qt5::Gui + Qt5::Qml + Qt5::Core + Qt5::DBus + Qt5::Concurrent + Qt5::Svg GL pthread freeimage - ${3rd_lib_LIBRARIES} - ${OCR_PLUGIN_LIBRARIES} - ) - + ${DtkWidget_LIBRARIES} + PkgConfig::LIBRAW + ) +if(ENABLEOCR) + target_link_libraries(${BIN_NAME} + PkgConfig::OCR_PLUGIN + ) + +endif() if (${CMAKE_BUILD_TYPE} MATCHES "Debug") TARGET_COMPILE_DEFINITIONS(${BIN_NAME} PRIVATE $<$,$>:QT_QML_DEBUG>) endif () diff --git a/src/main.cpp b/src/main.cpp index a3fd3d79..bcc82b3f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,7 +6,9 @@ #include "src/filecontrol.h" #include "src/thumbnailload.h" #include "src/cursortool.h" +#ifdef ENABLEOCR #include "src/ocr/livetextanalyzer.h" +#endif #include "src/dbus/applicationadpator.h" #include "config.h" @@ -67,6 +69,7 @@ int main(int argc, char *argv[]) CursorTool *cursorTool = new CursorTool(); engine.rootContext()->setContextProperty("cursorTool", cursorTool); // OCR分析工具 +#ifdef ENABLEOCR auto liveTextAnalyzer = new LiveTextAnalyzer; engine.rootContext()->setContextProperty("liveTextAnalyzer", liveTextAnalyzer); engine.addImageProvider(QLatin1String("liveTextAnalyzer"), liveTextAnalyzer); @@ -74,7 +77,7 @@ int main(int argc, char *argv[]) engine.load(QUrl(QStringLiteral("qrc:/qml/main.qml"))); if (engine.rootObjects().isEmpty()) return -1; - +#endif // 设置DBus接口 ApplicationAdaptor adaptor(fileControl); QDBusConnection::sessionBus().registerService("com.deepin.imageViewer"); diff --git a/src/src/filecontrol.cpp b/src/src/filecontrol.cpp index 7e41eaf0..0ecce921 100644 --- a/src/src/filecontrol.cpp +++ b/src/src/filecontrol.cpp @@ -6,10 +6,15 @@ #include "unionimage/unionimage_global.h" #include "unionimage/unionimage.h" #include "printdialog/printhelper.h" +#include +#ifdef ENABLEOCR #include "ocr/ocrinterface.h" +#endif #include +#include +#include #include #include #include @@ -82,8 +87,9 @@ QUrl UrlInfo(QString path) FileControl::FileControl(QObject *parent) : QObject(parent) { +#ifdef ENABLEOCR m_ocrInterface = new OcrInterface("com.deepin.Ocr", "/com/deepin/Ocr", QDBusConnection::sessionBus(), this); - +#endif m_shortcutViewProcess = new QProcess(this); m_config = LibConfigSetter::instance(); @@ -340,7 +346,6 @@ void FileControl::copyImage(const QString &path) QString localPath = QUrl(path).toLocalFile(); QClipboard *cb = qApp->clipboard(); - // Ownership of the new data is transferred to the clipboard. QMimeData *newMimeData = new QMimeData(); @@ -430,6 +435,7 @@ bool FileControl::isFile(const QString &path) return QFileInfo(localPath).isFile(); } +#ifdef ENABLEOCR void FileControl::ocrImage(const QString &path, int index) { slotRotatePixCurrent(); @@ -445,7 +451,7 @@ void FileControl::ocrImage(const QString &path, int index) m_ocrInterface->openFile(tempFileName); } } - +#endif QString FileControl::parseCommandlineGetPath(const QString &path) { Q_UNUSED(path) diff --git a/src/src/filecontrol.h b/src/src/filecontrol.h index 1c1b1858..387b05da 100644 --- a/src/src/filecontrol.h +++ b/src/src/filecontrol.h @@ -15,7 +15,9 @@ #include #include +#ifdef ENABLEOCR class OcrInterface; +#endif class QProcess; class FileControl : public QObject @@ -64,8 +66,10 @@ class FileControl : public QObject //是否是文件 Q_INVOKABLE bool isFile(const QString &path); +#ifdef ENABLEOCR //进行ocr识别 Q_INVOKABLE void ocrImage(const QString &path, int index); +#endif // Q_INVOKABLE double fitImage(int imgWidth, int windowWidth); @@ -203,7 +207,9 @@ class FileControl : public QObject QString createShortcutString(); private : +#ifdef ENABLEOCR OcrInterface *m_ocrInterface; +#endif QString m_currentPath; // 当前操作的旋转图片路径 QString m_shortcutString; // 快捷键字符串,将采用懒加载模式,需要通过createShortcutString()函数使用 QProcess *m_shortcutViewProcess; // 快捷键面板进程 diff --git a/src/src/printdialog/printhelper.cpp b/src/src/printdialog/printhelper.cpp old mode 100755 new mode 100644 diff --git a/src/src/printdialog/printhelper.h b/src/src/printdialog/printhelper.h old mode 100755 new mode 100644 diff --git a/src/src/unionimage/baseutils.cpp b/src/src/unionimage/baseutils.cpp old mode 100755 new mode 100644 diff --git a/src/src/unionimage/baseutils.h b/src/src/unionimage/baseutils.h old mode 100755 new mode 100644 diff --git a/src/src/unionimage/imageutils.cpp b/src/src/unionimage/imageutils.cpp old mode 100755 new mode 100644 diff --git a/src/src/unionimage/imageutils.h b/src/src/unionimage/imageutils.h old mode 100755 new mode 100644 diff --git a/src/translations/deepin-image-viewer.ts b/src/translations/deepin-image-viewer.ts index 89116d3d..6620256e 100644 --- a/src/translations/deepin-image-viewer.ts +++ b/src/translations/deepin-image-viewer.ts @@ -235,7 +235,7 @@ day - day + day Image Viewer is an image viewing tool with fashion interface and smooth performance. diff --git a/src/translations/deepin-image-viewer_am_ET.ts b/src/translations/deepin-image-viewer_am_ET.ts index fd36a206..0b261004 100644 --- a/src/translations/deepin-image-viewer_am_ET.ts +++ b/src/translations/deepin-image-viewer_am_ET.ts @@ -233,10 +233,6 @@ Image Viewer - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_ar.ts b/src/translations/deepin-image-viewer_ar.ts index 2707b1fb..91af5b04 100644 --- a/src/translations/deepin-image-viewer_ar.ts +++ b/src/translations/deepin-image-viewer_ar.ts @@ -233,10 +233,6 @@ Image Viewer عارض الصور - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_az.ts b/src/translations/deepin-image-viewer_az.ts index 4d1b7ebb..fc12bdaf 100644 --- a/src/translations/deepin-image-viewer_az.ts +++ b/src/translations/deepin-image-viewer_az.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - gün + gün Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,7 +398,7 @@ Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_bg.ts b/src/translations/deepin-image-viewer_bg.ts index 7d24836d..f88f1a23 100644 --- a/src/translations/deepin-image-viewer_bg.ts +++ b/src/translations/deepin-image-viewer_bg.ts @@ -233,10 +233,6 @@ Image Viewer - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_bo.ts b/src/translations/deepin-image-viewer_bo.ts index 1ce74e3c..85e956a1 100644 --- a/src/translations/deepin-image-viewer_bo.ts +++ b/src/translations/deepin-image-viewer_bo.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -113,7 +115,7 @@ Size - + Date captured @@ -177,7 +179,7 @@ File name - + Dimensions @@ -193,18 +195,18 @@ Device model - + LiveTextWidget Copy (Ctrl+C) - + Select all (Ctrl+A) - + @@ -215,14 +217,14 @@ Select pictures - + PropertyActionItemDelegate The file already exists, please use another name - + @@ -233,7 +235,7 @@ day - ཉིན། + ཉིན། Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -248,7 +250,7 @@ The file already exists, please use another name - + Cancel @@ -294,7 +296,7 @@ Original size - + Fit to window @@ -302,7 +304,7 @@ Rotate - + Extract text @@ -388,15 +390,15 @@ Version - + %1 is released under %2 - + Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_ca.ts b/src/translations/deepin-image-viewer_ca.ts index 8cadaf46..f8cb17ee 100644 --- a/src/translations/deepin-image-viewer_ca.ts +++ b/src/translations/deepin-image-viewer_ca.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - dia + dia Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,7 +398,7 @@ Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_cs.ts b/src/translations/deepin-image-viewer_cs.ts index 4a68bfd8..d98efd67 100644 --- a/src/translations/deepin-image-viewer_cs.ts +++ b/src/translations/deepin-image-viewer_cs.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -233,7 +235,7 @@ day - den + den Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,7 +398,7 @@ Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_da.ts b/src/translations/deepin-image-viewer_da.ts index a5d9167e..29d4ca43 100644 --- a/src/translations/deepin-image-viewer_da.ts +++ b/src/translations/deepin-image-viewer_da.ts @@ -233,10 +233,6 @@ Image Viewer Billedfremviser - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_de.ts b/src/translations/deepin-image-viewer_de.ts index a4c31807..e5b8c1c7 100644 --- a/src/translations/deepin-image-viewer_de.ts +++ b/src/translations/deepin-image-viewer_de.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - Tag + Tag Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,7 +398,7 @@ Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_el.ts b/src/translations/deepin-image-viewer_el.ts index 9f2c5b6a..ab240e1a 100644 --- a/src/translations/deepin-image-viewer_el.ts +++ b/src/translations/deepin-image-viewer_el.ts @@ -233,10 +233,6 @@ Image Viewer - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_es.ts b/src/translations/deepin-image-viewer_es.ts index 0dd3455e..3feddc6b 100644 --- a/src/translations/deepin-image-viewer_es.ts +++ b/src/translations/deepin-image-viewer_es.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - día + día Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,7 +398,7 @@ Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_et.ts b/src/translations/deepin-image-viewer_et.ts index 3f7aace2..5033d9d3 100644 --- a/src/translations/deepin-image-viewer_et.ts +++ b/src/translations/deepin-image-viewer_et.ts @@ -233,10 +233,6 @@ Image Viewer - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_fa.ts b/src/translations/deepin-image-viewer_fa.ts index 4c0824f1..287e781c 100644 --- a/src/translations/deepin-image-viewer_fa.ts +++ b/src/translations/deepin-image-viewer_fa.ts @@ -233,10 +233,6 @@ Image Viewer - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_fi.ts b/src/translations/deepin-image-viewer_fi.ts index d2a51fb0..0b20a959 100644 --- a/src/translations/deepin-image-viewer_fi.ts +++ b/src/translations/deepin-image-viewer_fi.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -113,7 +115,7 @@ Size - + Date captured @@ -177,7 +179,7 @@ File name - + Dimensions @@ -193,18 +195,18 @@ Device model - + LiveTextWidget Copy (Ctrl+C) - + Select all (Ctrl+A) - + @@ -215,14 +217,14 @@ Select pictures - + PropertyActionItemDelegate The file already exists, please use another name - + @@ -233,7 +235,7 @@ day - päivä + päivä Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -248,7 +250,7 @@ The file already exists, please use another name - + Cancel @@ -294,7 +296,7 @@ Original size - + Fit to window @@ -302,7 +304,7 @@ Rotate - + Extract text @@ -388,15 +390,15 @@ Version - + %1 is released under %2 - + Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_fr.ts b/src/translations/deepin-image-viewer_fr.ts index d7fcc66d..dde0f5f7 100644 --- a/src/translations/deepin-image-viewer_fr.ts +++ b/src/translations/deepin-image-viewer_fr.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -113,7 +115,7 @@ Size - + Date captured @@ -177,7 +179,7 @@ File name - + Dimensions @@ -193,18 +195,18 @@ Device model - + LiveTextWidget Copy (Ctrl+C) - + Select all (Ctrl+A) - + @@ -215,14 +217,14 @@ Select pictures - + PropertyActionItemDelegate The file already exists, please use another name - + @@ -233,7 +235,7 @@ day - jour + jour Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -248,7 +250,7 @@ The file already exists, please use another name - + Cancel @@ -294,7 +296,7 @@ Original size - + Fit to window @@ -302,7 +304,7 @@ Rotate - + Extract text @@ -388,15 +390,15 @@ Version - + %1 is released under %2 - + Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_gl_ES.ts b/src/translations/deepin-image-viewer_gl_ES.ts index 1a0a2fa1..2e98c8dd 100644 --- a/src/translations/deepin-image-viewer_gl_ES.ts +++ b/src/translations/deepin-image-viewer_gl_ES.ts @@ -233,10 +233,6 @@ Image Viewer Visualizador de imaxes - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_he.ts b/src/translations/deepin-image-viewer_he.ts index e619ecf3..bb1f2ee3 100644 --- a/src/translations/deepin-image-viewer_he.ts +++ b/src/translations/deepin-image-viewer_he.ts @@ -233,10 +233,6 @@ Image Viewer - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_hr.ts b/src/translations/deepin-image-viewer_hr.ts index ed732c4a..4b39595c 100644 --- a/src/translations/deepin-image-viewer_hr.ts +++ b/src/translations/deepin-image-viewer_hr.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -11,7 +13,7 @@ Extract text - + Slide show @@ -59,11 +61,11 @@ Zoom in - + Zoom out - + Open @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -117,7 +119,7 @@ Date captured - + Date modified @@ -129,7 +131,7 @@ Aperture - + Exposure program @@ -157,7 +159,7 @@ Flash compensation - + Colorspace @@ -165,7 +167,7 @@ Metering mode - + White balance @@ -189,7 +191,7 @@ Max aperture - + Device model @@ -233,11 +235,11 @@ day - dan + dan Image Viewer is an image viewing tool with fashion interface and smooth performance. - + @@ -271,7 +273,7 @@ Play - + Next @@ -302,11 +304,11 @@ Rotate - + Extract text - + Delete @@ -329,7 +331,7 @@ Extract text - + Slide show @@ -380,7 +382,7 @@ ViewTopTitle Image Viewer is an image viewing tool with fashion interface and smooth performance. - + Image Viewer @@ -392,11 +394,11 @@ %1 is released under %2 - + Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_hu.ts b/src/translations/deepin-image-viewer_hu.ts index a8e85de0..13add3f1 100644 --- a/src/translations/deepin-image-viewer_hu.ts +++ b/src/translations/deepin-image-viewer_hu.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - nap + nap Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,7 +398,7 @@ Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_id.ts b/src/translations/deepin-image-viewer_id.ts index adcd461a..c970cb9b 100644 --- a/src/translations/deepin-image-viewer_id.ts +++ b/src/translations/deepin-image-viewer_id.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -113,7 +115,7 @@ Size - + Date captured @@ -177,7 +179,7 @@ File name - + Dimensions @@ -193,18 +195,18 @@ Device model - + LiveTextWidget Copy (Ctrl+C) - + Select all (Ctrl+A) - + @@ -215,14 +217,14 @@ Select pictures - + PropertyActionItemDelegate The file already exists, please use another name - + @@ -233,7 +235,7 @@ day - hari + hari Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -248,7 +250,7 @@ The file already exists, please use another name - + Cancel @@ -294,7 +296,7 @@ Original size - + Fit to window @@ -302,7 +304,7 @@ Rotate - + Extract text @@ -388,15 +390,15 @@ Version - + %1 is released under %2 - + Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_it.ts b/src/translations/deepin-image-viewer_it.ts index 7dfaf725..fca22f4f 100644 --- a/src/translations/deepin-image-viewer_it.ts +++ b/src/translations/deepin-image-viewer_it.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -113,7 +115,7 @@ Size - + Date captured @@ -177,7 +179,7 @@ File name - + Dimensions @@ -193,18 +195,18 @@ Device model - + LiveTextWidget Copy (Ctrl+C) - + Select all (Ctrl+A) - + @@ -215,14 +217,14 @@ Select pictures - + PropertyActionItemDelegate The file already exists, please use another name - + @@ -233,7 +235,7 @@ day - giorno + giorno Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -249,7 +251,7 @@ Localizzazione italiana a cura di Massimo A. Carofano. The file already exists, please use another name - + Cancel @@ -295,7 +297,7 @@ Localizzazione italiana a cura di Massimo A. Carofano. Original size - + Fit to window @@ -303,7 +305,7 @@ Localizzazione italiana a cura di Massimo A. Carofano. Rotate - + Extract text @@ -390,15 +392,15 @@ Localizzazione italiana a cura di Massimo A. Carofano. Version - + %1 is released under %2 - + Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_ko.ts b/src/translations/deepin-image-viewer_ko.ts index 546e0c3d..440f2970 100644 --- a/src/translations/deepin-image-viewer_ko.ts +++ b/src/translations/deepin-image-viewer_ko.ts @@ -233,10 +233,6 @@ Image Viewer 이미지 보기도구 - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_lt.ts b/src/translations/deepin-image-viewer_lt.ts index 940a63b8..1e4a5f68 100644 --- a/src/translations/deepin-image-viewer_lt.ts +++ b/src/translations/deepin-image-viewer_lt.ts @@ -233,10 +233,6 @@ Image Viewer Paveikslų žiūryklė - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_ms.ts b/src/translations/deepin-image-viewer_ms.ts index ad097628..68283d07 100644 --- a/src/translations/deepin-image-viewer_ms.ts +++ b/src/translations/deepin-image-viewer_ms.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - hari + hari Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,7 +398,7 @@ Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_ne.ts b/src/translations/deepin-image-viewer_ne.ts index 699bfc6f..db42bf4e 100644 --- a/src/translations/deepin-image-viewer_ne.ts +++ b/src/translations/deepin-image-viewer_ne.ts @@ -233,10 +233,6 @@ Image Viewer इमेज विएवेर - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_nl.ts b/src/translations/deepin-image-viewer_nl.ts index c72dbfb9..2a209ce4 100644 --- a/src/translations/deepin-image-viewer_nl.ts +++ b/src/translations/deepin-image-viewer_nl.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - dag + dag Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,7 +398,7 @@ Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_pl.ts b/src/translations/deepin-image-viewer_pl.ts index 17332e42..24153c30 100644 --- a/src/translations/deepin-image-viewer_pl.ts +++ b/src/translations/deepin-image-viewer_pl.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - dzień + dzień Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,7 +398,7 @@ Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_pt.ts b/src/translations/deepin-image-viewer_pt.ts index 0e653e18..3386afba 100644 --- a/src/translations/deepin-image-viewer_pt.ts +++ b/src/translations/deepin-image-viewer_pt.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - dia + dia Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,7 +398,7 @@ Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_pt_BR.ts b/src/translations/deepin-image-viewer_pt_BR.ts index df578a20..93025453 100644 --- a/src/translations/deepin-image-viewer_pt_BR.ts +++ b/src/translations/deepin-image-viewer_pt_BR.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -113,7 +115,7 @@ Size - + Date captured @@ -177,7 +179,7 @@ File name - + Dimensions @@ -193,18 +195,18 @@ Device model - + LiveTextWidget Copy (Ctrl+C) - + Select all (Ctrl+A) - + @@ -215,14 +217,14 @@ Select pictures - + PropertyActionItemDelegate The file already exists, please use another name - + @@ -233,7 +235,7 @@ day - dia + dia Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -248,7 +250,7 @@ The file already exists, please use another name - + Cancel @@ -294,7 +296,7 @@ Original size - + Fit to window @@ -302,7 +304,7 @@ Rotate - + Extract text @@ -388,15 +390,15 @@ Version - + %1 is released under %2 - + Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_ru.ts b/src/translations/deepin-image-viewer_ru.ts index 4ffc271d..3bcdf485 100644 --- a/src/translations/deepin-image-viewer_ru.ts +++ b/src/translations/deepin-image-viewer_ru.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -113,7 +115,7 @@ Size - + Date captured @@ -177,7 +179,7 @@ File name - + Dimensions @@ -193,18 +195,18 @@ Device model - + LiveTextWidget Copy (Ctrl+C) - + Select all (Ctrl+A) - + @@ -215,14 +217,14 @@ Select pictures - + PropertyActionItemDelegate The file already exists, please use another name - + @@ -233,7 +235,7 @@ day - д + д Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -248,7 +250,7 @@ The file already exists, please use another name - + Cancel @@ -294,7 +296,7 @@ Original size - + Fit to window @@ -302,7 +304,7 @@ Rotate - + Extract text @@ -388,15 +390,15 @@ Version - + %1 is released under %2 - + Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_sk.ts b/src/translations/deepin-image-viewer_sk.ts index 7eb18353..e559b5e9 100644 --- a/src/translations/deepin-image-viewer_sk.ts +++ b/src/translations/deepin-image-viewer_sk.ts @@ -233,10 +233,6 @@ Image Viewer - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_sl.ts b/src/translations/deepin-image-viewer_sl.ts index aeae5dcd..a97305c7 100644 --- a/src/translations/deepin-image-viewer_sl.ts +++ b/src/translations/deepin-image-viewer_sl.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -113,7 +115,7 @@ Size - + Date captured @@ -177,7 +179,7 @@ File name - + Dimensions @@ -193,18 +195,18 @@ Device model - + LiveTextWidget Copy (Ctrl+C) - + Select all (Ctrl+A) - + @@ -215,14 +217,14 @@ Select pictures - + PropertyActionItemDelegate The file already exists, please use another name - + @@ -233,7 +235,7 @@ day - dan + dan Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -248,7 +250,7 @@ The file already exists, please use another name - + Cancel @@ -294,7 +296,7 @@ Original size - + Fit to window @@ -302,7 +304,7 @@ Rotate - + Extract text @@ -388,15 +390,15 @@ Version - + %1 is released under %2 - + Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_sq.ts b/src/translations/deepin-image-viewer_sq.ts index 7e0641b6..ecee2d39 100644 --- a/src/translations/deepin-image-viewer_sq.ts +++ b/src/translations/deepin-image-viewer_sq.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -95,7 +97,7 @@ Live Text - + @@ -233,7 +235,7 @@ day - ditë + ditë Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,7 +398,7 @@ Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_sr.ts b/src/translations/deepin-image-viewer_sr.ts index 26a7ea47..68366e83 100644 --- a/src/translations/deepin-image-viewer_sr.ts +++ b/src/translations/deepin-image-viewer_sr.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -113,7 +115,7 @@ Size - + Date captured @@ -177,7 +179,7 @@ File name - + Dimensions @@ -193,18 +195,18 @@ Device model - + LiveTextWidget Copy (Ctrl+C) - + Select all (Ctrl+A) - + @@ -215,14 +217,14 @@ Select pictures - + PropertyActionItemDelegate The file already exists, please use another name - + @@ -233,7 +235,7 @@ day - дан + дан Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -248,7 +250,7 @@ The file already exists, please use another name - + Cancel @@ -294,7 +296,7 @@ Original size - + Fit to window @@ -302,7 +304,7 @@ Rotate - + Extract text @@ -388,15 +390,15 @@ Version - + %1 is released under %2 - + Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_sv.ts b/src/translations/deepin-image-viewer_sv.ts index 157efbdf..c110bd01 100644 --- a/src/translations/deepin-image-viewer_sv.ts +++ b/src/translations/deepin-image-viewer_sv.ts @@ -233,10 +233,6 @@ Image Viewer - - day - - Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,5 +392,9 @@ %1 is released under %2 + + Open image + + diff --git a/src/translations/deepin-image-viewer_tr.ts b/src/translations/deepin-image-viewer_tr.ts index 30b9f4e3..5c1418c0 100644 --- a/src/translations/deepin-image-viewer_tr.ts +++ b/src/translations/deepin-image-viewer_tr.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -113,7 +115,7 @@ Size - + Date captured @@ -177,7 +179,7 @@ File name - + Dimensions @@ -193,18 +195,18 @@ Device model - + LiveTextWidget Copy (Ctrl+C) - + Select all (Ctrl+A) - + @@ -215,14 +217,14 @@ Select pictures - + PropertyActionItemDelegate The file already exists, please use another name - + @@ -233,7 +235,7 @@ day - gün + gün Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -248,7 +250,7 @@ The file already exists, please use another name - + Cancel @@ -294,7 +296,7 @@ Original size - + Fit to window @@ -302,7 +304,7 @@ Rotate - + Extract text @@ -388,15 +390,15 @@ Version - + %1 is released under %2 - + Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_ug.ts b/src/translations/deepin-image-viewer_ug.ts index abcc465b..ee4d3809 100644 --- a/src/translations/deepin-image-viewer_ug.ts +++ b/src/translations/deepin-image-viewer_ug.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -91,11 +93,11 @@ Select all - + Live Text - + @@ -113,7 +115,7 @@ Size - + Date captured @@ -177,7 +179,7 @@ File name - + Dimensions @@ -193,18 +195,18 @@ Device model - + LiveTextWidget Copy (Ctrl+C) - + Select all (Ctrl+A) - + @@ -215,14 +217,14 @@ Select pictures - + PropertyActionItemDelegate The file already exists, please use another name - + @@ -233,7 +235,7 @@ day - كۈن + كۈن Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -248,7 +250,7 @@ The file already exists, please use another name - + Cancel @@ -294,7 +296,7 @@ Original size - + Fit to window @@ -302,7 +304,7 @@ Rotate - + Extract text @@ -388,15 +390,15 @@ Version - + %1 is released under %2 - + Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_uk.ts b/src/translations/deepin-image-viewer_uk.ts index cfcae2c6..684ce25f 100644 --- a/src/translations/deepin-image-viewer_uk.ts +++ b/src/translations/deepin-image-viewer_uk.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - день + день Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -396,7 +398,7 @@ Open image - + - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_zh_CN.ts b/src/translations/deepin-image-viewer_zh_CN.ts index 22a5a748..5976e810 100644 --- a/src/translations/deepin-image-viewer_zh_CN.ts +++ b/src/translations/deepin-image-viewer_zh_CN.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - + Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -399,4 +401,4 @@ 打开图片 - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_zh_HK.ts b/src/translations/deepin-image-viewer_zh_HK.ts index a1b3eb03..356432e3 100644 --- a/src/translations/deepin-image-viewer_zh_HK.ts +++ b/src/translations/deepin-image-viewer_zh_HK.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - + Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -399,4 +401,4 @@ 打開圖片 - \ No newline at end of file + diff --git a/src/translations/deepin-image-viewer_zh_TW.ts b/src/translations/deepin-image-viewer_zh_TW.ts index 875a1441..10358e0e 100644 --- a/src/translations/deepin-image-viewer_zh_TW.ts +++ b/src/translations/deepin-image-viewer_zh_TW.ts @@ -1,4 +1,6 @@ - + + + FileControl @@ -233,7 +235,7 @@ day - + Image Viewer is an image viewing tool with fashion interface and smooth performance. @@ -399,4 +401,4 @@ 打開圖片 - \ No newline at end of file +