Generate translated desktop and metainfo files with xdgen

This commit is contained in:
Jeremy Soller 2026-02-12 15:10:18 -07:00
parent 314f11ab89
commit 36633540c2
18 changed files with 94 additions and 45 deletions

View file

@ -1,18 +1,6 @@
#TODO: more build-out, desktop actions, translations?
[Desktop Entry]
Name=COSMIC Text Editor
Name[ar]=محرِّر نصوص COSMIC
Name[cs]=Textový editor COSMIC
Name[zh_CN]=COSMIC
Name[pl]=Edytor Tekstu COSMIC
Name[pt_BR]=Editor de Texto
Name[hu]=COSMIC Szövegszerkesztő
Name[pt]=Editor de Texto
Name[ru]=Текстовый редактор COSMIC
Name[sk]=Textový editor COSMIC
Name[sv]=COSMIC Textredigerare
Name[es]=Editor de texto COSMIC
Name[it]=Editor di testo COSMIC
Comment=Text editor for the COSMIC desktop
Exec=cosmic-edit %F
Terminal=false
Type=Application
@ -20,13 +8,4 @@ StartupNotify=true
MimeType=text/plain;
Icon=com.system76.CosmicEdit
Categories=COSMIC;Utility;TextEditor;
Keywords=Text;Editor;
Keywords[ar]=نص;محرر;
Keywords[cs]=Text;Editor;Poznámky;
Keywords[pl]=Edytor;Tekstu;
Keywords[pt_BR]=Texto;Editor;Notas;
Keywords[hu]=szöveg;szerkesztő;
Keywords[sk]=Text;Editor;Poznámky;
Keywords[sv]=Text;Editor;Redigerare;
Keywords[es]=Texto;Editor;Notas;
Keywords[it]=Testo;Editor;Note;Blocco;
Keywords=Text;Editor;

View file

@ -9,27 +9,7 @@
<url type="homepage">https://github.com/pop-os/cosmic-edit</url>
<url type="bugtracker">https://github.com/pop-os/cosmic-edit</url>
<name>COSMIC Text Editor</name>
<name xml:lang="ar">محرِّر نصوص COSMIC</name>
<name xml:lang="cs">Textový editor COSMIC</name>
<name xml:lang="pl">Edytor tekstu COSMIC</name>
<name xml:lang="hu">COSMIC Szövegszerkesztő</name>
<name xml:lang="pt_BR">Editor de Texto</name>
<name xml:lang="ru">Текстовый редактор COSMIC</name>
<name xml:lang="sk">COSMIC Textový editor</name>
<name xml:lang="es">Editor de texto</name>
<name xml:lang="it">Editor di testo di COSMIC</name>
<name xml:lang="sv">COSMIC Textredigerare</name>
<summary>Text editor for the COSMIC desktop</summary>
<summary xml:lang="ar">محرِّر نصوص لسطح مكتب COSMIC</summary>
<summary xml:lang="cs">Textový editor pro pracovní prostředí COSMIC</summary>
<summary xml:lang="pl">Edytor tekstu pulpitu COSMIC</summary>
<summary xml:lang="hu">Szövegszerkesztő a COSMIC asztali környezethez</summary>
<summary xml:lang="pt_BR">Editor de texto do desktop COSMIC</summary>
<summary xml:lang="ru">Текстовый редактор для оболочки COSMIC</summary>
<summary xml:lang="sk">Textový editor pre pracovné prostredie COSMIC</summary>
<summary xml:lang="es">Editor de texto de escritorio COSMIC</summary>
<summary xml:lang="it">Editor di testo di COSMIC</summary>
<summary xml:lang="sv">Textredigerare för skrivbordsmiljön COSMIC</summary>
<description>
<p>Text editor that provides advanced features with high performance</p>
<p xml:lang="ar">محرِّر نصوص يوفر ميزات متقدمة بأداء عالٍ</p>
@ -89,6 +69,10 @@
<li xml:lang="it">Gestione Git integrata</li>
</ul>
</description>
<keywords>
<keyword>Text</keyword>
<keyword>Editor</keyword>
</keywords>
<launchable type="desktop-id">com.system76.CosmicEdit.desktop</launchable>
<icon type="remote" height="256" width="256">https://raw.githubusercontent.com/pop-os/cosmic-edit/master/res/icons/hicolor/256x256/apps/com.system76.CosmicEdit.svg</icon>
<screenshots>