diff --git a/data/ui/preferences.ui b/data/ui/preferences.ui index 8b4ed79..a0d4329 100644 --- a/data/ui/preferences.ui +++ b/data/ui/preferences.ui @@ -29,7 +29,7 @@ Recursive Compression - Enable or disable recursive compression through subdirectories + Enable or disable compression through subdirectories toggle_recursive diff --git a/po/curtail.pot b/po/curtail.pot index 8cc9227..bbfdb00 100644 --- a/po/curtail.pot +++ b/po/curtail.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: curtail\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-13 14:53+0800\n" +"POT-Creation-Date: 2024-05-07 10:37+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -35,10 +35,11 @@ msgid "" msgstr "" #: data/com.github.huluti.Curtail.desktop.in:3 data/ui/window.ui:4 -#: data/ui/window.ui:32 +#: data/ui/window.ui:31 msgid "Curtail" msgstr "" +#. Keywords, do not translate #: data/com.github.huluti.Curtail.desktop.in:15 msgid "compress;optimize;image;photo;" msgstr "" @@ -52,95 +53,103 @@ msgid "Save the compressed image into a new file." msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:11 -msgid "Keep metadata" +msgid "Enable recursive compression in folders" msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:12 -#: data/com.github.huluti.Curtail.gschema.xml:17 -msgid "This setting preserves metadata of images." +msgid "This setting enable compression in a recursive way in folders." msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:16 -msgid "Preserve file attributes if possible" +msgid "Keep metadata" +msgstr "" + +#: data/com.github.huluti.Curtail.gschema.xml:17 +#: data/com.github.huluti.Curtail.gschema.xml:22 +msgid "This setting preserves metadata of images." msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:21 -msgid "Enable lossy mode" -msgstr "" - -#: data/com.github.huluti.Curtail.gschema.xml:22 -msgid "Use lossy mode to compress images." +msgid "Preserve file attributes if possible" msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:26 -msgid "Suffix to append at end of new file" +msgid "Enable lossy mode" msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:27 -msgid "Suffix to append at end of new file." +msgid "Use lossy mode to compress images." msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:31 -msgid "PNG Lossy Compression Level" +msgid "Suffix to append at end of new file" msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:32 -msgid "Lossy compression level to use for PNG images." +msgid "Suffix to append at end of new file." msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:36 -msgid "PNG Lossless Compression Level" +msgid "PNG Lossy Compression Level" msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:37 -msgid "Lossless compression level to use for PNG images." +msgid "Lossy compression level to use for PNG images." msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:41 -msgid "JPG Lossy Compression Level" +msgid "PNG Lossless Compression Level" msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:42 -msgid "Lossy compression level to use for JPG images." +msgid "Lossless compression level to use for PNG images." msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:46 -msgid "WebP Lossy Compression Level" +msgid "JPG Lossy Compression Level" msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:47 -msgid "Lossy compression level to use for WebP images." +msgid "Lossy compression level to use for JPG images." msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:51 -msgid "WebP Lossless Compression Level" +msgid "WebP Lossy Compression Level" msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:52 -msgid "Lossless compression level to use for WebP images." +msgid "Lossy compression level to use for WebP images." msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:56 -msgid "Enable progressive encoding for JPEG images." +msgid "WebP Lossless Compression Level" msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:57 -msgid "Optionally encode jpeg images progressively." +msgid "Lossless compression level to use for WebP images." msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:61 -msgid "Enable maximum compression for SVG images." +msgid "Enable progressive encoding for JPEG images." msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:62 -msgid "Optionally enable maximum cleaning of SVG images." +msgid "Optionally encode jpeg images progressively." msgstr "" -#: data/com.github.huluti.Curtail.gschema.xml:66 data/ui/preferences.ui:55 -msgid "Compression Timeout" +#: data/com.github.huluti.Curtail.gschema.xml:66 +msgid "Enable maximum compression for SVG images." msgstr "" #: data/com.github.huluti.Curtail.gschema.xml:67 +msgid "Optionally enable maximum cleaning of SVG images." +msgstr "" + +#: data/com.github.huluti.Curtail.gschema.xml:71 data/ui/preferences.ui:67 +msgid "Compression Timeout" +msgstr "" + +#: data/com.github.huluti.Curtail.gschema.xml:72 msgid "Compression timeout for each image." msgstr "" @@ -190,67 +199,75 @@ msgid "New File Suffix" msgstr "" #: data/ui/preferences.ui:31 -msgid "Keep Metadata" +msgid "Recursive Compression" msgstr "" #: data/ui/preferences.ui:32 -msgid "Keep metadata chunks that do not affect rendering" +msgid "Enable or disable compression through subdirectories" msgstr "" #: data/ui/preferences.ui:43 -msgid "Keep File Attributes When Possible" +msgid "Keep Metadata" msgstr "" #: data/ui/preferences.ui:44 +msgid "Keep metadata chunks that do not affect rendering" +msgstr "" + +#: data/ui/preferences.ui:55 +msgid "Keep File Attributes When Possible" +msgstr "" + +#: data/ui/preferences.ui:56 msgid "" "Ensure the new file has the same permissions and timestamps as the original " "file" msgstr "" -#: data/ui/preferences.ui:56 +#: data/ui/preferences.ui:68 msgid "Set the timeout between images" msgstr "" -#: data/ui/preferences.ui:80 -msgid "Compression" +#: data/ui/preferences.ui:92 +msgid "Formats" msgstr "" -#: data/ui/preferences.ui:87 data/ui/preferences.ui:132 -#: data/ui/preferences.ui:169 +#: data/ui/preferences.ui:99 data/ui/preferences.ui:142 +#: data/ui/preferences.ui:178 msgid "Lossy Compression" msgstr "" -#: data/ui/preferences.ui:88 data/ui/preferences.ui:133 -#: data/ui/preferences.ui:170 +#: data/ui/preferences.ui:100 data/ui/preferences.ui:143 +#: data/ui/preferences.ui:179 msgid "Set the quality of the generated image, 100 is the best quality" msgstr "" -#: data/ui/preferences.ui:107 data/ui/preferences.ui:189 +#: data/ui/preferences.ui:118 data/ui/preferences.ui:197 msgid "Lossless Compression Level" msgstr "" -#: data/ui/preferences.ui:108 data/ui/preferences.ui:190 +#: data/ui/preferences.ui:119 data/ui/preferences.ui:198 msgid "Set the level of the compression, 6 is the highest but slowest level" msgstr "" -#: data/ui/preferences.ui:152 +#: data/ui/preferences.ui:161 msgid "Progressive Encode" msgstr "" -#: data/ui/preferences.ui:153 +#: data/ui/preferences.ui:162 msgid "Enable incremental image rendering, going from blurry to clear" msgstr "" -#: data/ui/preferences.ui:214 +#: data/ui/preferences.ui:221 msgid "Maximum Compression Level" msgstr "" -#: data/ui/preferences.ui:215 +#: data/ui/preferences.ui:222 msgid "This can be more destructive for the image" msgstr "" #: data/ui/menu.ui:6 -msgid "Bulk Compress Directory (Recursive)" +msgid "Bulk Compress Directory" msgstr "" #: data/ui/menu.ui:14 @@ -261,39 +278,39 @@ msgstr "" msgid "About Curtail" msgstr "" -#: data/ui/window.ui:18 src/window.py:188 +#: data/ui/window.ui:17 src/window.py:189 msgid "Browse Files" msgstr "" -#: data/ui/window.ui:25 +#: data/ui/window.ui:24 msgid "Clear Results" msgstr "" -#: data/ui/window.ui:39 +#: data/ui/window.ui:38 msgid "Main Menu" msgstr "" -#: data/ui/window.ui:51 +#: data/ui/window.ui:49 msgid "_Change Mode" msgstr "" -#: data/ui/window.ui:52 +#: data/ui/window.ui:50 msgid "Images will be overwritten, proceed carefully" msgstr "" -#: data/ui/window.ui:60 +#: data/ui/window.ui:58 msgid "Drop images here to compress them" msgstr "" -#: data/ui/window.ui:66 +#: data/ui/window.ui:64 msgid "_Browse Files" msgstr "" -#: data/ui/window.ui:85 +#: data/ui/window.ui:83 msgid "Lossless" msgstr "" -#: data/ui/window.ui:97 +#: data/ui/window.ui:95 msgid "Lossy" msgstr "" @@ -329,16 +346,16 @@ msgstr "" msgid "SVG images" msgstr "" -#: src/tools.py:134 src/tools.py:141 src/tools.py:148 src/tools.py:155 -#: src/tools.py:162 src/tools.py:192 +#: src/tools.py:145 src/tools.py:152 src/tools.py:159 src/tools.py:166 +#: src/tools.py:173 src/tools.py:203 msgid "Version not found" msgstr "" -#: src/window.py:175 +#: src/window.py:176 msgid "Safe mode with '{}' suffix" msgstr "" -#: src/window.py:178 +#: src/window.py:179 msgid "Overwrite mode" msgstr "" @@ -346,42 +363,42 @@ msgstr "" msgid "Browse Directories" msgstr "" -#: src/window.py:236 src/window.py:242 +#: src/window.py:231 src/window.py:237 msgid "Are you sure you want to compress images in these directories?" msgstr "" -#: src/window.py:237 +#: src/window.py:232 msgid "" "All of the images in the directories selected and their subdirectories will " "be compressed. The original images will not be modified." msgstr "" -#: src/window.py:243 +#: src/window.py:238 msgid "" "All of the images in the directories selected and their subdirectories will " "be compressed and overwritten!" msgstr "" -#: src/window.py:246 +#: src/window.py:241 msgid "Cancel" msgstr "" -#: src/window.py:247 +#: src/window.py:242 msgid "Compress" msgstr "" -#: src/window.py:317 +#: src/window.py:316 msgid "This file doesn't exist." msgstr "" -#: src/window.py:322 +#: src/window.py:321 msgid "Format of this file is not supported." msgstr "" -#: src/window.py:374 +#: src/window.py:373 msgid "translator-credits" msgstr "" -#: src/window.py:378 +#: src/window.py:377 msgid "Contributors" msgstr ""