fix: correct GNOME spelling (#1124)

Before this change, the spelling was inconsistent. Now it is consistent and follows the upstream spelling. GNOME is spelled all caps, because it is a trademark. (As an exception, it is spelled all lowercase in technical strings, such as identifiers and commands)
This commit is contained in:
Alexandre Franke
2025-04-16 07:46:26 +02:00
committed by GitHub
parent 751f41bc5e
commit a2f57e4769
2 changed files with 25 additions and 25 deletions

View File

@@ -238,7 +238,7 @@ pub fn upgrade_gnome_extensions(ctx: &ExecutionContext) -> Result<()> {
let gdbus = require("gdbus")?;
require_option(
var("XDG_CURRENT_DESKTOP").ok().filter(|p| p.contains("GNOME")),
t!("Desktop doest not appear to be gnome").to_string(),
t!("Desktop does not appear to be GNOME").to_string(),
)?;
let output = Command::new("gdbus")
.args([
@@ -253,12 +253,12 @@ pub fn upgrade_gnome_extensions(ctx: &ExecutionContext) -> Result<()> {
])
.output_checked_utf8()?;
debug!("Checking for gnome extensions: {}", output);
debug!("Checking for GNOME extensions: {}", output);
if !output.stdout.contains("org.gnome.Shell.Extensions") {
return Err(SkipStep(t!("Gnome shell extensions are unregistered in DBus").to_string()).into());
return Err(SkipStep(t!("GNOME shell extensions are unregistered in DBus").to_string()).into());
}
print_separator(t!("Gnome Shell extensions"));
print_separator(t!("GNOME Shell extensions"));
ctx.run_type()
.execute(gdbus)