Skip to content

Commit

Permalink
Minor updates (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdlukaa authored Apr 11, 2024
2 parents 9dfffcc + 1cfb1e3 commit 9413b5c
Show file tree
Hide file tree
Showing 32 changed files with 874 additions and 589 deletions.
3 changes: 2 additions & 1 deletion lib/api/api_helpers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import 'dart:io';
import 'package:bluecherry_client/api/api.dart';
import 'package:bluecherry_client/models/server.dart';
import 'package:bluecherry_client/providers/server_provider.dart';
import 'package:bluecherry_client/providers/settings_provider.dart';
import 'package:device_info_plus/device_info_plus.dart';
import 'package:flutter/foundation.dart';
import 'package:path_provider/path_provider.dart';
Expand Down Expand Up @@ -167,7 +168,7 @@ class DevHttpOverrides extends HttpOverrides {
}
}

return true;
return SettingsProvider.instance.kAllowUntrustedCertificates.value;
};
}
}
35 changes: 32 additions & 3 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@
"automaticDownloadUpdates": "Automatic download updates",
"automaticDownloadUpdatesDescription": "Be among the first to get the latest updates, fixes and improvements as they roll out.",
"updateHistory": "Update history",
"showReleaseNotes": "Show release notes",
"showReleaseNotesDescription": "Display release notes when a new version is installed",
"newVersionAvailable": "New version available",
"installVersion": "Install",
"downloadVersion": "Download",
Expand Down Expand Up @@ -456,15 +458,34 @@
"taskDownloadingEvent": "Downloading event",
"@@@SETTINGS": {},
"defaultField": "Default",
"@@GENERAL": {},
"general": "General",
"generalSettingsSuggestion": "Notifications, Data Usage, Wakelock, etc",
"serverAndDevices": "Servers and Devices",
"serverAndDevicesSettingsSuggestion": "Connect to servers, manage devices, etc",
"eventsAndDownloads": "Events and Downloads",
"eventsAndDownloadsSettingsSuggestion": "Events history, downloads, etc",
"application": "Application",
"applicationSettingsSuggestion": "Appearance, theme, date and time, etc",
"privacyAndSecurity": "Privacy and Security",
"privacyAndSecuritySettingsSuggestion": "Data collection, error reporting, etc",
"updatesAndHelp": "Updates and Help",
"updatesAndHelpSettingsSuggestion": "Check for updates, update history, etc",
"advancedOptions": "Advanced Options",
"advancedOptionsSettingsSuggestion": "Funcionalidades em Beta, Opções de Desenvolvedor, etc",
"@@GENERAL": {},
"cycleTogglePeriod": "Layout cycle toggle period",
"cycleTogglePeriodDescription": "The interval between layout changes when the cycle mode is enabled.",
"notifications": "Notifications",
"notificationsEnabled": "Notifications enabled",
"notificationClickBehavior": "Notification Click Behavior",
"notificationClickBehaviorDescription": "Choose what happens when you click on a notification.",
"showEventsScreen": "Show events history",
"@@@DATA_USAGE": {},
"dataUsage": "Data Usage",
"streamsOnBackground": "Keep streams playing on background",
"streamsOnBackgroundDescription": "When to keep streams playing when the app is in background",
"automatic": "Automatic",
"wifiOnly": "Wifi Only",
"@@EVENTS_AND_DOWNLOADS": {},
"chooseEveryDownloadsLocation": "Choose the location for every download",
"chooseEveryDownloadsLocationDescription": "Whether to choose the location for each download or use the default location. When enabled, you will be prompted to choose the download directory for each download.",
Expand Down Expand Up @@ -494,7 +515,6 @@
"convertToLocalTime": "Convert dates to the local timezone",
"convertToLocalTimeDescription": "This will affect the date and time displayed in the app. This is useful when you are in a different timezone than the server. When disabled, the server timezone will be used.",
"@@PRIVACY_AND_SECURITY": {},
"privacyAndSecurity": "Privacy and Security",
"allowDataCollection": "Allow Bluecherry to collect usage data",
"allowDataCollectionDescription": "Allow Bluecherry to collect data to improve the app and provide better services. Data is collected anonymously and does not contain any personal information.",
"automaticallyReportErrors": "Automatically report errors",
Expand Down Expand Up @@ -537,6 +557,12 @@
}
}
},
"@@SERVERS": {},
"connectToServerAutomaticallyAtStartup": "Connect automatically at startup",
"connectToServerAutomaticallyAtStartupDescription": "If enabled, the server will be automatically connected when the app starts. This only applies to the new servers you add.",
"allowUntrustedCertificates": "Allow untrusted certificates",
"allowUntrustedCertificatesDescription": "Allow connecting to servers with untrusted certificates. This is useful when you are using self-signed certificates or certificates from unknown authorities.",
"certificateNotPassed": "Certificate not passed",
"@@STREAMING": {},
"streamingSettings": "Streaming settings",
"streamingType": "Streaming type",
Expand Down Expand Up @@ -603,5 +629,8 @@
"rackNameExample": "Lab 1",
"openServer": "Open server",
"@SEARCH": {},
"disableSearch": "Disable search"
"disableSearch": "Disable search",
"@@@Updates and Help": {},
"help": "Help",
"licenses": "Licenses"
}
37 changes: 33 additions & 4 deletions lib/l10n/app_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,8 @@
"automaticDownloadUpdates": "Téléchargement automatique des mises à jour",
"automaticDownloadUpdatesDescription": "Faites parti des premiers à recevoir les dernières mises à jour, correctifs et améliorations quand elles sortent.",
"updateHistory": "Historique de mises à jour",
"showReleaseNotes": "Show release notes",
"showReleaseNotesDescription": "Display release notes when a new version is installed",
"newVersionAvailable": "Nouvelle version disponible",
"installVersion": "Installer",
"downloadVersion": "Télécharger",
Expand Down Expand Up @@ -432,15 +434,34 @@
"taskDownloadingEvent": "Téléchargement de l'évènement",
"@@@SETTINGS": {},
"defaultField": "Par défaut",
"@@GENERAL": {},
"general": "Général",
"generalSettingsSuggestion": "Notifications, Data Usage, Wakelock, etc",
"serverAndDevices": "Servers and Devices",
"serverAndDevicesSettingsSuggestion": "Connect to servers, manage devices, etc",
"eventsAndDownloads": "Events and Downloads",
"eventsAndDownloadsSettingsSuggestion": "Events history, downloads, etc",
"application": "Application",
"applicationSettingsSuggestion": "Appearance, theme, date and time, etc",
"privacyAndSecurity": "Sécurité et vie Privée",
"privacyAndSecuritySettingsSuggestion": "Data collection, error reporting, etc",
"updatesAndHelp": "Updates and Help",
"updatesAndHelpSettingsSuggestion": "Check for updates, update history, etc",
"advancedOptions": "Advanced Options",
"advancedOptionsSettingsSuggestion": "Funcionalidades em Beta, Opções de Desenvolvedor, etc",
"@@GENERAL": {},
"cycleTogglePeriod": "Durée du cycle de basculement",
"cycleTogglePeriodDescription": "Intervalle de temps entre les changements de disposition quand le mode cycle est activé.",
"notifications": "Notifications",
"notificationsEnabled": "Notifications activées",
"notificationClickBehavior": "Action de clic sur les notifications",
"notificationClickBehaviorDescription": "Choisir ce qui se passe lorsque vous cliquez sur une notification.",
"showEventsScreen": "Montrer le navigateur d'événements",
"@@@DATA_USAGE": {},
"dataUsage": "Data Usage",
"streamsOnBackground": "Keep streams playing on background",
"streamsOnBackgroundDescription": "When to keep streams playing when the app is in background",
"automatic": "Automatic",
"wifiOnly": "Wifi Only",
"@@EVENTS_AND_DOWNLOADS": {},
"chooseEveryDownloadsLocation": "Choisir l'emplacement pour chaque téléchargements",
"chooseEveryDownloadsLocationDescription": "Choisir l'emplacement de chaque téléchargements ou utiliser l'emplacement par défaut. Lorsque activé vous devrez choisir l'emplacement pour chaque téléchargements.",
Expand Down Expand Up @@ -470,7 +491,6 @@
"convertToLocalTime": "Convertir le temps à l'heure locale",
"convertToLocalTimeDescription": "Convertir les temps affichés à l'heure locale. Cette option affecte l'heure et la date affichée dans l'application. Cette option est utile si le serveur est situé dans un autre fuseau horaire.",
"@@PRIVACY_AND_SECURITY": {},
"privacyAndSecurity": "Sécurité et vie Privée",
"allowDataCollection": "Permettre à Bluecherry de collecter des données d'utilisation",
"allowDataCollectionDescription": "Permettre à Bluecherry de collecter des données améliore l'application et fournit un meilleur service. Les données collectées ne contiennent aucune information personnelle.",
"automaticallyReportErrors": "Signaler automatiquement les erreurs",
Expand Down Expand Up @@ -511,6 +531,12 @@
"time": {}
}
},
"@@SERVERS": {},
"connectToServerAutomaticallyAtStartup": "Connect automatically at startup",
"connectToServerAutomaticallyAtStartupDescription": "If enabled, the server will be automatically connected when the app starts. This only applies to the new servers you add.",
"allowUntrustedCertificates": "Allow untrusted certificates",
"allowUntrustedCertificatesDescription": "Allow connecting to servers with untrusted certificates. This is useful when you are using self-signed certificates or certificates from unknown authorities.",
"certificateNotPassed": "Certificate not passed",
"@@STREAMING": {},
"streamingSettings": "Paramètre de diffusion",
"streamingType": "Type de diffusion",
Expand Down Expand Up @@ -577,5 +603,8 @@
"rackNameExample": "Labo 1",
"openServer": "Serveur libre",
"@SEARCH": {},
"disableSearch": "Désactiver la recherche"
}
"disableSearch": "Désactiver la recherche",
"@@@Updates and Help": {},
"help": "Help",
"licenses": "Licenças"
}
35 changes: 32 additions & 3 deletions lib/l10n/app_pl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@
"automaticDownloadUpdates": "Pobieraj aktualizacje automatycznie",
"automaticDownloadUpdatesDescription": "Bądź jedną z pierwszych osób, które otrzymają najnowsze aktualizacje, poprawki i ulepszenia w miarę ich wdrażania.",
"updateHistory": "Historia aktualizacji",
"showReleaseNotes": "Show release notes",
"showReleaseNotesDescription": "Display release notes when a new version is installed",
"newVersionAvailable": "Dostępna nowa wersja",
"installVersion": "Instaluj",
"downloadVersion": "Pobierz",
Expand Down Expand Up @@ -456,15 +458,34 @@
"taskDownloadingEvent": "Pobieranie zdarzenia",
"@@@SETTINGS": {},
"defaultField": "Default",
"@@GENERAL": {},
"general": "General",
"generalSettingsSuggestion": "Notifications, Data Usage, Wakelock, etc",
"serverAndDevices": "Servers and Devices",
"serverAndDevicesSettingsSuggestion": "Connect to servers, manage devices, etc",
"eventsAndDownloads": "Events and Downloads",
"eventsAndDownloadsSettingsSuggestion": "Events history, downloads, etc",
"application": "Application",
"applicationSettingsSuggestion": "Appearance, theme, date and time, etc",
"privacyAndSecurity": "Privacy and Security",
"privacyAndSecuritySettingsSuggestion": "Data collection, error reporting, etc",
"updatesAndHelp": "Updates and Help",
"updatesAndHelpSettingsSuggestion": "Check for updates, update history, etc",
"advancedOptions": "Advanced Options",
"advancedOptionsSettingsSuggestion": "Funcionalidades em Beta, Opções de Desenvolvedor, etc",
"@@GENERAL": {},
"cycleTogglePeriod": "Okres cyklicznego przełączania układu",
"cycleTogglePeriodDescription": "The interval between layout changes when the cycle mode is enabled.",
"notifications": "Notifications",
"notificationsEnabled": "Notifications enabled",
"notificationClickBehavior": "Zachowanie po kliknięciu na powiadomienie",
"notificationClickBehaviorDescription": "Choose what happens when you click on a notification.",
"showEventsScreen": "Pokaż historię zdarzeń",
"@@@DATA_USAGE": {},
"dataUsage": "Data Usage",
"streamsOnBackground": "Keep streams playing on background",
"streamsOnBackgroundDescription": "When to keep streams playing when the app is in background",
"automatic": "Automatic",
"wifiOnly": "Wifi Only",
"@@EVENTS_AND_DOWNLOADS": {},
"chooseEveryDownloadsLocation": "Choose the location for every download",
"chooseEveryDownloadsLocationDescription": "Whether to choose the location for each download or use the default location. When enabled, you will be prompted to choose the download directory for each download.",
Expand Down Expand Up @@ -494,7 +515,6 @@
"convertToLocalTime": "Convert dates to the local timezone",
"convertToLocalTimeDescription": "This will affect the date and time displayed in the app. This is useful when you are in a different timezone than the server. When disabled, the server timezone will be used.",
"@@PRIVACY_AND_SECURITY": {},
"privacyAndSecurity": "Privacy and Security",
"allowDataCollection": "Allow Bluecherry to collect usage data",
"allowDataCollectionDescription": "Allow Bluecherry to collect data to improve the app and provide better services. Data is collected anonymously and does not contain any personal information.",
"automaticallyReportErrors": "Automatically report errors",
Expand Down Expand Up @@ -537,6 +557,12 @@
}
}
},
"@@SERVERS": {},
"connectToServerAutomaticallyAtStartup": "Connect automatically at startup",
"connectToServerAutomaticallyAtStartupDescription": "If enabled, the server will be automatically connected when the app starts. This only applies to the new servers you add.",
"allowUntrustedCertificates": "Allow untrusted certificates",
"allowUntrustedCertificatesDescription": "Allow connecting to servers with untrusted certificates. This is useful when you are using self-signed certificates or certificates from unknown authorities.",
"certificateNotPassed": "Certificate not passed",
"@@STREAMING": {},
"streamingSettings": "Streaming settings",
"streamingType": "Streaming type",
Expand Down Expand Up @@ -603,5 +629,8 @@
"rackNameExample": "Lab 1",
"openServer": "Open server",
"@SEARCH": {},
"disableSearch": "Disable search"
"disableSearch": "Disable search",
"@@@Updates and Help": {},
"help": "Help",
"licenses": "Licenças"
}
49 changes: 39 additions & 10 deletions lib/l10n/app_pt.arb
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
"downloaded": "Baixado",
"downloading": "Baixando",
"seeInDownloads": "Ver nos Downloads",
"downloadPath": "Diretório de Download",
"downloadPath": "Local de Download",
"delete": "Deletar",
"showInFiles": "Ver no Explorador de Arquivos",
"noDownloads": "Você ainda não baixou nenhum evento :/",
Expand Down Expand Up @@ -425,6 +425,8 @@
"automaticDownloadUpdates": "Baixar atualizações automaticamente",
"automaticDownloadUpdatesDescription": "Seja um dos primeiros a receber as atualizações, correções e melhorias mais recentes assim que lançadas.",
"updateHistory": "Histórico de atualizações",
"showReleaseNotes": "Mostrar notas de atualização",
"showReleaseNotesDescription": "Mostrar as notas de atualização quando uma versão for instalada.",
"newVersionAvailable": "Nova versão disponível!",
"installVersion": "Instalar",
"downloadVersion": "Baixar",
Expand Down Expand Up @@ -456,18 +458,37 @@
"taskDownloadingEvent": "Baixando evento",
"@@@SETTINGS": {},
"defaultField": "Padrão",
"@@GENERAL": {},
"general": "Geral",
"generalSettingsSuggestion": "Notificações, Layouts, Wakelock, etc",
"serverAndDevices": "Servidores e Dispositivos",
"serverAndDevicesSettingsSuggestion": "Servidores, Dispositivos, Streaming, etc",
"eventsAndDownloads": "Eventos e Downloads",
"eventsAndDownloadsSettingsSuggestion": "Eventos, Histórico de Eventos, Downloads, etc",
"application": "Aplicação",
"applicationSettingsSuggestion": "Aparência, idioma, etc",
"privacyAndSecurity": "Privacidade e Segurança",
"privacyAndSecuritySettingsSuggestion": "Coleta de dados, relatórios de erros, etc",
"updatesAndHelp": "Atualizações e Ajuda",
"updatesAndHelpSettingsSuggestion": "Verificar atualizações, histórico de atualizações, etc",
"advancedOptions": "Opções Avançadas",
"advancedOptionsSettingsSuggestion": "Funcionalidades em Beta, Opções de Desenvolvedor, etc",
"@@GENERAL": {},
"cycleTogglePeriod": "Duração da alternância de layouts",
"cycleTogglePeriodDescription": "O intervalo entre alterações de layout quando a alternância está ativada.",
"notifications": "Notifications",
"notificationsEnabled": "Notifications enabled",
"notifications": "Notificações",
"notificationsEnabled": "Notificações ativadas",
"notificationClickBehavior": "Ação ao clicar na notificação",
"notificationClickBehaviorDescription": "Escolha o que acontece quando você clica em uma notificação.",
"showEventsScreen": "Mostar histórico de eventos",
"@@@DATA_USAGE": {},
"dataUsage": "Uso de Dados",
"streamsOnBackground": "Manter transmissões em segundo plano",
"streamsOnBackgroundDescription": "Quando manter as transmissões em segundo plano quando o aplicativo estiver em segundo plano",
"automatic": "Automatico",
"wifiOnly": "Somente Wi-Fi",
"@@EVENTS_AND_DOWNLOADS": {},
"chooseEveryDownloadsLocation": "Escolher a localização de cada download",
"chooseEveryDownloadsLocationDescription": "Se você deseja escolher a localização de cada download ou usar a localização padrão. Quando ativado, você será solicitado a escolher o diretório de download para cada download.",
"chooseEveryDownloadsLocationDescription": "Se você deseja escolher a localização de cada download ou usar a localização padrão. Quando ativado, você será solicitado a escolher a localização de cada download.",
"allowCloseWhenDownloading": "Permitir fechar o aplicativo quando houver downloads em andamento",
"events": "Eventos",
"initialEventSpeed": "Velocidade inicial",
Expand All @@ -480,7 +501,7 @@
"firstEventInitialPoint": "Primeiro evento",
"hourAgoInitialPoint": "1 hora atrás",
"@@APPLICATION": {},
"appearance": "Appearance",
"appearance": "Visualização",
"theme": "Aparência",
"themeDescription": "Mude a aparência do aplicativo",
"system": "Padrão do Sistema",
Expand All @@ -491,10 +512,9 @@
"dateFormatDescription": "Qual formato usar para exibir datas",
"timeFormat": "Formato de Hora",
"timeFormatDescription": "Qual formato usar para exibir horas",
"convertToLocalTime": "Convert dates to the local timezone",
"convertToLocalTimeDescription": "This will affect the date and time displayed in the app. This is useful when you are in a different timezone than the server. When disabled, the server timezone will be used.",
"convertToLocalTime": "Converter datas para o fuso-horário local",
"convertToLocalTimeDescription": "Isso afetará a data e a hora exibidas no aplicativo. É útil quando você está em um fuso horário diferente do servidor. Quando desativado, o fuso horário do servidor será usado.",
"@@PRIVACY_AND_SECURITY": {},
"privacyAndSecurity": "Privacidade e Segurança",
"allowDataCollection": "Permitir que Bluecherry colete dados de uso",
"allowDataCollectionDescription": "Permitir que Bluecherry colete dados para melhorar o aplicativo e fornecer serviços melhores. Os dados são coletados anonimamente e não contêm informações pessoais.",
"automaticallyReportErrors": "Relatar erros automaticamente",
Expand Down Expand Up @@ -537,6 +557,12 @@
}
}
},
"@@SERVERS": {},
"connectToServerAutomaticallyAtStartup": "Conectar automaticamente ao iniciar",
"connectToServerAutomaticallyAtStartupDescription": "Se ativado, o servidor será conectado automaticamente quando o aplicativo for iniciado. Isso só se aplica aos novos servidores que você adicionar.",
"allowUntrustedCertificates": "Permitir certificados não confiáveis",
"allowUntrustedCertificatesDescription": "Permitir a conexão a servidores com certificados não confiáveis. Isso é útil quando você está usando certificados autoassinados ou certificados de autoridades desconhecidas.",
"certificateNotPassed": "Certificado não autorizado",
"@@STREAMING": {},
"streamingSettings": "Configurações de streaming",
"streamingType": "Tipo de streaming",
Expand Down Expand Up @@ -603,5 +629,8 @@
"rackNameExample": "Lab 1",
"openServer": "Abrir servidor",
"@SEARCH": {},
"disableSearch": "Desativar pesquisa"
"disableSearch": "Desativar pesquisa",
"@@@Updates and Help": {},
"help": "Ajuda",
"licenses": "Licenças"
}
Loading

0 comments on commit 9413b5c

Please sign in to comment.