feat(resources): add link to information about build channels

This commit is contained in:
Jagandeep Brar
2022-04-11 18:43:53 -04:00
parent fe9ed5e05b
commit fb31aba7f9
4 changed files with 33 additions and 36 deletions

View File

@@ -309,8 +309,10 @@
"settings.BroadcastAddressHint2": "Typically this is the IP address of your machine with the last octet set to 255",
"settings.BroadcastAddressHint3": "Given an example machine IP address of 192.168.1.111, the resulting broadcast IP address is 192.168.1.255",
"settings.BroadcastAddressValidation": "Invalid Broadcast Address",
"settings.Builds": "Builds",
"settings.BuildsDescription": "View and Download All Builds of LunaSea",
"settings.BuildBucket": "Build Bucket",
"settings.BuildBucketDescription": "View and Download Builds",
"settings.BuildChannels": "Build Channels",
"settings.BuildChannelsDescription": "Learn About Additional Build Channels",
"settings.CalendarSettings": "Calendar Settings",
"settings.ClearConfiguration": "Clear Configuration",
"settings.ClearConfigurationHint1": "Are you sure you want to clear your configuration?",
@@ -492,8 +494,6 @@
"settings.SystemDescription": "System Utilities and Info",
"settings.SystemStatus": "System Status",
"settings.SystemStatusDescription": "Status Page for Hosted Services",
"settings.TestBuilds": "Test Builds",
"settings.TestBuildsDescription": "Install Prerelease Builds of LunaSea",
"settings.TestConnection": "Test Connection",
"settings.TLSCertificateValidation": "TLS Certificate Validation",
"settings.TLSCertificateValidationDescription": "Validate Certificates in TLS Connections",

View File

