fix: translation bug, disable signing for pull req

This commit is contained in:
Hiddify
2024-02-20 09:30:34 +01:00
parent dff2f0e820
commit b370131667
7 changed files with 11 additions and 10 deletions

View File

@@ -93,7 +93,7 @@ jobs:
tree tree
- name: Setup Android Signing Properties - name: Setup Android Signing Properties
if: startsWith(matrix.platform,'android') if: ${{ inputs.upload-artifact && startsWith(matrix.platform,'android') }}
run: | run: |
echo "${{ secrets.ANDROID_SIGNING_KEY }}" | base64 --decode > android/key.jks echo "${{ secrets.ANDROID_SIGNING_KEY }}" | base64 --decode > android/key.jks
echo "storeFile=$(pwd)/android/key.jks" > android/key.properties echo "storeFile=$(pwd)/android/key.jks" > android/key.properties
@@ -102,7 +102,7 @@ jobs:
echo "keyAlias=${{ secrets.ANDROID_SIGNING_KEY_ALIAS }}" >> android/key.properties echo "keyAlias=${{ secrets.ANDROID_SIGNING_KEY_ALIAS }}" >> android/key.properties
- name: Setup Apple certificate and provisioning profile - name: Setup Apple certificate and provisioning profile
if: startsWith(matrix.os,'macos') if: ${{ inputs.upload-artifact && startsWith(matrix.os,'macos') }}
env: env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_BUILD_CERTIFICATE_BASE64 }} BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_BUILD_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_P12_PASSWORD }} P12_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_P12_PASSWORD }}

View File

@@ -122,6 +122,7 @@
"lastUpdate": "Última atualização", "lastUpdate": "Última atualização",
"updateInterval": "Autilização automática", "updateInterval": "Autilização automática",
"updateIntervalDialogTitle": "Intervalo de atualização (em horas)" "updateIntervalDialogTitle": "Intervalo de atualização (em horas)"
}
}, },
"proxies": { "proxies": {
"pageTitle": "Proxies", "pageTitle": "Proxies",
@@ -149,7 +150,6 @@
"speed": "Velocidade", "speed": "Velocidade",
"totalTransferred": "Total transferido" "totalTransferred": "Total transferido"
} }
}
}, },
"logs": { "logs": {
"pageTitle": "Logs", "pageTitle": "Logs",

View File

@@ -127,8 +127,8 @@ class ConnectionNotifier extends _$ConnectionNotifier with AppLogger {
) )
.mapLeft((err) async { .mapLeft((err) async {
loggy.warning("error connecting", err); loggy.warning("error connecting", err);
loggy.warning( //Go err is not normal object to see the go errors are string and need to be dumped
err); //Go err is not normal object to see the go errors are string and need to be dumped loggy.warning(err);
if (err.toString().contains("panic")) { if (err.toString().contains("panic")) {
await Sentry.captureException(Exception(err.toString())); await Sentry.captureException(Exception(err.toString()));
} }

View File

@@ -125,7 +125,7 @@ class IntroPage extends HookConsumerWidget with PresLogger {
_getRegionLocale(jsonData['country']?.toString() ?? ""); _getRegionLocale(jsonData['country']?.toString() ?? "");
loggy.debug( loggy.debug(
'Region: ${regionLocale.region} Locale: ${regionLocale.locale}'); 'Region: ${regionLocale.region} Locale: ${regionLocale.locale}',);
await ref await ref
.read(regionNotifierProvider.notifier) .read(regionNotifierProvider.notifier)
.update(regionLocale.region); .update(regionLocale.region);

View File

@@ -423,7 +423,7 @@ class ProfileRepositoryImpl
loggy.debug( loggy.debug(
"only [$headersFound] headers found, checking file content for possible information", "only [$headersFound] headers found, checking file content for possible information",
); );
var content = await File(path).readAsString(); final content = await File(path).readAsString();
final contentHeaders = parseHeadersFromContent(content); final contentHeaders = parseHeadersFromContent(content);
for (final entry in contentHeaders.entries) { for (final entry in contentHeaders.entries) {
if (!headers.keys.contains(entry.key) && entry.value.isNotEmpty) { if (!headers.keys.contains(entry.key) && entry.value.isNotEmpty) {

View File

@@ -726,7 +726,7 @@ packages:
source: hosted source: hosted
version: "0.15.4" version: "0.15.4"
http: http:
dependency: transitive dependency: "direct main"
description: description:
name: http name: http
sha256: a2bbf9d017fcced29139daa8ed2bba4ece450ab222871df93ca9eec6f80c34ba sha256: a2bbf9d017fcced29139daa8ed2bba4ece450ab222871df93ca9eec6f80c34ba

View File

@@ -74,6 +74,7 @@ dependencies:
dart_mappable: ^4.2.0 dart_mappable: ^4.2.0
fluentui_system_icons: ^1.1.225 fluentui_system_icons: ^1.1.225
circle_flags: ^4.0.2 circle_flags: ^4.0.2
http: ^1.2.0
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: