AppImage / AppImage/AppImageKit

Remove redundant desktop file entries on installation

オープン
#833 コメント 11 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
9.4k
フォーク
588
PR マージ指標
PR 指標を取得中

説明

Many desktop files ship with redundant localized entries (read: same value as default). This is highly annoying, and can lead to annoyances like https://github.com/TheAssassin/AppImageLauncher/issues/62.

As I recently learned, some translation tools that natively support desktop files (like Transifex) are to be blamed for this situation. Once a language is added to the project, it seems all entries are localized. There is apparently no way to prevent it from doing so.

In order to prevent such situations from happening again, I thought it might be a good idea to clean up those redundant entries. We can use the code from #820 to get a list of languages for every entry type, compare them to the default value and remove the unnecessary entries. That'll also compact the desktop files, making them easier to read.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。