@@ -4,16 +4,19 @@ class LunaIcons {
static const IconData ADD = Icons.add_rounded;
static const IconData ARROW_RIGHT = Icons.arrow_forward_ios_rounded;
static const IconData ARROW_DROPDOWN = Icons.arrow_drop_down_rounded;
static const IconData BUILDS = Icons.build_rounded;
static const IconData BUILD_BUCKET = Icons.downloading_rounded;
static const IconData BUILD_CHANNELS = Icons.rocket_launch_rounded;
static const IconData CLOUD_DELETE = Icons.cloud_off_rounded;
static const IconData CLOUD_DOWNLOAD = Icons.cloud_download_rounded;
static const IconData CLOUD_UPLOAD = Icons.cloud_upload_rounded;
static const IconData CONNECTION_TEST = Icons.wifi_tethering_rounded;
static const IconData DELETE = Icons.delete_rounded;
static const IconData DEVICES = Icons.devices_rounded;
static const IconData DOCUMENTATION = Icons.auto_stories_rounded;
static const IconData DOWNLOAD = Icons.file_download_rounded;
static const IconData EMAIL = Icons.email_rounded;
static const IconData ERROR = Icons.error_rounded;
static const IconData FEEDBACK = Icons.speaker_notes_rounded;
static const IconData FILTER = Icons.filter_list_rounded;
static const IconData HISTORY = Icons.history_rounded;
static const IconData HOME = Icons.home_rounded;

View File

@@ -42,52 +42,48 @@ class _State extends State<_Widget> with LunaScrollControllerMixin {
controller: scrollController,
children: [
LunaBlock(
title: 'settings.Builds'.tr(),
body: [TextSpan(text: 'settings.BuildsDescription'.tr())],
trailing: const LunaIconButton(icon: LunaIcons.BUILDS),
onTap: LunaLinks.BUILDS.launch,
title: 'settings.BuildChannels'.tr(),
body: [TextSpan(text: 'settings.BuildChannelsDescription'.tr())],
trailing: const LunaIconButton(icon: LunaIcons.BUILD_CHANNELS),
onTap: LunaLinks.BUILD_CHANNELS.launch,
),
LunaBlock(
title: 'settings.Documentation'.tr(),
body: [TextSpan(text: 'settings.DocumentationDescription'.tr())],
trailing: const LunaIconButton(icon: LunaIcons.DOCUMENTATION),
onTap: LunaLinks.DOCUMENTATION.launch,
),
LunaBlock(
title: 'settings.Localization'.tr(),
body: [TextSpan(text: 'settings.WeblateDescription'.tr())],
trailing: const LunaIconButton(icon: LunaIcons.TRANSLATE),
onTap: LunaLinks.WEBLATE.launch,
),
LunaDivider(),
LunaBlock(
title: 'Discord',
body: [TextSpan(text: 'settings.DiscordDescription'.tr())],
trailing: const LunaIconButton(icon: LunaBrandIcons.discord),
onTap: LunaLinks.DISCORD.launch,
),
LunaBlock(
title: 'settings.Documentation'.tr(),
body: [TextSpan(text: 'settings.DocumentationDescription'.tr())],
trailing: const LunaIconButton(icon: Icons.auto_stories_rounded),
onTap: LunaLinks.DOCUMENTATION.launch,
),
LunaBlock(
title: 'settings.FeedbackBoard'.tr(),
body: [TextSpan(text: 'settings.FeedbackBoardDescription'.tr())],
trailing: const LunaIconButton(icon: Icons.speaker_notes_rounded),
trailing: const LunaIconButton(icon: LunaIcons.FEEDBACK),
onTap: LunaLinks.FEEDBACK_BOARD.launch,
),
LunaBlock(
title: 'GitHub',
body: [TextSpan(text: 'settings.GitHubDescription'.tr())],
trailing: const LunaIconButton(icon: LunaBrandIcons.github),
onTap: LunaLinks.GITHUB.launch,
),
LunaBlock(
title: 'Reddit',
body: [TextSpan(text: 'settings.RedditDescription'.tr())],
trailing: const LunaIconButton(icon: LunaBrandIcons.reddit),
onTap: LunaLinks.REDDIT.launch,
),
LunaDivider(),
LunaBlock(
title: 'settings.TestBuilds'.tr(),
body: [TextSpan(text: 'settings.TestBuildsDescription'.tr())],
trailing: const LunaIconButton(icon: Icons.developer_board_rounded),
onTap: LunaLinks.BUILD_CHANNELS.launch,
),
LunaBlock(
title: 'Weblate',
body: [TextSpan(text: 'settings.WeblateDescription'.tr())],
trailing: const LunaIconButton(icon: LunaIcons.TRANSLATE),
onTap: LunaLinks.WEBLATE.launch,
title: 'GitHub',
body: [TextSpan(text: 'settings.GitHubDescription'.tr())],
trailing: const LunaIconButton(icon: LunaBrandIcons.github),
onTap: LunaLinks.GITHUB.launch,
),
LunaBlock(
title: 'settings.Website'.tr(),

View File

@@ -47,8 +47,8 @@
"settings.BroadcastAddressHint2": "Typically this is the IP address of your machine with the last octet set to 255",
"settings.BroadcastAddressHint3": "Given an example machine IP address of 192.168.1.111, the resulting broadcast IP address is 192.168.1.255",
"settings.BroadcastAddressValidation": "Invalid Broadcast Address",
"settings.Builds": "Builds",
"settings.BuildsDescription": "View and Download All Builds of LunaSea",
"settings.BuildChannels": "Build Channels",
"settings.BuildChannelsDescription": "Learn About Additional Build Channels",
"settings.CalendarSettings": "Calendar Settings",
"settings.ClearConfiguration": "Clear Configuration",
"settings.ClearConfigurationHint1": "Are you sure you want to clear your configuration?",
@@ -230,8 +230,6 @@
"settings.SystemDescription": "System Utilities and Info",
"settings.SystemStatus": "System Status",
"settings.SystemStatusDescription": "Status Page for Hosted Services",
"settings.TestBuilds": "Test Builds",
"settings.TestBuildsDescription": "Install Prerelease Builds of LunaSea",
"settings.TestConnection": "Test Connection",
"settings.TLSCertificateValidation": "TLS Certificate Validation",
"settings.TLSCertificateValidationDescription": "Validate Certificates in TLS Connections",