From 10093812cc221ef8caa548a4fa3f3e75b103ad3d Mon Sep 17 00:00:00 2001 From: liuminghang Date: Mon, 28 Jun 2021 14:38:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E7=BF=BB=E8=AF=91,=E5=B9=B6=E8=B0=83=E6=95=B4=E4=B8=AD?= =?UTF-8?q?=E6=96=87=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description: 增加中文翻译,并调整中文布局 Log: 增加中文翻译,并调整中文布局 Change-Id: If9a025aa293b6358d588258c9e8faf83b7665e8b --- .gitignore | 41 +++++++++ debian/control | 2 +- deepin-ocr.pro | 11 ++- src/mainwidget.cpp | 9 +- translations/deepin-ocr_ar.ts | 8 ++ translations/deepin-ocr_bo.ts | 8 ++ translations/deepin-ocr_br.ts | 8 ++ translations/deepin-ocr_ca.ts | 8 ++ translations/deepin-ocr_cs.ts | 8 ++ translations/deepin-ocr_da.ts | 8 ++ translations/deepin-ocr_de.ts | 8 ++ translations/deepin-ocr_el.ts | 135 ++++++++++++++++++++++------ translations/deepin-ocr_en_US.ts | 8 ++ translations/deepin-ocr_es.ts | 8 ++ translations/deepin-ocr_es_419.ts | 135 +++++++++++++++++++++++----- translations/deepin-ocr_fa.ts | 139 +++++++++++++++++++++-------- translations/deepin-ocr_fi.ts | 8 ++ translations/deepin-ocr_fr.ts | 8 ++ translations/deepin-ocr_gl_ES.ts | 8 ++ translations/deepin-ocr_he.ts | 135 ++++++++++++++++++++++------ translations/deepin-ocr_hi_IN.ts | 141 +++++++++++++++++++++--------- translations/deepin-ocr_hr.ts | 135 ++++++++++++++++++++++------ translations/deepin-ocr_hu.ts | 8 ++ translations/deepin-ocr_id.ts | 135 ++++++++++++++++++++++------ translations/deepin-ocr_it.ts | 8 ++ translations/deepin-ocr_ja.ts | 135 +++++++++++++++++++++++----- translations/deepin-ocr_ko.ts | 8 ++ translations/deepin-ocr_lt.ts | 135 +++++++++++++++++++++++----- translations/deepin-ocr_ms.ts | 8 ++ translations/deepin-ocr_ne.ts | 135 +++++++++++++++++++++++----- translations/deepin-ocr_nl.ts | 8 ++ translations/deepin-ocr_pl.ts | 8 ++ translations/deepin-ocr_pt.ts | 8 ++ translations/deepin-ocr_pt_BR.ts | 8 ++ translations/deepin-ocr_ru.ts | 8 ++ translations/deepin-ocr_sk.ts | 135 +++++++++++++++++++++++----- translations/deepin-ocr_sl.ts | 135 ++++++++++++++++++++++------ translations/deepin-ocr_sq.ts | 8 ++ translations/deepin-ocr_sr.ts | 8 ++ translations/deepin-ocr_tr.ts | 8 ++ translations/deepin-ocr_ug.ts | 8 ++ translations/deepin-ocr_uk.ts | 8 ++ translations/deepin-ocr_zh_CN.ts | 32 ++++--- translations/deepin-ocr_zh_HK.ts | 8 ++ translations/deepin-ocr_zh_TW.ts | 8 ++ 45 files changed, 1621 insertions(+), 328 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c05b547 --- /dev/null +++ b/.gitignore @@ -0,0 +1,41 @@ +# Compiled Object files +*.slo +*.lo +*.o + +# Compiled Dynamic libraries +*.so +*.dylib + +# Compiled Static libraries +*.lai +*.la +*.a + +build*/ +include*/ + +*.txt.user* +*.pro.user* +*.DS_Store +*.qm +*.autosave + +vendor/include/* +vendor/lib/* + +.vscode/* + +*.log + +# debian +#debian/* +debian/.debhelper +debian/deepin-image-viewer +debian/files +debian/deepin-image-viewer.substvars +!debian/changelog +!debian/rules +!debian/control +!debian/compat +!debian/source/* diff --git a/debian/control b/debian/control index e19b684..1912eea 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: deepin-ocr Section: utils Priority: optional Maintainer: Deepin Packages Builder -Build-Depends: debhelper (>= 11), cmake, qtbase5-dev, pkg-config,libdtkwidget-dev,libleptonica-dev,libtesseract-dev +Build-Depends: debhelper (>= 11), cmake, qtbase5-dev, pkg-config,libdtkwidget-dev,libleptonica-dev,libtesseract-dev ,qttools5-dev-tools,qttools5-dev Standards-Version: 4.1.3 Homepage: diff --git a/deepin-ocr.pro b/deepin-ocr.pro index 0f48afb..93604e3 100644 --- a/deepin-ocr.pro +++ b/deepin-ocr.pro @@ -57,10 +57,19 @@ target.path=/usr/bin isEmpty(TRANSLATIONS) { include(./translations.pri) } +CONFIG(release, debug|release) { + TRANSLATIONS = $$files($$PWD/translations/*.ts) + #遍历目录中的ts文件,调用lrelease将其生成为qm文件 + for(tsfile, TRANSLATIONS) { + qmfile = $$replace(tsfile, .ts$, .qm) + system(lrelease $$tsfile -qm $$qmfile) | error("Failed to lrelease") + } +} TRANSLATIONS_COMPILED = $$TRANSLATIONS TRANSLATIONS_COMPILED ~= s/\.ts/.qm/g translations.path=/usr/share/deepin-ocr/translations -translations.files=$$TRANSLATIONS_COMPILED +#translations.files=$$TRANSLATIONS_COMPILED +translations.files=$$PWD/translations/*qm #Dbus文件 dbus_service.path=/usr/share/dbus-1/services diff --git a/src/mainwidget.cpp b/src/mainwidget.cpp index c324ebb..fae5b9c 100644 --- a/src/mainwidget.cpp +++ b/src/mainwidget.cpp @@ -258,7 +258,7 @@ void MainWidget::loadingUi() int x = this->width() - m_resultWidget->width() / 2; int y = this->height() / 2 - 50; m_loadingWidget->move(x, y); - m_loadingTip->move(x - 20, y + 24); + m_loadingTip->move(x - 17, y + 24); } if (m_pwidget) { m_pwidget->setFixedSize(this->width(), this->height() - 48); @@ -518,6 +518,13 @@ void MainWidget::setIcons(DGuiApplicationHelper::ColorType themeType) pal.setColor(QPalette::Background, QColor(255, 255, 255, 179)); setAutoFillBackground(true); setPalette(pal); + //修复因为切换导致的颜色差 + if (m_resultWidget) { + QPalette pal; + pal.setColor(QPalette::Background, QColor(255, 255, 255)); + m_resultWidget->setAutoFillBackground(true); + m_resultWidget->setPalette(pal); + } if (m_tipIconLabel) { m_tipIconLabel->setPixmap(QPixmap(":/assets/tip_light.svg")); m_tipIconLabel->setFixedSize(QSize(14, 14)); diff --git a/translations/deepin-ocr_ar.ts b/translations/deepin-ocr_ar.ts index c3b15fe..8bcfc6d 100644 --- a/translations/deepin-ocr_ar.ts +++ b/translations/deepin-ocr_ar.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_bo.ts b/translations/deepin-ocr_bo.ts index e25d56f..b59c5a3 100644 --- a/translations/deepin-ocr_bo.ts +++ b/translations/deepin-ocr_bo.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_br.ts b/translations/deepin-ocr_br.ts index 6609ec3..3aa7958 100644 --- a/translations/deepin-ocr_br.ts +++ b/translations/deepin-ocr_br.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_ca.ts b/translations/deepin-ocr_ca.ts index fa139cc..8164f98 100644 --- a/translations/deepin-ocr_ca.ts +++ b/translations/deepin-ocr_ca.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_cs.ts b/translations/deepin-ocr_cs.ts index 439683a..3e2f5e7 100644 --- a/translations/deepin-ocr_cs.ts +++ b/translations/deepin-ocr_cs.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_da.ts b/translations/deepin-ocr_da.ts index f998f54..ee2b1a3 100644 --- a/translations/deepin-ocr_da.ts +++ b/translations/deepin-ocr_da.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_de.ts b/translations/deepin-ocr_de.ts index 6681963..ed7777a 100644 --- a/translations/deepin-ocr_de.ts +++ b/translations/deepin-ocr_de.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_el.ts b/translations/deepin-ocr_el.ts index 0e74182..4a3b127 100644 --- a/translations/deepin-ocr_el.ts +++ b/translations/deepin-ocr_el.ts @@ -1,62 +1,145 @@ - + + + - CountdownTooltip + ImageView - - Click the tray icon -or press the shortcut again to stop recording - + + Save Image + + + + + Images (*.png *.bmp *.jpg) + + + + + Open File + + + + + png + + + + + error + + + + + open file error + + + + + MainWidget + + + No text recognized + + + + + Copy text + + + + + Save as TXT + + + + + Recognizing + + + + + Copied + + + + + Results + MainWindow - Deepin screen recorder - Kαταγραφέας Oθόνης Deepin + Kαταγραφέας Oθόνης Deepin - Start recording - Έναρξη εγγραφής + Έναρξη εγγραφής - Select area - Επιλογή περιοχής + Επιλογή περιοχής RecordProcess - deepin-screen-recorder - deepin-screen-recorder + deepin-screen-recorder - View - Εμφάνιση + Εμφάνιση - - Recording finished - - - - Saved to - Αποθηκεύτηκε στο + Αποθηκεύτηκε στο + + + + ResultTextView + + + Copy + + + + + Cut + + + + + SelectAll + + + + + Paste + StartTooltip - Click or drag to select the area to record - Κάντε κλικ ή σύρετε για να + Κάντε κλικ ή σύρετε για να επιλέξετε την περιοχή για εγγραφή - \ No newline at end of file + + Widget + + + Widget + + + + + Tips: The clearer the image is, the more accurate the text is + + + + diff --git a/translations/deepin-ocr_en_US.ts b/translations/deepin-ocr_en_US.ts index b02b399..ed623ab 100644 --- a/translations/deepin-ocr_en_US.ts +++ b/translations/deepin-ocr_en_US.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_es.ts b/translations/deepin-ocr_es.ts index 9559e05..cf56a2f 100644 --- a/translations/deepin-ocr_es.ts +++ b/translations/deepin-ocr_es.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_es_419.ts b/translations/deepin-ocr_es_419.ts index 770b1e4..2135164 100644 --- a/translations/deepin-ocr_es_419.ts +++ b/translations/deepin-ocr_es_419.ts @@ -1,63 +1,158 @@ - + + + CountdownTooltip - Click the tray icon or press the shortcut again to stop recording - Haz clic en el icono de la bandeja o presiona nuevamente + Haz clic en el icono de la bandeja o presiona nuevamente el atajo de teclado para detener la grabación. + + ImageView + + + Save Image + + + + + Images (*.png *.bmp *.jpg) + + + + + Open File + + + + + png + + + + + error + + + + + open file error + + + + + MainWidget + + + No text recognized + + + + + Copy text + + + + + Save as TXT + + + + + Recognizing + + + + + Copied + + + + + Results + + + MainWindow - Deepin screen recorder - Videograbadora Deepin + Videograbadora Deepin - Start recording - Empezar a grabar + Empezar a grabar - Select area - Seleccionar área + Seleccionar área RecordProcess - deepin-screen-recorder - deepin-screen-recorder + deepin-screen-recorder - View - Ver + Ver - Recording finished - Grabación finalizada + Grabación finalizada - Saved to - Guardado en + Guardado en + + + + ResultTextView + + + Copy + + + + + Cut + + + + + SelectAll + + + + + Paste + StartTooltip - Click or drag to select the area to record - Hacer clic o arrastrar para + Hacer clic o arrastrar para seleccionar la zona que grabar. - \ No newline at end of file + + Widget + + + Widget + + + + + Tips: The clearer the image is, the more accurate the text is + + + + diff --git a/translations/deepin-ocr_fa.ts b/translations/deepin-ocr_fa.ts index b6f4086..ae9a78b 100644 --- a/translations/deepin-ocr_fa.ts +++ b/translations/deepin-ocr_fa.ts @@ -1,61 +1,124 @@ - + + + - CountdownTooltip + ImageView - - Click the tray icon -or press the shortcut again to stop recording - + + Save Image + + + + + Images (*.png *.bmp *.jpg) + + + + + Open File + + + + + png + + + + + error + + + + + open file error + + + + + MainWidget + + + No text recognized + + + + + Copy text + + + + + Save as TXT + + + + + Recognizing + + + + + Copied + + + + + Results + MainWindow - - Deepin screen recorder - - - - Start recording - شروع ضبط + شروع ضبط - Select area - ناحیه را انتخاب کنید + ناحیه را انتخاب کنید RecordProcess - - deepin-screen-recorder - - - - - View - - - - - Recording finished - - - - Saved to - ذخیره در + ذخیره در - StartTooltip + ResultTextView - - Click or drag to -select the area to record - + + Copy + + + + + Cut + + + + + SelectAll + + + + + Paste + - \ No newline at end of file + + Widget + + + Widget + + + + + Tips: The clearer the image is, the more accurate the text is + + + + diff --git a/translations/deepin-ocr_fi.ts b/translations/deepin-ocr_fi.ts index 4fcb78f..5cc5545 100644 --- a/translations/deepin-ocr_fi.ts +++ b/translations/deepin-ocr_fi.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_fr.ts b/translations/deepin-ocr_fr.ts index c4689d3..3750b1d 100644 --- a/translations/deepin-ocr_fr.ts +++ b/translations/deepin-ocr_fr.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_gl_ES.ts b/translations/deepin-ocr_gl_ES.ts index b241609..abed4bd 100644 --- a/translations/deepin-ocr_gl_ES.ts +++ b/translations/deepin-ocr_gl_ES.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_he.ts b/translations/deepin-ocr_he.ts index 920bb1b..1ea0fd9 100644 --- a/translations/deepin-ocr_he.ts +++ b/translations/deepin-ocr_he.ts @@ -1,62 +1,145 @@ - + + + - CountdownTooltip + ImageView - - Click the tray icon -or press the shortcut again to stop recording - + + Save Image + + + + + Images (*.png *.bmp *.jpg) + + + + + Open File + + + + + png + + + + + error + + + + + open file error + + + + + MainWidget + + + No text recognized + + + + + Copy text + + + + + Save as TXT + + + + + Recognizing + + + + + Copied + + + + + Results + MainWindow - Deepin screen recorder - מסריט המסך של Deepin + מסריט המסך של Deepin - Start recording - התחלה בהסרטה + התחלה בהסרטה - Select area - בחירת אזור + בחירת אזור RecordProcess - deepin-screen-recorder - deepin-screen-recorder + deepin-screen-recorder - View - תצוגה + תצוגה - - Recording finished - - - - Saved to - נשמר אל + נשמר אל + + + + ResultTextView + + + Copy + + + + + Cut + + + + + SelectAll + + + + + Paste + StartTooltip - Click or drag to select the area to record - יש ללחוץ או לגרור + יש ללחוץ או לגרור כדי לבחור את האזור להסרטה - \ No newline at end of file + + Widget + + + Widget + + + + + Tips: The clearer the image is, the more accurate the text is + + + + diff --git a/translations/deepin-ocr_hi_IN.ts b/translations/deepin-ocr_hi_IN.ts index 0ab8ee0..8fea50a 100644 --- a/translations/deepin-ocr_hi_IN.ts +++ b/translations/deepin-ocr_hi_IN.ts @@ -1,61 +1,120 @@ - + + + - CountdownTooltip + ImageView - - Click the tray icon -or press the shortcut again to stop recording - + + Save Image + + + + + Images (*.png *.bmp *.jpg) + + + + + Open File + + + + + png + + + + + error + + + + + open file error + + + + + MainWidget + + + No text recognized + + + + + Copy text + + + + + Save as TXT + + + + + Recognizing + + + + + Copied + + + + + Results + MainWindow - Deepin screen recorder - डीपिन स्क्रीन रिकॉर्डर - - - - Start recording - - - - - Select area - + डीपिन स्क्रीन रिकॉर्डर RecordProcess - deepin-screen-recorder - deepin-screen-recorder - - - - View - - - - - Recording finished - - - - - Saved to - + deepin-screen-recorder - StartTooltip + ResultTextView - - Click or drag to -select the area to record - + + Copy + + + + + Cut + + + + + SelectAll + + + + + Paste + - \ No newline at end of file + + Widget + + + Widget + + + + + Tips: The clearer the image is, the more accurate the text is + + + + diff --git a/translations/deepin-ocr_hr.ts b/translations/deepin-ocr_hr.ts index e9f9858..fe3c3f8 100644 --- a/translations/deepin-ocr_hr.ts +++ b/translations/deepin-ocr_hr.ts @@ -1,62 +1,145 @@ - + + + - CountdownTooltip + ImageView - - Click the tray icon -or press the shortcut again to stop recording - + + Save Image + + + + + Images (*.png *.bmp *.jpg) + + + + + Open File + + + + + png + + + + + error + + + + + open file error + + + + + MainWidget + + + No text recognized + + + + + Copy text + + + + + Save as TXT + + + + + Recognizing + + + + + Copied + + + + + Results + MainWindow - Deepin screen recorder - Deepin snimač zaslona + Deepin snimač zaslona - Start recording - Započni snimanje + Započni snimanje - Select area - Odaberi područje + Odaberi područje RecordProcess - deepin-screen-recorder - deepin-snimač-zaslona + deepin-snimač-zaslona - View - Pogled + Pogled - - Recording finished - - - - Saved to - Spremljeno u + Spremljeno u + + + + ResultTextView + + + Copy + + + + + Cut + + + + + SelectAll + + + + + Paste + StartTooltip - Click or drag to select the area to record - Klikni ili privuci za + Klikni ili privuci za odabir područja snimanja - \ No newline at end of file + + Widget + + + Widget + + + + + Tips: The clearer the image is, the more accurate the text is + + + + diff --git a/translations/deepin-ocr_hu.ts b/translations/deepin-ocr_hu.ts index be59154..04ea011 100644 --- a/translations/deepin-ocr_hu.ts +++ b/translations/deepin-ocr_hu.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_id.ts b/translations/deepin-ocr_id.ts index 019b0ad..b6d0e53 100644 --- a/translations/deepin-ocr_id.ts +++ b/translations/deepin-ocr_id.ts @@ -1,62 +1,145 @@ - + + + - CountdownTooltip + ImageView - - Click the tray icon -or press the shortcut again to stop recording - + + Save Image + + + + + Images (*.png *.bmp *.jpg) + + + + + Open File + + + + + png + + + + + error + + + + + open file error + + + + + MainWidget + + + No text recognized + + + + + Copy text + + + + + Save as TXT + + + + + Recognizing + + + + + Copied + + + + + Results + MainWindow - Deepin screen recorder - Perekam layar deepin + Perekam layar deepin - Start recording - Mulai merekam + Mulai merekam - Select area - Pilih area + Pilih area RecordProcess - deepin-screen-recorder - deepin-screen-recorder + deepin-screen-recorder - View - Lihat + Lihat - - Recording finished - - - - Saved to - Simpan ke + Simpan ke + + + + ResultTextView + + + Copy + + + + + Cut + + + + + SelectAll + + + + + Paste + StartTooltip - Click or drag to select the area to record - Klik atau seret ke + Klik atau seret ke pilih area untuk rekam - \ No newline at end of file + + Widget + + + Widget + + + + + Tips: The clearer the image is, the more accurate the text is + + + + diff --git a/translations/deepin-ocr_it.ts b/translations/deepin-ocr_it.ts index b83194e..c717c70 100644 --- a/translations/deepin-ocr_it.ts +++ b/translations/deepin-ocr_it.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_ja.ts b/translations/deepin-ocr_ja.ts index 7755fdf..b1e7adc 100644 --- a/translations/deepin-ocr_ja.ts +++ b/translations/deepin-ocr_ja.ts @@ -1,63 +1,150 @@ - + + + CountdownTooltip - Click the tray icon or press the shortcut again to stop recording - 録画を停止するには、トレイアイコンをクリックするか、 + 録画を停止するには、トレイアイコンをクリックするか、 ショートカットキーをもう一度押してください + + ImageView + + + Save Image + + + + + Images (*.png *.bmp *.jpg) + + + + + Open File + + + + + png + + + + + error + + + + + open file error + + + + + MainWidget + + + No text recognized + + + + + Copy text + + + + + Save as TXT + + + + + Recognizing + + + + + Copied + + + + + Results + + + MainWindow - Deepin screen recorder - Deepin スクリーンレコーダー + Deepin スクリーンレコーダー - Start recording - 録画を開始 + 録画を開始 - Select area - 領域を選択 + 領域を選択 RecordProcess - - deepin-screen-recorder - - - - View - 表示 + 表示 - Recording finished - 録画が完了しました + 録画が完了しました + + + + ResultTextView + + + Copy + - - Saved to - + + Cut + + + + + SelectAll + + + + + Paste + StartTooltip - Click or drag to select the area to record - 録画する領域をクリックまたはドラッグして + 録画する領域をクリックまたはドラッグして 選択してください - \ No newline at end of file + + Widget + + + Widget + + + + + Tips: The clearer the image is, the more accurate the text is + + + + diff --git a/translations/deepin-ocr_ko.ts b/translations/deepin-ocr_ko.ts index ee6b237..f2ee7a6 100644 --- a/translations/deepin-ocr_ko.ts +++ b/translations/deepin-ocr_ko.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_lt.ts b/translations/deepin-ocr_lt.ts index eed5961..042221f 100644 --- a/translations/deepin-ocr_lt.ts +++ b/translations/deepin-ocr_lt.ts @@ -1,65 +1,160 @@ - + + + CountdownTooltip - Click the tray icon or press the shortcut again to stop recording - Norėdami stabdyti įrašinėjimą, + Norėdami stabdyti įrašinėjimą, spustelėkite dėklo piktogramą arba dar kartą paspauskite trumpinį + + ImageView + + + Save Image + + + + + Images (*.png *.bmp *.jpg) + + + + + Open File + + + + + png + + + + + error + + + + + open file error + + + + + MainWidget + + + No text recognized + + + + + Copy text + + + + + Save as TXT + + + + + Recognizing + + + + + Copied + + + + + Results + + + MainWindow - Deepin screen recorder - Deepin ekrano rašytuvas + Deepin ekrano rašytuvas - Start recording - Pradėti įrašinėjimą + Pradėti įrašinėjimą - Select area - Pasirinkti sritį + Pasirinkti sritį RecordProcess - deepin-screen-recorder - deepin-screen-recorder + deepin-screen-recorder - View - Žiūrėti + Žiūrėti - Recording finished - Įrašinėjimas užbaigtas + Įrašinėjimas užbaigtas - Saved to - Įrašyta į + Įrašyta į + + + + ResultTextView + + + Copy + + + + + Cut + + + + + SelectAll + + + + + Paste + StartTooltip - Click or drag to select the area to record - Spustelėkite ir vilkite, + Spustelėkite ir vilkite, norėdami pasirinkti įrašinėjimo sritį - \ No newline at end of file + + Widget + + + Widget + + + + + Tips: The clearer the image is, the more accurate the text is + + + + diff --git a/translations/deepin-ocr_ms.ts b/translations/deepin-ocr_ms.ts index b9f3b4a..9ef63b2 100644 --- a/translations/deepin-ocr_ms.ts +++ b/translations/deepin-ocr_ms.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_ne.ts b/translations/deepin-ocr_ne.ts index efb6634..abd71c3 100644 --- a/translations/deepin-ocr_ne.ts +++ b/translations/deepin-ocr_ne.ts @@ -1,61 +1,156 @@ - + + + CountdownTooltip - Click the tray icon or press the shortcut again to stop recording - ट्रे आइकनमा क्लिक गर्नुहोस् र रेकर्डिङ बन्द गर्न सर्टकट फेरि थिच्नुहोस् + ट्रे आइकनमा क्लिक गर्नुहोस् र रेकर्डिङ बन्द गर्न सर्टकट फेरि थिच्नुहोस् + + + + ImageView + + + Save Image + + + + + Images (*.png *.bmp *.jpg) + + + + + Open File + + + + + png + + + + + error + + + + + open file error + + + + + MainWidget + + + No text recognized + + + + + Copy text + + + + + Save as TXT + + + + + Recognizing + + + + + Copied + + + + + Results + MainWindow - Deepin screen recorder - डिपिन स्क्रीन रेकर्डर + डिपिन स्क्रीन रेकर्डर - Start recording - रेकर्डिङ सुरू गर्नुहोस् + रेकर्डिङ सुरू गर्नुहोस् - Select area - क्षेत्र चयन गर्नुहोस् + क्षेत्र चयन गर्नुहोस् RecordProcess - deepin-screen-recorder - डिपिन-स्क्रीन-रेकर्डर + डिपिन-स्क्रीन-रेकर्डर - View - हेर्नुहोस् + हेर्नुहोस् - Recording finished - रेकर्ड समाप्त भयो + रेकर्ड समाप्त भयो - Saved to - बचत गरियो + बचत गरियो + + + + ResultTextView + + + Copy + + + + + Cut + + + + + SelectAll + + + + + Paste + StartTooltip - Click or drag to select the area to record - रेकर्ड गर्न क्षेत्र चयन गर्न क्लिक गर्नुहोस् वा तान्नुहोस् + रेकर्ड गर्न क्षेत्र चयन गर्न क्लिक गर्नुहोस् वा तान्नुहोस् - \ No newline at end of file + + Widget + + + Widget + + + + + Tips: The clearer the image is, the more accurate the text is + + + + diff --git a/translations/deepin-ocr_nl.ts b/translations/deepin-ocr_nl.ts index 0ca0a9a..9f5658f 100644 --- a/translations/deepin-ocr_nl.ts +++ b/translations/deepin-ocr_nl.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_pl.ts b/translations/deepin-ocr_pl.ts index 509c3ec..81e0a8e 100644 --- a/translations/deepin-ocr_pl.ts +++ b/translations/deepin-ocr_pl.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_pt.ts b/translations/deepin-ocr_pt.ts index eba466f..43d77c0 100644 --- a/translations/deepin-ocr_pt.ts +++ b/translations/deepin-ocr_pt.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_pt_BR.ts b/translations/deepin-ocr_pt_BR.ts index 92c690a..da78dc6 100644 --- a/translations/deepin-ocr_pt_BR.ts +++ b/translations/deepin-ocr_pt_BR.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_ru.ts b/translations/deepin-ocr_ru.ts index e352ae5..617a4b2 100644 --- a/translations/deepin-ocr_ru.ts +++ b/translations/deepin-ocr_ru.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_sk.ts b/translations/deepin-ocr_sk.ts index 2c9996b..019e3cf 100644 --- a/translations/deepin-ocr_sk.ts +++ b/translations/deepin-ocr_sk.ts @@ -1,63 +1,158 @@ - + + + CountdownTooltip - Click the tray icon or press the shortcut again to stop recording - Kliknite na ikonu + Kliknite na ikonu alebo stlačte klávesovú skratku pre zastavenie nahrávania + + ImageView + + + Save Image + + + + + Images (*.png *.bmp *.jpg) + + + + + Open File + + + + + png + + + + + error + + + + + open file error + + + + + MainWidget + + + No text recognized + + + + + Copy text + + + + + Save as TXT + + + + + Recognizing + + + + + Copied + + + + + Results + + + MainWindow - Deepin screen recorder - Deepin nahrávanie obrazovky + Deepin nahrávanie obrazovky - Start recording - Štart nahrávania + Štart nahrávania - Select area - Vybrať oblasť + Vybrať oblasť RecordProcess - deepin-screen-recorder - deepin-nahravanie-obrazovky + deepin-nahravanie-obrazovky - View - Pohľad + Pohľad - Recording finished - Nahrávanie dokončené + Nahrávanie dokončené - Saved to - Uložené do + Uložené do + + + + ResultTextView + + + Copy + + + + + Cut + + + + + SelectAll + + + + + Paste + StartTooltip - Click or drag to select the area to record - Kliknutím alebo ťahaním + Kliknutím alebo ťahaním vyberte oblasť pre nahrávanie - \ No newline at end of file + + Widget + + + Widget + + + + + Tips: The clearer the image is, the more accurate the text is + + + + diff --git a/translations/deepin-ocr_sl.ts b/translations/deepin-ocr_sl.ts index bf1938d..d36bd2e 100644 --- a/translations/deepin-ocr_sl.ts +++ b/translations/deepin-ocr_sl.ts @@ -1,62 +1,145 @@ - + + + - CountdownTooltip + ImageView - - Click the tray icon -or press the shortcut again to stop recording - + + Save Image + + + + + Images (*.png *.bmp *.jpg) + + + + + Open File + + + + + png + + + + + error + + + + + open file error + + + + + MainWidget + + + No text recognized + + + + + Copy text + + + + + Save as TXT + + + + + Recognizing + + + + + Copied + + + + + Results + MainWindow - Deepin screen recorder - Snemalnik zaslona Deepin + Snemalnik zaslona Deepin - Start recording - Začni snemanje + Začni snemanje - Select area - Izberi območje + Izberi območje RecordProcess - deepin-screen-recorder - snemalnik-zaslona-deepin + snemalnik-zaslona-deepin - View - Pogled + Pogled - - Recording finished - - - - Saved to - Shranjeno v + Shranjeno v + + + + ResultTextView + + + Copy + + + + + Cut + + + + + SelectAll + + + + + Paste + StartTooltip - Click or drag to select the area to record - Kliknite ali povlecite, + Kliknite ali povlecite, da izberete območje snemanja - \ No newline at end of file + + Widget + + + Widget + + + + + Tips: The clearer the image is, the more accurate the text is + + + + diff --git a/translations/deepin-ocr_sq.ts b/translations/deepin-ocr_sq.ts index c6a1505..dc6fbe4 100644 --- a/translations/deepin-ocr_sq.ts +++ b/translations/deepin-ocr_sq.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_sr.ts b/translations/deepin-ocr_sr.ts index e3315aa..4b6dc2b 100644 --- a/translations/deepin-ocr_sr.ts +++ b/translations/deepin-ocr_sr.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_tr.ts b/translations/deepin-ocr_tr.ts index 7c630a4..7648184 100644 --- a/translations/deepin-ocr_tr.ts +++ b/translations/deepin-ocr_tr.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_ug.ts b/translations/deepin-ocr_ug.ts index 470c277..2e03d5d 100644 --- a/translations/deepin-ocr_ug.ts +++ b/translations/deepin-ocr_ug.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_uk.ts b/translations/deepin-ocr_uk.ts index e3114bc..d568ba1 100644 --- a/translations/deepin-ocr_uk.ts +++ b/translations/deepin-ocr_uk.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_zh_CN.ts b/translations/deepin-ocr_zh_CN.ts index afc3a1e..e9ac9e3 100644 --- a/translations/deepin-ocr_zh_CN.ts +++ b/translations/deepin-ocr_zh_CN.ts @@ -5,7 +5,7 @@ ImageView Save Image - + 保存图片 Images (*.png *.bmp *.jpg) @@ -13,7 +13,7 @@ Open File - + 打开文件 png @@ -21,33 +21,37 @@ error - + 错误 open file error - + 打开文件错误 MainWidget Recognizing - + 正在加载 Copied - + 已复制 No text recognized - + 未识别到文字 Copy text - + 复制文字 Save as TXT + 保存为TXT + + + Results @@ -55,15 +59,19 @@ ResultTextView Copy - + 复制 Cut - + 剪切 SelectAll - + 全选 + + + Paste + 粘贴 @@ -74,7 +82,7 @@ Tips: The clearer the image is, the more accurate the text is - + 温馨提示:图像越简洁清晰,识别越准确 diff --git a/translations/deepin-ocr_zh_HK.ts b/translations/deepin-ocr_zh_HK.ts index 4a08b80..db69ab1 100644 --- a/translations/deepin-ocr_zh_HK.ts +++ b/translations/deepin-ocr_zh_HK.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget diff --git a/translations/deepin-ocr_zh_TW.ts b/translations/deepin-ocr_zh_TW.ts index b9fcd6e..f696ef5 100644 --- a/translations/deepin-ocr_zh_TW.ts +++ b/translations/deepin-ocr_zh_TW.ts @@ -50,6 +50,10 @@ Save as TXT + + Results + + ResultTextView @@ -65,6 +69,10 @@ SelectAll + + Paste + + Widget