From 03ab4ede2853eccc638b752b848b6f3568afc5a1 Mon Sep 17 00:00:00 2001 From: Ryan Brue Date: Mon, 22 Sep 2025 11:27:58 -0500 Subject: [PATCH 1/2] 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 --- res/com.system76.CosmicFiles.desktop | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/res/com.system76.CosmicFiles.desktop b/res/com.system76.CosmicFiles.desktop index 058dffcec..8f4bf301f 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; From 982b563d44355439c4c251f46fb66ba2ccef4c0c Mon Sep 17 00:00:00 2001 From: Ryan Brue Date: Mon, 22 Sep 2025 11:28:18 -0500 Subject: [PATCH 2/2] improv(ci): Add desktop file validation to CI Signed-off-by: Ryan Brue --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7f14d287..a6e7c900d 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