Browse Source

Fixed translations and added feedback from PR

Jeremy Borgman 4 years ago
parent
commit
286db9ff69

+ 8 - 10
CMakeLists.txt

@@ -1,12 +1,12 @@
 cmake_minimum_required(VERSION 3.13)
 
-project(flameshot VERSION 0.8.0 LANGUAGES CXX)
-
-
+project(
+  flameshot
+  VERSION 0.8.0
+  LANGUAGES CXX)
 
 include(cmake/StandardProjectSettings.cmake)
 
-
 add_library(project_options INTERFACE)
 target_compile_features(project_options INTERFACE cxx_std_17)
 
@@ -14,14 +14,12 @@ add_library(project_warnings INTERFACE)
 
 # standard compiler warnings
 include(cmake/CompilerWarnings.cmake)
-#set_project_warnings(project_warnings)
+# set_project_warnings(project_warnings)
 
 # sanitizer options if supported by compiler
 include(cmake/Sanitizers.cmake)
-#enable_sanitizers(project_options)
-
-# allow for static analysis options
-#include(cmake/StaticAnalyzers.cmake)
+# enable_sanitizers(project_options)
 
+# allow for static analysis options include(cmake/StaticAnalyzers.cmake)
 
-add_subdirectory(src)
+add_subdirectory(src)

+ 4 - 21
README.md

@@ -247,9 +247,9 @@ To build the application in your system, you'll need to install the dependencies
 
 #### Compile-time
 
-- Qt >= 5.3
+- Qt >= 5.9
   + Development tools
-- GCC >= 4.9.2
+- GCC >= 7.4 
 
 #### Run-time
 
@@ -308,7 +308,7 @@ After installing all the dependencies, finally run the following commands in the
 ```shell
 mkdir build
 cd build
-qmake ../
+cmake ../
 make
 ```
 
@@ -316,23 +316,6 @@ make
 
 Simply use `make install` with privileges.
 
-## Packaging
-
-Having `git` installed is required if you're building Flameshot from a snapshot to have precise version information.
-
-In order to generate the instructions in the `Makefile` to install the application in `/usr` instead of in `/usr/local` you can pass the `packaging` option to `qmake` (`qmake CONFIG+=packaging`).
-
-If you want to install in a custom directory you can use the `INSTALL_ROOT` variable.
-
-**Example**:
-
-If you want to install Flameshot in `~/myBuilds/test`, you can execute the following to do so:
-
-```shell
-qmake CONFIG+=packaging
-make INSTALL_ROOT=~/myBuilds/test install
-```
-
 ## License
 - The main code is licensed under [GPLv3](LICENSE)
 - The logo of Flameshot is licensed under [Free Art License v1.3](img/app/flameshotLogoLicense.txt)
@@ -351,7 +334,7 @@ If you want to contribute check the [CONTRIBUTING.md](CONTRIBUTING.md)
 
 
 ## Acknowledgment
