Skip to content

Commit

Permalink
Merge pull request #204 from MonsterObserver/title-case
Browse files Browse the repository at this point in the history
Correct title case, reword subtitles, remove periods
  • Loading branch information
Huluti committed Feb 2, 2024
2 parents 84df968 + 33351f3 commit 2913ee2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions data/ui/preferences.ui
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Safe Mode</property>
<property name="subtitle" translatable="yes">Save the compressed image into a new file</property>
<property name="subtitle" translatable="yes">Save the compressed image in a new file</property>
<property name="activatable-widget">toggle_new_file</property>
<child>
<object class="GtkSwitch" id="toggle_new_file">
Expand All @@ -23,13 +23,13 @@
</child>
<child>
<object class="AdwEntryRow" id="entry_suffix">
<property name="title" translatable="yes">Suffix to append at end of new file</property>
<property name="title" translatable="yes">New File Suffix</property>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Keep metadata</property>
<property name="subtitle" translatable="yes">Keep metadata chunks that do not affect rendering.</property>
<property name="title" translatable="yes">Keep Metadata</property>
<property name="subtitle" translatable="yes">Keep metadata chunks that do not affect rendering</property>
<property name="activatable-widget">toggle_metadata</property>
<child>
<object class="GtkSwitch" id="toggle_metadata">
Expand All @@ -40,8 +40,8 @@
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Preserve file attributes if possible</property>
<property name="subtitle" translatable="yes">Ensure the output file has the same permissions and timestamps as the input file.</property>
<property name="title" translatable="yes">Keep File Attributes When Possible</property>
<property name="subtitle" translatable="yes">Ensure the new file has the same permissions and timestamps as the original file</property>
<property name="activatable-widget">toggle_file_attributes</property>
<child>
<object class="GtkSwitch" id="toggle_file_attributes">
Expand All @@ -52,8 +52,8 @@
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Compression timeout</property>
<property name="subtitle" translatable="yes">For each image</property>
<property name="title" translatable="yes">Compression Timeout</property>
<property name="subtitle" translatable="yes">Set the timeout between images</property>
<property name="activatable-widget">spin_timeout</property>
<child>
<object class="GtkSpinButton" id="spin_timeout">
Expand Down Expand Up @@ -85,7 +85,7 @@
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Lossy Compression</property>
<property name="subtitle" translatable="yes">In percentage. 100% is the best quality.</property>
<property name="subtitle" translatable="yes">Set the quality of the generated image, 100 is the best quality</property>
<property name="activatable-widget">spin_png_lossy_level</property>
<child>
<object class="GtkSpinButton" id="spin_png_lossy_level">
Expand All @@ -105,7 +105,7 @@
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Lossless Compression Level</property>
<property name="subtitle" translatable="yes">Between 0 and 6. 6 is the highest (but slower) level.</property>
<property name="subtitle" translatable="yes">Set the level of the compression, 6 is the highest but slowest level</property>
<property name="activatable-widget">spin_png_lossless_level</property>
<child>
<object class="GtkSpinButton" id="spin_png_lossless_level">
Expand All @@ -130,7 +130,7 @@
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Lossy Compression</property>
<property name="subtitle" translatable="yes">In percentage. 100% is the best quality.</property>
<property name="subtitle" translatable="yes">Set the quality of the generated image, 100 is the best quality</property>
<property name="activatable-widget">spin_jpg_lossy_level</property>
<child>
<object class="GtkSpinButton" id="spin_jpg_lossy_level">
Expand All @@ -150,7 +150,7 @@
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Progressive Encode</property>
<property name="subtitle" translatable="yes">To enable incremental image rendering: blurry to clear.</property>
<property name="subtitle" translatable="yes">Enable incremental image rendering, going from blurry to clear</property>
<property name="activatable-widget">toggle_jpg_progressive</property>
<child>
<object class="GtkSwitch" id="toggle_jpg_progressive">
Expand All @@ -167,7 +167,7 @@
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Lossy Compression</property>
<property name="subtitle" translatable="yes">In percentage. 100% is the best quality.</property>
<property name="subtitle" translatable="yes">Set the quality of the generated image, 100 is the best quality</property>
<property name="activatable-widget">spin_webp_lossy_level</property>
<child>
<object class="GtkSpinButton" id="spin_webp_lossy_level">
Expand All @@ -187,7 +187,7 @@
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Lossless Compression Level</property>
<property name="subtitle" translatable="yes">Between 0 and 6. 6 is the highest (but slower) level.</property>
<property name="subtitle" translatable="yes">Set the level of the compression, 6 is the highest but slowest level</property>
<property name="activatable-widget">spin_webp_lossless_level</property>
<child>
<object class="GtkSpinButton" id="spin_webp_lossless_level">
Expand All @@ -212,7 +212,7 @@
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Maximum Compression Level</property>
<property name="subtitle" translatable="yes">Can be more destructive for the image.</property>
<property name="subtitle" translatable="yes">This can be more destructive for the image</property>
<child>
<object class="GtkSwitch" id="toggle_svg_maximum_level">
<property name="valign">center</property>
Expand Down
2 changes: 1 addition & 1 deletion data/ui/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<object class="AdwBanner" id="warning_banner">
<property name="action-name">win.preferences</property>
<property name="button-label" translatable="yes">_Change Mode</property>
<property name="title" translatable="yes">Images will be overwritten, proceed carefully.</property>
<property name="title" translatable="yes">Images will be overwritten, proceed carefully</property>
</object>
</child>
<child>
Expand Down

0 comments on commit 2913ee2

Please sign in to comment.