From ea5b838bc52d0f7d6299051658dc1a9e91070f68 Mon Sep 17 00:00:00 2001 From: Ryan Brue Date: Mon, 22 Sep 2025 13:55:16 -0500 Subject: [PATCH] Desktop file fixes (#1196) * fix: Desktop file validation failing There was a missing [es] in a translation and a translated Comment that doesn't exist in english. This commit makes desktop-file-validate pass Signed-off-by: Ryan Brue * improv(ci): Add desktop file validation to CI Signed-off-by: Ryan Brue --------- Signed-off-by: Ryan Brue --- .github/workflows/ci.yml | 3 ++- res/com.system76.CosmicFiles.desktop | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7f14d2..a6e7c90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: sudo apt-get update; sudo apt-get install libclang-dev libglib2.0-dev libxkbcommon-dev + - run: sudo apt-get update; sudo apt-get install desktop-file-utils libclang-dev libglib2.0-dev libxkbcommon-dev + - run: desktop-file-validate --no-hints ./res/com.system76.CosmicFiles.desktop - run: rustup update stable && rustup default stable - run: cargo test --verbose \ No newline at end of file diff --git a/res/com.system76.CosmicFiles.desktop b/res/com.system76.CosmicFiles.desktop index 058dffc..8f4bf30 100644 --- a/res/com.system76.CosmicFiles.desktop +++ b/res/com.system76.CosmicFiles.desktop @@ -10,7 +10,6 @@ Name[pt]=Arquivos Name[sk]=Súbory COSMIC Name[es]=Archivos COSMIC Name[it]=COSMIC File -Comment[sk]=Správca súborov pre prostredie COSMIC Exec=cosmic-files %U Terminal=false Type=Application @@ -23,5 +22,5 @@ Keywords[pl]=Katalogi;Pliki;Menedżer; Keywords[pt]=Pastas;Gerenciador;Arquivos;Gestor;Explorer; Keywords[hu]=mappa;fájl;kezelő Keywords[sk]=Priečinok;Správca;Súbory;Manažér;Prehliadač; -Keywords=Archivos;Ficheros;Gestor;Explorador; +Keywords[es]=Archivos;Ficheros;Gestor;Explorador; MimeType=inode/directory;