-I really appreciate those who have shown interest in the early development process:
+Thanks to those who have shown interest in the early development process:
 - [lupoDharkael](https://github.com/lupoDharkael)
 - [Cosmo](https://github.com/philpem)
 - [XerTheSquirrel](https://github.com/XerTheSquirrel)

File diff suppressed because it is too large
+ 246 - 149
data/translations/Internationalization_ca.ts


File diff suppressed because it is too large
+ 244 - 152
data/translations/Internationalization_de_DE.ts


File diff suppressed because it is too large
+ 246 - 149
data/translations/Internationalization_es.ts


File diff suppressed because it is too large
+ 245 - 176
data/translations/Internationalization_fr.ts


+ 195 - 7
data/translations/Internationalization_hu.ts

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE TS>
-<TS version="2.0" language="hu_HU" sourcelanguage="en">
+<TS version="2.1" language="hu_HU" sourcelanguage="en">
 <context>
     <name>AppLauncher</name>
     <message>
@@ -61,6 +61,45 @@
         <translation>Beállítja a Homályosítás eszközt festő eszközként</translation>
     </message>
 </context>
+<context>
+    <name>CaptureLauncher</name>
+    <message>
+        <source>&lt;b&gt;Capture Mode&lt;/b&gt;</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Rectangular Region</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Full Screen (All Monitors)</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>No Delay</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source> second</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source> seconds</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Take new screenshot</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Area:</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Delay:</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
 <context>
     <name>CaptureWidget</name>
     <message>
@@ -68,7 +107,7 @@
 Press Enter to capture the screen.
 Press Right Click to show the color picker.
 Use the Mouse Wheel to change the thickness of your tool.</source>
-        <translation>Válassz egy területet egérrel, vagy nyomj Esc-et a kilépéshez.
+        <translation type="vanished">Válassz egy területet egérrel, vagy nyomj Esc-et a kilépéshez.
 Nyomj entert a felvételhez.
 Kattints job egérgombal a szín választásához.
 Használd a görgőt az eszköz vastagságának állítására.</translation>
@@ -77,6 +116,25 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
         <source>Unable to capture screen</source>
         <translation>Nem lehet felvételt készíteni</translation>
     </message>
+    <message>
+        <source>Select an area with the mouse, or press Esc to exit.
+Press Enter to capture the screen.
+Press Right Click to show the color picker.
+Use the Mouse Wheel to change the thickness of your tool.
+Press Space to open the side panel.</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>CircleCountTool</name>
+    <message>
+        <source>Circle Counter</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Add an autoincrementing counter bubble</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>CircleTool</name>
@@ -122,6 +180,14 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
         <source>&amp;Quit</source>
         <translation>&amp;Bezár</translation>
     </message>
+    <message>
+        <source>&amp;Take Screenshot</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>&amp;Open Launcher</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>CopyTool</name>
@@ -131,7 +197,11 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
     </message>
     <message>
         <source>Copies the selecion into the clipboard</source>
-        <translation>Másolja a kiválasztott területet</translation>
+        <translation type="vanished">Másolja a kiválasztott területet</translation>
+    </message>
+    <message>
+        <source>Copy the selection into the clipboard</source>
+        <translation type="unfinished"></translation>
     </message>
 </context>
 <context>
@@ -195,14 +265,14 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
     <name>FileNameHandler</name>
     <message>
         <source>screenshot</source>
-        <translation>Képernyőmentés</translation>
+        <translation type="vanished">Képernyőmentés</translation>
     </message>
 </context>
 <context>
     <name>FlameshotDBusAdapter</name>
     <message>
         <source>Unable to capture screen</source>
-        <translation>Nem lehet képernyőképet készíteni</translation>
+        <translation type="vanished">Nem lehet képernyőképet készíteni</translation>
     </message>
 </context>
 <context>
@@ -275,6 +345,22 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
         <source>Launch Flameshot</source>
         <translation>Flameshot indítása</translation>
     </message>
+    <message>
+        <source>Close after capture</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Close after taking a screenshot</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Copy URL after upload</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Copy URL and close window after upload</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>ImgurUploader</name>
@@ -310,6 +396,10 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
         <source>Screenshot copied to clipboard.</source>
         <translation>Képernyőmentés másolva a vágólapra.</translation>
     </message>
+    <message>
+        <source>Delete image</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>ImgurUploaderTool</name>
@@ -392,6 +482,14 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
         <source>Available shortcuts in the screen capture mode.</source>
         <translation>Elérhető gyorsbillentyűk a képernyőfelvétel módban.</translation>
     </message>
+    <message>
+        <source>SPACEBAR</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Toggle visibility of sidebar with options of the selected tool</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>LineTool</name>
@@ -437,6 +535,17 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
         <translation>Beállítja a Ceruza eszközt festő eszközként</translation>
     </message>
 </context>
+<context>
+    <name>PinTool</name>
+    <message>
+        <source>Pin Tool</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Pin image on the desktop</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
 <context>
     <name>QObject</name>
     <message>
@@ -468,6 +577,10 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
         <source>Capture saved to clipboard</source>
         <translation>Felvétel mentve a vágólapra</translation>
     </message>
+    <message>
+        <source>URL copied to clipboard.</source>
+        <translation type="unfinished">URL másolva a vágólapra.</translation>
+    </message>
 </context>
 <context>
     <name>RectangleTool</name>
@@ -486,6 +599,10 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
         <source>Redo</source>
         <translation>Újra</translation>
     </message>
+    <message>
+        <source>Redo the next modification</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>SaveTool</name>
@@ -498,6 +615,13 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
         <translation>Menti a felvételt</translation>
     </message>
 </context>
+<context>
+    <name>ScreenGrabber</name>
+    <message>
+        <source>Unable to capture screen</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
 <context>
     <name>SelectionTool</name>
     <message>
@@ -509,6 +633,25 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
         <translation>Beállítja a Téglalapos kijelölő eszközt Festő eszközként</translation>
     </message>
 </context>
+<context>
+    <name>SidePanelWidget</name>
+    <message>
+        <source>Active thickness:</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Active color:</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Press ESC to cancel</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Grab Color</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
 <context>
     <name>SizeIndicatorTool</name>
     <message>
@@ -576,11 +719,11 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
     </message>
     <message>
         <source>Time (%H:%M:%S)</source>
-        <translation>Idő (%H:%M:%S)</translation>
+        <translation type="vanished">Idő (%H:%M:%S)</translation>
     </message>
     <message>
         <source>Time (%H:%M)</source>
-        <translation>Idő (%H:%M)</translation>
+        <translation type="vanished">Idő (%H:%M)</translation>
     </message>
     <message>
         <source>Hour (00-23)</source>
@@ -606,6 +749,51 @@ Használd a görgőt az eszköz vastagságának állítására.</translation>
         <source>Full Date (%Y-%m-%d)</source>
         <translation>Teljes dátum (%Y-%m-%d)</translation>
     </message>
+    <message>
+        <source>Time (%H-%M-%S)</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Time (%H-%M)</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>SystemNotification</name>
+    <message>
+        <source>Flameshot Info</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>TextConfig</name>
+    <message>
+        <source>StrikeOut</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Underline</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Bold</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Italic</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>TextTool</name>
+    <message>
+        <source>Text</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Add text to your capture</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>UIcolorEditor</name>

File diff suppressed because it is too large
+ 246 - 149
data/translations/Internationalization_ja.ts


File diff suppressed because it is too large
+ 246 - 149
data/translations/Internationalization_ka.ts


File diff suppressed because it is too large
+ 246 - 149
data/translations/Internationalization_nl.ts


Some files were not shown because too many files changed in this diff