Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Proofreading (#785)
Browse files Browse the repository at this point in the history
Signed-off-by: salarua <[email protected]>
Signed-off-by: David Lapshin <[email protected]>
Co-authored-by: 0xMRTT <[email protected]>
Co-authored-by: tfuxu <[email protected]>
Co-authored-by: David Lapshin <[email protected]>
  • Loading branch information
4 people authored Jun 20, 2023
1 parent e86b6a0 commit d565375
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 24 deletions.
6 changes: 3 additions & 3 deletions data/ui/app_type_dialog.blp
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ template GradienceAppTypeDialog : Adw.MessageDialog {
orientation: vertical;
Label {
styles ["heading"]
label: _("Select application types you want to theme:");
label: _("Select application types to theme:");
}
CheckButton gtk4-app-type {
label: _("Libadwaita and GTK 4 Applications");
active: true;
}
CheckButton gtk3-app-type {
label: _("GTK 3 Applications (adw-gtk3 theme is required)");
label: _("GTK 3 Applications (adw-gtk3 theme required)");
}
}
// Box {
// orientation: vertical;
// Label {
// styles ["heading"]
// label: _("Select color mode you want to affect:");
// label: _("Select color mode to theme:");
// }
// CheckButton dark {
// label: _("Dark");
Expand Down
2 changes: 1 addition & 1 deletion data/ui/custom_css_group.blp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using Adw 1;

template GradienceCustomCSSGroup : Adw.PreferencesGroup {
title: _("Custom CSS");
description: _("Changing this may break some programs. Keep in mind that Libadwaita was made so that applications could hardcode values like paddings and margins.");
description: _("Changing this may break some programs. Libadwaita allows applications to hardcode values like padding and margins, and using custom CSS may cause unintended breakage.");

[header-suffix]
DropDown app_type_dropdown {
Expand Down
4 changes: 2 additions & 2 deletions data/ui/log_out_dialog.blp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ using Gtk 4.0;
using Adw 1;

template GradienceLogOutDialog : Adw.MessageDialog {
heading: _("Log out");
body: _("For the changes to take full effect, you need to log out.");
heading: _("Log out"); // TODO: redundant? how can we not repeat ourselves?
body: _("Log out to allow changes to take effect.");
}
5 changes: 3 additions & 2 deletions data/ui/monet_theming_group.blp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ using Adw 1;

template GradienceMonetThemingGroup : Adw.PreferencesGroup {
title: _("Monet Engine");
description: _("Monet is an engine that generates a Material Design 3 palette from extracting image's colors.");
description: _("Monet Engine generates a Material You color palette from an image.");

Adw.ExpanderRow monet-theming-expander {
title: _("Monet Engine Options");
subtitle: _("Choose an image, and change the parameters of a generated Monet palette");
subtitle: _("Choose an image and modify generated Monet palette");
expanded: true;

[action]
Expand Down Expand Up @@ -42,3 +42,4 @@ Gtk.FileChooserNative monet-file-chooser {
modal: true;
//response => on_monet_file_chooser_response();
}

2 changes: 1 addition & 1 deletion data/ui/no_plugin_window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ template GradienceNoPluginPrefWindow : Adw.PreferencesWindow {
name: "empty";
icon-name: "action-unavailable-symbolic";
title: _("No Preferences");
description: _("This plugin doesn't have any preferences.");
description: _("This plugin has no preferences.");
}
}
}
2 changes: 1 addition & 1 deletion data/ui/preset_row.blp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ template GradiencePresetRow : Adw.ExpanderRow {

Adw.ActionRow description {
title: _("Description");
subtitle: _("Sorry, but this preset don't have a description.");
subtitle: _("This preset has no description.");
}

Adw.ActionRow {
Expand Down
2 changes: 1 addition & 1 deletion data/ui/presets_manager_window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ template GradiencePresetWindow : Adw.Window {
Button import_button {
styles ["suggested-action"]
label: _("Import");
tooltip-text: _("Import a Preset File");
tooltip-text: _("Import Preset File");
clicked => on_import_button_clicked();
}

Expand Down
2 changes: 1 addition & 1 deletion data/ui/reset_preset_group.blp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using Adw 1;

template GradienceResetPresetGroup : Adw.PreferencesGroup {
title: _("Reset and Restore Presets");
description: _("This section allows you to reset a currently applied preset or restore the previous one.");
description: _("Reset a currently applied preset or restore the previous one.");

Adw.ActionRow {
title: _("Libadwaita and GTK 4 Applications");
Expand Down
2 changes: 1 addition & 1 deletion data/ui/shell_prefs_window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ template GradienceShellPrefsWindow : Adw.PreferencesWindow {
Adw.PreferencesPage {
Adw.PreferencesGroup custom-colors-group {
title: _("Custom Shell Colors");
description: _("This section allows you to customize colors that will be used in the Shell theme.");
description: _("Customize Shell theme colors.");
}
}
}
10 changes: 5 additions & 5 deletions data/ui/shell_theming_group.blp
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ using Adw 1;

template GradienceShellThemingGroup : Adw.PreferencesGroup {
title: _("Shell Engine");
description: _("Shell Engine generates a custom GNOME Shell theme based on the colors of a currently selected preset.\nWARNING: Extensions that modify Shell stylesheet can cause issues with themes.");
description: _("Shell Engine generates a custom GNOME Shell theme based on the currently selected preset.\nWARNING: Extensions that modify the Shell stylesheet may cause issues with themes.");

Adw.ExpanderRow shell-theming-expander {
title: _("Shell Engine Options");
subtitle: _("Change the parameters of a generated GNOME Shell theme");
subtitle: _("Change the generated GNOME Shell theme");
expanded: true;

[action]
Button shell-apply-button {
valign: center;
label: _("Apply");
tooltip-text: _("Apply a Shell theme");
tooltip-text: _("Apply Shell theme");
clicked => on_apply_button_clicked();
styles ["suggested-action"]
}
Expand All @@ -32,7 +32,7 @@ template GradienceShellThemingGroup : Adw.PreferencesGroup {

Adw.ComboRow variant-row {
title: _("Preset Variant");
subtitle: _("Select which preset variant you have currently applied");
subtitle: _("Select currently applied preset variant");
}
}
}
Expand All @@ -53,7 +53,7 @@ Adw.ActionRow other-options-row {
Button reset_theme_button {
valign: center;
label: _("Reset Theme");
tooltip-text: _("Reset an applied theme");
tooltip-text: _("Reset applied theme");
clicked => on_reset_theme_clicked();
styles ["destructive-action"]
}
Expand Down
8 changes: 4 additions & 4 deletions data/ui/welcome_window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ template GradienceWelcomeWindow: Adw.Window {
hexpand: true;
icon-name: "larger-brush-symbolic";
title: _("Customize Adwaita Theme");
description: _("Change colors of windows, buttons, lists and more, with advanced features like adding custom CSS.");
description: _("Change colors of windows, buttons, lists and more; with advanced features like adding custom CSS.");
}

Adw.StatusPage page_configure {
Expand All @@ -110,7 +110,7 @@ template GradienceWelcomeWindow: Adw.Window {
[suffix]
Switch switch_adw_gtk3 {
valign: center;
tooltip-text: _("Install adw-gtk3 theme for legacy apps theming");
tooltip-text: _("Install adw-gtk3 theme for legacy app theming");
}
}

Expand All @@ -131,8 +131,8 @@ template GradienceWelcomeWindow: Adw.Window {
Adw.StatusPage page_download {
vexpand: true;
hexpand: true;
title: _("Installing Themes");
description: _("Please wait until theme will be installed.");
title: _("Installing adw-gtk3");
description: _("Please wait until theme will be installed."); // i don't think we need this, just a "Installing adw-gtk3…" might be enough

Gtk.Box {
orientation: vertical;
Expand Down
4 changes: 2 additions & 2 deletions gradience/frontend/widgets/option_row.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ def __init__(self, name, title, explanation=None, adw_gtk3_support=None, update_
elif adw_gtk3_support == "partial":
self.warning_button.add_css_class("warning")
self.warning_label.set_label(
_("This option is only partially supported by the adw-gtk3 theme.")
_("This option is only partially supported by adw-gtk3.")
)
elif adw_gtk3_support == "no":
self.warning_button.add_css_class("error")
self.warning_label.set_label(
_("This option is not supported by the adw-gtk3 theme.")
_("This option is not supported by adw-gtk3.")
)

self.explanation_label.set_label(explanation or "")
Expand Down

0 comments on commit d565375

Please sign in to comment.