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

View File

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

View File

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

View File

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

View File

@@ -423,7 +423,7 @@ class ProfileRepositoryImpl
loggy.debug(
"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);
for (final entry in contentHeaders.entries) {
if (!headers.keys.contains(entry.key) && entry.value.isNotEmpty) {

View File

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

View File

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