Skip to content

Commit

Permalink
Add localization for "Learn more"
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuntu committed Nov 27, 2024
1 parent ecbeac0 commit d6a4d25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions gui/packages/ubuntupro/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
}
},
"getUbuntuPro": "Get Ubuntu Pro",
"learnMore": "Learn more",

"subscriptionIsActive": "Your subscription is active!",
"storeManaged": "This subscription is managed through Microsoft Store.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ class SubscribeNowPage extends StatelessWidget {
SizedBox(
width: 400,
child: MarkdownBody(
data: lang.proHeading('[Learn more](https://ubuntu.com/pro)'),
data:
lang.proHeading('[${lang.learnMore}](https://ubuntu.com/pro)'),
onTapLink: (_, href, __) => launchUrlString(href!),
styleSheet: linkStyle,
),
Expand Down

0 comments on commit d6a4d25

Please sign in to comment.