Skip to content

Commit

Permalink
Merge pull request #1686 from d-loose/fix-appstream-url-types
Browse files Browse the repository at this point in the history
fix: add support for new appstream url types
  • Loading branch information
d-loose committed Jun 4, 2024
2 parents 6808361 + 4b2ee98 commit acc65a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/app_center/lib/src/appstream/appstream_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ extension AppstreamUrlTypeL10n on AppstreamUrlType {
AppstreamUrlType.help => l10n.appstreamUrlTypeHelp,
AppstreamUrlType.homepage => l10n.appstreamUrlTypeHomepage,
AppstreamUrlType.translate => l10n.appstreamUrlTypeTranslate,
AppstreamUrlType.vcsBrowser => l10n.appstreamUrlTypeVcsBrowser,
AppstreamUrlType.contribute => l10n.appstreamUrlTypeContribute,
};
}
}
Expand Down
2 changes: 2 additions & 0 deletions packages/app_center/lib/src/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,13 @@
"aboutPageLearnMoreLabel": "Learn more",
"appstreamUrlTypeBugtracker": "Bugtracker",
"appstreamUrlTypeContact": "Contact",
"appstreamUrlTypeContribute": "Contribute",
"appstreamUrlTypeDonation": "Donate",
"appstreamUrlTypeFaq": "FAQ",
"appstreamUrlTypeHelp": "Help",
"appstreamUrlTypeHomepage": "Homepage",
"appstreamUrlTypeTranslate": "Translations",
"appstreamUrlTypeVcsBrowser": "Source",
"packageFormatDebLabel": "Debian packages",
"packageFormatSnapLabel": "Snap packages",
"snapActionCancelLabel": "Cancel",
Expand Down
2 changes: 1 addition & 1 deletion packages/app_center/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:

dependencies:
app_center_ratings_client: ^1.0.0
appstream: ^0.2.8
appstream: ^0.2.9
args: ^2.4.2
cached_network_image: ^3.3.0
clock: ^1.1.1
Expand Down

0 comments on commit acc65a0

Please sign in to comment.