diff --git a/README.md b/README.md index 566f871..e28dece 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@

TextSnatcher

-

Copy Text from Images with ease, Perform OCR operations in seconds.

+

Copy text from images with ease; perform OCR operations in seconds.

TextSnatcher OCR App for Linux
TextSnatcher - How to copy text from images, answer is TextSnatcher | Product Hunt
@@ -20,9 +20,9 @@ ## Features - Multiple Language Support. -- Copy Text from images with a Drag. -- Drag over any Image and Paste. -- Fast and Easy to Use. +- Copy text from images by dragging and dropping. +- Drag over any image and paste. +- Fast and easy to use. - This application uses the Tesseract OCR 4.x for the character recognition. - Read more about [Tesseract](https://tesseract-ocr.github.io/tessdoc/Home.html) and Star ⭐️ [Tesseract-Project](https://github.com/tesseract-ocr/tesseract). diff --git a/src/components/AboutDialog.vala b/src/components/AboutDialog.vala index 026e5f6..e84f0b1 100644 --- a/src/components/AboutDialog.vala +++ b/src/components/AboutDialog.vala @@ -10,7 +10,7 @@ class TsAboutDialog : Gtk.AboutDialog { logo_icon_name = "com.github.rajsolai.textsnatcher" ; program_name = "TextSnatcher" ; - comments = "Snatch Text with a Drag" ; + comments = "Snatch text with a drag" ; copyright = null ; version = "2.0" ; @@ -18,7 +18,7 @@ class TsAboutDialog : Gtk.AboutDialog { wrap_license = true ; website = "https://github.com/RajSolai/TextSnatcher" ; - website_label = "Star TextSnatcher on Github !" ; + website_label = "Star TextSnatcher on Github!" ; response.connect ((response_id) => { if (response_id == Gtk.ResponseType.CANCEL || response_id == Gtk.ResponseType.DELETE_EVENT) { diff --git a/src/components/SelectPictureDialog.vala b/src/components/SelectPictureDialog.vala index 28d8ca3..5748dc2 100644 --- a/src/components/SelectPictureDialog.vala +++ b/src/components/SelectPictureDialog.vala @@ -1,7 +1,7 @@ class SelectPictureDialog : Hdy.Window { public SelectPictureDialog (Gtk.Label title_label) { var dialog_handle = new Hdy.WindowHandle () ; - var pic_dialog_title = new Gtk.Label ("Where can I find the Image ?") ; + var pic_dialog_title = new Gtk.Label ("Where can I find the image ?") ; var main_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 10) ; var cancel_btn = new Gtk.Button.with_label ("Cancel") ; var take_screenshot_btn = new Gtk.Button.with_label ("Take Screenshot") ; diff --git a/src/screens/HomeScreen.vala b/src/screens/HomeScreen.vala index ff1dbac..e1fe594 100644 --- a/src/screens/HomeScreen.vala +++ b/src/screens/HomeScreen.vala @@ -10,7 +10,7 @@ class HomeScreen : Gtk.EventBox { main_box.row_homogeneous = true ; main_box.margin = 10 ; title_label.get_style_context ().add_class ("h2") ; - var start_button = new Gtk.Button.with_label ("Snatch Now !") ; + var start_button = new Gtk.Button.with_label ("Snatch Now!") ; start_button.get_style_context ().add_class ("start-button") ; start_button.clicked.connect (() => { diff --git a/src/services/TesseractTrigger.vala b/src/services/TesseractTrigger.vala index cb1d326..f8ccd3e 100644 --- a/src/services/TesseractTrigger.vala +++ b/src/services/TesseractTrigger.vala @@ -17,7 +17,7 @@ class TesseractTrigger : Object { public void accept_files_fromchooser () { portal.open_file.begin ( null, - "Select an Image to perform OCR !", + "Select an image to perform OCR !", null, null, null, @@ -54,7 +54,7 @@ class TesseractTrigger : Object { async void read_image (string file_path) { var lang_service = new LanguageService () ; string lang = lang_service.get_pref_language () ; - label.label = "Reading Image" ; + label.label = "Reading image" ; Idle.add (read_image.callback) ; yield ; try { @@ -64,12 +64,12 @@ class TesseractTrigger : Object { copy_to_clipboard () ; } else { print ("Error is " + err + " status is " + stat.to_string ()) ; - label.label = "Error Reading Image" ; + label.label = "Error reading image" ; } } catch (Error e) { critical (e.message) ; if (e.code == 8) { - label.label = "Dependencies Not Found" ; + label.label = "Dependencies not found" ; } } } @@ -80,9 +80,9 @@ class TesseractTrigger : Object { FileUtils.get_contents (out_path + ".txt", out text_output) ; if (text_output.length > 0) { clipboard.set_text (text_output, text_output.length) ; - label.label = "Checkout Clipboard :)" ; + label.label = "Check out the clipboard :)" ; } else { - label.label = "Error Reading Image" ; + label.label = "Error reading image" ; } } catch (Error e) { print (e.message) ; @@ -98,7 +98,7 @@ class TesseractTrigger : Object { clipboard.request_image (clipboard_callback) ; } else { print ("no image found in clipboard") ; - label.label = "No Image found in Clipboard" ; + label.label = "No image found in clipboard" ; } } else { if (session == "x11") { @@ -138,7 +138,7 @@ class TesseractTrigger : Object { uri = portal.take_screenshot.end (res) ; string path = GLib.Filename.from_uri (uri, null) ; read_image.begin (path, (obj, res) => { - print ("Taking Screenshot") ; + print ("Taking screenshot") ; }) ; } catch (Error e) { critical (e.message) ;