fix(desktop-entries): Update dependency to use X-Ubuntu-Gettext-Domain translations
This commit is contained in:
parent
6efad71f0e
commit
d6e93877ad
3 changed files with 93 additions and 5 deletions
|
|
@ -124,8 +124,12 @@ impl<W: AsyncWrite + Unpin> App<W> {
|
|||
if let Some(exec) = exec.split_ascii_whitespace().next() {
|
||||
let item = Item {
|
||||
appid: entry.appid.to_owned(),
|
||||
name: name.to_owned(),
|
||||
description: entry.comment(locale).unwrap_or("").to_owned(),
|
||||
name: name.to_string(),
|
||||
description: entry
|
||||
.comment(locale)
|
||||
.as_deref()
|
||||
.unwrap_or("")
|
||||
.to_owned(),
|
||||
keywords: entry.keywords().map(|keywords| {
|
||||
keywords.split(';').map(String::from).collect()
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue