Skip to content

app-cache: Fix cache for folder translations

The app-cache code currently stores the folder translations in a hash that can be accessed via shell_util_get_translated_folder_name(). This hash uses the filename (inc. extension) for the "desktop-directory" as key which causes an issue when trying to find the translation on AppDisplay._findBestFolderName() which gets categories (folder names) from the app info which doesn't contain the ".directory" extension.

Fix that by storing the filename without extension as the hash key for the cached folder translations.

Merge request reports