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:
@@ -654,29 +654,29 @@ _version: 2
|
|||||||
zh_CN: "无法使用 `fish_update_completions`"
|
zh_CN: "无法使用 `fish_update_completions`"
|
||||||
zh_TW: "無法使用 `fish_update_completions`"
|
zh_TW: "無法使用 `fish_update_completions`"
|
||||||
de: "`fish_update_completions` ist nicht verfügbar"
|
de: "`fish_update_completions` ist nicht verfügbar"
|
||||||
"Desktop doest not appear to be gnome":
|
"Desktop does not appear to be GNOME":
|
||||||
en: "Desktop doest not appear to be gnome"
|
en: "Desktop does not appear to be GNOME"
|
||||||
lt: "Darbalaukis, matyt, nėra Gnome"
|
lt: "Darbalaukis, matyt, nėra GNOME"
|
||||||
es: "El escritorio no parece ser Gnome"
|
es: "El escritorio no parece ser GNOME"
|
||||||
fr: "Le bureau ne semble pas être Gnome"
|
fr: "Le bureau ne semble pas être GNOME"
|
||||||
zh_CN: "桌面环境不是 Gnome"
|
zh_CN: "桌面环境不是 GNOME"
|
||||||
zh_TW: "桌面環境不是 Gnome"
|
zh_TW: "桌面環境不是 GNOME"
|
||||||
de: "Desktop scheint nicht GNOME zu sein"
|
de: "Desktop scheint nicht GNOME zu sein"
|
||||||
"Gnome shell extensions are unregistered in DBus":
|
"GNOME shell extensions are unregistered in DBus":
|
||||||
en: "Gnome shell extensions are unregistered in DBus"
|
en: "GNOME shell extensions are unregistered in DBus"
|
||||||
lt: "Gnome Shell priedai nėra užregistruoti DBus'e"
|
lt: "GNOME Shell priedai nėra užregistruoti DBus'e"
|
||||||
es: "Las extensiones de Gnome Shell no están registradas en DBus"
|
es: "Las extensiones de GNOME Shell no están registradas en DBus"
|
||||||
fr: "Les extensions de Gnome Shell ne sont pas enregistrées dans DBus"
|
fr: "Les extensions de GNOME Shell ne sont pas enregistrées dans DBus"
|
||||||
zh_CN: "Gnome Shell 扩展在 DBus中未被注册"
|
zh_CN: "GNOME Shell 扩展在 DBus中未被注册"
|
||||||
zh_TW: "Gnome Shell 擴充功能在 DBus 中未被註冊"
|
zh_TW: "GNOME Shell 擴充功能在 DBus 中未被註冊"
|
||||||
de: "GNOME-Shell-Erweiterungen sind im DBus nicht registriert"
|
de: "GNOME-Shell-Erweiterungen sind im DBus nicht registriert"
|
||||||
"Gnome Shell extensions":
|
"GNOME Shell extensions":
|
||||||
en: "Gnome Shell extensions"
|
en: "GNOME Shell extensions"
|
||||||
lt: "Gnome Shell priedai"
|
lt: "GNOME Shell priedai"
|
||||||
es: "Extensiones de Gnome Shell"
|
es: "Extensiones de GNOME Shell"
|
||||||
fr: "Extensions de Gnome Shell"
|
fr: "Extensions de GNOME Shell"
|
||||||
zh_CN: "Gnome Shell 扩展"
|
zh_CN: "GNOME Shell 扩展"
|
||||||
zh_TW: "Gnome Shell 擴充功能"
|
zh_TW: "GNOME Shell 擴充功能"
|
||||||
de: "GNOME-Shell-Erweiterungen"
|
de: "GNOME-Shell-Erweiterungen"
|
||||||
"Not a custom brew for macOS":
|
"Not a custom brew for macOS":
|
||||||
en: "Not a custom brew for macOS"
|
en: "Not a custom brew for macOS"
|
||||||
|
|||||||
@@ -238,7 +238,7 @@ pub fn upgrade_gnome_extensions(ctx: &ExecutionContext) -> Result<()> {
|
|||||||
let gdbus = require("gdbus")?;
|
let gdbus = require("gdbus")?;
|
||||||
require_option(
|
require_option(
|
||||||
var("XDG_CURRENT_DESKTOP").ok().filter(|p| p.contains("GNOME")),
|
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")
|
let output = Command::new("gdbus")
|
||||||
.args([
|
.args([
|
||||||
@@ -253,12 +253,12 @@ pub fn upgrade_gnome_extensions(ctx: &ExecutionContext) -> Result<()> {
|
|||||||
])
|
])
|
||||||
.output_checked_utf8()?;
|
.output_checked_utf8()?;
|
||||||
|
|
||||||
debug!("Checking for gnome extensions: {}", output);
|
debug!("Checking for GNOME extensions: {}", output);
|
||||||
if !output.stdout.contains("org.gnome.Shell.Extensions") {
|
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()
|
ctx.run_type()
|
||||||
.execute(gdbus)
|
.execute(gdbus)
|
||||||
|
|||||||
Reference in New Issue
Block a user