diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 4f26c2c..070ca16 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -9,25 +9,24 @@ on: jobs: build: name: Build and Test default scheme using any available iPhone simulator - runs-on: macos-latest + runs-on: macos-26 steps: - name: Checkout - uses: actions/checkout@v3 - - name: Set Default Scheme + uses: actions/checkout@v4 + # The app uses iOS 27 APIs (iPhone Duo): it needs the newest Xcode on the runner, not the image default. + - name: Select newest Xcode run: | - scheme_list=$(xcodebuild -list -json | tr -d "\n") - default=$(echo $scheme_list | ruby -e "require 'json'; puts JSON.parse(STDIN.gets)['project']['targets'][0]") - echo $default | cat >default - echo Using default scheme: $default - - name: Build - env: - scheme: ${{ 'default' }} - platform: ${{ 'iOS Simulator' }} + xcode=$(ls -d /Applications/Xcode_*.app | sort -V | tail -1) + echo "Using $xcode" + sudo xcode-select -s "$xcode" + xcodebuild -version + # A generic destination needs no particular simulator model to be installed. + - name: Build iOS app run: | - # xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959) - device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}' | sed -e "s/ Simulator$//"` - if [ $scheme = default ]; then scheme=$(cat default); fi - if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi - file_to_build=`echo $file_to_build | awk '{$1=$1;print}'` - xcodebuild build-for-testing -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform,name=$device" + xcodebuild build -project IPv64.xcodeproj -scheme IPv64.net \ + -destination "generic/platform=iOS Simulator" CODE_SIGNING_ALLOWED=NO + - name: Build Apple TV app + run: | + xcodebuild build -project IPv64.xcodeproj -scheme IPv64TV \ + -destination "generic/platform=tvOS Simulator" CODE_SIGNING_ALLOWED=NO diff --git a/IPv64.xcodeproj/project.pbxproj b/IPv64.xcodeproj/project.pbxproj index 71aed6c..1cfb65f 100644 --- a/IPv64.xcodeproj/project.pbxproj +++ b/IPv64.xcodeproj/project.pbxproj @@ -7,35 +7,36 @@ objects = { /* Begin PBXBuildFile section */ - C3D100000000000000000002 /* IPv64NotificationService.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = C3D100000000000000000001 /* IPv64NotificationService.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; - C3D100000000000000000003 /* SecNtfy in Frameworks */ = {isa = PBXBuildFile; productRef = C3D100000000000000000004 /* SecNtfy */; }; - B1A0000000000000000000A1 /* IPv64 in Frameworks */ = {isa = PBXBuildFile; productRef = B1A0000000000000000000B1 /* IPv64 */; }; - B1A0000000000000000000A2 /* SecNtfy in Frameworks */ = {isa = PBXBuildFile; productRef = B1A0000000000000000000B2 /* SecNtfy */; }; - B1A0000000000000000000A3 /* IPv64 in Frameworks */ = {isa = PBXBuildFile; productRef = B1A0000000000000000000B3 /* IPv64 */; }; 9A68F3482EBE088C0033CC42 /* WidgetKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A0C48022EBA963700BEDFEA /* WidgetKit.framework */; }; 9A68F3492EBE088C0033CC42 /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A0C48042EBA963700BEDFEA /* SwiftUI.framework */; }; 9A68F3562EBE088D0033CC42 /* IPv64WidgetExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 9A68F3472EBE088C0033CC42 /* IPv64WidgetExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; 9A68F35C2EBE08C80033CC42 /* SwiftyBeaver in Frameworks */ = {isa = PBXBuildFile; productRef = 9A68F35B2EBE08C80033CC42 /* SwiftyBeaver */; }; - C3D1000000000000000000A1 /* SwiftyBeaver in Frameworks */ = {isa = PBXBuildFile; productRef = C3D1000000000000000000A2 /* SwiftyBeaver */; }; 9A8CA8AF2EA6969D0073978F /* ipv64.icon in Resources */ = {isa = PBXBuildFile; fileRef = 9A8CA8AD2EA6969D0073978F /* ipv64.icon */; }; 9A8CA8B02EA6969D0073978F /* ipv64_beta.icon in Resources */ = {isa = PBXBuildFile; fileRef = 9A8CA8AE2EA6969D0073978F /* ipv64_beta.icon */; }; 9AD116FC2EBCAC2000EE7E81 /* SwiftyBeaver in Frameworks */ = {isa = PBXBuildFile; productRef = 9AD116FB2EBCAC2000EE7E81 /* SwiftyBeaver */; }; + B1A0000000000000000000A1 /* IPv64 in Frameworks */ = {isa = PBXBuildFile; productRef = B1A0000000000000000000B1 /* IPv64 */; }; + B1A0000000000000000000A2 /* SecNtfy in Frameworks */ = {isa = PBXBuildFile; productRef = B1A0000000000000000000B2 /* SecNtfy */; }; + B1A0000000000000000000A3 /* IPv64 in Frameworks */ = {isa = PBXBuildFile; productRef = B1A0000000000000000000B3 /* IPv64 */; }; + C3D100000000000000000002 /* IPv64NotificationService.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = C3D100000000000000000001 /* IPv64NotificationService.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; + C3D100000000000000000003 /* SecNtfy in Frameworks */ = {isa = PBXBuildFile; productRef = C3D100000000000000000004 /* SecNtfy */; }; + C3D1000000000000000000A1 /* SwiftyBeaver in Frameworks */ = {isa = PBXBuildFile; productRef = C3D1000000000000000000A2 /* SwiftyBeaver */; }; + E7A100000000000000000008 /* IPv64 in Frameworks */ = {isa = PBXBuildFile; productRef = E7A100000000000000000009 /* IPv64 */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - C3D100000000000000000005 /* PBXContainerItemProxy */ = { + 9A68F3542EBE088D0033CC42 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 9A5178CB2EA3995200731FFB /* Project object */; proxyType = 1; - remoteGlobalIDString = C3D100000000000000000009; - remoteInfo = IPv64NotificationService; + remoteGlobalIDString = 9A68F3462EBE088C0033CC42; + remoteInfo = IPv64WidgetExtension; }; - 9A68F3542EBE088D0033CC42 /* PBXContainerItemProxy */ = { + C3D100000000000000000005 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 9A5178CB2EA3995200731FFB /* Project object */; proxyType = 1; - remoteGlobalIDString = 9A68F3462EBE088C0033CC42; - remoteInfo = IPv64WidgetExtension; + remoteGlobalIDString = C3D100000000000000000009; + remoteInfo = IPv64NotificationService; }; /* End PBXContainerItemProxy section */ @@ -55,8 +56,6 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - D4E100000000000000000001 /* Config.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = ""; }; - C3D100000000000000000001 /* IPv64NotificationService.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = IPv64NotificationService.appex; sourceTree = BUILT_PRODUCTS_DIR; }; 9A0C48022EBA963700BEDFEA /* WidgetKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WidgetKit.framework; path = System/Library/Frameworks/WidgetKit.framework; sourceTree = SDKROOT; }; 9A0C48042EBA963700BEDFEA /* SwiftUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SwiftUI.framework; path = System/Library/Frameworks/SwiftUI.framework; sourceTree = SDKROOT; }; 9A2777102EAD457E0025862B /* IPv64-net-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = "IPv64-net-Info.plist"; sourceTree = ""; }; @@ -65,17 +64,12 @@ 9A68F35D2EBE08F70033CC42 /* IPv64WidgetExtension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = IPv64WidgetExtension.entitlements; sourceTree = ""; }; 9A8CA8AD2EA6969D0073978F /* ipv64.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = ipv64.icon; sourceTree = ""; }; 9A8CA8AE2EA6969D0073978F /* ipv64_beta.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = ipv64_beta.icon; sourceTree = ""; }; + C3D100000000000000000001 /* IPv64NotificationService.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = IPv64NotificationService.appex; sourceTree = BUILT_PRODUCTS_DIR; }; + D4E100000000000000000001 /* Config.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = ""; }; + E7A100000000000000000001 /* IPv64TV.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = IPv64TV.app; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */ - C3D100000000000000000007 /* Exceptions for "IPv64NotificationService" folder in "IPv64NotificationService" target */ = { - isa = PBXFileSystemSynchronizedBuildFileExceptionSet; - membershipExceptions = ( - Info.plist, - IPv64NotificationService.entitlements, - ); - target = C3D100000000000000000009 /* IPv64NotificationService */; - }; 9A68F3572EBE088D0033CC42 /* Exceptions for "IPv64Widget" folder in "IPv64WidgetExtension" target */ = { isa = PBXFileSystemSynchronizedBuildFileExceptionSet; membershipExceptions = ( @@ -105,21 +99,40 @@ ); target = 9A5178D22EA3995200731FFB /* IPv64.net */; }; + C3D100000000000000000007 /* Exceptions for "IPv64NotificationService" folder in "IPv64NotificationService" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + Info.plist, + ); + target = C3D100000000000000000009 /* IPv64NotificationService */; + }; + E7A100000000000000000003 /* Exceptions for "IPv64TV" folder in "IPv64TV" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + Info.plist, + ); + target = E7A10000000000000000000A /* IPv64TV */; + }; + E7A100000000000000000004 /* Exceptions for "IPv64" folder in "IPv64TV" target */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + Helpers/AppConfig.swift, + Helpers/Nodes/LocalNodeStore.swift, + Helpers/Nodes/LocalNodeURL.swift, + Helpers/Nodes/NodeCloudStore.swift, + Helpers/Nodes/NodeTransport.swift, + Helpers/SecureStore.swift, + ); + target = E7A10000000000000000000A /* IPv64TV */; + }; /* End PBXFileSystemSynchronizedBuildFileExceptionSet section */ /* Begin PBXFileSystemSynchronizedRootGroup section */ - C3D100000000000000000008 /* IPv64NotificationService */ = { - isa = PBXFileSystemSynchronizedRootGroup; - exceptions = ( - C3D100000000000000000007 /* Exceptions for "IPv64NotificationService" folder in "IPv64NotificationService" target */, - ); - path = IPv64NotificationService; - sourceTree = ""; - }; 9A5178D52EA3995200731FFB /* IPv64 */ = { isa = PBXFileSystemSynchronizedRootGroup; exceptions = ( 9A68F3622EBE0A370033CC42 /* Exceptions for "IPv64" folder in "IPv64WidgetExtension" target */, + E7A100000000000000000004 /* Exceptions for "IPv64" folder in "IPv64TV" target */, ); path = IPv64; sourceTree = ""; @@ -133,18 +146,25 @@ path = IPv64Widget; sourceTree = ""; }; + C3D100000000000000000008 /* IPv64NotificationService */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + C3D100000000000000000007 /* Exceptions for "IPv64NotificationService" folder in "IPv64NotificationService" target */, + ); + path = IPv64NotificationService; + sourceTree = ""; + }; + E7A100000000000000000002 /* IPv64TV */ = { + isa = PBXFileSystemSynchronizedRootGroup; + exceptions = ( + E7A100000000000000000003 /* Exceptions for "IPv64TV" folder in "IPv64TV" target */, + ); + path = IPv64TV; + sourceTree = ""; + }; /* End PBXFileSystemSynchronizedRootGroup section */ /* Begin PBXFrameworksBuildPhase section */ - C3D10000000000000000000B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C3D100000000000000000003 /* SecNtfy in Frameworks */, - C3D1000000000000000000A1 /* SwiftyBeaver in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 9A5178D02EA3995200731FFB /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -166,6 +186,23 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + C3D10000000000000000000B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C3D100000000000000000003 /* SecNtfy in Frameworks */, + C3D1000000000000000000A1 /* SwiftyBeaver in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E7A100000000000000000006 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E7A100000000000000000008 /* IPv64 in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -189,6 +226,7 @@ 9A5178D52EA3995200731FFB /* IPv64 */, 9A68F34A2EBE088C0033CC42 /* IPv64Widget */, C3D100000000000000000008 /* IPv64NotificationService */, + E7A100000000000000000002 /* IPv64TV */, 9A0C48012EBA963700BEDFEA /* Frameworks */, 9A5178D42EA3995200731FFB /* Products */, ); @@ -200,6 +238,7 @@ 9A5178D32EA3995200731FFB /* IPv64.net.app */, 9A68F3472EBE088C0033CC42 /* IPv64WidgetExtension.appex */, C3D100000000000000000001 /* IPv64NotificationService.appex */, + E7A100000000000000000001 /* IPv64TV.app */, ); name = Products; sourceTree = ""; @@ -207,30 +246,6 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - C3D100000000000000000009 /* IPv64NotificationService */ = { - isa = PBXNativeTarget; - buildConfigurationList = C3D10000000000000000000F /* Build configuration list for PBXNativeTarget "IPv64NotificationService" */; - buildPhases = ( - C3D10000000000000000000A /* Sources */, - C3D10000000000000000000B /* Frameworks */, - C3D10000000000000000000C /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - fileSystemSynchronizedGroups = ( - C3D100000000000000000008 /* IPv64NotificationService */, - ); - name = IPv64NotificationService; - packageProductDependencies = ( - C3D100000000000000000004 /* SecNtfy */, - C3D1000000000000000000A2 /* SwiftyBeaver */, - ); - productName = IPv64NotificationService; - productReference = C3D100000000000000000001 /* IPv64NotificationService.appex */; - productType = "com.apple.product-type.app-extension"; - }; 9A5178D22EA3995200731FFB /* IPv64.net */ = { isa = PBXNativeTarget; buildConfigurationList = 9A5178DE2EA3995300731FFB /* Build configuration list for PBXNativeTarget "IPv64.net" */; @@ -283,6 +298,53 @@ productReference = 9A68F3472EBE088C0033CC42 /* IPv64WidgetExtension.appex */; productType = "com.apple.product-type.app-extension"; }; + C3D100000000000000000009 /* IPv64NotificationService */ = { + isa = PBXNativeTarget; + buildConfigurationList = C3D10000000000000000000F /* Build configuration list for PBXNativeTarget "IPv64NotificationService" */; + buildPhases = ( + C3D10000000000000000000A /* Sources */, + C3D10000000000000000000B /* Frameworks */, + C3D10000000000000000000C /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + C3D100000000000000000008 /* IPv64NotificationService */, + ); + name = IPv64NotificationService; + packageProductDependencies = ( + C3D100000000000000000004 /* SecNtfy */, + C3D1000000000000000000A2 /* SwiftyBeaver */, + ); + productName = IPv64NotificationService; + productReference = C3D100000000000000000001 /* IPv64NotificationService.appex */; + productType = "com.apple.product-type.app-extension"; + }; + E7A10000000000000000000A /* IPv64TV */ = { + isa = PBXNativeTarget; + buildConfigurationList = E7A10000000000000000000B /* Build configuration list for PBXNativeTarget "IPv64TV" */; + buildPhases = ( + E7A100000000000000000005 /* Sources */, + E7A100000000000000000006 /* Frameworks */, + E7A100000000000000000007 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + E7A100000000000000000002 /* IPv64TV */, + ); + name = IPv64TV; + packageProductDependencies = ( + E7A100000000000000000009 /* IPv64 */, + ); + productName = IPv64TV; + productReference = E7A100000000000000000001 /* IPv64TV.app */; + productType = "com.apple.product-type.application"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -302,6 +364,9 @@ C3D100000000000000000009 = { CreatedOnToolsVersion = 26.1; }; + E7A10000000000000000000A = { + CreatedOnToolsVersion = 27.2; + }; }; }; buildConfigurationList = 9A5178CE2EA3995200731FFB /* Build configuration list for PBXProject "IPv64" */; @@ -310,6 +375,7 @@ knownRegions = ( en, Base, + de, ); mainGroup = 9A5178CA2EA3995200731FFB; minimizedProjectReferenceProxies = 1; @@ -326,28 +392,36 @@ 9A5178D22EA3995200731FFB /* IPv64.net */, 9A68F3462EBE088C0033CC42 /* IPv64WidgetExtension */, C3D100000000000000000009 /* IPv64NotificationService */, + E7A10000000000000000000A /* IPv64TV */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - C3D10000000000000000000C /* Resources */ = { + 9A5178D12EA3995200731FFB /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 9A8CA8AF2EA6969D0073978F /* ipv64.icon in Resources */, + 9A8CA8B02EA6969D0073978F /* ipv64_beta.icon in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 9A5178D12EA3995200731FFB /* Resources */ = { + 9A68F3452EBE088C0033CC42 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 9A8CA8AF2EA6969D0073978F /* ipv64.icon in Resources */, - 9A8CA8B02EA6969D0073978F /* ipv64_beta.icon in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 9A68F3452EBE088C0033CC42 /* Resources */ = { + C3D10000000000000000000C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E7A100000000000000000007 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -357,21 +431,28 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ - C3D10000000000000000000A /* Sources */ = { + 9A5178CF2EA3995200731FFB /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - 9A5178CF2EA3995200731FFB /* Sources */ = { + 9A68F3432EBE088C0033CC42 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - 9A68F3432EBE088C0033CC42 /* Sources */ = { + C3D10000000000000000000A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E7A100000000000000000005 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -381,88 +462,24 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - C3D100000000000000000006 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C3D100000000000000000009 /* IPv64NotificationService */; - targetProxy = C3D100000000000000000005 /* PBXContainerItemProxy */; - }; 9A68F3552EBE088D0033CC42 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 9A68F3462EBE088C0033CC42 /* IPv64WidgetExtension */; targetProxy = 9A68F3542EBE088D0033CC42 /* PBXContainerItemProxy */; }; + C3D100000000000000000006 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = C3D100000000000000000009 /* IPv64NotificationService */; + targetProxy = C3D100000000000000000005 /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - C3D10000000000000000000D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_ENTITLEMENTS = IPv64NotificationService/IPv64NotificationService.entitlements; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 45; - DEVELOPMENT_TEAM = 3V2L6G4Y5X; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = IPv64NotificationService/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = IPv64NotificationService; - INFOPLIST_KEY_NSHumanReadableCopyright = ""; - IPHONEOS_DEPLOYMENT_TARGET = 18.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - MARKETING_VERSION = 2.2.1; - PRODUCT_BUNDLE_IDENTIFIER = de.rpicloud.IPv64.NotificationService; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - STRING_CATALOG_GENERATE_SYMBOLS = YES; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SWIFT_APPROACHABLE_CONCURRENCY = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; - SWIFT_VERSION = 6.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - C3D10000000000000000000E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_ENTITLEMENTS = IPv64NotificationService/IPv64NotificationService.entitlements; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 45; - DEVELOPMENT_TEAM = 3V2L6G4Y5X; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = IPv64NotificationService/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = IPv64NotificationService; - INFOPLIST_KEY_NSHumanReadableCopyright = ""; - IPHONEOS_DEPLOYMENT_TARGET = 18.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - MARKETING_VERSION = 2.2.1; - PRODUCT_BUNDLE_IDENTIFIER = de.rpicloud.IPv64.NotificationService; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - STRING_CATALOG_GENERATE_SYMBOLS = YES; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SWIFT_APPROACHABLE_CONCURRENCY = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; - SWIFT_VERSION = 6.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; 9A5178DC2EA3995300731FFB /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + CURRENT_PROJECT_VERSION = 46; + MARKETING_VERSION = 2.3.0; ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; @@ -528,6 +545,8 @@ 9A5178DD2EA3995300731FFB /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + CURRENT_PROJECT_VERSION = 46; + MARKETING_VERSION = 2.3.0; ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; @@ -591,15 +610,14 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = IPv64/IPv64.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 45; DEVELOPMENT_TEAM = 3V2L6G4Y5X; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = "IPv64-net-Info.plist"; INFOPLIST_KEY_CFBundleDisplayName = IPv64.net; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; - INFOPLIST_KEY_NSCameraUsageDescription = "We need camera access to scanthe QR code for the API Key."; - INFOPLIST_KEY_NSFaceIDUsageDescription = "Need to unlock the app, when Privacy settings enabled."; + INFOPLIST_KEY_NSCameraUsageDescription = "IPv64.net uses the camera to scan the QR code of your API key."; + INFOPLIST_KEY_NSFaceIDUsageDescription = "IPv64.net uses Face ID to unlock the app when the privacy lock is on."; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; @@ -610,7 +628,6 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 2.2.1; PRODUCT_BUNDLE_IDENTIFIER = de.rpicloud.IPv64; PRODUCT_NAME = "$(TARGET_NAME)"; STRING_CATALOG_GENERATE_SYMBOLS = YES; @@ -635,15 +652,14 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = IPv64/IPv64.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 45; DEVELOPMENT_TEAM = 3V2L6G4Y5X; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = "IPv64-net-Info.plist"; INFOPLIST_KEY_CFBundleDisplayName = IPv64.net; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; - INFOPLIST_KEY_NSCameraUsageDescription = "We need camera access to scanthe QR code for the API Key."; - INFOPLIST_KEY_NSFaceIDUsageDescription = "Need to unlock the app, when Privacy settings enabled."; + INFOPLIST_KEY_NSCameraUsageDescription = "IPv64.net uses the camera to scan the QR code of your API key."; + INFOPLIST_KEY_NSFaceIDUsageDescription = "IPv64.net uses Face ID to unlock the app when the privacy lock is on."; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; @@ -654,7 +670,6 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 2.2.1; PRODUCT_BUNDLE_IDENTIFIER = de.rpicloud.IPv64; PRODUCT_NAME = "$(TARGET_NAME)"; STRING_CATALOG_GENERATE_SYMBOLS = YES; @@ -678,7 +693,6 @@ ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground; CODE_SIGN_ENTITLEMENTS = IPv64WidgetExtension.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 45; DEVELOPMENT_TEAM = 3V2L6G4Y5X; ENABLE_APP_SANDBOX = YES; ENABLE_HARDENED_RUNTIME = YES; @@ -708,7 +722,6 @@ "@executable_path/../../../../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 15.6; - MARKETING_VERSION = 2.2.1; PRODUCT_BUNDLE_IDENTIFIER = de.rpicloud.IPv64.IPv64Widget; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; @@ -733,7 +746,6 @@ ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground; CODE_SIGN_ENTITLEMENTS = IPv64WidgetExtension.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 45; DEVELOPMENT_TEAM = 3V2L6G4Y5X; ENABLE_APP_SANDBOX = YES; ENABLE_HARDENED_RUNTIME = YES; @@ -763,7 +775,6 @@ "@executable_path/../../../../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 15.6; - MARKETING_VERSION = 2.2.1; PRODUCT_BUNDLE_IDENTIFIER = de.rpicloud.IPv64.IPv64Widget; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; @@ -781,18 +792,133 @@ }; name = Release; }; + C3D10000000000000000000D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = IPv64NotificationService/IPv64NotificationService.entitlements; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3V2L6G4Y5X; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = IPv64NotificationService/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = IPv64NotificationService; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + IPHONEOS_DEPLOYMENT_TARGET = 18.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@executable_path/../../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = de.rpicloud.IPv64.NotificationService; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + STRING_CATALOG_GENERATE_SYMBOLS = YES; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 6.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + C3D10000000000000000000E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = IPv64NotificationService/IPv64NotificationService.entitlements; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3V2L6G4Y5X; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = IPv64NotificationService/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = IPv64NotificationService; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + IPHONEOS_DEPLOYMENT_TARGET = 18.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@executable_path/../../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = de.rpicloud.IPv64.NotificationService; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + STRING_CATALOG_GENERATE_SYMBOLS = YES; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 6.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + E7A10000000000000000000C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; + CODE_SIGN_ENTITLEMENTS = IPv64TV/IPv64TV.entitlements; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3V2L6G4Y5X; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = IPv64TV/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = IPv64.net; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = de.rpicloud.IPv64; + PRODUCT_NAME = "$(TARGET_NAME)"; + REGISTER_APP_GROUPS = YES; + SDKROOT = appletvos; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator"; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 18.0; + }; + name = Debug; + }; + E7A10000000000000000000D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; + CODE_SIGN_ENTITLEMENTS = IPv64TV/IPv64TV.entitlements; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3V2L6G4Y5X; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = IPv64TV/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = IPv64.net; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = de.rpicloud.IPv64; + PRODUCT_NAME = "$(TARGET_NAME)"; + REGISTER_APP_GROUPS = YES; + SDKROOT = appletvos; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator"; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 18.0; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - C3D10000000000000000000F /* Build configuration list for PBXNativeTarget "IPv64NotificationService" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C3D10000000000000000000D /* Debug */, - C3D10000000000000000000E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; 9A5178CE2EA3995200731FFB /* Build configuration list for PBXProject "IPv64" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -820,9 +946,35 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + C3D10000000000000000000F /* Build configuration list for PBXNativeTarget "IPv64NotificationService" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C3D10000000000000000000D /* Debug */, + C3D10000000000000000000E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E7A10000000000000000000B /* Build configuration list for PBXNativeTarget "IPv64TV" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E7A10000000000000000000C /* Debug */, + E7A10000000000000000000D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ /* Begin XCRemoteSwiftPackageReference section */ + 9AD116FA2EBCAC2000EE7E81 /* XCRemoteSwiftPackageReference "SwiftyBeaver" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/SwiftyBeaver/SwiftyBeaver.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 2.1.1; + }; + }; B1A0000000000000000000C1 /* XCRemoteSwiftPackageReference "IPv64-SPM" */ = { isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/androidseb25/IPv64-SPM"; @@ -839,21 +991,18 @@ minimumVersion = 1.3.1; }; }; - 9AD116FA2EBCAC2000EE7E81 /* XCRemoteSwiftPackageReference "SwiftyBeaver" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/SwiftyBeaver/SwiftyBeaver.git"; - requirement = { - kind = upToNextMajorVersion; - minimumVersion = 2.1.1; - }; - }; /* End XCRemoteSwiftPackageReference section */ /* Begin XCSwiftPackageProductDependency section */ - C3D100000000000000000004 /* SecNtfy */ = { + 9A68F35B2EBE08C80033CC42 /* SwiftyBeaver */ = { isa = XCSwiftPackageProductDependency; - package = B1A0000000000000000000C2 /* XCRemoteSwiftPackageReference "SecNtfy-SPM" */; - productName = SecNtfy; + package = 9AD116FA2EBCAC2000EE7E81 /* XCRemoteSwiftPackageReference "SwiftyBeaver" */; + productName = SwiftyBeaver; + }; + 9AD116FB2EBCAC2000EE7E81 /* SwiftyBeaver */ = { + isa = XCSwiftPackageProductDependency; + package = 9AD116FA2EBCAC2000EE7E81 /* XCRemoteSwiftPackageReference "SwiftyBeaver" */; + productName = SwiftyBeaver; }; B1A0000000000000000000B1 /* IPv64 */ = { isa = XCSwiftPackageProductDependency; @@ -870,20 +1019,20 @@ package = B1A0000000000000000000C1 /* XCRemoteSwiftPackageReference "IPv64-SPM" */; productName = IPv64; }; - 9A68F35B2EBE08C80033CC42 /* SwiftyBeaver */ = { + C3D100000000000000000004 /* SecNtfy */ = { isa = XCSwiftPackageProductDependency; - package = 9AD116FA2EBCAC2000EE7E81 /* XCRemoteSwiftPackageReference "SwiftyBeaver" */; - productName = SwiftyBeaver; + package = B1A0000000000000000000C2 /* XCRemoteSwiftPackageReference "SecNtfy-SPM" */; + productName = SecNtfy; }; - 9AD116FB2EBCAC2000EE7E81 /* SwiftyBeaver */ = { + C3D1000000000000000000A2 /* SwiftyBeaver */ = { isa = XCSwiftPackageProductDependency; package = 9AD116FA2EBCAC2000EE7E81 /* XCRemoteSwiftPackageReference "SwiftyBeaver" */; productName = SwiftyBeaver; }; - C3D1000000000000000000A2 /* SwiftyBeaver */ = { + E7A100000000000000000009 /* IPv64 */ = { isa = XCSwiftPackageProductDependency; - package = 9AD116FA2EBCAC2000EE7E81 /* XCRemoteSwiftPackageReference "SwiftyBeaver" */; - productName = SwiftyBeaver; + package = B1A0000000000000000000C1 /* XCRemoteSwiftPackageReference "IPv64-SPM" */; + productName = IPv64; }; /* End XCSwiftPackageProductDependency section */ }; diff --git a/IPv64/Helpers/Adaptive.swift b/IPv64/Helpers/Adaptive.swift index f7d9092..a61a2de 100644 --- a/IPv64/Helpers/Adaptive.swift +++ b/IPv64/Helpers/Adaptive.swift @@ -4,7 +4,12 @@ extension View { /// iPhone Duo: keeps this screen's bars horizontal (sheet with a single text control Skip/Done). @ViewBuilder func appHorizontalBars() -> some View { + // compiler(>=6.4) = Xcode 27 with the iOS 27 SDK; older toolchains (CI runner) skip the iPhone Duo API. + #if compiler(>=6.4) if #available(iOS 27.1, *) { toolbarVerticalBehavior(.disabled) } else { self } + #else + self + #endif } /// Caps the content at a readable width on wide windows and centres it. @@ -41,6 +46,10 @@ extension ToolbarContent { /// instead of staying horizontal next to the status bar. @ToolbarContentBuilder func appVerticalPreferred() -> some ToolbarContent { + #if compiler(>=6.4) if #available(iOS 27.1, *) { axisBehavior(.verticalPreferred) } else { self } + #else + self + #endif } } diff --git a/IPv64/Helpers/AppConfig.swift b/IPv64/Helpers/AppConfig.swift index 5304e2a..ef044c3 100644 --- a/IPv64/Helpers/AppConfig.swift +++ b/IPv64/Helpers/AppConfig.swift @@ -4,6 +4,8 @@ import IPv64 /// Shared by the app and the widget extension (target membership exception). nonisolated enum AppConfig { static let appGroup = "group.ipv64.net" + /// CloudKit container of the node list the Apple TV app reads (`NodeCloudStore`). + static let cloudContainer = "iCloud.de.rpicloud.IPv64" /// Debug only: `MOCK_API=http://localhost:8064` (environment or launch argument `-MOCK_API …`) /// sends every cloud call to `/api/v2` and SecNtfy to `/secntfy`. Release builds ignore it. static let mockBase: String? = { @@ -26,7 +28,11 @@ nonisolated enum AppConfig { return IPv64(configuration: .init(apiKey: apiKey, baseURL: URL(string: base)!, timeoutInterval: timeout)) } /// Name in a node's audit log for changes made from this app (`Node64.Configuration.agentActor`). + #if os(tvOS) + static let nodeAgentActor = "IPv64 tvOS" + #else static let nodeAgentActor = "IPv64 iOS" + #endif /// WidgetKit kinds of the DNS64 widget and Control (reloaded by the app after pause/resume). static let dns64WidgetKind = "DNS64Widget" static let dns64ControlKind = "DNS64BlockingControl" diff --git a/IPv64/Helpers/DNS64/DNS64Logic.swift b/IPv64/Helpers/DNS64/DNS64Logic.swift index f69b6f8..f7882c6 100644 --- a/IPv64/Helpers/DNS64/DNS64Logic.swift +++ b/IPv64/Helpers/DNS64/DNS64Logic.swift @@ -78,7 +78,8 @@ nonisolated func dns64StatusTag(_ raw: String?) -> ProxyLogic.Tag { switch raw { case "blocked": .init(text: String(localized: "Blocked"), tone: .red) case "error": .init(text: String(localized: "Error"), tone: .orange) - case "allowed", "cached": .init(text: raw!.capitalized, tone: .green) + case "allowed": .init(text: String(localized: "Allowed"), tone: .green) + case "cached": .init(text: String(localized: "Cached"), tone: .green) case let other: .init(text: other?.nonBlank?.capitalized ?? "–", tone: .gray) } } diff --git a/IPv64/Helpers/DynDNS/DynDNSLogic.swift b/IPv64/Helpers/DynDNS/DynDNSLogic.swift index 399b633..56a81e6 100644 --- a/IPv64/Helpers/DynDNS/DynDNSLogic.swift +++ b/IPv64/Helpers/DynDNS/DynDNSLogic.swift @@ -37,14 +37,22 @@ nonisolated enum DynDNSLogic { enum IpStatus: Sendable { case checking, noIp, unknown, differs, matches } + /// A/AAAA records that can hold this device's IP. CDN records hold CDN addresses, failover records a stand-in, + /// inactive ones are not served; none of them may count for the IP check. + static func ownRecords(_ detail: DomainDetail?, _ type: RecordType) -> [Record] { + (detail?.records ?? []).filter { + $0.type == type && ![.cdnRecord, .failoverRecord, .inactive].contains($0.state ?? .active) + } + } + static func hasIp(_ detail: DomainDetail?) -> Bool { - (detail?.records ?? []).contains { $0.type == .a || $0.type == .aaaa } + !ownRecords(detail, .a).isEmpty || !ownRecords(detail, .aaaa).isEmpty } /// An A record exists, none holds the current IPv4, and IPv4 is not ignored for this domain. static func mismatchV4(_ detail: DomainDetail?, myV4: String) -> Bool { guard let detail, myV4 != noIPv4, detail.ignore != .ipv4 else { return false } - let records = (detail.records ?? []).filter { $0.type == .a } + let records = ownRecords(detail, .a) return !records.isEmpty && !records.contains { $0.content == myV4 } } @@ -52,7 +60,7 @@ nonisolated enum DynDNSLogic { static func mismatchV6(_ detail: DomainDetail?, myV6: String) -> Bool { guard let detail, myV6 != noIPv6, detail.ignore != .ipv6, (detail.ipv6Prefix ?? "").trimmingCharacters(in: .whitespaces).isEmpty else { return false } - let records = (detail.records ?? []).filter { $0.type == .aaaa } + let records = ownRecords(detail, .aaaa) return !records.isEmpty && !records.contains { $0.content == myV6 } } @@ -67,16 +75,16 @@ nonisolated enum DynDNSLogic { static func kindLabel(_ kind: DomainKind?) -> String { switch kind { case .dyndns: "DynDNS" - case .own: "Own domain" + case .own: String(localized: "Own domain") default: "–" } } static func ignoreLabel(_ ignore: DomainIgnore?) -> String { switch ignore { - case .ipv4: "Ignore IPv4" - case .ipv6: "Ignore IPv6" - default: "None" + case .ipv4: String(localized: "Ignore IPv4") + case .ipv6: String(localized: "Ignore IPv6") + default: String(localized: "None") } } @@ -89,21 +97,21 @@ nonisolated enum DynDNSLogic { static func lockReason(_ state: RecordState?) -> String? { switch state { - case .cdnRecord, .cdnProxied, .cdnPartial: "Managed by the CDN. Change it in the CDN settings." - case .failoverRecord, .failoverReplaced: "Managed by DNS failover. Change it in the failover policy." + case .cdnRecord, .cdnProxied, .cdnPartial: String(localized: "Managed by the CDN. Change it in the CDN settings.") + case .failoverRecord, .failoverReplaced: String(localized: "Managed by DNS failover. Change it in the failover policy.") default: nil } } static func stateLabel(_ state: RecordState?) -> String? { switch state { - case .active: "Active" - case .inactive: "Inactive" + case .active: String(localized: "Active") + case .inactive: String(localized: "Inactive") case .cdnRecord: "CDN" - case .cdnProxied: "CDN proxied" - case .cdnPartial: "CDN partial" - case .failoverRecord: "Failover" - case .failoverReplaced: "Replaced by failover" + case .cdnProxied: String(localized: "CDN proxied") + case .cdnPartial: String(localized: "CDN partial") + case .failoverRecord: String(localized: "Failover") + case .failoverReplaced: String(localized: "Replaced by failover") default: state?.rawValue } } @@ -208,9 +216,9 @@ nonisolated enum DomainKindFilter: String, CaseIterable, Identifiable, Sendable var title: String { switch self { - case .all: "All" + case .all: String(localized: "All") case .dyndns: "DynDNS" - case .own: "Own" + case .own: String(localized: "Own") } } @@ -224,11 +232,9 @@ nonisolated enum DomainKindFilter: String, CaseIterable, Identifiable, Sendable } nonisolated extension DynDNSLogic { - /// Android `formatGermanTime`: dd.MM.yyyy HH:mm:ss. + /// Numeric date + time in the user's locale (name kept from the Android port). static func germanTime(_ date: Date?, fallback: String = "–") -> String { guard let date else { return fallback } - let formatter = DateFormatter() - formatter.dateFormat = "dd.MM.yyyy HH:mm:ss" - return formatter.string(from: date) + return date.formatted(date: .numeric, time: .standard) } } diff --git a/IPv64/Helpers/Healthchecks/HealthcheckFormState.swift b/IPv64/Helpers/Healthchecks/HealthcheckFormState.swift index 92280e0..6b655f5 100644 --- a/IPv64/Helpers/Healthchecks/HealthcheckFormState.swift +++ b/IPv64/Helpers/Healthchecks/HealthcheckFormState.swift @@ -238,9 +238,9 @@ nonisolated extension HC2CheckType { switch self { case .http, .keyword, .json: "https://example.com/health" case .dns, .whois: "example.com" - case .icmp: "example.com or IP address" + case .icmp: String(localized: "example.com or IP address") case .tcp, .port: "host:port" - case .cert: "example.com or host:port" + case .cert: String(localized: "example.com or host:port") default: "" } } diff --git a/IPv64/Helpers/Healthchecks/HealthcheckLogic.swift b/IPv64/Helpers/Healthchecks/HealthcheckLogic.swift index ac4e04a..b6761d9 100644 --- a/IPv64/Helpers/Healthchecks/HealthcheckLogic.swift +++ b/IPv64/Helpers/Healthchecks/HealthcheckLogic.swift @@ -8,16 +8,16 @@ nonisolated extension HC2CheckType { var label: String { switch self { case .http: "HTTP(S)" - case .keyword: "Keyword" + case .keyword: String(localized: "Keyword") case .json: "JSON" case .dns: "DNS" case .icmp: "Ping (ICMP)" case .tcp: "TCP" - case .port: "Port" - case .cert: "Certificate" - case .push: "Push" + case .port: String(localized: "Port") + case .cert: String(localized: "Certificate") + case .push: String(localized: "Push") case .whois: "WHOIS" - default: "Unknown" + default: String(localized: "Unknown") } } } @@ -30,12 +30,12 @@ nonisolated enum Hc2StateUi: Sendable { var label: String { switch self { - case .up: "Up" - case .down: "Down" - case .degraded: "Degraded" - case .flapping: "Flapping" - case .paused: "Paused" - case .pending: "Pending" + case .up: String(localized: "Up") + case .down: String(localized: "Down") + case .degraded: String(localized: "Degraded") + case .flapping: String(localized: "Flapping") + case .paused: String(localized: "Paused") + case .pending: String(localized: "Pending") } } @@ -55,11 +55,11 @@ nonisolated enum HcStatusFilter: CaseIterable, Hashable, Sendable { var label: String { switch self { - case .all: "All" - case .up: "Up" - case .degraded: "Degraded" - case .down: "Down" - case .paused: "Paused" + case .all: String(localized: "All") + case .up: String(localized: "Up") + case .degraded: String(localized: "Degraded") + case .down: String(localized: "Down") + case .paused: String(localized: "Paused") } } @@ -79,10 +79,10 @@ nonisolated enum HcExecFilter: CaseIterable, Hashable, Sendable { var label: String { switch self { - case .all: "All" - case .online: "Online" - case .node: "Node" - case .both: "Both" + case .all: String(localized: "All") + case .online: String(localized: "Online") + case .node: String(localized: "Node") + case .both: String(localized: "Both") } } diff --git a/IPv64/Helpers/Healthchecks/Monitor64Logic.swift b/IPv64/Helpers/Healthchecks/Monitor64Logic.swift index 471ef95..cd90752 100644 --- a/IPv64/Helpers/Healthchecks/Monitor64Logic.swift +++ b/IPv64/Helpers/Healthchecks/Monitor64Logic.swift @@ -37,37 +37,33 @@ nonisolated func isNodeNotFound(_ error: any Error) -> Bool { nonisolated struct Monitor64Display: Sendable { let label: String let color: Color + /// Status-filter bucket; `nil` = only in "All". Not derived from `label`, which is localized. + var bucket: HcStatusFilter? static func host(view: String?, paused: Bool?) -> Monitor64Display { - if paused == true { return Monitor64Display(label: "Paused", color: .gray) } + if paused == true { return Monitor64Display(label: String(localized: "Paused"), color: .gray, bucket: .paused) } switch view { - case "ok": return Monitor64Display(label: "OK", color: .green) - case "warn": return Monitor64Display(label: "Warning", color: .orange) - case "crit": return Monitor64Display(label: "Critical", color: .red) - case "unreachable": return Monitor64Display(label: "Unreachable", color: .red) - case "maintenance": return Monitor64Display(label: "Maintenance", color: .gray) - default: return Monitor64Display(label: "Unknown", color: .gray) + case "ok": return Monitor64Display(label: String(localized: "OK"), color: .green, bucket: .up) + case "warn": return Monitor64Display(label: String(localized: "Warning"), color: .orange, bucket: .degraded) + case "crit": return Monitor64Display(label: String(localized: "Critical"), color: .red, bucket: .down) + case "unreachable": return Monitor64Display(label: String(localized: "Unreachable"), color: .red, bucket: .down) + case "maintenance": return Monitor64Display(label: String(localized: "Maintenance"), color: .gray, bucket: .paused) + default: return Monitor64Display(label: String(localized: "Unknown"), color: .gray) } } static func service(_ state: String?) -> Monitor64Display { switch state { - case "ok": Monitor64Display(label: "OK", color: .green) - case "warn": Monitor64Display(label: "Warning", color: .orange) - case "crit": Monitor64Display(label: "Critical", color: .red) - default: Monitor64Display(label: "Unknown", color: .gray) + case "ok": Monitor64Display(label: String(localized: "OK"), color: .green, bucket: .up) + case "warn": Monitor64Display(label: String(localized: "Warning"), color: .orange, bucket: .degraded) + case "crit": Monitor64Display(label: String(localized: "Critical"), color: .red, bucket: .down) + default: Monitor64Display(label: String(localized: "Unknown"), color: .gray) } } /// ok = Up, warn = Degraded, crit/unreachable = Down, paused/maintenance = Paused. func matches(_ filter: HcStatusFilter) -> Bool { - switch filter { - case .all: true - case .up: label == "OK" - case .degraded: label == "Warning" - case .down: label == "Critical" || label == "Unreachable" - case .paused: label == "Paused" || label == "Maintenance" - } + filter == .all || bucket == filter } } @@ -105,7 +101,7 @@ nonisolated let monitor64AccessTypes: [Node64.Monitor64AccessType] = [ ] nonisolated extension Node64.Monitor64HostKind { - var label: String { self == .unspecified ? "None" : rawValue } + var label: String { self == .unspecified ? String(localized: "None") : rawValue } } /// Access form fields. The server checks strictly "only fields of the access type", so only non-empty fields are sent. diff --git a/IPv64/Helpers/Nodes/NodeCloudStore.swift b/IPv64/Helpers/Nodes/NodeCloudStore.swift new file mode 100644 index 0000000..28eb802 --- /dev/null +++ b/IPv64/Helpers/Nodes/NodeCloudStore.swift @@ -0,0 +1,109 @@ +import Foundation +import CloudKit +import CryptoKit +#if os(iOS) +import SwiftyBeaver +#endif + +/// Direct node access mirrored to the user's private CloudKit database, so the Apple TV app can offer it: +/// tvOS never receives iCloud Keychain items (`NodeSyncStore`). One record per node in the zone `Nodes`, +/// record name `.`; the API key is an encrypted field (end-to-end encrypted). +/// The iPhone app writes (same "Sync with iCloud" setting and account scope as `NodeSyncStore`), the TV app reads. +nonisolated enum NodeCloudStore { + struct Node: Sendable, Identifiable { + let nodeId: String + let account: Int + let url: String + let key: String + let name: String? + var id: String { "\(account).\(nodeId)" } + } + + private static let recordType = "NodeAccess" + private static let zoneID = CKRecordZone.ID(zoneName: "Nodes") + private static var database: CKDatabase { CKContainer(identifier: AppConfig.cloudContainer).privateCloudDatabase } + + /// All mirrored nodes; empty when the iPhone app never mirrored any. + static func fetchAll() async throws -> [Node] { + var nodes: [String: Node] = [:] // by record name: a record changed while paging comes twice + var token: CKServerChangeToken? + var more = true + do { + while more { + let changes = try await database.recordZoneChanges(inZoneWith: zoneID, since: token) + for (_, result) in changes.modificationResultsByID { + guard let record = try? result.get().record, + let url = record["url"] as? String, let key = record.encryptedValues["key"] as? String, + case let parts = record.recordID.recordName.split(separator: ".", maxSplits: 1), parts.count == 2, + let account = Int(parts[0]) + else { continue } + let node = Node(nodeId: String(parts[1]), account: account, url: url, key: key, name: record["name"] as? String) + nodes[node.id] = node + } + token = changes.changeToken + more = changes.moreComing + } + } catch let error as CKError where error.code == .zoneNotFound { + return [] + } + return nodes.values.sorted { ($0.name ?? $0.url).localizedStandardCompare($1.name ?? $1.url) == .orderedAscending } + } + + #if os(iOS) + /// App-group key of the fingerprint of the last mirrored set (skips uploads when nothing changed). + /// Debug builds use the Development database, release builds Production: separate fingerprints. + #if DEBUG + private static let fingerprintKey = "NODE64_CLOUDKIT_FINGERPRINT_DEV" + #else + private static let fingerprintKey = "NODE64_CLOUDKIT_FINGERPRINT" + #endif + private static var defaults: UserDefaults? { UserDefaults(suiteName: AppConfig.appGroup) } + /// Writes run one after another, so a delete can never be overtaken by an older upload of the same node. + @MainActor private static var tail: Task? + + /// Uploads the account's full set `nodes` (when it differs from the last upload) and deletes `removed` node ids. + @MainActor static func mirror(_ nodes: [Node], removed: [String] = [], account: Int) { + let fingerprint = SHA256.hash(data: Data(nodes.sorted { $0.id < $1.id } + .map { "\($0.id)|\($0.url)|\($0.key)|\($0.name ?? "")" }.joined(separator: "\n").utf8)) + .map { String(format: "%02x", $0) }.joined() + let changed = fingerprint != defaults?.string(forKey: fingerprintKey) + guard changed || !removed.isEmpty else { return } + enqueue { + try await write(save: changed ? nodes : [], delete: removed.map { "\(account).\($0)" }) + if changed { defaults?.set(fingerprint, forKey: fingerprintKey) } + } + } + + /// "Forget access" on this device: removes the node from the TV list too. + @MainActor static func delete(_ nodeId: String, account: Int) { + enqueue { try await write(save: [], delete: ["\(account).\(nodeId)"]) } + } + + @MainActor private static func enqueue(_ operation: @escaping @MainActor () async throws -> Void) { + let previous = tail + tail = Task { @MainActor in + await previous?.value + do { try await operation() } catch { + iLogger.log.warning("CloudKit node mirror failed: \(error.localizedDescription)") + } + } + } + + private static func write(save nodes: [Node], delete names: [String]) async throws { + _ = try await database.modifyRecordZones(saving: [CKRecordZone(zoneID: zoneID)], deleting: []) + let records = nodes.map { node in + let record = CKRecord(recordType: recordType, recordID: CKRecord.ID(recordName: node.id, zoneID: zoneID)) + record["url"] = node.url + record["name"] = node.name + record.encryptedValues["key"] = node.key + return record + } + let ids = names.map { CKRecord.ID(recordName: $0, zoneID: zoneID) } + let (saved, deleted) = try await database.modifyRecords(saving: records, deleting: ids, savePolicy: .allKeys, atomically: false) + for result in saved.values { _ = try result.get() } + for result in deleted.values { + if case .failure(let error as CKError) = result, error.code != .unknownItem { throw error } + } + } + #endif +} diff --git a/IPv64/Helpers/Nodes/NodeSyncStore.swift b/IPv64/Helpers/Nodes/NodeSyncStore.swift index 9db9ee3..22600a0 100644 --- a/IPv64/Helpers/Nodes/NodeSyncStore.swift +++ b/IPv64/Helpers/Nodes/NodeSyncStore.swift @@ -19,18 +19,33 @@ nonisolated enum NodeSyncStore { kSecAttrAccessGroup as String: SecureStore.accessGroup()] } - /// Writes the stored access of `id` to the iCloud Keychain and marks it as synced. - static func push(_ id: String, account: Int, owner: String) { + /// Writes the stored access of `id` to the iCloud Keychain and marks it as synced; mirrors to CloudKit. + @MainActor static func push(_ id: String, account: Int, owner: String) { + pushKeychain(id, account: account, owner: owner) + mirrorToCloudKit(account: account, owner: owner) + } + + private static func pushKeychain(_ id: String, account: Int, owner: String) { guard let access = LocalNodeStore.get(id, owner: owner), !isDebugMock(access.key) else { return } let entry = Entry(url: access.url, key: access.key, name: LocalNodeStore.name(id), updatedAt: .now) if write(entry, id: id, account: account) { LocalNodeStore.markSynced(id) } } + /// The Apple TV cannot read the iCloud Keychain: mirrors the account's full local set to CloudKit. + @MainActor private static func mirrorToCloudKit(account: Int, owner: String, removed: [String] = []) { + let nodes = LocalNodeStore.list(owner: owner).compactMap { id -> NodeCloudStore.Node? in + guard let access = LocalNodeStore.get(id, owner: owner), !isDebugMock(access.key) else { return nil } + return .init(nodeId: id, account: account, url: access.url, key: access.key, name: LocalNodeStore.name(id)) + } + NodeCloudStore.mirror(nodes, removed: removed, account: account) + } + /// "Forget access": replaces the synced access of `id` with a deletion marker, so it is removed on all /// devices but a keychain that is merely missing items (iCloud Keychain reset) never removes anything. @discardableResult - static func delete(_ id: String, account: Int) -> Bool { - write(Entry(url: "", key: "", name: nil, updatedAt: .now, deleted: true), id: id, account: account) + @MainActor static func delete(_ id: String, account: Int) -> Bool { + NodeCloudStore.delete(id, account: account) + return write(Entry(url: "", key: "", name: nil, updatedAt: .now, deleted: true), id: id, account: account) } private static func write(_ entry: Entry, id: String, account: Int) -> Bool { @@ -70,7 +85,7 @@ nonisolated enum NodeSyncStore { /// Two-way sync of `account`: uploads access changed here or missing in iCloud, imports access from /// other devices and removes access forgotten on another device. - static func sync(account: Int, owner: String) { + @MainActor static func sync(account: Int, owner: String) { guard let synced = entries(account: account) else { return } let ids = LocalNodeStore.list(owner: owner) let local = ids.reduce(into: [String: Entry]()) { local, id in @@ -80,13 +95,14 @@ nonisolated enum NodeSyncStore { let otherOwner = Set(synced.keys.filter { id in LocalNodeStore.owner(id).map { $0 != owner } ?? false }) let changes = NodeSyncPlan.plan(local: local, synced: synced, dirty: Set(ids.filter(LocalNodeStore.isDirty)), otherOwner: otherOwner) - changes.push.forEach { push($0, account: account, owner: owner) } + changes.push.forEach { pushKeychain($0, account: account, owner: owner) } for (id, entry) in changes.upsert { guard (try? LocalNodeStore.save(id: id, url: entry.url, key: entry.key, owner: owner, name: entry.name)) != nil else { continue } LocalNodeStore.markSynced(id) } changes.remove.forEach(LocalNodeStore.remove) changes.inSync.forEach(LocalNodeStore.markSynced) + mirrorToCloudKit(account: account, owner: owner, removed: changes.remove) } diff --git a/IPv64/Helpers/Nodes/NodesLogic.swift b/IPv64/Helpers/Nodes/NodesLogic.swift index 30db341..c4c49e9 100644 --- a/IPv64/Helpers/Nodes/NodesLogic.swift +++ b/IPv64/Helpers/Nodes/NodesLogic.swift @@ -5,7 +5,7 @@ import IPv64 nonisolated enum NodesLogic { /// Stored / cloud name, else "Node …" + last 4 characters of the id. static func nodeName(_ name: String?, nodeId: String) -> String { - name?.nonBlank ?? "Node …" + String(nodeId.suffix(4)) + name?.nonBlank ?? String(localized: "Node …") + String(nodeId.suffix(4)) } /// Remote management label (`off`/`read`/`full`/nil). diff --git a/IPv64/Helpers/Proxy/Cdn64Online.swift b/IPv64/Helpers/Proxy/Cdn64Online.swift new file mode 100644 index 0000000..1722e33 --- /dev/null +++ b/IPv64/Helpers/Proxy/Cdn64Online.swift @@ -0,0 +1,59 @@ +import Foundation +import IPv64 + +/// Website endpoint `GET /cdn64o` (not in the SDK): CDN64 names of the account (all modes) and the combined quota. +nonisolated struct Cdn64Overview: Decodable, Sendable { + var quota: Node64.CDNOnlineQuota? + var hosts: [Cdn64Host]? + + nonisolated struct Edge: Decodable, Sendable { var name: String? } + nonisolated struct Traffic: Decodable, Sendable { + var bytesIn: Int64?, bytesOut: Int64? + enum CodingKeys: String, CodingKey { case bytesIn = "bytes_in", bytesOut = "bytes_out" } + } + nonisolated struct Target: Decodable, Sendable { var target: String?, port: Int? } + + static func load(apiKey: String) async throws -> Cdn64Overview { + let base = AppConfig.mockBase.map { $0 + "/api/v2" } ?? "https://ipv64.net/api/v2" + var request = URLRequest(url: URL(string: base + "/cdn64o")!, timeoutInterval: 30) + request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization") + request.setValue("application/json", forHTTPHeaderField: "Accept") + let (data, response) = try await URLSession.shared.data(for: request) + let status = (response as? HTTPURLResponse)?.statusCode ?? 0 + guard (200...299).contains(status) else { + struct Problem: Decodable { var detail: String? } + let detail = (try? JSONDecoder().decode(Problem.self, from: data))?.detail?.nonBlank + throw ErrorText(title: status == 401 ? String(localized: "Unauthorized") : String(localized: "Error"), + message: detail ?? "HTTP \(status)") + } + struct Envelope: Decodable { var data: Cdn64Overview? } + guard let overview = try JSONDecoder().decode(Envelope.self, from: data).data else { + throw ErrorText(title: String(localized: "Error"), message: String(localized: "Unexpected answer from ipv64.net.")) + } + return overview + } + init() {} +} + +nonisolated struct Cdn64Host: Decodable, Sendable, Identifiable { + var id: Int? + var fqdn: String? + var mode: Int? + var wildcard: Bool? + var status: String? + var blockedReason: String? + var error: String? + var edges: [Cdn64Overview.Edge]? + var trafficMonth: Cdn64Overview.Traffic? + var paused: Bool? + var target: Cdn64Overview.Target? + + enum CodingKeys: String, CodingKey { + case id, fqdn, mode, wildcard, status, error, edges, paused, target + case blockedReason = "blocked_reason", trafficMonth = "traffic_month" + } +} + +extension ErrorText: LocalizedError { + var errorDescription: String? { message } +} diff --git a/IPv64/Helpers/Proxy/ProxyLogic.swift b/IPv64/Helpers/Proxy/ProxyLogic.swift index ab8e27f..838e34a 100644 --- a/IPv64/Helpers/Proxy/ProxyLogic.swift +++ b/IPv64/Helpers/Proxy/ProxyLogic.swift @@ -8,7 +8,7 @@ nonisolated enum ProxyLogic { /// Limit 0 or missing = unlimited (`nil`). static func limit(_ value: T?) -> T? { value.flatMap { $0 > 0 ? $0 : nil } } - static func modeShort(_ mode: Int?) -> String { mode.map { "Mode \($0)" } ?? "Mode ?" } + static func modeShort(_ mode: Int?) -> String { mode.map { String(localized: "Mode \($0)") } ?? String(localized: "Mode ?") } static func reachTag(enabled: Bool?, state: String?, ms: Int?) -> Tag { let base: (String, Tone) = switch (enabled == false, state) { @@ -41,8 +41,8 @@ nonisolated enum ProxyLogic { /// Options as one line, e.g. "WS · Cache · HTTPS forced". static func optionsLine(websockets: Bool?, blockExploits: Bool?, cacheAssets: Bool?, forceSSL: Bool?, http2: Bool?, http3: Bool?, hsts: Bool?, accessListID: Int?) -> String? { - let list = [websockets == true ? "WS" : nil, blockExploits == true ? "Exploits" : nil, - cacheAssets == true ? "Cache" : nil, forceSSL == true ? "HTTPS forced" : nil, + let list = [websockets == true ? "WS" : nil, blockExploits == true ? String(localized: "Exploits") : nil, + cacheAssets == true ? String(localized: "Cache") : nil, forceSSL == true ? String(localized: "HTTPS forced") : nil, http2 == true ? "H2" : nil, http3 == true ? "H3" : nil, hsts == true ? "HSTS" : nil, (accessListID ?? 0) > 0 ? String(localized: "Not public") : nil].compactMap { $0 } return list.isEmpty ? nil : list.joined(separator: " · ") diff --git a/IPv64/Helpers/Proxy/ProxyStats.swift b/IPv64/Helpers/Proxy/ProxyStats.swift new file mode 100644 index 0000000..5f073f7 --- /dev/null +++ b/IPv64/Helpers/Proxy/ProxyStats.swift @@ -0,0 +1,33 @@ +import Foundation + +/// Hourly Proxy64 traffic series (port of Node64 `cdn64-chart.js series()`); Foundation only so Tests/ can compile it alone. +nonisolated enum ProxyStats { + /// One `timeline` row of `/cdn64/stats`; missing keys are 0. + struct Row: Equatable { + var hour: Date + var requests = 0.0, c4 = 0.0, c5 = 0.0, bytes = 0.0, bytesIn = 0.0, blocked = 0.0, decoy = 0.0, connBlocked = 0.0 + } + + struct Point: Equatable, Identifiable { + var time: Date + var ok = 0.0, c4 = 0.0, err = 0.0, blocked = 0.0, decoy = 0.0, requests = 0.0, bytes = 0.0, up = 0.0 + var id: Date { time } + } + + /// Every hour of the range up to the current hour, oldest first; hours without a row are all zero. + static func series(_ rows: [Row], hours: Int, now: Date = .now) -> [Point] { + let hour = 3600.0 + let current = (now.timeIntervalSince1970 / hour).rounded(.down) * hour + let byHour = Dictionary(rows.map { ($0.hour.timeIntervalSince1970, $0) }, uniquingKeysWith: { $1 }) + return (0.. + com.apple.developer.icloud-container-identifiers + + iCloud.de.rpicloud.IPv64 + + com.apple.developer.icloud-services + + CloudKit + aps-environment development keychain-access-groups diff --git a/IPv64/InfoPlist.xcstrings b/IPv64/InfoPlist.xcstrings new file mode 100644 index 0000000..02ebe2c --- /dev/null +++ b/IPv64/InfoPlist.xcstrings @@ -0,0 +1,38 @@ +{ + "sourceLanguage" : "en", + "strings" : { + "NSCameraUsageDescription" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv64.net nutzt die Kamera, um den QR-Code deines API-Keys zu scannen." + } + }, + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv64.net uses the camera to scan the QR code of your API key." + } + } + } + }, + "NSFaceIDUsageDescription" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv64.net nutzt Face ID, um die App zu entsperren, wenn die Sperre aktiv ist." + } + }, + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv64.net uses Face ID to unlock the app when the privacy lock is on." + } + } + } + } + }, + "version" : "1.0" +} diff --git a/IPv64/Localizable.xcstrings b/IPv64/Localizable.xcstrings new file mode 100644 index 0000000..836456c --- /dev/null +++ b/IPv64/Localizable.xcstrings @@ -0,0 +1,12312 @@ +{ + "sourceLanguage" : "en", + "strings" : { + "" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "" + } + } + } + }, + "\"%@\" stops working immediately. Apps and scripts using it lose access." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "„%@“ funktioniert sofort nicht mehr. Apps und Skripte, die ihn verwenden, verlieren den Zugriff." + } + } + } + }, + "\"%@\" will be removed from Monitor64. Its history is kept." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "„%@“ wird aus Monitor64 entfernt. Der Verlauf bleibt erhalten." + } + } + } + }, + "%" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%" + } + } + } + }, + "%@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@" + } + } + } + }, + "%@ Allowed: %@ Blocked: %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ Erlaubt: %@ Blockiert: %@" + } + } + } + }, + "%@ Answered: %lld 4xx: %lld 5xx: %lld Rejected: %lld Honeypot: %lld Total: %lld" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ Beantwortet: %lld 4xx: %lld 5xx: %lld Abgewiesen: %lld Honeypot: %lld Gesamt: %lld" + } + } + } + }, + "%@ Download: %@ Upload: %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ Download: %@ Upload: %@" + } + } + } + }, + "%@ %% answered instantly" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ %% sofort beantwortet" + } + } + } + }, + "%@ %% of queries" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ %% der Abfragen" + } + } + } + }, + "%@ events" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ Ereignisse" + } + } + } + }, + "%@ is asked to pause the check \"%@\". It stays paused until you resume it." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ wird aufgefordert, den Check „%@“ zu pausieren. Er bleibt pausiert, bis du ihn fortsetzt." + } + } + } + }, + "%@ is asked to resume the check \"%@\"." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ wird aufgefordert, den Check „%@“ fortzusetzen." + } + } + } + }, + "%@ is asked to run its repair routine." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ wird aufgefordert, die Reparaturroutine auszuführen." + } + } + } + }, + "%@ is asked to run the check \"%@\" now." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ wird aufgefordert, den Check „%@“ jetzt auszuführen." + } + } + } + }, + "%@ of %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ von %@" + } + } + } + }, + "%@ records (%lld)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@-Einträge (%lld)" + } + } + } + }, + "%@ will be removed from the node." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ wird vom Node entfernt." + } + } + } + }, + "%@ will no longer be reachable via the CDN64 servers." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ ist über die CDN64-Server nicht mehr erreichbar." + } + } + } + }, + "%@ · %lld sources" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ · %lld Quellen" + } + } + } + }, + "%@. The node keeps running standalone." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@. Der Node läuft eigenständig weiter." + } + } + } + }, + "%@?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@?" + } + } + } + }, + "%lld IPs" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld IPs" + } + } + } + }, + "%lld acc." : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Konto" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Konten" + } + } + } + } + } + } + }, + "%lld attempts" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Versuch" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Versuche" + } + } + } + } + } + } + }, + "%lld blocked" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld blockiert" + } + } + } + }, + "%lld calls" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Aufruf" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Aufrufe" + } + } + } + } + } + } + }, + "%lld channels" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Kanal" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Kanäle" + } + } + } + } + } + } + }, + "%lld checks continued as online checks" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Check als Online-Check fortgesetzt" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Checks als Online-Checks fortgesetzt" + } + } + } + } + } + } + }, + "%lld checks deleted" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Check gelöscht" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Checks gelöscht" + } + } + } + } + } + } + }, + "%lld conflicts" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Konflikt" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Konflikte" + } + } + } + } + } + } + }, + "%lld errors" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Fehler" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Fehler" + } + } + } + } + } + } + }, + "%lld events" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Ereignis" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Ereignisse" + } + } + } + } + } + } + }, + "%lld failed in a row" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld in Folge fehlgeschlagen" + } + } + } + }, + "%lld flaps" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Flaps" + } + } + } + }, + "%lld locations" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Standort" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Standorte" + } + } + } + } + } + } + }, + "%lld names" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Name" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Namen" + } + } + } + } + } + } + }, + "%lld newly discovered" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld neu entdeckt" + } + } + } + }, + "%lld of %lld nodes run the honeypot" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld von %lld Nodes betreiben den Honeypot" + } + } + } + }, + "%lld ok in a row" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld in Folge OK" + } + } + } + }, + "%lld requests" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Anfrage" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Anfragen" + } + } + } + } + } + } + }, + "%lld requests, %lld rejected" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Anfragen, %lld abgewiesen" + } + } + } + }, + "%lld selected" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld ausgewählt" + } + } + } + }, + "%lld services found" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Dienst gefunden" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Dienste gefunden" + } + } + } + } + } + } + }, + "%lld/%lld servers" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld/%lld Server" + } + } + } + }, + "(unnamed)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "(ohne Namen)" + } + } + } + }, + "**1.** Go to ipv64.net and log in to your account." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "**1.** Öffne ipv64.net und melde dich bei deinem Account an." + } + } + } + }, + "**2.** Select the **Account** button at the top." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "**2.** Tippe oben auf **Account**." + } + } + } + }, + "**3.** A drop-down menu will open. Select **API**." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "**3.** Ein Dropdown-Menü öffnet sich. Wähle **API**." + } + } + } + }, + "**4.** You will now see a list of API keys (if you have already created more than one). Select the one you want to use by tapping the QR code button." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "**4.** Jetzt siehst du eine Liste deiner API-Keys (falls du schon mehrere erstellt hast). Wähle den gewünschten Key, indem du auf die QR-Code-Schaltfläche tippst." + } + } + } + }, + "**5.** Open the QR code scanner in this app and scan the QR code." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "**5.** Öffne den QR-Code-Scanner in dieser App und scanne den QR-Code." + } + } + } + }, + "**6.** Done! You are now logged in." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "**6.** Fertig! Du bist jetzt angemeldet." + } + } + } + }, + "0 = unlimited" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "0 = unbegrenzt" + } + } + } + }, + "1" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1" + } + } + } + }, + "1 check continued as online check" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1 Check als Online-Check fortgesetzt" + } + } + } + }, + "1 check deleted" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1 Check gelöscht" + } + } + } + }, + "1 conflict" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1 Konflikt" + } + } + } + }, + "1 day" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1 Tag" + } + } + } + }, + "1 h" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1 Std." + } + } + } + }, + "1 y" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1 J" + } + } + } + }, + "1 year" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1 Jahr" + } + } + } + }, + "1.2" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1.2" + } + } + } + }, + "1.3" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1.3" + } + } + } + }, + "192.168.1.10" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "192.168.1.10" + } + } + } + }, + "2001:db8:1234:5600::/56" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "2001:db8:1234:5600::/56" + } + } + } + }, + "24 h" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "24 Std." + } + } + } + }, + "30 d" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "30 T" + } + } + } + }, + "30 days" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "30 Tage" + } + } + } + }, + "4xx from target" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "4xx vom Ziel" + } + } + } + }, + "6 h" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "6 Std." + } + } + } + }, + "7 d" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "7 T" + } + } + } + }, + "7 days" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "7 Tage" + } + } + } + }, + "80" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "80" + } + } + } + }, + "90 days" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "90 Tage" + } + } + } + }, + "A 6-digit code will be sent to “%@”." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ein 6-stelliger Code wird an „%@“ gesendet." + } + } + } + }, + "A new code has been sent." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ein neuer Code wurde gesendet." + } + } + } + }, + "A new key is shown only once after creating it. Keys give full access to your account; delete keys you no longer use." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ein neuer Key wird nach dem Erstellen nur einmal angezeigt. Keys geben vollen Zugriff auf deinen Account; lösche Keys, die du nicht mehr brauchst." + } + } + } + }, + "A new update token is created and the old one stops working immediately. Routers and scripts using the old update URL stop updating until you enter the new URL." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Es wird ein neuer Update-Token erstellt und der alte funktioniert sofort nicht mehr. Router und Skripte mit der alten Update-URL aktualisieren nicht mehr, bis du die neue URL einträgst." + } + } + } + }, + "A push URL is created with the check." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Mit dem Check wird eine Push-URL erstellt." + } + } + } + }, + "A-Record or AAAA-Record didn't match" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "A- oder AAAA-Eintrag stimmt nicht überein" + } + } + } + }, + "A-Record or AAAA-Record match" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "A- oder AAAA-Eintrag stimmt überein" + } + } + } + }, + "API" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "API" + } + } + } + }, + "API Key" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "API-Key" + } + } + } + }, + "API key" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "API-Key" + } + } + } + }, + "API key created" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "API-Key erstellt" + } + } + } + }, + "API key rejected" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "API-Key abgelehnt" + } + } + } + }, + "API keys" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "API-Keys" + } + } + } + }, + "API keys (%lld)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "API-Keys (%lld)" + } + } + } + }, + "ASN" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "ASN" + } + } + } + }, + "About" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Über" + } + } + } + }, + "About the App" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Über die App" + } + } + } + }, + "Accepted status codes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Akzeptierte Statuscodes" + } + } + } + }, + "Access" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zugang" + } + } + } + }, + "Access list" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zugriffsliste" + } + } + } + }, + "Accesses" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zugänge" + } + } + } + }, + "Account" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Account" + } + } + } + }, + "Account Plan" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tarif" + } + } + } + }, + "Account healthcheck" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Account-Healthcheck" + } + } + } + }, + "Account links" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Account-Verknüpfungen" + } + } + } + }, + "Account links let another IPv64 account manage yours, or you manage theirs. Links are managed at ipv64.net." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Mit Account-Verknüpfungen kann ein anderer IPv64-Account deinen verwalten oder du seinen. Die Verknüpfungen verwaltest du auf ipv64.net." + } + } + } + }, + "Accounts you manage" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Accounts, die du verwaltest" + } + } + } + }, + "Acknowledge" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quittieren" + } + } + } + }, + "Acknowledged" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quittiert" + } + } + } + }, + "Active" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aktiv" + } + } + } + }, + "Add" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Hinzufügen" + } + } + } + }, + "Add a node without linking it to your account: connect to it by its local IP or by its link (e.g. https://node.example.com/api). Create an API key in the node's web interface on the API tab." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Füge einen Node hinzu, ohne ihn mit deinem Account zu verknüpfen: Verbinde dich über seine lokale IP oder seinen Link (z. B. https://node.example.com/api). Erstelle im Web-Interface des Nodes auf dem Tab „API“ einen API-Key." + } + } + } + }, + "Add access" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zugang hinzufügen" + } + } + } + }, + "Add at least one JSON rule." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Füge mindestens eine JSON-Regel hinzu." + } + } + } + }, + "Add channel" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kanal hinzufügen" + } + } + } + }, + "Add domain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domain hinzufügen" + } + } + } + }, + "Add domain to CDN64" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domain zu CDN64 hinzufügen" + } + } + } + }, + "Add header" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Header hinzufügen" + } + } + } + }, + "Add node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node hinzufügen" + } + } + } + }, + "Add record" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Eintrag hinzufügen" + } + } + } + }, + "Add rule" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Regel hinzufügen" + } + } + } + }, + "Add your first domain to manage its DNS records." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Füge deine erste Domain hinzu, um ihre DNS-Einträge zu verwalten." + } + } + } + }, + "Address" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Adresse" + } + } + } + }, + "Address is sign-in protected" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Adresse ist durch Anmeldung geschützt" + } + } + } + }, + "Addresses" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Adressen" + } + } + } + }, + "Adopt all" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Alle übernehmen" + } + } + } + }, + "Ads and trackers will not be blocked while paused." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Werbung und Tracker werden während der Pause nicht blockiert." + } + } + } + }, + "Advanced" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erweitert" + } + } + } + }, + "After creating the channel, a verification code will be sent to confirm it." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nach dem Erstellen des Kanals wird ein Bestätigungscode gesendet." + } + } + } + }, + "All" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Alle" + } + } + } + }, + "All active DNS records of %@ are deleted and the zone is set up anew. This cannot be undone. Type the domain name to confirm." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Alle aktiven DNS-Einträge von %@ werden gelöscht und die Zone wird neu angelegt. Das kann nicht rückgängig gemacht werden. Gib zur Bestätigung den Domainnamen ein." + } + } + } + }, + "All proxy hosts already use CDN64." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Alle Proxy-Hosts nutzen bereits CDN64." + } + } + } + }, + "Allow IPv64.net to show notifications so alerts can reach you." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erlaube IPv64.net, Benachrichtigungen anzuzeigen, damit dich Warnungen erreichen." + } + } + } + }, + "Allow notifications" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigungen erlauben" + } + } + } + }, + "Allow notifications first." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erlaube zuerst Benachrichtigungen." + } + } + } + }, + "Allow this domain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese Domain erlauben" + } + } + } + }, + "Allowed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erlaubt" + } + } + } + }, + "Allowlisted" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Auf der Allowlist" + } + } + } + }, + "Already registered as “%@”. Its existing settings are kept." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bereits als „%@“ registriert. Die vorhandenen Einstellungen bleiben erhalten." + } + } + } + }, + "Also resolve *.%@ to the records of the domain." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "*.%@ ebenfalls auf die Einträge der Domain auflösen." + } + } + } + }, + "Any rule is enough" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Eine Regel genügt" + } + } + } + }, + "App" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "App" + } + } + } + }, + "Apple TV app" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Apple-TV-App" + } + } + } + }, + "Are you sure you want to delete the file: \n'%@' \n\nThe file cannot be restored!" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Möchtest du die Datei wirklich löschen: \n'%@' \n\nDie Datei kann nicht wiederhergestellt werden!" + } + } + } + }, + "Are you sure you want to logout?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Möchtest du dich wirklich abmelden?" + } + } + } + }, + "At least one record was changed." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Mindestens ein Eintrag wurde geändert." + } + } + } + }, + "At most 10 JSON rules are allowed." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Es sind höchstens 10 JSON-Regeln erlaubt." + } + } + } + }, + "Attack kinds" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Angriffsarten" + } + } + } + }, + "Attacked ports" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Angegriffene Ports" + } + } + } + }, + "Attacker IPs (24 h)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Angreifer-IPs (24 Std.)" + } + } + } + }, + "Attacks (24 h)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Angriffe (24 Std.)" + } + } + } + }, + "Attacks (last 24 h)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Angriffe (letzte 24 Std.)" + } + } + } + }, + "Attacks per day (30 days)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Angriffe pro Tag (30 Tage)" + } + } + } + }, + "Authoritative" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Autoritativ" + } + } + } + }, + "Automatic (matching name)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Automatisch (passender Name)" + } + } + } + }, + "Availability" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verfügbarkeit" + } + } + } + }, + "Availability 1 y" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verfügbarkeit 1 J" + } + } + } + }, + "Availability 24 h" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verfügbarkeit 24 Std." + } + } + } + }, + "Availability 30 d" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verfügbarkeit 30 T" + } + } + } + }, + "Average latency" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Durchschnittliche Latenz" + } + } + } + }, + "Average latency (max %@)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Durchschnittliche Latenz (max. %@)" + } + } + } + }, + "Bandwidth: %lld Mbit/s" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bandbreite: %lld Mbit/s" + } + } + } + }, + "Bandwidth: unlimited" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bandbreite: unbegrenzt" + } + } + } + }, + "Bar chart with %lld values, maximum %lld" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Balkendiagramm mit %lld Werten, Maximum %lld" + } + } + } + }, + "Basic auth password" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Basic-Auth-Passwort" + } + } + } + }, + "Basic auth user" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Basic-Auth-Benutzer" + } + } + } + }, + "Batch threshold" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bündelungsschwelle" + } + } + } + }, + "Batch window (seconds)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bündelungsfenster (Sekunden)" + } + } + } + }, + "Block exploits" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Exploits blockieren" + } + } + } + }, + "Block this domain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese Domain blockieren" + } + } + } + }, + "Block this domain and its subdomains for all clients?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese Domain und ihre Subdomains für alle Clients blockieren?" + } + } + } + }, + "Blocked" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blockiert" + } + } + } + }, + "Blocked %" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blockiert %" + } + } + } + }, + "Blocked%@. Allow this domain and its subdomains for all clients?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blockiert%@. Diese Domain und ihre Subdomains für alle Clients erlauben?" + } + } + } + }, + "Blocking" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blockierung" + } + } + } + }, + "Blocking active" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blockierung aktiv" + } + } + } + }, + "Blocklist size" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Größe der Blockliste" + } + } + } + }, + "Blocklist token" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blocklist-Token" + } + } + } + }, + "Blocklists" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blocklisten" + } + } + } + }, + "Both" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Beide" + } + } + } + }, + "Bug fixes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fehlerbehebungen" + } + } + } + }, + "By IP or link and API key, without linking" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Per IP oder Link und API-Key, ohne Verknüpfung" + } + } + } + }, + "Bytes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bytes" + } + } + } + }, + "CDN" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "CDN" + } + } + } + }, + "CDN Domains" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "CDN-Domains" + } + } + } + }, + "CDN Traffic (GB)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "CDN-Traffic (GB)" + } + } + } + }, + "CDN domains" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "CDN-Domains" + } + } + } + }, + "CDN partial" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "CDN teilweise" + } + } + } + }, + "CDN proxied" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Über CDN" + } + } + } + }, + "CDN64" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "CDN64" + } + } + } + }, + "CDN64 status not available." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "CDN64-Status nicht verfügbar." + } + } + } + }, + "Cache" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Cache" + } + } + } + }, + "Cache assets" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Assets cachen" + } + } + } + }, + "Cached" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Cache" + } + } + } + }, + "Call this URL from your job or service to report that it is alive." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Rufe diese URL von deinem Job oder Dienst auf, um zu melden, dass er läuft." + } + } + } + }, + "Can manage your account" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kann deinen Account verwalten" + } + } + } + }, + "Cancel" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Abbrechen" + } + } + } + }, + "Certificate" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zertifikat" + } + } + } + }, + "Certificate minimum days must be between 0 and 3650." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Mindestrestlaufzeit des Zertifikats muss zwischen 0 und 3650 Tagen liegen." + } + } + } + }, + "Certificate not trusted" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zertifikat nicht vertrauenswürdig" + } + } + } + }, + "Change pending" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Änderung ausstehend" + } + } + } + }, + "Changing only the IP of an A/AAAA record keeps its ID and record token. Any other change replaces the record with a new ID and token." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wenn du nur die IP eines A/AAAA-Eintrags änderst, bleiben ID und Eintrags-Token erhalten. Jede andere Änderung ersetzt den Eintrag durch einen neuen mit neuer ID und neuem Token." + } + } + } + }, + "Changing where the check runs or its locations runs a test measurement first." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wenn du änderst, wo der Check läuft oder welche Standorte er nutzt, wird zuerst eine Testmessung durchgeführt." + } + } + } + }, + "Channel #%lld" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kanal #%lld" + } + } + } + }, + "Channel not found" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kanal nicht gefunden" + } + } + } + }, + "Channel saved" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kanal gespeichert" + } + } + } + }, + "Channels" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kanäle" + } + } + } + }, + "Charts" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diagramme" + } + } + } + }, + "Check password" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Passwort prüfen" + } + } + } + }, + "Check the connection under More → Nodes." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Prüfe die Verbindung unter Mehr → Nodes." + } + } + } + }, + "Check your input" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Prüfe deine Eingabe" + } + } + } + }, + "Check: %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Check: %@" + } + } + } + }, + "Checked %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Geprüft %@" + } + } + } + }, + "Checking" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wird geprüft" + } + } + } + }, + "Checks" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Checks" + } + } + } + }, + "Checks (%lld)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Checks (%lld)" + } + } + } + }, + "Checks with a public target continue as online checks." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Checks mit öffentlichem Ziel werden als Online-Checks fortgesetzt." + } + } + } + }, + "Checks without explicit channels notify default channels." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Checks ohne explizite Kanäle benachrichtigen die Standardkanäle." + } + } + } + }, + "Choose up to 10 healthchecks: small shows 2, medium 4, large 10." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wähle bis zu 10 Healthchecks: klein zeigt 2, mittel 4, groß 10." + } + } + } + }, + "Clear" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Leeren" + } + } + } + }, + "Clear Widget Cache" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Widget-Cache leeren" + } + } + } + }, + "Clearing a field keeps the current value; it cannot be reset to the default here." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wenn du ein Feld leerst, bleibt der aktuelle Wert erhalten; er kann hier nicht auf den Standard zurückgesetzt werden." + } + } + } + }, + "Clients" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Clients" + } + } + } + }, + "Close" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Schließen" + } + } + } + }, + "Closed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Geschlossen" + } + } + } + }, + "Cloud" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Cloud" + } + } + } + }, + "Code" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Code" + } + } + } + }, + "Collapsed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Eingeklappt" + } + } + } + }, + "Combined with the interface IDs of your records. Empty = off." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wird mit den Interface-IDs deiner Einträge kombiniert. Leer = aus." + } + } + } + }, + "Command" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Befehl" + } + } + } + }, + "Command failed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Befehl fehlgeschlagen" + } + } + } + }, + "Command history" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Befehlsverlauf" + } + } + } + }, + "Command still pending" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Befehl noch ausstehend" + } + } + } + }, + "Commands from ipv64.net (run check, repair, pause, resume) are accepted." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Befehle von ipv64.net (Check ausführen, reparieren, pausieren, fortsetzen) werden akzeptiert." + } + } + } + }, + "Comment (optional)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kommentar (optional)" + } + } + } + }, + "Configuration" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Konfiguration" + } + } + } + }, + "Conflict #%@ is resolved by keeping the %@ version. The other version is discarded." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Konflikt #%@ wird gelöst, indem die %@-Version behalten wird. Die andere Version wird verworfen." + } + } + } + }, + "Conflict number" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Konfliktnummer" + } + } + } + }, + "Conflicts" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Konflikte" + } + } + } + }, + "Connect" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbinden" + } + } + } + }, + "Connect directly" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Direkt verbinden" + } + } + } + }, + "Connect directly to this node by its local IP or by its link (e.g. https://node.example.com/api). Create an API key in the node's web interface on the API tab." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbinde dich direkt mit diesem Node über seine lokale IP oder seinen Link (z. B. https://node.example.com/api). Erstelle im Web-Interface des Nodes auf dem Tab „API“ einen API-Key." + } + } + } + }, + "Connect timeout" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbindungs-Timeout" + } + } + } + }, + "Connect timeout must be greater than 0." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Das Verbindungs-Timeout muss größer als 0 sein." + } + } + } + }, + "Connecting" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbindung wird hergestellt" + } + } + } + }, + "Connecting..." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbinde …" + } + } + } + }, + "Connection OK" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbindung OK" + } + } + } + }, + "Connection failed." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbindung fehlgeschlagen." + } + } + } + }, + "Connection lost — retrying…" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbindung verloren – neuer Versuch …" + } + } + } + }, + "Connections" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbindungen" + } + } + } + }, + "Connects to %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbindet mit %@" + } + } + } + }, + "Contact" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kontakt" + } + } + } + }, + "Continue" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Weiter" + } + } + } + }, + "Contributor" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Beitragender" + } + } + } + }, + "Copy" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kopieren" + } + } + } + }, + "Copy key" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Key kopieren" + } + } + } + }, + "Copy log" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Log kopieren" + } + } + } + }, + "Copy the key now and store it securely. It is shown only once and cannot be retrieved later." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kopiere den Key jetzt und bewahre ihn sicher auf. Er wird nur einmal angezeigt und kann später nicht mehr abgerufen werden." + } + } + } + }, + "Copy this app's API key, and edit channels with a swipe, including this device's channel." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kopiere den API-Key dieser App und bearbeite Kanäle per Wischen, auch den Kanal dieses Geräts." + } + } + } + }, + "Copy this app's key" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Key dieser App kopieren" + } + } + } + }, + "Copy update URL" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Update-URL kopieren" + } + } + } + }, + "Could not reach the node. Is your phone on the same network as the node?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node ist nicht erreichbar. Befindet sich dein iPhone im selben Netzwerk wie der Node?" + } + } + } + }, + "Country" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Land" + } + } + } + }, + "Create" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erstellen" + } + } + } + }, + "Create a key in the node's web interface on the API tab." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erstelle im Web-Interface des Nodes auf dem Tab „API“ einen Key." + } + } + } + }, + "Create healthcheck" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Healthcheck erstellen" + } + } + } + }, + "Create paused" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pausiert erstellen" + } + } + } + }, + "Created" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erstellt" + } + } + } + }, + "Created %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erstellt %@" + } + } + } + }, + "Critical" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kritisch" + } + } + } + }, + "DNS" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS" + } + } + } + }, + "DNS cache" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS-Cache" + } + } + } + }, + "DNS failover is active for this domain. Remove or pause the failover policy first." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Für diese Domain ist DNS-Failover aktiv. Entferne oder pausiere zuerst die Failover-Richtlinie." + } + } + } + }, + "DNS pending" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS ausstehend" + } + } + } + }, + "DNS server" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS-Server" + } + } + } + }, + "DNS64" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS64" + } + } + } + }, + "DNS64 Clients" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS64-Clients" + } + } + } + }, + "Daily list" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tagesliste" + } + } + } + }, + "Data to send" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zu sendende Daten" + } + } + } + }, + "Database" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Datenbank" + } + } + } + }, + "Day" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tag" + } + } + } + }, + "Default" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Standard" + } + } + } + }, + "Default channel" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Standardkanal" + } + } + } + }, + "Default channels" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Standardkanäle" + } + } + } + }, + "Degraded" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Beeinträchtigt" + } + } + } + }, + "Degraded also notifies on partial failure. Critical ignores quiet hours." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "„Beeinträchtigt“ benachrichtigt auch bei Teilausfall. „Kritisch“ ignoriert die Ruhezeiten." + } + } + } + }, + "Delete" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Löschen" + } + } + } + }, + "Delete %@ (%@)?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ (%@) löschen?" + } + } + } + }, + "Delete API key" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "API-Key löschen" + } + } + } + }, + "Delete API key?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "API-Key löschen?" + } + } + } + }, + "Delete DNS record?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS-Eintrag löschen?" + } + } + } + }, + "Delete access" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zugang löschen" + } + } + } + }, + "Delete access?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zugang löschen?" + } + } + } + }, + "Delete channel" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kanal löschen" + } + } + } + }, + "Delete channel?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kanal löschen?" + } + } + } + }, + "Delete domain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domain löschen" + } + } + } + }, + "Delete domain?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domain löschen?" + } + } + } + }, + "Delete healthcheck" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Healthcheck löschen" + } + } + } + }, + "Delete healthcheck?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Healthcheck löschen?" + } + } + } + }, + "Delete host" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Host löschen" + } + } + } + }, + "Delete host?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Host löschen?" + } + } + } + }, + "Delete now" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Jetzt löschen" + } + } + } + }, + "Delete proxy host?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Proxy-Host löschen?" + } + } + } + }, + "Delete record" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Eintrag löschen" + } + } + } + }, + "Description" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Beschreibung" + } + } + } + }, + "Details" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Details" + } + } + } + }, + "Device name" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gerätename" + } + } + } + }, + "Device token unavailable" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Geräte-Token nicht verfügbar" + } + } + } + }, + "Different node?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anderer Node?" + } + } + } + }, + "Direct" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Direkt" + } + } + } + }, + "Direct %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Direkt %@" + } + } + } + }, + "Direct access" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Direktzugriff" + } + } + } + }, + "Direct address" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Direkte Adresse" + } + } + } + }, + "Disable" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Deaktivieren" + } + } + } + }, + "Disable %@?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ deaktivieren?" + } + } + } + }, + "Disable %@? Services of this module stop on the node, e.g. DNS for your network." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ deaktivieren? Dienste dieses Moduls werden auf dem Node angehalten, z. B. DNS für dein Netzwerk." + } + } + } + }, + "Disable CDN64" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "CDN64 deaktivieren" + } + } + } + }, + "Disable CDN64?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "CDN64 deaktivieren?" + } + } + } + }, + "Disable host" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Host deaktivieren" + } + } + } + }, + "Disabled" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Deaktiviert" + } + } + } + }, + "Discord" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Discord" + } + } + } + }, + "Discover services" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dienste erkennen" + } + } + } + }, + "Do you really delete?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wirklich löschen?" + } + } + } + }, + "Do you really want to delete \"%@\"? Its history is deleted as well." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Möchtest du „%@“ wirklich löschen? Der Verlauf wird ebenfalls gelöscht." + } + } + } + }, + "Do you really want to delete %@ with all its DNS records? Type the domain name to confirm." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Möchtest du %@ wirklich mit allen DNS-Einträgen löschen? Gib zur Bestätigung den Domainnamen ein." + } + } + } + }, + "Do you really want to delete the %@ record \"%@\" (%@)?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Möchtest du den %@-Eintrag „%@“ (%@) wirklich löschen?" + } + } + } + }, + "Domain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domain" + } + } + } + }, + "Domain cannot be deleted" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domain kann nicht gelöscht werden" + } + } + } + }, + "Domain names" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domainnamen" + } + } + } + }, + "Domain or client" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domain oder Client" + } + } + } + }, + "Domain settings" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domain-Einstellungen" + } + } + } + }, + "Done" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fertig" + } + } + } + }, + "Down" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Offline" + } + } + } + }, + "Down if all %@ fail" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Offline, wenn alle %@ fehlschlagen" + } + } + } + }, + "Down if any of the %@ fails" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Offline, wenn eines der %@ fehlschlägt" + } + } + } + }, + "Down if most %@ fail" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Offline, wenn die meisten %@ fehlschlagen" + } + } + } + }, + "Down since" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Offline seit" + } + } + } + }, + "Download" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Download" + } + } + } + }, + "Download %@, upload %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Download %@, Upload %@" + } + } + } + }, + "DynDNS" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DynDNS" + } + } + } + }, + "DynDNS Domains" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DynDNS-Domains" + } + } + } + }, + "DynDNS Update Limit / 24h" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DynDNS-Update-Limit / 24 Std." + } + } + } + }, + "DynDNS update" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DynDNS-Update" + } + } + } + }, + "DynDNS updates" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DynDNS-Updates" + } + } + } + }, + "E-Mail" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "E-Mail" + } + } + } + }, + "Edit" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bearbeiten" + } + } + } + }, + "Edit Healthcheck" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Healthcheck bearbeiten" + } + } + } + }, + "Edit Monitor64 host" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Monitor64-Host bearbeiten" + } + } + } + }, + "Edit User" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benutzer bearbeiten" + } + } + } + }, + "Edit access" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zugriff bearbeiten" + } + } + } + }, + "Edit channel" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kanal bearbeiten" + } + } + } + }, + "Edit connection" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbindung bearbeiten" + } + } + } + }, + "Edit direct connection" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Direktverbindung bearbeiten" + } + } + } + }, + "Edit node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node bearbeiten" + } + } + } + }, + "Edit record" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Eintrag bearbeiten" + } + } + } + }, + "Empty = the domain itself" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Leer = die Domain selbst" + } + } + } + }, + "Empty field" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Leeres Feld" + } + } + } + }, + "Empty fields use the server default." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Leere Felder verwenden den Server-Standard." + } + } + } + }, + "Enable" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aktivieren" + } + } + } + }, + "Enable CDN64" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "CDN64 aktivieren" + } + } + } + }, + "Enable CDN64 for a proxy host" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "CDN64 für einen Proxy-Host aktivieren" + } + } + } + }, + "Enable host" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Host aktivieren" + } + } + } + }, + "Enable quiet hours" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ruhezeiten aktivieren" + } + } + } + }, + "Enabled" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aktiviert" + } + } + } + }, + "End" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ende" + } + } + } + }, + "Enter a single label without dots or spaces, e.g. homelab01." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib ein einzelnes Label ohne Punkte oder Leerzeichen ein, z. B. homelab01." + } + } + } + }, + "Enter a valid IPv4 or IPv6 address." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib eine gültige IPv4- oder IPv6-Adresse ein." + } + } + } + }, + "Enter a valid address, e.g. http://192.168.1.10:8080/api" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib eine gültige Adresse ein, z. B. http://192.168.1.10:8080/api" + } + } + } + }, + "Enter a valid address. HTTP works with an IP address (e.g. 192.168.1.10 or a public IP) or a local name." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib eine gültige Adresse ein. HTTP funktioniert mit einer IP-Adresse (z. B. 192.168.1.10 oder einer öffentlichen IP) oder einem lokalen Namen." + } + } + } + }, + "Enter a whole number (cannot be empty)." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib eine ganze Zahl ein (darf nicht leer sein)." + } + } + } + }, + "Enter at least one domain name." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib mindestens einen Domainnamen ein." + } + } + } + }, + "Enter the 6-digit code sent to “%@”." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib den 6-stelligen Code ein, der an „%@“ gesendet wurde." + } + } + } + }, + "Enter the conflict number shown on the node and choose which version to keep." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib die auf dem Node angezeigte Konfliktnummer ein und wähle, welche Version behalten werden soll." + } + } + } + }, + "Enter the redirect target." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib das Weiterleitungsziel ein." + } + } + } + }, + "Enter the status page ID (greater than 0)." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib die Statusseiten-ID ein (größer als 0)." + } + } + } + }, + "Enter the target host." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib den Ziel-Host ein." + } + } + } + }, + "Entries" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Einträge" + } + } + } + }, + "Error" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fehler" + } + } + } + }, + "Errors (5xx)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fehler (5xx)" + } + } + } + }, + "Events" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ereignisse" + } + } + } + }, + "Events (24 h / 7 d): %lld / %lld" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ereignisse (24 Std. / 7 T): %lld / %lld" + } + } + } + }, + "Events (24 h)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ereignisse (24 Std.)" + } + } + } + }, + "Events (7 d)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ereignisse (7 T)" + } + } + } + }, + "Events per day (7 days)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ereignisse pro Tag (7 Tage)" + } + } + } + }, + "Every JSON rule except exists / not exists needs a value." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Jede JSON-Regel außer „existiert“ / „existiert nicht“ braucht einen Wert." + } + } + } + }, + "Every JSON rule needs a path." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Jede JSON-Regel braucht einen Pfad." + } + } + } + }, + "Every header needs a name." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Jeder Header braucht einen Namen." + } + } + } + }, + "Execution" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ausführung" + } + } + } + }, + "Execution not changed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ausführung nicht geändert" + } + } + } + }, + "Expanded" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aufgeklappt" + } + } + } + }, + "Expected answer" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erwartete Antwort" + } + } + } + }, + "Expected e.g. 2001:db8:1234:5600::/56" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erwartet, z. B. 2001:db8:1234:5600::/56" + } + } + } + }, + "Expected interval" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erwartetes Intervall" + } + } + } + }, + "Expected interval is not a valid number." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erwartetes Intervall ist keine gültige Zahl." + } + } + } + }, + "Expected interval is the time between two pushes; the grace period is extra time before the check goes down." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Das erwartete Intervall ist die Zeit zwischen zwei Pushes; die Karenzzeit ist zusätzliche Zeit, bevor der Check offline geht." + } + } + } + }, + "Expected response start" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erwarteter Antwortbeginn" + } + } + } + }, + "Expected state" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erwarteter Status" + } + } + } + }, + "Expected values, one per line" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erwartete Werte, eine pro Zeile" + } + } + } + }, + "Expired" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Abgelaufen" + } + } + } + }, + "Expires %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Läuft ab %@" + } + } + } + }, + "Explanation and release request" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erklärung und Freigabeantrag" + } + } + } + }, + "Exploits" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Exploits" + } + } + } + }, + "Fail if certificate expires within" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fehlschlagen, wenn das Zertifikat abläuft innerhalb von" + } + } + } + }, + "Failed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fehlgeschlagen" + } + } + } + }, + "Failed checks" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fehlgeschlagene Checks" + } + } + } + }, + "Failover" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Failover" + } + } + } + }, + "Failover Monitors" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Failover-Monitore" + } + } + } + }, + "Failover Policies" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Failover-Richtlinien" + } + } + } + }, + "Failover Rules" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Failover-Regeln" + } + } + } + }, + "Family" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Familie" + } + } + } + }, + "Favorite Emoji" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Lieblings-Emoji" + } + } + } + }, + "Filter domains" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domains filtern" + } + } + } + }, + "Filter healthchecks" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Healthchecks filtern" + } + } + } + }, + "Filtering" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Filterung" + } + } + } + }, + "Find out whether a password was tried by attackers at Honeypot64 sensors. The password is hashed on your device (SHA-1) and only the first 5 characters of the hash are sent. The password itself never leaves your device." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Finde heraus, ob ein Passwort bei Honeypot64-Sensoren von Angreifern ausprobiert wurde. Das Passwort wird auf deinem Gerät gehasht (SHA-1) und nur die ersten 5 Zeichen des Hashs werden gesendet. Das Passwort selbst verlässt dein Gerät nie." + } + } + } + }, + "Fingerprints (JA4/HASSH)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fingerprints (JA4/HASSH)" + } + } + } + }, + "First seen" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zuerst gesehen" + } + } + } + }, + "Fixed IPv6 prefix" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fester IPv6-Präfix" + } + } + } + }, + "Flapping" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Instabil" + } + } + } + }, + "Flush" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Leeren" + } + } + } + }, + "Flush cache" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Cache leeren" + } + } + } + }, + "Follow redirects" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Weiterleitungen folgen" + } + } + } + }, + "For 1 hour" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Für 1 Stunde" + } + } + } + }, + "For 15 minutes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Für 15 Minuten" + } + } + } + }, + "For 30 minutes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Für 30 Minuten" + } + } + } + }, + "For 5 minutes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Für 5 Minuten" + } + } + } + }, + "Force HTTPS" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HTTPS erzwingen" + } + } + } + }, + "Force Refresh" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aktualisierung erzwingen" + } + } + } + }, + "Forget" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Entfernen" + } + } + } + }, + "Forget access" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zugriff entfernen" + } + } + } + }, + "Forget access?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zugriff entfernen?" + } + } + } + }, + "Found in attacks" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "In Angriffen gefunden" + } + } + } + }, + "Fri" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fr" + } + } + } + }, + "From" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Von" + } + } + } + }, + "From cache" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Cache" + } + } + } + }, + "From this many notifications they are combined into one." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ab dieser Anzahl an Benachrichtigungen werden sie zu einer zusammengefasst." + } + } + } + }, + "Full" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Vollständig" + } + } + } + }, + "General" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Allgemein" + } + } + } + }, + "German" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Deutsch" + } + } + } + }, + "Get a push notification on this device when a healthcheck goes down or recovers." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erhalte eine Push-Benachrichtigung auf diesem Gerät, wenn ein Healthcheck offline geht oder wieder online ist." + } + } + } + }, + "Grace period" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Karenzzeit" + } + } + } + }, + "Grace period is not a valid number." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Karenzzeit ist keine gültige Zahl." + } + } + } + }, + "Group" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gruppe" + } + } + } + }, + "HC 1" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 1" + } + } + } + }, + "HC 10" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 10" + } + } + } + }, + "HC 2" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 2" + } + } + } + }, + "HC 3" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 3" + } + } + } + }, + "HC 4" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 4" + } + } + } + }, + "HC 5" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 5" + } + } + } + }, + "HC 6" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 6" + } + } + } + }, + "HC 7" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 7" + } + } + } + }, + "HC 8" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 8" + } + } + } + }, + "HC 9" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 9" + } + } + } + }, + "HSTS" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HSTS" + } + } + } + }, + "HSTS for subdomains" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HSTS für Subdomains" + } + } + } + }, + "HTTP is only allowed for IP addresses and local names (e.g. nas.local). Use https:// for a domain." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HTTP ist nur für IP-Adressen und lokale Namen erlaubt (z. B. nas.local). Verwende https:// für eine Domain." + } + } + } + }, + "HTTP/2" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HTTP/2" + } + } + } + }, + "HTTP/3" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HTTP/3" + } + } + } + }, + "HTTPS forced" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HTTPS erzwungen" + } + } + } + }, + "Healthcheck" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Healthcheck" + } + } + } + }, + "Healthchecks" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Healthchecks" + } + } + } + }, + "Healthchecks Updates / 24h" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Healthcheck-Updates / 24 Std." + } + } + } + }, + "Healthchecks module is off on this node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Das Healthchecks-Modul ist auf diesem Node deaktiviert" + } + } + } + }, + "Healthy" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gesund" + } + } + } + }, + "Help" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Hilfe" + } + } + } + }, + "Hide" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ausblenden" + } + } + } + }, + "Hide password" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Passwort ausblenden" + } + } + } + }, + "Hit rate %@ %%" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Trefferquote %@ %%" + } + } + } + }, + "Honeypot" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Honeypot" + } + } + } + }, + "Host" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Host" + } + } + } + }, + "Host not found" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Host nicht gefunden" + } + } + } + }, + "Host not found or Monitor64 is off on this node." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Host nicht gefunden oder Monitor64 ist auf diesem Node deaktiviert." + } + } + } + }, + "Host unreachable" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Host nicht erreichbar" + } + } + } + }, + "Hostname, IPv4 or IPv6" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Hostname, IPv4 oder IPv6" + } + } + } + }, + "How do you log in to IPv64.net?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wie meldest du dich bei IPv64.net an?" + } + } + } + }, + "Hub" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Hub" + } + } + } + }, + "Hub URL" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Hub-URL" + } + } + } + }, + "IP address" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IP-Adresse" + } + } + } + }, + "IP differs" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IP weicht ab" + } + } + } + }, + "IP lookup & My IP" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IP-Lookup & Meine IP" + } + } + } + }, + "IP matches" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IP stimmt überein" + } + } + } + }, + "IP mode" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IP-Modus" + } + } + } + }, + "IP or TXT content" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IP oder TXT-Inhalt" + } + } + } + }, + "IP unknown" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IP unbekannt" + } + } + } + }, + "IPv4 address" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv4-Adresse" + } + } + } + }, + "IPv6 address" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv6-Adresse" + } + } + } + }, + "IPv6 prefix" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv6-Präfix" + } + } + } + }, + "IPv64 App (this device)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv64-App (dieses Gerät)" + } + } + } + }, + "IPv64 is of course not a new Internet Protocol (64), but simply a deduplicated short form of IPv6 and IPv4. On the IPv64 site you will find a Dynamic DNS service (DynDNS) and many other useful tools for your daily internet experience.\n\nWith the dynamic DNS service of IPv64 you can register and use free subdomains. The update of the domain is done automatically by your own router or alternative hardware / software. Besides updating IP addresses, simple Let's Encrypt DNS challenges are also possible.\n\nOwn domains can be added and benefit from all IPv64.net features like DynDNS services, GEO load balancing, DDoS protection, DynDNS2 and SSL encryption." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv64 ist natürlich kein neues Internetprotokoll (64), sondern einfach eine verdichtete Kurzform von IPv6 und IPv4. Auf der IPv64-Seite findest du einen Dynamic-DNS-Dienst (DynDNS) und viele weitere nützliche Tools für deinen täglichen Alltag im Internet.\n\nMit dem Dynamic-DNS-Dienst von IPv64 kannst du kostenlose Subdomains registrieren und nutzen. Die Aktualisierung der Domain erfolgt automatisch durch deinen eigenen Router oder alternative Hardware / Software. Neben dem Aktualisieren von IP-Adressen sind auch einfache Let's-Encrypt-DNS-Challenges möglich.\n\nEigene Domains können hinzugefügt werden und profitieren von allen Funktionen von IPv64.net wie DynDNS-Diensten, GEO-Loadbalancing, DDoS-Schutz, DynDNS2 und SSL-Verschlüsselung." + } + } + } + }, + "IPv64.net" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv64.net" + } + } + } + }, + "IPv64.net - A product of x64 GmbH\n\nInformation according to Section § 5 DDG\nx64 GmbH\nAm Eisenstein 10\n45470 Mülheim an der Ruhr\n\nEmail: info@ipv64.net\n\nRepresented by\nDennis Schröder (Managing Director)\n\nRegistry court: Amtsgericht Duisburg\nRegister number: HRB 35106\nUst-IdNr.: DE350434683" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv64.net - Ein Produkt der x64 GmbH\n\nAngaben gemäß § 5 DDG\nx64 GmbH\nAm Eisenstein 10\n45470 Mülheim an der Ruhr\n\nE-Mail: info@ipv64.net\n\nVertreten durch\nDennis Schröder (Geschäftsführer)\n\nRegistergericht: Amtsgericht Duisburg\nRegisternummer: HRB 35106\nUSt-IdNr.: DE350434683" + } + } + } + }, + "Ignore IPv4" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv4 ignorieren" + } + } + } + }, + "Ignore IPv6" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv6 ignorieren" + } + } + } + }, + "Ignore all" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Alle ignorieren" + } + } + } + }, + "Ignore certificate errors" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zertifikatsfehler ignorieren" + } + } + } + }, + "Ignored address family" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ignorierte Adressfamilie" + } + } + } + }, + "Ignored on DynDNS updates" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bei DynDNS-Updates ignoriert" + } + } + } + }, + "In review" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "In Prüfung" + } + } + } + }, + "In the version %@ (%@) are these changes implemented and bugs have been resolved:" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "In Version %@ (%@) sind diese Änderungen umgesetzt und Fehler behoben:" + } + } + } + }, + "Inactive" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Inaktiv" + } + } + } + }, + "Incidents" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Vorfälle" + } + } + } + }, + "Incidents could not be loaded" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Vorfälle konnten nicht geladen werden" + } + } + } + }, + "Information" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Information" + } + } + } + }, + "Interval" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Intervall" + } + } + } + }, + "Interval is not valid." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Intervall ist ungültig." + } + } + } + }, + "Interval must be 30 to 900 seconds." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Das Intervall muss zwischen 30 und 900 Sekunden liegen." + } + } + } + }, + "Interval must be at least 20 seconds." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Das Intervall muss mindestens 20 Sekunden betragen." + } + } + } + }, + "Interval: 30 to 900 seconds, empty = current node default" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Intervall: 30 bis 900 Sekunden, leer = aktueller Node-Standard" + } + } + } + }, + "Interval: 30 to 900 seconds, empty = node default" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Intervall: 30 bis 900 Sekunden, leer = Node-Standard" + } + } + } + }, + "Invalid or expired code." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ungültiger oder abgelaufener Code." + } + } + } + }, + "Invalid subdomain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ungültige Subdomain" + } + } + } + }, + "Invert result" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ergebnis umkehren" + } + } + } + }, + "JSON rules" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "JSON-Regeln" + } + } + } + }, + "Keep" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Behalten" + } + } + } + }, + "Keep checks as online checks" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Checks als Online-Checks behalten" + } + } + } + }, + "Keine Auswahl" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Auswahl" + } + } + } + }, + "Key" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Key" + } + } + } + }, + "Key in use" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Key in Verwendung" + } + } + } + }, + "Keyword" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keyword" + } + } + } + }, + "Keyword must be absent" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keyword darf nicht vorkommen" + } + } + } + }, + "Kind" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Art" + } + } + } + }, + "Language" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sprache" + } + } + } + }, + "Last %lld %@, latest: %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letzte %lld %@, aktuell: %@" + } + } + } + }, + "Last 24 hours" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letzte 24 Stunden" + } + } + } + }, + "Last check" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letzter Check" + } + } + } + }, + "Last error: %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letzter Fehler: %@" + } + } + } + }, + "Last login" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letzte Anmeldung" + } + } + } + }, + "Last push" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letzter Push" + } + } + } + }, + "Last report %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letzter Report %@" + } + } + } + }, + "Last seen" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zuletzt gesehen" + } + } + } + }, + "Last status" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letzter Status" + } + } + } + }, + "Last sync" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letzte Synchronisierung" + } + } + } + }, + "Last update" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letztes Update" + } + } + } + }, + "Last used: %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zuletzt verwendet: %@" + } + } + } + }, + "Latency" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Latenz" + } + } + } + }, + "Later" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Später" + } + } + } + }, + "Leave empty to keep the saved key." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Lass das Feld leer, um den gespeicherten Key zu behalten." + } + } + } + }, + "Let's go!" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Los geht’s!" + } + } + } + }, + "License: %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Lizenz: %@" + } + } + } + }, + "Line chart with %lld values, maximum %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Liniendiagramm mit %lld Werten, Maximum %@" + } + } + } + }, + "Link" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verknüpfen" + } + } + } + }, + "Link it to your account with the code from \"ipv64 link\"" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verknüpfe ihn mit deinem Account über den Code aus „ipv64 link“" + } + } + } + }, + "Link node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node verknüpfen" + } + } + } + }, + "Linked" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verknüpft" + } + } + } + }, + "Linking..." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verknüpfe …" + } + } + } + }, + "List URL" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Listen-URL" + } + } + } + }, + "List sizes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Listengrößen" + } + } + } + }, + "List token" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Listen-Token" + } + } + } + }, + "Listed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gelistet" + } + } + } + }, + "Listen" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Listen-Adresse" + } + } + } + }, + "Lists" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Listen" + } + } + } + }, + "Live" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Live" + } + } + } + }, + "Live access is not available for your account right now. The list URL serves the daily state." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Live-Zugriff ist für deinen Account derzeit nicht verfügbar. Die Listen-URL liefert den Tagesstand." + } + } + } + }, + "Load more" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Mehr laden" + } + } + } + }, + "Loading CDN64…" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "CDN64 wird geladen …" + } + } + } + }, + "Loading Proxy64…" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Proxy64 wird geladen …" + } + } + } + }, + "Loading domains…" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domains werden geladen …" + } + } + } + }, + "Loading healthchecks…" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Healthchecks werden geladen …" + } + } + } + }, + "Loading nodes…" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nodes werden geladen …" + } + } + } + }, + "Loading..." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wird geladen …" + } + } + } + }, + "Local DNS records" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Lokale DNS-Einträge" + } + } + } + }, + "Local or public IP (http, port 8080 added) or link (https); /api is added if missing." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Lokale oder öffentliche IP (http, Port 8080 wird ergänzt) oder Link (https); /api wird ergänzt, falls es fehlt." + } + } + } + }, + "Local version (node)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Lokale Version (Node)" + } + } + } + }, + "Location" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Standort" + } + } + } + }, + "Location (optional)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Standort (optional)" + } + } + } + }, + "Locations" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Standorte" + } + } + } + }, + "Locations (up to %lld)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Standorte (bis zu %lld)" + } + } + } + }, + "Lock screen" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sperrbildschirm" + } + } + } + }, + "Locked" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gesperrt" + } + } + } + }, + "Login" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anmelden" + } + } + } + }, + "Logins" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Logins" + } + } + } + }, + "Logout" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Abmelden" + } + } + } + }, + "Logs" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Logs" + } + } + } + }, + "Look up" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nachschlagen" + } + } + } + }, + "Maintenance" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wartung" + } + } + } + }, + "Makes this host reachable from the internet via the ipv64 CDN64 servers, over IPv4 and IPv6. The node builds a tunnel outwards; no port needs to be open at home." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Macht diesen Host über die ipv64-CDN64-Server per IPv4 und IPv6 aus dem Internet erreichbar. Der Node baut einen Tunnel nach außen auf; zu Hause muss kein Port geöffnet sein." + } + } + } + }, + "Manage at ipv64.net" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verwalten auf ipv64.net" + } + } + } + }, + "Managed by DNS failover. Change it in the failover policy." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wird vom DNS-Failover verwaltet. Ändere es in der Failover-Richtlinie." + } + } + } + }, + "Managed by the CDN. Change it in the CDN settings." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wird vom CDN verwaltet. Ändere es in den CDN-Einstellungen." + } + } + } + }, + "Manual DynDNS update" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Manuelles DynDNS-Update" + } + } + } + }, + "Masked header values can't be sent back; re-enter them when you change headers" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Maskierte Header-Werte können nicht zurückgesendet werden; gib sie erneut ein, wenn du Header änderst" + } + } + } + }, + "Max latency (0 = off)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Max. Latenz (0 = aus)" + } + } + } + }, + "Max latency must be a number of 0 or more." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die max. Latenz muss eine Zahl ab 0 sein." + } + } + } + }, + "Max packet loss" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Max. Paketverlust" + } + } + } + }, + "Max packet loss must be between 0 and 100." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der max. Paketverlust muss zwischen 0 und 100 liegen." + } + } + } + }, + "Max redirects" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Max. Weiterleitungen" + } + } + } + }, + "Max redirects must be a number between 0 and 50." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Max. Weiterleitungen muss eine Zahl zwischen 0 und 50 sein." + } + } + } + }, + "Maximum latency" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Maximale Latenz" + } + } + } + }, + "Measuring points" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Messpunkte" + } + } + } + }, + "Message" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nachricht" + } + } + } + }, + "Method" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Methode" + } + } + } + }, + "Minimum TLS" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Mindest-TLS" + } + } + } + }, + "Minimum TTL (0 = any)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Mindest-TTL (0 = beliebig)" + } + } + } + }, + "Minimum TTL must be a number of 0 or more." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Mindest-TTL muss eine Zahl ab 0 sein." + } + } + } + }, + "Minimum days must be between 0 and 3650." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Mindesttage müssen zwischen 0 und 3650 liegen." + } + } + } + }, + "Minimum remaining days" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Mindestanzahl verbleibender Tage" + } + } + } + }, + "Mode %lld" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Modus %lld" + } + } + } + }, + "Mode ?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Modus ?" + } + } + } + }, + "Mode: %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Modus: %@" + } + } + } + }, + "Modes 1 and 2 run on a Node64 with the Proxy64 module. Connect one under More → Nodes." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Modus 1 und 2 laufen auf einem Node64 mit dem Proxy64-Modul. Verbinde einen unter Mehr → Nodes." + } + } + } + }, + "Modules (%lld)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Module (%lld)" + } + } + } + }, + "Mon" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Mo" + } + } + } + }, + "Monitor64 host" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Monitor64-Host" + } + } + } + }, + "Monitor64 host on %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Monitor64-Host auf %@" + } + } + } + }, + "Monitor64 not available" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Monitor64 nicht verfügbar" + } + } + } + }, + "Monitors a server or device from %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Überwacht einen Server oder ein Gerät von %@ aus" + } + } + } + }, + "More" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Mehr" + } + } + } + }, + "More actions" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Weitere Aktionen" + } + } + } + }, + "Most attacked ports (7 days)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Am häufigsten angegriffene Ports (7 Tage)" + } + } + } + }, + "Most frequent attack kinds (7 days)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Häufigste Angriffsarten (7 Tage)" + } + } + } + }, + "Must be a number" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Muss eine Zahl sein" + } + } + } + }, + "My IPv4" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Meine IPv4" + } + } + } + }, + "My IPv6" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Meine IPv6" + } + } + } + }, + "Name" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Name" + } + } + } + }, + "Never expires" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Läuft nie ab" + } + } + } + }, + "New API key" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neuer API-Key" + } + } + } + }, + "New DNS record" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neuer DNS-Eintrag" + } + } + } + }, + "New Healthcheck" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neuer Healthcheck" + } + } + } + }, + "New Monitor64 host" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neuer Monitor64-Host" + } + } + } + }, + "New access" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neuer Zugang" + } + } + } + }, + "New channel" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neuer Kanal" + } + } + } + }, + "New domain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neue Domain" + } + } + } + }, + "New healthcheck" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neuer Healthcheck" + } + } + } + }, + "New proxy host" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neuer Proxy-Host" + } + } + } + }, + "New record" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neuer Eintrag" + } + } + } + }, + "New services" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neue Dienste" + } + } + } + }, + "New update URL" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neue Update-URL" + } + } + } + }, + "No" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nein" + } + } + } + }, + "No %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein %@" + } + } + } + }, + "No API keys yet." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Noch keine API-Keys." + } + } + } + }, + "No CDN64 servers" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine CDN64-Server" + } + } + } + }, + "No Camera Permission" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein Kamerazugriff" + } + } + } + }, + "No DNS records." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine DNS-Einträge." + } + } + } + }, + "No IP" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine IP" + } + } + } + }, + "No Information" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Angaben" + } + } + } + }, + "No Mode 3 names yet. Set them up on ipv64.net." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Noch keine Modus-3-Namen. Richte sie auf ipv64.net ein." + } + } + } + }, + "No User found" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein Benutzer gefunden" + } + } + } + }, + "No access" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein Zugang" + } + } + } + }, + "No access saved for this node." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Für diesen Node ist kein Zugang gespeichert." + } + } + } + }, + "No channels yet. Create one under Monitoring › Channels." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Noch keine Kanäle. Lege einen unter Monitoring › Kanäle an." + } + } + } + }, + "No channels yet. Tap + to add one." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Noch keine Kanäle. Tippe auf +, um einen hinzuzufügen." + } + } + } + }, + "No commands sent yet." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Noch keine Befehle gesendet." + } + } + } + }, + "No connected node has DNS64 enabled." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bei keinem verbundenen Node ist DNS64 aktiviert." + } + } + } + }, + "No data in this range." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Daten in diesem Zeitraum." + } + } + } + }, + "No default channel set. Checks without explicit channels notify default channels." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein Standardkanal festgelegt. Checks ohne ausdrückliche Kanäle benachrichtigen die Standardkanäle." + } + } + } + }, + "No direct connection to this node." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine direkte Verbindung zu diesem Node." + } + } + } + }, + "No domain selected." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Domain ausgewählt." + } + } + } + }, + "No domains of this kind" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Domains dieser Art" + } + } + } + }, + "No domains yet" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Noch keine Domains" + } + } + } + }, + "No entry" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein Eintrag" + } + } + } + }, + "No events" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Ereignisse" + } + } + } + }, + "No further details are available for IPs that are not listed." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Für nicht gelistete IPs sind keine weiteren Details verfügbar." + } + } + } + }, + "No healthchecks yet" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Noch keine Healthchecks" + } + } + } + }, + "No hosts." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Hosts." + } + } + } + }, + "No incidents" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Vorfälle" + } + } + } + }, + "No internet connection" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Internetverbindung" + } + } + } + }, + "No local DNS records yet." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Noch keine lokalen DNS-Einträge." + } + } + } + }, + "No local access stored for this node." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Für diesen Node ist kein lokaler Zugang gespeichert." + } + } + } + }, + "No logs found" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Logs gefunden" + } + } + } + }, + "No matching healthchecks" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine passenden Healthchecks" + } + } + } + }, + "No names in CDN64 yet." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Noch keine Namen in CDN64." + } + } + } + }, + "No node reachable" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein Node erreichbar" + } + } + } + }, + "No node with Proxy64 is reachable. Check the connection under More → Nodes." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein Node mit Proxy64 ist erreichbar. Prüfe die Verbindung unter Mehr → Nodes." + } + } + } + }, + "No nodes yet" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Noch keine Nodes" + } + } + } + }, + "No open problems" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine offenen Probleme" + } + } + } + }, + "No proxy node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein Proxy-Node" + } + } + } + }, + "No public IPv4 address found." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine öffentliche IPv4-Adresse gefunden." + } + } + } + }, + "No public IPv6 address found." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine öffentliche IPv6-Adresse gefunden." + } + } + } + }, + "No queries." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Anfragen." + } + } + } + }, + "No record selected." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein Eintrag ausgewählt." + } + } + } + }, + "No record was changed." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Es wurde kein Eintrag geändert." + } + } + } + }, + "No release" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Freigabe" + } + } + } + }, + "No reverse lookup (PTR)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein Reverse-Lookup (PTR)" + } + } + } + }, + "No traffic in this period." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein Traffic in diesem Zeitraum." + } + } + } + }, + "Node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node" + } + } + } + }, + "Node %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node %@" + } + } + } + }, + "Node ID" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node-ID" + } + } + } + }, + "Node URLs and API keys sync end-to-end encrypted through your iCloud Keychain." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node-URLs und API-Keys werden Ende-zu-Ende-verschlüsselt über deinen iCloud-Schlüsselbund synchronisiert." + } + } + } + }, + "Node could not be loaded" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node konnte nicht geladen werden" + } + } + } + }, + "Node error" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node-Fehler" + } + } + } + }, + "Node has not reported back yet" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node hat sich noch nicht gemeldet" + } + } + } + }, + "Node not reachable" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node nicht erreichbar" + } + } + } + }, + "Node not unlinked" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node nicht getrennt" + } + } + } + }, + "Node not visible yet" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node noch nicht sichtbar" + } + } + } + }, + "Node path" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node-Pfad" + } + } + } + }, + "Node unlinked" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node getrennt" + } + } + } + }, + "Node …" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node …" + } + } + } + }, + "Node: %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node: %@" + } + } + } + }, + "Nodes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nodes" + } + } + } + }, + "Nodes not available" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nodes nicht verfügbar" + } + } + } + }, + "None" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine" + } + } + } + }, + "None (HTTP only)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine (nur HTTP)" + } + } + } + }, + "None (add later)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine (später hinzufügen)" + } + } + } + }, + "None (public)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine (öffentlich)" + } + } + } + }, + "Not a Node64 API" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Node64-API" + } + } + } + }, + "Not a Node64 API — does the URL end in /api?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Node64-API – endet die URL auf /api?" + } + } + } + }, + "Not a local address" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine lokale Adresse" + } + } + } + }, + "Not a valid IPv4 address" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine gültige IPv4-Adresse" + } + } + } + }, + "Not a valid IPv6 address" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine gültige IPv6-Adresse" + } + } + } + }, + "Not available" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nicht verfügbar" + } + } + } + }, + "Not available on this node." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Auf diesem Node nicht verfügbar." + } + } + } + }, + "Not available on your plan" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "In deinem Tarif nicht verfügbar" + } + } + } + }, + "Not contributing" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nicht beteiligt" + } + } + } + }, + "Not found" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nicht gefunden" + } + } + } + }, + "Not listed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nicht gelistet" + } + } + } + }, + "Not public" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nicht öffentlich" + } + } + } + }, + "Not running" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Läuft nicht" + } + } + } + }, + "Not supported" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nicht unterstützt" + } + } + } + }, + "Not verified" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nicht bestätigt" + } + } + } + }, + "Notes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Notizen" + } + } + } + }, + "Notice" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Hinweis" + } + } + } + }, + "Notification" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigung" + } + } + } + }, + "Notification settings" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigungseinstellungen" + } + } + } + }, + "Notifications" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigungen" + } + } + } + }, + "Notifications & organisation" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigungen & Organisation" + } + } + } + }, + "Notifications are allowed." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigungen sind erlaubt." + } + } + } + }, + "Notifications are disabled" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigungen sind deaktiviert" + } + } + } + }, + "Notifications are held back during these hours." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "In diesen Stunden werden Benachrichtigungen zurückgehalten." + } + } + } + }, + "Notifications are not allowed yet, so the test push won't be shown." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigungen sind noch nicht erlaubt, daher wird der Test-Push nicht angezeigt." + } + } + } + }, + "Notifications are turned off for IPv64.net. Turn them on in the system settings." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigungen sind für IPv64.net ausgeschaltet. Schalte sie in den Systemeinstellungen ein." + } + } + } + }, + "Notifications per hour" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigungen pro Stunde" + } + } + } + }, + "Notify all channels marked as default" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Alle als Standard markierten Kanäle benachrichtigen" + } + } + } + }, + "Notify degraded" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bei Beeinträchtigung benachrichtigen" + } + } + } + }, + "Notify down" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bei Offline benachrichtigen" + } + } + } + }, + "Notify up" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bei Online benachrichtigen" + } + } + } + }, + "Notify when a check goes down" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigen, wenn ein Check offline geht" + } + } + } + }, + "Notify when a check recovers" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigen, wenn ein Check wieder online ist" + } + } + } + }, + "Notify when back up" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigen, wenn wieder online" + } + } + } + }, + "Notify when degraded" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigen bei Beeinträchtigung" + } + } + } + }, + "Notify when down" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benachrichtigen, wenn offline" + } + } + } + }, + "OK" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "OK" + } + } + } + }, + "Off" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aus" + } + } + } + }, + "Offline" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Offline" + } + } + } + }, + "Offline · Showing previously loaded data" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Offline · Zuvor geladene Daten werden angezeigt" + } + } + } + }, + "On node %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Auf Node %@" + } + } + } + }, + "One per line" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Eine pro Zeile" + } + } + } + }, + "Online" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Online" + } + } + } + }, + "Online (%@)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Online (%@)" + } + } + } + }, + "Online (%@) + node %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Online (%@) + Node %@" + } + } + } + }, + "Online + node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Online + Node" + } + } + } + }, + "Only ports reported by at least two accounts are shown." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Es werden nur Ports angezeigt, die von mindestens zwei Accounts gemeldet wurden." + } + } + } + }, + "Only this node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nur dieser Node" + } + } + } + }, + "Only this node: the record is never synced in a cluster." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nur dieser Node: Der Eintrag wird in einem Cluster nie synchronisiert." + } + } + } + }, + "Open" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Offen" + } + } + } + }, + "Open \"ipv64 link\" on your Node64 to get an 8-character code. After linking, the node fetches its access token by itself." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Führe „ipv64 link“ auf deinem Node64 aus, um einen 8-stelligen Code zu erhalten. Nach dem Verknüpfen holt sich der Node seinen Zugriffs-Token selbst." + } + } + } + }, + "Open Settings" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Einstellungen öffnen" + } + } + } + }, + "Open in browser" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Im Browser öffnen" + } + } + } + }, + "Open incident" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Offener Vorfall" + } + } + } + }, + "Open module" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Modul öffnen" + } + } + } + }, + "Open settings" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Einstellungen öffnen" + } + } + } + }, + "Operator" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Operator" + } + } + } + }, + "Options" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Optionen" + } + } + } + }, + "Or use host:port as target" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Oder host:port als Ziel verwenden" + } + } + } + }, + "Origin of blocklist IPs" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Herkunft der Blocklist-IPs" + } + } + } + }, + "Otherwise all rules must match" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Andernfalls müssen alle Regeln zutreffen" + } + } + } + }, + "Outbox" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Postausgang" + } + } + } + }, + "Over http:// a name must resolve to an address in your local network. Use the node's IP address or its https:// address." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Über http:// muss ein Name zu einer Adresse in deinem lokalen Netzwerk aufgelöst werden. Verwende die IP-Adresse des Nodes oder seine https://-Adresse." + } + } + } + }, + "Overall rule" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gesamtregel" + } + } + } + }, + "Overview" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Übersicht" + } + } + } + }, + "Own" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Eigene" + } + } + } + }, + "Own Domain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Eigene Domain" + } + } + } + }, + "Own domain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Eigene Domain" + } + } + } + }, + "PROXY64 asks for a sign-in on this address, so the API key never reaches the node. Use the node's local IP, or give the path /api its own open access list in the PROXY64 host (the node's API key still protects it)." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "PROXY64 verlangt unter dieser Adresse eine Anmeldung, daher erreicht der API-Key den Node nie. Verwende die lokale IP des Nodes oder gib dem Pfad /api im PROXY64-Host eine eigene offene Zugriffsliste (der API-Key des Nodes schützt ihn weiterhin)." + } + } + } + }, + "Packet count must be between 1 and 20." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Paketanzahl muss zwischen 1 und 20 liegen." + } + } + } + }, + "Packets" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pakete" + } + } + } + }, + "Pass through (default)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Durchreichen (Standard)" + } + } + } + }, + "Password" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Passwort" + } + } + } + }, + "Password check" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Passwort-Check" + } + } + } + }, + "Passwords" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Passwörter" + } + } + } + }, + "Path" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pfad" + } + } + } + }, + "Paths" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pfade" + } + } + } + }, + "Pattern" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Muster" + } + } + } + }, + "Pause" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pausieren" + } + } + } + }, + "Pause blocking" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blocking pausieren" + } + } + } + }, + "Pause blocking?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blocking pausieren?" + } + } + } + }, + "Pause check" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Check pausieren" + } + } + } + }, + "Pause live update" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Live-Aktualisierung pausieren" + } + } + } + }, + "Paused" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pausiert" + } + } + } + }, + "Paused until resumed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pausiert, bis es fortgesetzt wird" + } + } + } + }, + "Paused · %lld min left (until %@)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pausiert · noch %lld Min. (bis %@)" + } + } + } + }, + "Paused · %lld s left (until %@)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pausiert · noch %lld s (bis %@)" + } + } + } + }, + "Pending" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ausstehend" + } + } + } + }, + "Period" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zeitraum" + } + } + } + }, + "Plan valid until" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tarif gültig bis" + } + } + } + }, + "Please allow camera access in Settings to use this feature." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erlaube den Kamerazugriff in den Einstellungen, um diese Funktion zu nutzen." + } + } + } + }, + "Please enter a DNS server." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib einen DNS-Server ein." + } + } + } + }, + "Please enter a keyword." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib ein Stichwort ein." + } + } + } + }, + "Please enter a name." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib einen Namen ein." + } + } + } + }, + "Please enter a port or use host:port as target." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib einen Port ein oder verwende host:port als Ziel." + } + } + } + }, + "Please enter a target." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib ein Ziel ein." + } + } + } + }, + "Please enter an address." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib eine Adresse ein." + } + } + } + }, + "Please enter the expected value(s)." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib den erwarteten Wert bzw. die erwarteten Werte ein." + } + } + } + }, + "Please fill the DNS value field!" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fülle das DNS-Wert-Feld aus!" + } + } + } + }, + "Please use %@ to unlock the app" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verwende %@, um die App zu entsperren" + } + } + } + }, + "Policy" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Richtlinie" + } + } + } + }, + "Port" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Port" + } + } + } + }, + "Port must be a number." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Port muss eine Zahl sein." + } + } + } + }, + "Port must be between 1 and 65535." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Port muss zwischen 1 und 65535 liegen." + } + } + } + }, + "Prefix" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Präfix" + } + } + } + }, + "Prefix (optional)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Präfix (optional)" + } + } + } + }, + "Preserve path" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pfad beibehalten" + } + } + } + }, + "Problems" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Probleme" + } + } + } + }, + "Profile" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Profil" + } + } + } + }, + "Profile: %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Profil: %@" + } + } + } + }, + "Proxy" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Proxy" + } + } + } + }, + "Proxy host" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Proxy-Host" + } + } + } + }, + "Proxy64 chart" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Proxy64-Diagramm" + } + } + } + }, + "Push" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Push" + } + } + } + }, + "Push URL" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Push-URL" + } + } + } + }, + "Push endpoints" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Push-Endpunkte" + } + } + } + }, + "Push notifications" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Push-Benachrichtigungen" + } + } + } + }, + "Push notifications to the IPv64 app are not supported by the server yet. You can skip this step." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Push-Benachrichtigungen an die IPv64-App werden vom Server noch nicht unterstützt. Du kannst diesen Schritt überspringen." + } + } + } + }, + "Queries" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anfragen" + } + } + } + }, + "Queries over time" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anfragen im Zeitverlauf" + } + } + } + }, + "Query log" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Query-Log" + } + } + } + }, + "Queued – you should get a push shortly." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "In der Warteschlange – du solltest in Kürze einen Push erhalten." + } + } + } + }, + "Quiet hours" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ruhezeiten" + } + } + } + }, + "Range" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bereich" + } + } + } + }, + "Rankings and lists need at least %lld reporting accounts." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ranglisten und Listen benötigen mindestens %lld meldende Accounts." + } + } + } + }, + "Rate limit and batching" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ratenlimit und Bündelung" + } + } + } + }, + "Read access, the node does not accept commands." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Lesezugriff, der Node nimmt keine Befehle an." + } + } + } + }, + "Read only" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nur Lesen" + } + } + } + }, + "Reason" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Grund" + } + } + } + }, + "Receive healthcheck alerts as push notifications on this device." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Empfange Healthcheck-Alarme als Push-Benachrichtigungen auf diesem Gerät." + } + } + } + }, + "Recent checks" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letzte Checks" + } + } + } + }, + "Recent events" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letzte Ereignisse" + } + } + } + }, + "Record" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Eintrag" + } + } + } + }, + "Record type" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Eintragstyp" + } + } + } + }, + "Redirect" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Weiterleitung" + } + } + } + }, + "Redirect code" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Weiterleitungscode" + } + } + } + }, + "Redirect scheme" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Weiterleitungsschema" + } + } + } + }, + "Redirect target" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Weiterleitungsziel" + } + } + } + }, + "Refreshed in background" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Im Hintergrund aktualisiert" + } + } + } + }, + "Register this device" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dieses Gerät registrieren" + } + } + } + }, + "Register this device first." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Registriere zuerst dieses Gerät." + } + } + } + }, + "Registered as “%@”." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Registriert als „%@“." + } + } + } + }, + "Registered since" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Registriert seit" + } + } + } + }, + "Registering this device..." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dieses Gerät wird registriert..." + } + } + } + }, + "Rejected" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Abgewiesen" + } + } + } + }, + "Release" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Freigabe" + } + } + } + }, + "Release valid until" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Freigabe gültig bis" + } + } + } + }, + "Released" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Freigegeben" + } + } + } + }, + "Reminder" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erinnerung" + } + } + } + }, + "Remote management" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fernverwaltung" + } + } + } + }, + "Remote management is off." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Fernverwaltung ist aus." + } + } + } + }, + "Remote: %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Remote: %@" + } + } + } + }, + "Remove all cached DNS answers on this node? The next queries are answered by the upstream servers." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Alle zwischengespeicherten DNS-Antworten auf diesem Node entfernen? Die nächsten Anfragen beantworten die Upstream-Server." + } + } + } + }, + "Remove header" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Header entfernen" + } + } + } + }, + "Remove rule" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Regel entfernen" + } + } + } + }, + "Repair" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Reparieren" + } + } + } + }, + "Repeat reminder" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erinnerung wiederholen" + } + } + } + }, + "Replaced by failover" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Durch Failover ersetzt" + } + } + } + }, + "Reporting accounts" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Meldende Accounts" + } + } + } + }, + "Reports: %lld" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Meldungen: %lld" + } + } + } + }, + "Request body" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anfrage-Body" + } + } + } + }, + "Request failed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anfrage fehlgeschlagen" + } + } + } + }, + "Requested paths" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Angefragte Pfade" + } + } + } + }, + "Requests" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anfragen" + } + } + } + }, + "Requests and traffic" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anfragen und Traffic" + } + } + } + }, + "Requests and traffic of your proxy hosts for the last 24 hours or 7 days, per node." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anfragen und Traffic deiner Proxy-Hosts der letzten 24 Stunden oder 7 Tage, pro Node." + } + } + } + }, + "Requests answered" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Beantwortete Anfragen" + } + } + } + }, + "Require DNSSEC" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNSSEC erforderlich" + } + } + } + }, + "Required" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erforderlich" + } + } + } + }, + "Resend code" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Code erneut senden" + } + } + } + }, + "Resend code (%lld s)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Code erneut senden (%lld s)" + } + } + } + }, + "Reset" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zurücksetzen" + } + } + } + }, + "Reset domain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domain zurücksetzen" + } + } + } + }, + "Reset domain?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domain zurücksetzen?" + } + } + } + }, + "Resolve" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erledigen" + } + } + } + }, + "Resolve conflict" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Konflikt lösen" + } + } + } + }, + "Resolved incident" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Behobener Vorfall" + } + } + } + }, + "Resolver" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Resolver" + } + } + } + }, + "Result" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ergebnis" + } + } + } + }, + "Resume" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fortsetzen" + } + } + } + }, + "Resume check" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Check fortsetzen" + } + } + } + }, + "Resume live update" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Live-Aktualisierung fortsetzen" + } + } + } + }, + "Retries" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wiederholungen" + } + } + } + }, + "Retries must be between 0 and 10." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Wiederholungen müssen zwischen 0 und 10 liegen." + } + } + } + }, + "Retry" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erneut versuchen" + } + } + } + }, + "Retry interval" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wiederholungsintervall" + } + } + } + }, + "Retry interval must be at least 5 seconds." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Das Wiederholungsintervall muss mindestens 5 Sekunden betragen." + } + } + } + }, + "Rotate" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erneuern" + } + } + } + }, + "Rotate update token" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Update-Token erneuern" + } + } + } + }, + "Rotate update token?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Update-Token erneuern?" + } + } + } + }, + "Run check" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Check ausführen" + } + } + } + }, + "Run failed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ausführung fehlgeschlagen" + } + } + } + }, + "Run finished: OK" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ausführung beendet: OK" + } + } + } + }, + "Run not queued" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ausführung nicht eingeplant" + } + } + } + }, + "Run now" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Jetzt ausführen" + } + } + } + }, + "Run queued" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Lauf eingeplant" + } + } + } + }, + "Running" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Läuft" + } + } + } + }, + "Running since" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Läuft seit" + } + } + } + }, + "Runs from ipv64.net locations" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Läuft von ipv64.net-Standorten aus" + } + } + } + }, + "Runs locally on %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Läuft lokal auf %@" + } + } + } + }, + "Runs on" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Läuft auf" + } + } + } + }, + "SMS Limit / 24h" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "SMS-Limit / 24 Std." + } + } + } + }, + "SSL %lld days" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "SSL %lld Tage" + } + } + } + }, + "SSL expired" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "SSL abgelaufen" + } + } + } + }, + "SSL missing" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "SSL fehlt" + } + } + } + }, + "SSL ok" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "SSL ok" + } + } + } + }, + "Sat" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sa" + } + } + } + }, + "Save" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Speichern" + } + } + } + }, + "Schedule" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zeitplan" + } + } + } + }, + "Scheme" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Schema" + } + } + } + }, + "Score" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Score" + } + } + } + }, + "Screenshot protection" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Screenshot-Schutz" + } + } + } + }, + "Screenshot protection is on" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Screenshot-Schutz ist aktiv" + } + } + } + }, + "Secret" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Secret" + } + } + } + }, + "Secure storage unavailable" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sicherer Speicher nicht verfügbar" + } + } + } + }, + "Security" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sicherheit" + } + } + } + }, + "Select a node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node auswählen" + } + } + } + }, + "Select a node." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wähle einen Node aus." + } + } + } + }, + "Select at least one channel or use the default channels." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wähle mindestens einen Kanal aus oder verwende die Standardkanäle." + } + } + } + }, + "Select at least one day." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wähle mindestens einen Tag aus." + } + } + } + }, + "Select at least one location." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wähle mindestens einen Standort aus." + } + } + } + }, + "Select node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node auswählen" + } + } + } + }, + "Selected" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ausgewählt" + } + } + } + }, + "Selected channels" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ausgewählte Kanäle" + } + } + } + }, + "Send" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Senden" + } + } + } + }, + "Send a test" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Test senden" + } + } + } + }, + "Send a test notification to “%@” now?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Jetzt eine Testbenachrichtigung an „%@“ senden?" + } + } + } + }, + "Send code" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Code senden" + } + } + } + }, + "Send test" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Test senden" + } + } + } + }, + "Send test notification" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Testbenachrichtigung senden" + } + } + } + }, + "Sensors" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sensoren" + } + } + } + }, + "Sensors online" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sensoren online" + } + } + } + }, + "Sent – you should get a push now." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gesendet – du solltest jetzt eine Push-Benachrichtigung erhalten." + } + } + } + }, + "Series" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Datenreihe" + } + } + } + }, + "Server" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Server" + } + } + } + }, + "Server name (SNI)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Servername (SNI)" + } + } + } + }, + "Server version (ipv64.net)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Serverversion (ipv64.net)" + } + } + } + }, + "Servers: %lld of %lld connected" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Server: %1$lld von %2$lld verbunden" + } + } + } + }, + "Service charts" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Service-Diagramme" + } + } + } + }, + "Services" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Services" + } + } + } + }, + "Set A and AAAA records to current IP?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "A- und AAAA-Einträge auf aktuelle IP setzen?" + } + } + } + }, + "Set A-Record to current IP?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "A-Eintrag auf aktuelle IP setzen?" + } + } + } + }, + "Set AAAA-Record to current IP?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "AAAA-Eintrag auf aktuelle IP setzen?" + } + } + } + }, + "Set up direct access" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Direktzugriff einrichten" + } + } + } + }, + "Set up direct access to switch modules." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Richte den Direktzugriff ein, um Module umzuschalten." + } + } + } + }, + "Set up push notifications" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Push-Benachrichtigungen einrichten" + } + } + } + }, + "Set – leave empty to keep" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gesetzt – leer lassen zum Beibehalten" + } + } + } + }, + "Sets the A/AAAA records of %@. Leave both addresses empty to use the address the request comes from. Only public addresses are accepted; missing records are created." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Setzt die A/AAAA-Einträge von %@. Lass beide Adressen leer, um die Adresse zu verwenden, von der die Anfrage kommt. Es werden nur öffentliche Adressen akzeptiert; fehlende Einträge werden angelegt." + } + } + } + }, + "Settings" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Einstellungen" + } + } + } + }, + "Share" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Teilen" + } + } + } + }, + "Show" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anzeigen" + } + } + } + }, + "Show QR Scanner" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "QR-Scanner anzeigen" + } + } + } + }, + "Show all logs" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Alle Logs anzeigen" + } + } + } + }, + "Show fewer logs" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Weniger Logs anzeigen" + } + } + } + }, + "Show header values" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Header-Werte anzeigen" + } + } + } + }, + "Show list token" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Listen-Token anzeigen" + } + } + } + }, + "Show list token?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Listen-Token anzeigen?" + } + } + } + }, + "Show password" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Passwort anzeigen" + } + } + } + }, + "Show token" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Token anzeigen" + } + } + } + }, + "Since" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Seit" + } + } + } + }, + "Since %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Seit %@" + } + } + } + }, + "Skip" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Überspringen" + } + } + } + }, + "Skip chain validation" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kettenprüfung überspringen" + } + } + } + }, + "Skip hostname validation" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Hostnamen-Prüfung überspringen" + } + } + } + }, + "Slow" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Langsam" + } + } + } + }, + "Source" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quelle" + } + } + } + }, + "Sources" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quellen" + } + } + } + }, + "Sources (24 h / 7 d): %lld / %lld" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quellen (24 Std. / 7 T): %1$lld / %2$lld" + } + } + } + }, + "Sources (24 h)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quellen (24 Std.)" + } + } + } + }, + "Sources (7 d)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quellen (7 T)" + } + } + } + }, + "Stabilize" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Stabilisierung" + } + } + } + }, + "Stabilize must be between 1 and 20." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Stabilisierung muss zwischen 1 und 20 liegen." + } + } + } + }, + "Stacked bar chart with %lld bars, maximum %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gestapeltes Balkendiagramm mit %1$lld Balken, Maximum %2$@" + } + } + } + }, + "Stale served" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Veraltet ausgeliefert" + } + } + } + }, + "Start" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Start" + } + } + } + }, + "Started" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gestartet" + } + } + } + }, + "State" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zustand" + } + } + } + }, + "Statistics" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Statistiken" + } + } + } + }, + "Statistics could not be loaded" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Statistiken konnten nicht geladen werden" + } + } + } + }, + "Status" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Status" + } + } + } + }, + "Status page" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Statusseite" + } + } + } + }, + "Status page ID" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Statusseiten-ID" + } + } + } + }, + "Subdomain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Subdomain" + } + } + } + }, + "Successfully logged out." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erfolgreich abgemeldet." + } + } + } + }, + "Sun" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "So" + } + } + } + }, + "Swipe for action" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wischen für Aktionen" + } + } + } + }, + "Swipe on a Healthcheck to do delete or start/pause the Healthcheck" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wische auf einem Healthcheck, um ihn zu löschen oder zu starten bzw. zu pausieren" + } + } + } + }, + "Sync with iCloud" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Mit iCloud synchronisieren" + } + } + } + }, + "System" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "System" + } + } + } + }, + "System Logs" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Systemlogs" + } + } + } + }, + "TLS passthrough" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "TLS-Passthrough" + } + } + } + }, + "TTL" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "TTL" + } + } + } + }, + "TTL (seconds, optional)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "TTL (Sekunden, optional)" + } + } + } + }, + "Tags" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tags" + } + } + } + }, + "Tags, comma-separated" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tags, durch Komma getrennt" + } + } + } + }, + "Tap + to link a node with the code your Node64 shows under \"ipv64 link\", or connect to one directly." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tippe auf +, um einen Node mit dem Code zu verknüpfen, den dein Node64 unter „ipv64 link“ anzeigt, oder verbinde dich direkt mit einem." + } + } + } + }, + "Target" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ziel" + } + } + } + }, + "Target host" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zielhost" + } + } + } + }, + "Target port" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zielport" + } + } + } + }, + "Terminate on the servers" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Auf den Servern beenden" + } + } + } + }, + "Test connection" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbindung testen" + } + } + } + }, + "Test not sent" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Test nicht gesendet" + } + } + } + }, + "Test queued" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Test eingereiht" + } + } + } + }, + "Test sent" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Test gesendet" + } + } + } + }, + "The API key contains invalid characters." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der API-Key enthält ungültige Zeichen." + } + } + } + }, + "The API key is sent unencrypted over the internet. Use https:// or a VPN if you can." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der API-Key wird unverschlüsselt über das Internet gesendet. Verwende nach Möglichkeit https:// oder ein VPN." + } + } + } + }, + "The App for the Free DynDNS2 Service from Dennis Schröder" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die App für den kostenlosen DynDNS2-Service von Dennis Schröder" + } + } + } + }, + "The DynDNS IP check no longer counts CDN and failover records, so CDN domains no longer show a different IP." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die DynDNS-IP-Prüfung zählt keine CDN- und Failover-Einträge mehr, CDN-Domains zeigen also keine abweichende IP mehr an." + } + } + } + }, + "The access token of \"%@\" is revoked. The node keeps running standalone but no longer syncs with ipv64.net. This cannot be undone." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Zugriffstoken von „%@“ wird widerrufen. Der Node läuft eigenständig weiter, synchronisiert sich aber nicht mehr mit ipv64.net. Das kann nicht rückgängig gemacht werden." + } + } + } + }, + "The address and API key are removed from this device. The node itself is not changed." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Adresse und API-Key werden von diesem Gerät entfernt. Der Node selbst bleibt unverändert." + } + } + } + }, + "The address and API key of \"%@\" are removed from this device. The node itself is not changed." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Adresse und API-Key von „%@“ werden von diesem Gerät entfernt. Der Node selbst bleibt unverändert." + } + } + } + }, + "The address answered, but not like a Node64 API. Check the URL (it usually ends in /api)." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Adresse hat geantwortet, aber nicht wie eine Node64-API. Prüfe die URL (sie endet meist auf /api)." + } + } + } + }, + "The app is now also available in German." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die App gibt es jetzt auch auf Deutsch." + } + } + } + }, + "The app selected the first available user in the list." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die App hat den ersten verfügbaren Benutzer in der Liste ausgewählt." + } + } + } + }, + "The checks of this node are not continued and will be deleted." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Checks dieses Nodes werden nicht fortgeführt und gelöscht." + } + } + } + }, + "The code was not accepted." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Code wurde nicht akzeptiert." + } + } + } + }, + "The host can no longer be queried through this access." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Host kann über diesen Zugang nicht mehr abgefragt werden." + } + } + } + }, + "The key is sent unencrypted on your local network." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Key wird unverschlüsselt in deinem lokalen Netzwerk gesendet." + } + } + } + }, + "The name can have at most 100 characters." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Name darf höchstens 100 Zeichen lang sein." + } + } + } + }, + "The network connection appears to be offline. \nPlease check your connection." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Netzwerkverbindung scheint offline zu sein. \nBitte prüfe deine Verbindung." + } + } + } + }, + "The node answered with HTTP %lld." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node hat mit HTTP %lld geantwortet." + } + } + } + }, + "The node at this address reports the ID %@ instead of %@. The connection was saved anyway — check the address if this is unexpected." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node unter dieser Adresse meldet die ID %1$@ statt %2$@. Die Verbindung wurde trotzdem gespeichert – prüfe die Adresse, falls das unerwartet ist." + } + } + } + }, + "The node did not report its ID. Update Node64 and try again." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node hat seine ID nicht gemeldet. Aktualisiere Node64 und versuche es erneut." + } + } + } + }, + "The node fetches its token itself. This usually takes less than a minute." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node holt sich seinen Token selbst. Das dauert meist weniger als eine Minute." + } + } + } + }, + "The node has not fetched its token yet. Make sure it is online and has internet access, then pull down to refresh." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node hat seinen Token noch nicht abgeholt. Stelle sicher, dass er online ist und Internetzugang hat, und ziehe dann zum Aktualisieren nach unten." + } + } + } + }, + "The node has not reported back yet. It runs the command as soon as it syncs. Open the command history later to see the result." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node hat sich noch nicht zurückgemeldet. Er führt den Befehl aus, sobald er synchronisiert. Öffne später den Befehlsverlauf, um das Ergebnis zu sehen." + } + } + } + }, + "The node is offline. Commands are picked up when it reconnects." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node ist offline. Befehle werden abgeholt, sobald er sich wieder verbindet." + } + } + } + }, + "The node keeps running standalone." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node läuft eigenständig weiter." + } + } + } + }, + "The node rejected the API key (HTTP %lld)." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node hat den API-Key abgelehnt (HTTP %lld)." + } + } + } + }, + "The node reported an error." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node hat einen Fehler gemeldet." + } + } + } + }, + "The node returned no data for this host." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node hat keine Daten für diesen Host geliefert." + } + } + } + }, + "The node's HTTPS certificate is not trusted by this device. Use the node's local http:// address or a valid certificate." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Das HTTPS-Zertifikat des Nodes wird von diesem Gerät nicht als vertrauenswürdig eingestuft. Verwende die lokale http://-Adresse des Nodes oder ein gültiges Zertifikat." + } + } + } + }, + "The port must be between 1 and 65535." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Port muss zwischen 1 und 65535 liegen." + } + } + } + }, + "The selected channel no longer exists." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der ausgewählte Kanal existiert nicht mehr." + } + } + } + }, + "The server describes app channels in a format this app version does not know. Please update the app or add this device at ipv64.net." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Server beschreibt App-Kanäle in einem Format, das diese App-Version nicht kennt. Bitte aktualisiere die App oder füge dieses Gerät auf ipv64.net hinzu." + } + } + } + }, + "The server did not return the key. Delete it and try again." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Server hat den Key nicht zurückgegeben. Lösche ihn und versuche es erneut." + } + } + } + }, + "The server did not send the test notification." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Server hat die Testbenachrichtigung nicht gesendet." + } + } + } + }, + "The server did not send the test notification. Please check the channel settings." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Server hat die Testbenachrichtigung nicht gesendet. Bitte prüfe die Kanaleinstellungen." + } + } + } + }, + "The server did not unlink the node. Please try again." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Server hat die Verknüpfung des Nodes nicht aufgehoben. Bitte versuche es erneut." + } + } + } + }, + "The server requires the setting \"%@\" for app channels. Please add this device at ipv64.net." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Server verlangt für App-Kanäle die Einstellung „%@“. Bitte füge dieses Gerät auf ipv64.net hinzu." + } + } + } + }, + "The server returned no results per IP." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Server hat keine Ergebnisse pro IP zurückgegeben." + } + } + } + }, + "The servers decrypt (own certificate) and filter there: blocklists, limits, HTTP/3. Good for small uploads. Not with TLS passthrough." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Server entschlüsseln (eigenes Zertifikat) und filtern dort: Blocklisten, Limits, HTTP/3. Gut für kleine Uploads. Nicht mit TLS-Passthrough." + } + } + } + }, + "The servers go directly to your target without a tunnel — it must be reachable from the internet. Set up on the website:" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Server greifen ohne Tunnel direkt auf dein Ziel zu – es muss aus dem Internet erreichbar sein. Einrichtung auf der Website:" + } + } + } + }, + "The servers only pass the encrypted connection through; it is decrypted in your node. The right choice for almost everything." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Server leiten die verschlüsselte Verbindung nur durch; sie wird in deinem Node entschlüsselt. Die richtige Wahl für fast alles." + } + } + } + }, + "The settings of this channel type can only be changed at ipv64.net." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Einstellungen dieses Kanaltyps können nur auf ipv64.net geändert werden." + } + } + } + }, + "The test notification was queued at the node." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Testbenachrichtigung wurde beim Node eingereiht." + } + } + } + }, + "The test notification was sent." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Testbenachrichtigung wurde gesendet." + } + } + } + }, + "The test run did not finish within 60 seconds. Check the healthcheck details later to see whether the change was applied." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Testlauf wurde nicht innerhalb von 60 Sekunden beendet. Prüfe später die Healthcheck-Details, ob die Änderung übernommen wurde." + } + } + } + }, + "The test run expired before it finished." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Testlauf ist abgelaufen, bevor er beendet wurde." + } + } + } + }, + "The test run failed, so the check keeps its previous settings. Other changes were saved." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Testlauf ist fehlgeschlagen, daher behält der Check seine bisherigen Einstellungen. Andere Änderungen wurden gespeichert." + } + } + } + }, + "The test run failed. The change was not applied." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Testlauf ist fehlgeschlagen. Die Änderung wurde nicht übernommen." + } + } + } + }, + "The update token was rotated. The old update URL no longer works. Enter the new URL in your router or update script." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Update-Token wurde erneuert. Die alte Update-URL funktioniert nicht mehr. Trage die neue URL in deinem Router oder Update-Skript ein." + } + } + } + }, + "This API key does not belong to an active account." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dieser API-Key gehört zu keinem aktiven Account." + } + } + } + }, + "This address belongs to another node (%@). Forget the direct connection and connect again." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese Adresse gehört zu einem anderen Node (%@). Entferne die Direktverbindung und verbinde dich erneut." + } + } + } + }, + "This app" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese App" + } + } + } + }, + "This app uses the API key \"%@\"." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese App verwendet den API-Key „%@“." + } + } + } + }, + "This app uses this key and cannot delete it." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese App verwendet diesen Key und kann ihn nicht löschen." + } + } + } + }, + "This app uses your account key." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese App verwendet deinen Account-Key." + } + } + } + }, + "This app was created with the help of the Raspberry Pi Cloud community. All rights reserved by Dennis Schröder." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese App wurde mit Hilfe der Raspberry-Pi-Cloud-Community erstellt. Alle Rechte vorbehalten von Dennis Schröder." + } + } + } + }, + "This app's key type is unknown." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Key-Typ dieser App ist unbekannt." + } + } + } + }, + "This change replaces the record: it gets a new ID and record token. Scripts that use the old record token must be updated." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese Änderung ersetzt den Eintrag: Er erhält eine neue ID und einen neuen Eintrags-Token. Skripte, die den alten Eintrags-Token verwenden, müssen angepasst werden." + } + } + } + }, + "This channel won't receive notifications and can't be tested until it is verified." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dieser Kanal erhält keine Benachrichtigungen und kann nicht getestet werden, bis er bestätigt ist." + } + } + } + }, + "This creates your personal token if you do not have one yet. Keep it secret: anyone with the token can fetch your live blocklist." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dadurch wird dein persönlicher Token erstellt, falls du noch keinen hast. Halte ihn geheim: Jeder mit dem Token kann deine Live-Blockliste abrufen." + } + } + } + }, + "This device" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dieses Gerät" + } + } + } + }, + "This device could not be registered for push notifications (Apple Push Notification service or the push service is not reachable). Please check your internet connection and try again later." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dieses Gerät konnte nicht für Push-Benachrichtigungen registriert werden (Apple Push Notification Service oder der Push-Dienst ist nicht erreichbar). Bitte prüfe deine Internetverbindung und versuche es später erneut." + } + } + } + }, + "This device's push channel can't be deleted." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Push-Kanal dieses Geräts kann nicht gelöscht werden." + } + } + } + }, + "This feature is not available on your plan." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese Funktion ist in deinem Tarif nicht verfügbar." + } + } + } + }, + "This is an example widget." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dies ist ein Beispiel-Widget." + } + } + } + }, + "This is not a valid public IP address." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Das ist keine gültige öffentliche IP-Adresse." + } + } + } + }, + "This key is used by this app and cannot be deleted." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dieser Key wird von dieser App verwendet und kann nicht gelöscht werden." + } + } + } + }, + "This password was not seen in the Honeypot64 data. That does not mean it is safe: use long, unique passwords and a password manager." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dieses Passwort tauchte in den Honeypot64-Daten nicht auf. Das heißt nicht, dass es sicher ist: Verwende lange, einmalige Passwörter und einen Passwortmanager." + } + } + } + }, + "This password was used %@ times in attacks. Do not use it and change it everywhere you use it." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dieses Passwort wurde %@-mal bei Angriffen verwendet. Verwende es nicht und ändere es überall, wo du es nutzt." + } + } + } + }, + "This record cannot be edited." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dieser Eintrag kann nicht bearbeitet werden." + } + } + } + }, + "Thu" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Do" + } + } + } + }, + "Time" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zeit" + } + } + } + }, + "Time span in which notifications are counted." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zeitraum, in dem Benachrichtigungen gezählt werden." + } + } + } + }, + "Time zone" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zeitzone" + } + } + } + }, + "Timeout" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Timeout" + } + } + } + }, + "Timeout must be greater than 0." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Timeout muss größer als 0 sein." + } + } + } + }, + "Times use the server's time zone." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Zeiten verwenden die Zeitzone des Servers." + } + } + } + }, + "To" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bis" + } + } + } + }, + "To honeypot" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zum Honeypot" + } + } + } + }, + "Token" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Token" + } + } + } + }, + "Token ID" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Token-ID" + } + } + } + }, + "Too many attempts, try again later." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zu viele Versuche, versuche es später erneut." + } + } + } + }, + "Too many codes requested, try again later." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zu viele Codes angefordert, versuche es später erneut." + } + } + } + }, + "Tools" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tools" + } + } + } + }, + "Top attackers" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Top-Angreifer" + } + } + } + }, + "Top blocked domains" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Top blockierte Domains" + } + } + } + }, + "Top clients" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Top-Clients" + } + } + } + }, + "Top countries" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Top-Länder" + } + } + } + }, + "Top ports" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Top-Ports" + } + } + } + }, + "Top queried domains" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Top abgefragte Domains" + } + } + } + }, + "Touch the chart for values" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Berühre das Diagramm für Werte" + } + } + } + }, + "Traffic" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Traffic" + } + } + } + }, + "Traffic this month" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Traffic diesen Monat" + } + } + } + }, + "Trust and test again" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Vertrauen und erneut testen" + } + } + } + }, + "Trust this fingerprint?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diesem Fingerabdruck vertrauen?" + } + } + } + }, + "Tue" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Di" + } + } + } + }, + "Type" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Typ" + } + } + } + }, + "Type \"%@\" to confirm." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib zur Bestätigung „%@“ ein." + } + } + } + }, + "URL" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "URL" + } + } + } + }, + "Unauthorized" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nicht autorisiert" + } + } + } + }, + "Unencrypted connection blocked" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unverschlüsselte Verbindung blockiert" + } + } + } + }, + "Unexpected answer from ipv64.net." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unerwartete Antwort von ipv64.net." + } + } + } + }, + "Unexpected response" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unerwartete Antwort" + } + } + } + }, + "Unhealthy" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fehlerhaft" + } + } + } + }, + "Unknown" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unbekannt" + } + } + } + }, + "Unknown account" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unbekannter Account" + } + } + } + }, + "Unknown app channel format" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unbekanntes App-Kanalformat" + } + } + } + }, + "Unknown check …%@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unbekannter Check …%@" + } + } + } + }, + "Unlimited" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unbegrenzt" + } + } + } + }, + "Unlink" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verknüpfung aufheben" + } + } + } + }, + "Unlink node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node-Verknüpfung aufheben" + } + } + } + }, + "Unlink node?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node-Verknüpfung aufheben?" + } + } + } + }, + "Unlock" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Entsperren" + } + } + } + }, + "Unnamed key" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unbenannter Key" + } + } + } + }, + "Unreachable" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nicht erreichbar" + } + } + } + }, + "Until resumed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bis zur Fortsetzung" + } + } + } + }, + "Up" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Online" + } + } + } + }, + "Up to 5 codes per hour, valid for 15 minutes." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bis zu 5 Codes pro Stunde, 15 Minuten gültig." + } + } + } + }, + "Update" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aktualisieren" + } + } + } + }, + "Update DNS record?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS-Eintrag aktualisieren?" + } + } + } + }, + "Update URL" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Update-URL" + } + } + } + }, + "Update error" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Update-Fehler" + } + } + } + }, + "Updated" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aktualisiert" + } + } + } + }, + "Updated %@ ago" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Vor %@ aktualisiert" + } + } + } + }, + "Updated just now" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gerade aktualisiert" + } + } + } + }, + "Updates" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updates" + } + } + } + }, + "Updates of the ignored family are not applied (e.g. ignore IPv6 if your router reports an unwanted address)." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updates der ignorierten Adressfamilie werden nicht übernommen (z. B. IPv6 ignorieren, wenn dein Router eine unerwünschte Adresse meldet)." + } + } + } + }, + "Updates: %lld · Wildcard: %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updates: %1$lld · Wildcard: %2$@" + } + } + } + }, + "Upload" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Upload" + } + } + } + }, + "Upstream servers" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Upstream-Server" + } + } + } + }, + "Uptime" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Uptime" + } + } + } + }, + "Usage" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nutzung" + } + } + } + }, + "Usage now sits in the CDN64 screen, which also lists the domains you set up on the website without a Node64 (Mode 3)." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die Nutzung findest du jetzt im CDN64-Bildschirm, der auch die Domains auflistet, die du auf der Website ohne Node64 eingerichtet hast (Modus 3)." + } + } + } + }, + "Use TLS" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "TLS verwenden" + } + } + } + }, + "Use this User for the Widgets" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diesen Benutzer für die Widgets verwenden" + } + } + } + }, + "User" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benutzer" + } + } + } + }, + "User agents" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "User-Agents" + } + } + } + }, + "User names" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benutzernamen" + } + } + } + }, + "Username" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benutzername" + } + } + } + }, + "Usernames" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benutzernamen" + } + } + } + }, + "Users" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Benutzer" + } + } + } + }, + "VPN / DNS64" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "VPN / DNS64" + } + } + } + }, + "VPN Traffic (GB)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "VPN-Traffic (GB)" + } + } + } + }, + "Valid for" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gültig für" + } + } + } + }, + "Value" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wert" + } + } + } + }, + "Verify" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bestätigen" + } + } + } + }, + "Verify channel" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kanal bestätigen" + } + } + } + }, + "Verify now" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Jetzt bestätigen" + } + } + } + }, + "Verify target certificate" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zielzertifikat prüfen" + } + } + } + }, + "Version" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Version" + } + } + } + }, + "Visit me on GitHub (androidseb25)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Besuche mich auf GitHub (androidseb25)" + } + } + } + }, + "Visit the project on GitHub" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Besuche das Projekt auf GitHub" + } + } + } + }, + "Waiting for node %@…" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Warte auf Node %@…" + } + } + } + }, + "Waiting for the node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Warte auf den Node" + } + } + } + }, + "Waiting for the node to run the command…" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Warte, bis der Node den Befehl ausführt…" + } + } + } + }, + "Warning" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Warnung" + } + } + } + }, + "WebSockets" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "WebSockets" + } + } + } + }, + "Wed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Mi" + } + } + } + }, + "Welcome to" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Willkommen bei" + } + } + } + }, + "What is IPv64.net?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Was ist IPv64.net?" + } + } + } + }, + "What's New" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neuigkeiten" + } + } + } + }, + "What's new in IPv64.net \nv%@ (%@)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neu in IPv64.net \nv%1$@ (%2$@)" + } + } + } + }, + "What's new?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Was ist neu?" + } + } + } + }, + "Where it runs" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wo es läuft" + } + } + } + }, + "Widgets" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Widgets" + } + } + } + }, + "Wildcard" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wildcard" + } + } + } + }, + "Wildcard records" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wildcard-Einträge" + } + } + } + }, + "Without Node64" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ohne Node64" + } + } + } + }, + "Without Node64 (Mode 3)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ohne Node64 (Modus 3)" + } + } + } + }, + "Yes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ja" + } + } + } + }, + "You can request up to 5 codes per hour. Each code is valid for 15 minutes." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Du kannst bis zu 5 Codes pro Stunde anfordern. Jeder Code ist 15 Minuten gültig." + } + } + } + }, + "You can turn it off under More → App → Screenshot protection." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Du kannst es unter Mehr → App → Screenshot-Schutz ausschalten." + } + } + } + }, + "You can't undo this action. This will permanently change the A or AAAA DNS record from your domain." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese Aktion kann nicht rückgängig gemacht werden. Der A- oder AAAA-DNS-Eintrag deiner Domain wird dauerhaft geändert." + } + } + } + }, + "You will need to sign in again to access your account." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Du musst dich erneut anmelden, um auf deinen Account zuzugreifen." + } + } + } + }, + "YouTube" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "YouTube" + } + } + } + }, + "Your A or AAAA record doesn't match your current IP! This could be due to an active cellular connection or the IP address being assigned a server address." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dein A- oder AAAA-Eintrag stimmt nicht mit deiner aktuellen IP überein! Das kann an einer aktiven Mobilfunkverbindung liegen oder daran, dass der IP-Adresse eine Serveradresse zugewiesen ist." + } + } + } + }, + "Your DNS64 dashboard and query log on the big screen. Nodes you connect here appear on the Apple TV via iCloud." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dein DNS64-Dashboard und das Query-Log auf dem großen Bildschirm. Nodes, die du hier verbindest, erscheinen über iCloud auf dem Apple TV." + } + } + } + }, + "Your contribution" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dein Beitrag" + } + } + } + }, + "Your nodes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Deine Nodes" + } + } + } + }, + "Your personal token gives access to the live v64 blocklist." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dein persönlicher Token gibt Zugriff auf die Live-v64-Blockliste." + } + } + } + }, + "Your plan allows up to %lld locations per check." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dein Tarif erlaubt bis zu %lld Standorte pro Check." + } + } + } + }, + "Your public IP" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Deine öffentliche IP" + } + } + } + }, + "after %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "nach %@" + } + } + } + }, + "auto" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "auto" + } + } + } + }, + "checked %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "geprüft %@" + } + } + } + }, + "days" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tage" + } + } + } + }, + "dkim._domainkey" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "dkim._domainkey" + } + } + } + }, + "domain[:port][/path]" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "domain[:port][/path]" + } + } + } + }, + "domains" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Domains" + } + } + } + }, + "e.g. 2001:db8::10" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "z. B. 2001:db8::10" + } + } + } + }, + "e.g. 203.0.113.10" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "z. B. 203.0.113.10" + } + } + } + }, + "e.g. Home Assistant" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "z. B. Home Assistant" + } + } + } + }, + "e.g. IP, TXT record, MX \"10 mail.example.com\"" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "z. B. IP, TXT-Eintrag, MX „10 mail.example.com“" + } + } + } + }, + "e.g. nas" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "z. B. nas" + } + } + } + }, + "e.g. www" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "z. B. www" + } + } + } + }, + "example.com or IP address" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "example.com oder IP-Adresse" + } + } + } + }, + "example.com or host:port" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "example.com oder host:port" + } + } + } + }, + "example.com/path" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "example.com/path" + } + } + } + }, + "finished %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "beendet %@" + } + } + } + }, + "homelab01" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "homelab01" + } + } + } + }, + "http" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "http" + } + } + } + }, + "https" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "https" + } + } + } + }, + "ipv64.net network" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "ipv64.net-Netzwerk" + } + } + } + }, + "ipv64.net/cdn64" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "ipv64.net/cdn64" + } + } + } + }, + "locations" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Standorte" + } + } + } + }, + "max %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "max. %@" + } + } + } + }, + "ms" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "ms" + } + } + } + }, + "none" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "keine" + } + } + } + }, + "of %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "von %@" + } + } + } + }, + "of %lld" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "von %lld" + } + } + } + }, + "offline" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "offline" + } + } + } + }, + "online" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "online" + } + } + } + }, + "s" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "s" + } + } + } + }, + "seen %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "gesehen %@" + } + } + } + }, + "sent %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "gesendet %@" + } + } + } + }, + "silent" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "still" + } + } + } + }, + "sources" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quellen" + } + } + } + }, + "swipe" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "wischen" + } + } + } + }, + "unlimited" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "unbegrenzt" + } + } + } + }, + "until %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "bis %@" + } + } + } + }, + "Ø %@ ms · %@ queries · %lld errors" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ø %1$@ ms · %2$@ Anfragen · %3$lld Fehler" + } + } + } + }, + "Ø Upstream" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ø Upstream" + } + } + } + }, + "“%@” will be deleted. Checks using only this channel will notify default channels instead." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "„%@“ wird gelöscht. Checks, die nur diesen Kanal verwenden, benachrichtigen stattdessen die Standardkanäle." + } + } + } + }, + "≈ %@ per hour" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "≈ %@ pro Stunde" + } + } + } + } + }, + "version" : "1.0" +} diff --git a/IPv64/Models/Tabs.swift b/IPv64/Models/Tabs.swift index ecdf7d3..63923b9 100644 --- a/IPv64/Models/Tabs.swift +++ b/IPv64/Models/Tabs.swift @@ -67,11 +67,11 @@ public enum Tabs: Int, Identifiable, Hashable, Decodable, Encodable { case .domain: return "DynDNS" case .healthcheck: - return "Healthchecks" + return String(localized: "Healthchecks") case .notification: - return "Channels" + return String(localized: "Channels") case .settings: - return "More" + return String(localized: "More") case .cdn: return "CDN64" case .proxy64: @@ -79,15 +79,15 @@ public enum Tabs: Int, Identifiable, Hashable, Decodable, Encodable { case .dns64: return "DNS64" case .account: - return "Account" + return String(localized: "Account") case .log: - return "Logs" + return String(localized: "Logs") case .syslog: - return "System Logs" + return String(localized: "System Logs") case .myip: - return "IP lookup & My IP" + return String(localized: "IP lookup & My IP") case .about: - return "About" + return String(localized: "About") default: return "" } diff --git a/IPv64/Models/User.swift b/IPv64/Models/User.swift index 14f48aa..58b166b 100644 --- a/IPv64/Models/User.swift +++ b/IPv64/Models/User.swift @@ -29,7 +29,7 @@ struct User: Codable { } if user.Information.isEmpty { - user.Information = "No Information" + user.Information = String(localized: "No Information") } return user diff --git a/IPv64/Models/WhatsNew.swift b/IPv64/Models/WhatsNew.swift index d639f3e..28986eb 100644 --- a/IPv64/Models/WhatsNew.swift +++ b/IPv64/Models/WhatsNew.swift @@ -34,7 +34,12 @@ extension WhatsNew { /// Entries of the current version (shared by WhatsNewView and WhatsNewView26). static var current: [WhatsNew] { [ - WhatsNew(imageName: "ladybug", title: "Bug fixes".localized, subtitle: "Scanning the API key QR code when adding an account works again, and an invalid key now shows an error message after the scan.".localized), + WhatsNew(imageName: "appletv", title: "Apple TV app".localized, subtitle: "Your DNS64 dashboard and query log on the big screen. Nodes you connect here appear on the Apple TV via iCloud.".localized), + WhatsNew(imageName: "character.bubble", title: "German".localized, subtitle: "The app is now also available in German.".localized), + WhatsNew(imageName: "chart.bar.xaxis", title: "Proxy64 chart".localized, subtitle: "Requests and traffic of your proxy hosts for the last 24 hours or 7 days, per node.".localized), + WhatsNew(imageName: "cloud", title: "CDN64".localized, subtitle: "Usage now sits in the CDN64 screen, which also lists the domains you set up on the website without a Node64 (Mode 3).".localized), + WhatsNew(imageName: "ellipsis.circle", title: "More".localized, subtitle: "Copy this app's API key, and edit channels with a swipe, including this device's channel.".localized), + WhatsNew(imageName: "ladybug", title: "Bug fixes".localized, subtitle: "The DynDNS IP check no longer counts CDN and failover records, so CDN domains no longer show a different IP.".localized), ] } } diff --git a/IPv64/Views/CDN/CdnView.swift b/IPv64/Views/CDN/CdnView.swift index a86ee22..32459fd 100644 --- a/IPv64/Views/CDN/CdnView.swift +++ b/IPv64/Views/CDN/CdnView.swift @@ -5,7 +5,11 @@ import IPv64 /// pushed from Proxy64 otherwise. "+" enables CDN64 for a proxy host. struct CdnView: View { @Environment(ConnectedNodes.self) private var nodes + @Environment(Session.self) private var session @Binding var popToRootTab: Tabs + @State private var usage: Me.Usage? + @State private var overview: Cdn64Overview? + @State private var domainsError: ErrorText? @State private var nodeData: [ProxyNodeData]? @State private var enableChoices: [CdnHostChoice]? @State private var error: ErrorText? @@ -17,37 +21,36 @@ struct CdnView: View { } private var content: some View { - Group { - if nodes.proxyIds.isEmpty { + List { + ProxyUsageSection(usage: usage, quota: overview?.quota ?? nodeData?.lazy.compactMap { $0.online?.quota }.first) + ForEach(nodeData ?? []) { data in + CdnNodeSection(node: data) { id in Task { await reload(node: id) } } + } + CdnWebsiteSection(hosts: overview?.hosts?.filter { $0.mode == 3 }, error: domainsError) + if nodes.proxyIds.isEmpty, !(overview?.hosts?.contains(where: { $0.mode == 3 }) ?? false) { ContentUnavailableView { - Label("CDN64 needs a node", systemImage: "cloud") + Label("No proxy node", systemImage: "cloud") } description: { - Text("CDN64 runs on a Node64 with the Proxy64 module. Connect one under More → Nodes.") + Text("Modes 1 and 2 run on a Node64 with the Proxy64 module. Connect one under More → Nodes.") } - } else { - List { - ForEach(nodeData ?? []) { data in - CdnNodeSection(node: data) { id in Task { await reload(node: id) } } - } - } - .overlay { if nodeData == nil { ProgressView("Loading CDN64…") } } - .refreshable { await load() } - .task(id: nodes.proxyIds) { await load() } - .toolbar { - ToolbarItem(placement: .topBarTrailing) { - Button { enable() } label: { Label("Enable CDN64 for a proxy host", systemImage: "plus") } - .disabled(nodeData == nil) - } - } - .sheet(isPresented: Binding(get: { enableChoices != nil }, set: { if !$0 { enableChoices = nil } })) { - CdnEnableFlow(choices: enableChoices ?? []) { choice, mode, healthcheck in - if let failure = await nodes.enableCdn64(choice, mode: mode, healthcheck: healthcheck) { error = failure } - await reload(node: choice.nodeId) - } - } - .errorAlert($error) } } + .overlay { if nodeData == nil { ProgressView("Loading CDN64…") } } + .refreshable { await load() } + .task(id: nodes.proxyIds) { await load() } + .toolbar { + ToolbarItem(placement: .topBarTrailing) { + Button { enable() } label: { Label("Enable CDN64 for a proxy host", systemImage: "plus") } + .disabled(nodeData == nil || nodes.proxyIds.isEmpty) + } + } + .sheet(isPresented: Binding(get: { enableChoices != nil }, set: { if !$0 { enableChoices = nil } })) { + CdnEnableFlow(choices: enableChoices ?? []) { choice, mode, healthcheck in + if let failure = await nodes.enableCdn64(choice, mode: mode, healthcheck: healthcheck) { error = failure } + await reload(node: choice.nodeId) + } + } + .errorAlert($error) .navigationTitle(Tabs.cdn.labelNew) .navigationBarTitleDisplayMode(.inline) } @@ -62,8 +65,25 @@ struct CdnView: View { } private func load() async { + let api = session.api + async let me = try? ipv64Retrying { try await api.account.me() } + let key = session.apiKey + async let website: Result = { + do { return .success(try await Cdn64Overview.load(apiKey: key)) } catch { return .failure(error) } + }() let loaded = await nodes.loadProxyNodes(withHosts: true) - if !Task.isCancelled { nodeData = loaded } + guard !Task.isCancelled else { return } + nodeData = loaded // the node sections must not wait for the website + let (account, list) = await (me, website) + guard !Task.isCancelled else { return } + usage = account?.usage + switch list { + case .success(let value): overview = value; domainsError = nil + case .failure(let failure): + if !(failure is CancellationError || (failure as? URLError)?.code == .cancelled) { + overview = nil; domainsError = failure as? ErrorText ?? ErrorText(failure) + } + } } private func reload(node id: String) async { @@ -122,3 +142,50 @@ private struct CdnNodeSection: View { } } } + +/// CDN64 names in Mode 3 (without Node64, set up on the website), read-only. +private struct CdnWebsiteSection: View { + let hosts: [Cdn64Host]? + let error: ErrorText? + + var body: some View { + Section("Without Node64 (Mode 3)") { + if let error { + VStack(alignment: .leading, spacing: 2) { + Text(verbatim: error.title) + Text(verbatim: error.message).font(.subheadline).foregroundStyle(.secondary) + } + } else if let hosts { + ForEach(hosts) { row($0) } + if hosts.isEmpty { Text("No Mode 3 names yet. Set them up on ipv64.net.").foregroundStyle(.secondary) } + } + } + } + + private func row(_ host: Cdn64Host) -> some View { + let target = host.target?.target?.nonBlank.map { "→ \($0)" + (host.target?.port.map { ":\($0)" } ?? "") } + let bytes = { (n: Int64?) in ByteCountFormatter.string(fromByteCount: n ?? 0, countStyle: .file) } + let traffic = host.trafficMonth.map { "↓ \(bytes($0.bytesOut)) ↑ \(bytes($0.bytesIn))" } + let edges = (host.edges ?? []).compactMap { $0.name?.nonBlank }.joined(separator: ", ") + let line = [target, traffic, edges.count <= 20 ? edges.nonBlank : nil].compactMap { $0 }.joined(separator: " · ") + let problem = [host.blockedReason, host.error].lazy.compactMap { $0?.nonBlank }.first + let tag: ProxyLogic.Tag = if host.paused == true { + ProxyLogic.Tag(text: String(localized: "Paused"), tone: .gray) + } else { + switch host.status { + case "active": ProxyLogic.Tag(text: String(localized: "Active"), tone: .green) + case "blocked": ProxyLogic.Tag(text: String(localized: "Blocked"), tone: .red) + default: ProxyLogic.Tag(text: String(localized: "Pending"), tone: .orange) + } + } + return HStack(spacing: 12) { + VStack(alignment: .leading, spacing: 2) { + Text(verbatim: (host.wildcard == true ? "*." : "") + (host.fqdn?.nonBlank ?? "–")).font(.headline).lineLimit(1) + if !line.isEmpty { Text(verbatim: line).font(.subheadline).foregroundStyle(.secondary).lineLimit(1) } + if let problem { Text(verbatim: problem).font(.footnote).foregroundStyle(.red) } + } + .frame(maxWidth: .infinity, alignment: .leading) + ProxyTag(tag: tag) + } + } +} diff --git a/IPv64/Views/Channels/ChannelsView.swift b/IPv64/Views/Channels/ChannelsView.swift index 79176db..dd933ed 100644 --- a/IPv64/Views/Channels/ChannelsView.swift +++ b/IPv64/Views/Channels/ChannelsView.swift @@ -62,6 +62,7 @@ struct ChannelsView: View { .accessibilityAddTraits(.isButton) // This device's push channel can't be deleted here (it would silently stop its pushes). .swipeActions { + editSwipe(channel) if channel.id != deviceChannelId { Button("Delete", systemImage: "trash", role: .destructive) { confirmDelete = channel } .labelStyle(.iconOnly) @@ -113,6 +114,12 @@ struct ChannelsView: View { } } + private func editSwipe(_ channel: HC2Channel) -> some View { + Button("Edit channel", systemImage: "pencil") { sheet = .edit(channel.id) } + .labelStyle(.iconOnly) + .tint(.orange) + } + private func deviceSection(hasDefault: Bool) -> some View { Section { if let channel = deviceChannel { @@ -124,6 +131,8 @@ struct ChannelsView: View { } } .tint(.primary) + .swipeActions { editSwipe(channel) } + Button("Edit channel", systemImage: "pencil") { sheet = .edit(channel.id) } Button("Send test", systemImage: "paperplane", action: sendTest) } else { Label { diff --git a/IPv64/Views/Domains/DomainDetailView.swift b/IPv64/Views/Domains/DomainDetailView.swift index c031cb7..5a6a8b4 100644 --- a/IPv64/Views/Domains/DomainDetailView.swift +++ b/IPv64/Views/Domains/DomainDetailView.swift @@ -129,7 +129,7 @@ struct DomainDetailView: View { } } LabeledContent("Type", value: DynDNSLogic.kindLabel(detail.kind)) - LabeledContent("Wildcard", value: detail.wildcard == true ? "yes" : "no") + LabeledContent("Wildcard", value: HcFormat.yesNo(detail.wildcard == true) ?? "") LabeledContent("Updates", value: "\(detail.updateCount ?? 0)") LabeledContent("Ignored on DynDNS updates", value: DynDNSLogic.ignoreLabel(detail.ignore)) LabeledContent("Fixed IPv6 prefix", value: detail.ipv6Prefix?.nonBlank ?? String(localized: "Off")) diff --git a/IPv64/Views/Domains/DomainItemView.swift b/IPv64/Views/Domains/DomainItemView.swift index 03494f8..d5bb87a 100644 --- a/IPv64/Views/Domains/DomainItemView.swift +++ b/IPv64/Views/Domains/DomainItemView.swift @@ -12,7 +12,7 @@ struct DomainItemView: View { Text(row.name) .font(.headline) .lineLimit(1) - Text("Updates: \(row.updates) · Wildcard: \(row.wildcard ? "yes" : "no")") + Text("Updates: \(row.updates) · Wildcard: \(HcFormat.yesNo(row.wildcard) ?? "")") .font(.subheadline) .foregroundStyle(.secondary) .lineLimit(1) diff --git a/IPv64/Views/Healthcheck/HealthcheckItemView.swift b/IPv64/Views/Healthcheck/HealthcheckItemView.swift index 54eb3e2..b000dd2 100644 --- a/IPv64/Views/Healthcheck/HealthcheckItemView.swift +++ b/IPv64/Views/Healthcheck/HealthcheckItemView.swift @@ -45,7 +45,7 @@ struct HealthcheckItemView: View { private init(name: String?, type: String?, target: String?, meta: [String], state: Hc2StateUi, isBusy: Bool) { self.name = name - let type = type ?? "Unknown" + let type = type ?? String(localized: "Unknown") typeLine = target?.nonBlank.map { "\(type) · \($0)" } ?? type metaLine = meta.isEmpty ? nil : meta.joined(separator: " · ") tagText = state.label diff --git a/IPv64/Views/More/ApiKeysView.swift b/IPv64/Views/More/ApiKeysView.swift index b70c9f9..5de3bc9 100644 --- a/IPv64/Views/More/ApiKeysView.swift +++ b/IPv64/Views/More/ApiKeysView.swift @@ -35,6 +35,10 @@ struct ApiKeysView: View { } icon: { Image(systemName: "key") } + // Only this app's own key can be copied: the server returns other keys just as a hint. + if !session.apiKey.isEmpty { + Button("Copy this app's key", systemImage: "doc.on.doc") { Clipboard.copy(session.apiKey, sensitive: true) } + } } if !keys.isEmpty { Section("API keys (\(keys.count))") { diff --git a/IPv64/Views/Nodes/NodeDetailSections.swift b/IPv64/Views/Nodes/NodeDetailSections.swift index 1cdcf91..1243c7f 100644 --- a/IPv64/Views/Nodes/NodeDetailSections.swift +++ b/IPv64/Views/Nodes/NodeDetailSections.swift @@ -266,7 +266,7 @@ private struct NodeModuleRow: View { Image(systemName: "chevron.right").font(.footnote.weight(.semibold)).foregroundStyle(.tertiary) } .buttonStyle(.borderless) - .accessibilityLabel("Open") + .accessibilityLabel("Open module") } } else { Toggle(isOn: toggle) { label } diff --git a/IPv64/Views/Proxy/ProxyTrafficSection.swift b/IPv64/Views/Proxy/ProxyTrafficSection.swift new file mode 100644 index 0000000..989c9d1 --- /dev/null +++ b/IPv64/Views/Proxy/ProxyTrafficSection.swift @@ -0,0 +1,217 @@ +import SwiftUI +import Charts +import IPv64 + +/// Proxy64 "Requests and traffic": stacked hourly requests plus a download/upload chart, per connected proxy node. +struct ProxyTrafficSection: View { + /// Bumped by the Proxy64 pull-to-refresh to load the chart again. + var refresh = 0 + @Environment(ConnectedNodes.self) private var nodes + @State private var expanded = true + @State private var picked: String? + @State private var range = Period.day + @State private var points: [ProxyStats.Point]? + @State private var error: ErrorText? + @State private var loading = false + @State private var loadToken = UUID() + /// Last key loaded: a List cancels and restarts the row's task when it scrolls back in; that must not reload. + @State private var loadedKey: LoadKey? + /// One selected hour for both charts (touching either highlights the same hour in both). + @State private var rawSelection: Date? + + private enum Period: CaseIterable, Identifiable { + case day, week + var id: Self { self } + var hours: Int { self == .day ? 24 : 168 } + var label: LocalizedStringKey { self == .day ? "24 h" : "7 d" } + } + + private struct LoadKey: Equatable { var id: String?; var range: Period; var refresh: Int } + + private var currentId: String? { picked.flatMap { nodes.proxyIds.contains($0) ? $0 : nil } ?? nodes.proxyIds.first } + + private static let requestSeries: [(name: String, color: Color)] = [ + (String(localized: "Requests answered"), .blue), (String(localized: "4xx from target"), .gray), + (String(localized: "Errors (5xx)"), .yellow), (String(localized: "Rejected"), .red), + (String(localized: "To honeypot"), .purple)] + private static let download = String(localized: "Download") + private static let upload = String(localized: "Upload") + + var body: some View { + if let id = currentId { + HcCollapsibleSection(title: "Requests and traffic", isExpanded: $expanded) { + if nodes.proxyIds.count > 1 { + Picker("Node", selection: Binding(get: { id }, set: { picked = $0 })) { + ForEach(nodes.proxyIds, id: \.self) { Text(verbatim: nodes.name(of: $0)).tag($0) } + } + .pickerStyle(.menu) + } + Picker("Period", selection: $range) { + ForEach(Period.allCases) { Text($0.label).tag($0) } + } + .pickerStyle(.segmented) + // On a row, not the Section: in a List a Section's modifiers apply to every row. + .task(id: LoadKey(id: id, range: range, refresh: refresh)) { + let key = LoadKey(id: id, range: range, refresh: refresh) + if key != loadedKey || points == nil && error == nil { await load(key) } + } + content + } + } + } + + @ViewBuilder private var content: some View { + if let error { + VStack(alignment: .leading, spacing: 2) { + Text(verbatim: error.title) + Text(verbatim: error.message).font(.subheadline).foregroundStyle(.secondary) + } + } else if let points { + if points.allSatisfy({ $0.requests == 0 && $0.blocked == 0 && $0.bytes == 0 && $0.up == 0 }) { + Text("No traffic in this period.").foregroundStyle(.secondary) + } else { + Group { + requestsChart(points) + trafficChart(points) + } + // Keep the old data visible (dimmed) while the next range loads. + .opacity(loading ? 0.4 : 1) + .animation(.easeInOut, value: loading) + } + } else { + ProgressView().frame(maxWidth: .infinity) + } + } + + private func selected(_ points: [ProxyStats.Point]) -> ProxyStats.Point? { + guard let raw = rawSelection else { return nil } + // The bar of an hour spans its whole hour: pick the hour that contains the touch (points are ascending). + return points.last { $0.time <= raw } ?? points.first + } + + private func when(_ p: ProxyStats.Point) -> String { p.time.formatted(date: .abbreviated, time: .shortened) } + + private func requestsChart(_ points: [ProxyStats.Point]) -> some View { + let total = points.reduce(0) { $0 + $1.requests } + let sel = selected(points) + let header = sel.map { p in + Text("\(when(p)) Answered: \(Int(p.ok)) 4xx: \(Int(p.c4)) 5xx: \(Int(p.err)) Rejected: \(Int(p.blocked)) Honeypot: \(Int(p.decoy)) Total: \(Int(p.requests))") + } ?? Text("Touch the chart for values") + return VStack(alignment: .leading, spacing: 8) { + header.font(.caption).foregroundStyle(.secondary).fixedSize(horizontal: false, vertical: true) + .accessibilityHidden(sel == nil) + requestsBars(points, sel: sel, total: total) + } + } + + private func requestsBars(_ points: [ProxyStats.Point], sel: ProxyStats.Point?, total: Double) -> some View { + Chart { + ForEach(points) { p in + let values: [Double] = [p.ok, p.c4, p.err, p.blocked, p.decoy] + let dimmed: Bool = sel != nil && sel?.id != p.id + ForEach(0.. some ChartContent { + BarMark(x: .value("Time", time, unit: .hour), y: .value("Requests", value)) + .foregroundStyle(by: .value("Series", series)) + .opacity(dimmed ? 0.35 : 1) + } + + private func trafficChart(_ points: [ProxyStats.Point]) -> some View { + let down = points.reduce(0) { $0 + $1.bytes }, up = points.reduce(0) { $0 + $1.up } + let sel = selected(points) + let header = sel.map { p in + Text("\(when(p)) Download: \(Self.bytes(p.bytes)) Upload: \(Self.bytes(p.up))") + } ?? Text("Touch the chart for values") + return VStack(alignment: .leading, spacing: 8) { + header.font(.caption).foregroundStyle(.secondary).fixedSize(horizontal: false, vertical: true) + .accessibilityHidden(sel == nil) + trafficLines(points, sel: sel, down: down, up: up) + } + } + + private func trafficLines(_ points: [ProxyStats.Point], sel: ProxyStats.Point?, down: Double, up: Double) -> some View { + Chart { + if let sel { RuleMark(x: .value("Time", sel.time, unit: .hour)).foregroundStyle(.secondary.opacity(0.5)) } + ForEach(points) { p in + LineMark(x: .value("Time", p.time, unit: .hour), y: .value("Bytes", p.bytes), series: .value("Series", Self.download)) + .foregroundStyle(by: .value("Series", Self.download)) + } + ForEach(points) { p in + LineMark(x: .value("Time", p.time, unit: .hour), y: .value("Bytes", p.up), series: .value("Series", Self.upload)) + .foregroundStyle(by: .value("Series", Self.upload)) + .lineStyle(StrokeStyle(lineWidth: 2, dash: [4, 3])) + } + } + .chartForegroundStyleScale([Self.download: Color.cyan, Self.upload: Color.green]) + .chartXSelection(value: $rawSelection) + .chartLegend(position: .bottom, alignment: .leading) + .chartXAxis { xAxis(points) } + .chartYAxis { + AxisMarks { value in + AxisGridLine() + AxisValueLabel { if let b = value.as(Double.self) { Text(verbatim: Self.bytes(b)) } } + } + } + .frame(height: 140) + .accessibilityElement(children: .ignore) + .accessibilityLabel("Traffic") + .accessibilityValue(Text("Download \(Self.bytes(down)), upload \(Self.bytes(up))")) + } + + /// Format from the shown points, not `range`: the old data stays visible while the new range loads. + private func xAxis(_ points: [ProxyStats.Point]) -> some AxisContent { + AxisMarks(values: .automatic(desiredCount: 5)) { _ in + AxisGridLine() + AxisValueLabel(format: points.count <= 24 ? .dateTime.hour() : .dateTime.weekday(.abbreviated).day()) + } + } + + private static func bytes(_ value: Double) -> String { ByteCountFormatter.string(fromByteCount: Int64(value), countStyle: .binary) } + + private func load(_ key: LoadKey) async { + let token = UUID() + loadToken = token + loading = true + defer { if loadToken == token { loading = false } } + guard let id = key.id, let proxy = nodes.client(for: id)?.proxy64 else { + points = nil; error = ProxyLogic.noNodeError; loadedKey = key; return + } + do { + let json = try await proxy.stats(hours: key.range.hours) + var rows: [JSONValue] = [] + if case .array(let a)? = json["timeline"] { rows = a } + guard !Task.isCancelled else { return } + rawSelection = nil + loadedKey = key + withAnimation(.easeInOut) { + error = nil + points = ProxyStats.series(rows.compactMap(Self.row), hours: key.range.hours) + } + } catch { + // A cancelled request throws URLError(.cancelled), not CancellationError. + if !Task.isCancelled { rawSelection = nil; loadedKey = key; points = nil; self.error = .node(error) } + } + } + + private static func row(_ json: JSONValue) -> ProxyStats.Row? { + guard let hour = json["hour"]?.stringValue.flatMap({ try? Date($0, strategy: .iso8601) }) else { return nil } + func n(_ key: String) -> Double { json[key]?.doubleValue ?? 0 } + return ProxyStats.Row(hour: hour, requests: n("requests"), c4: n("4xx"), c5: n("5xx"), bytes: n("bytes"), + bytesIn: n("bytes_in"), blocked: n("blocked"), decoy: n("decoy"), connBlocked: n("conn_blocked")) + } +} diff --git a/IPv64/Views/Proxy/ProxyView.swift b/IPv64/Views/Proxy/ProxyView.swift index 68dd59b..e559eaf 100644 --- a/IPv64/Views/Proxy/ProxyView.swift +++ b/IPv64/Views/Proxy/ProxyView.swift @@ -1,14 +1,13 @@ import SwiftUI import IPv64 -/// Proxy64 tab: usage, entry to CDN64, proxy hosts per connected node. +/// Proxy64 tab: traffic chart, entry to CDN64, proxy hosts per connected node. struct ProxyView: View { - @Environment(Session.self) private var session @Environment(ConnectedNodes.self) private var nodes @Binding var popToRootTab: Tabs @State private var groups: [ProxyNodeData]? - @State private var usage: Me.Usage? @State private var sheet: ProxySheet? + @State private var chartRefresh = 0 @State private var newHost: ProxyHostRoute? @State private var error: ErrorText? @@ -21,7 +20,7 @@ struct ProxyView: View { private var listView: some View { List { if groups != nil { - ProxyUsageSection(usage: usage, quota: groups?.lazy.compactMap { $0.online?.quota }.first) + ProxyTrafficSection(refresh: chartRefresh) cdnSection ForEach(groups ?? []) { group in Section(group.name) { @@ -64,7 +63,7 @@ struct ProxyView: View { } .navigationDestination(for: ProxyHostRoute.self) { editor($0) } .navigationDestination(item: $newHost) { editor($0) } - .refreshable { await load() } + .refreshable { chartRefresh += 1; await load() } .task(id: nodes.proxyIds) { await load() } .sheet(item: $sheet) { sheet in switch sheet { @@ -143,10 +142,7 @@ struct ProxyView: View { } private func load() async { - let api = session.api - async let me = try? ipv64Retrying { try await api.account.me() } let loaded = await nodes.loadProxyNodes(withHosts: true) - usage = await me?.usage if !Task.isCancelled { groups = loaded } } } diff --git a/IPv64/Views/Settings/LogItemView.swift b/IPv64/Views/Settings/LogItemView.swift index d6baed6..9100c66 100644 --- a/IPv64/Views/Settings/LogItemView.swift +++ b/IPv64/Views/Settings/LogItemView.swift @@ -23,7 +23,7 @@ struct LogItemView: View { .multilineTextAlignment(.leading) .frame(maxWidth: .infinity, alignment: .leading) .padding(.bottom, 5) - Text(log.time?.formatted(.dateTime.hour(.twoDigits(amPM: .omitted)).minute(.twoDigits).second(.twoDigits).day(.twoDigits).month(.twoDigits).year().locale(Locale(identifier: "de_DE"))) ?? "") + Text(log.time?.formatted(date: .numeric, time: .standard) ?? "") .font(.subheadline) .multilineTextAlignment(.leading) .frame(maxWidth: .infinity, alignment: .leading) diff --git a/IPv64/Views/Settings/SettingsView.swift b/IPv64/Views/Settings/SettingsView.swift index dc0e03e..25c577e 100644 --- a/IPv64/Views/Settings/SettingsView.swift +++ b/IPv64/Views/Settings/SettingsView.swift @@ -16,6 +16,7 @@ struct SettingsView: View { @StateObject private var userStorage = UserStorage.shared @State private var alertType: AlertType? + @State private var showWhatsNew = false @Environment(ConnectedNodes.self) private var nodes @AppStorage(NodeSyncStore.enabledKey, store: UserStorage.sharedDefault) private var syncNodes = true @@ -32,7 +33,7 @@ struct SettingsView: View { var body: some View { if #available(iOS 26.0, *) { listView - .setColorGradient(.orange) + .setColorGradient(showWhatsNew ? .clear : .orange) } else { listView } @@ -72,9 +73,10 @@ struct SettingsView: View { } Section("App") { - Toggle("Lockscreen \(userStorage.EnableLogscreen ? "enabled" : "disabled")", isOn: $userStorage.EnableLogscreen) + Toggle("Lock screen", isOn: $userStorage.EnableLogscreen) Toggle("Screenshot protection", isOn: $userStorage.ScreenshotProtection) LabeledContent("Version", value: "\(Bundle.main.versionNumber) (\(Bundle.main.buildNumber))") + Button("What's New") { showWhatsNew = true }.foregroundStyle(.primary) NavigationLink(value: Tabs.about.route) { Text("About") } Button { open("https://www.youtube.com/c/RaspberryPiCloud") } label: { ExternalLinkRow(title: "YouTube") } .tint(.primary) @@ -93,6 +95,13 @@ struct SettingsView: View { } } .navigationTitle(Tabs.settings.labelNew) + .sheet(isPresented: $showWhatsNew) { + if #available(iOS 26.0, *) { + WhatsNewView26(activeSheet: .constant(nil), isPresented: $showWhatsNew, isFromSetting: true) + } else { + WhatsNewView(activeSheet: .constant(nil), isPresented: $showWhatsNew, isFromSetting: true) + } + } .navigationBarTitleDisplayMode(.inline).navigationDestination(for: String.self) { route in switch route { case Tabs.account.route: diff --git a/IPv64/Views/User/AccountView.swift b/IPv64/Views/User/AccountView.swift index d826c5f..1eb24a3 100644 --- a/IPv64/Views/User/AccountView.swift +++ b/IPv64/Views/User/AccountView.swift @@ -37,10 +37,10 @@ struct AccountView: View { // Rows and texts as in Android 2.1.0 (AccountView). Section("Account") { - labeled("Username", badge: me?.username?.nonBlank ?? "none", color: .gray) - labeled("Account Plan", badge: me?.plan?.name?.nonBlank ?? "none", color: .yellow) + labeled("Username", badge: me?.username?.nonBlank ?? String(localized: "none"), color: .gray) + labeled("Account Plan", badge: me?.plan?.name?.nonBlank ?? String(localized: "none"), color: .yellow) labeled("Plan valid until", badge: planValidUntil, color: .gray) - labeled("E-Mail", badge: me?.email?.nonBlank ?? "none", color: .gray) + labeled("E-Mail", badge: me?.email?.nonBlank ?? String(localized: "none"), color: .gray) labeled("Registered since", badge: dateText(me?.registeredAt), color: .gray) labeled("Last login", badge: dateText(me?.lastLoginAt), color: .gray) } @@ -116,12 +116,12 @@ struct AccountView: View { .scaledToFit() .frame(width: 55, height: 55) VStack(alignment: .leading) { - Text(user.current?.Username ?? "No User found") + Text(user.current?.Username ?? String(localized: "No User found")) .lineLimit(1) .multilineTextAlignment(.leading) .font(.title3) .fontWeight(.bold) - Text(user.current?.Information ?? "No Information") + Text(user.current?.Information ?? String(localized: "No Information")) .lineLimit(1) .multilineTextAlignment(.leading) } @@ -136,13 +136,13 @@ struct AccountView: View { /// Android `formatGermanTime`, "none" when missing. private func dateText(_ date: Date?) -> String { - date.map { DynDNSLogic.germanTime($0) } ?? "none" + date.map { DynDNSLogic.germanTime($0) } ?? String(localized: "none") } /// No plan: "–"; plan without end (free plan): "unlimited". private var planValidUntil: String { guard let plan = me?.plan else { return "–" } - return plan.validUntil.map { DynDNSLogic.germanTime($0) } ?? "unlimited" + return plan.validUntil.map { DynDNSLogic.germanTime($0) } ?? String(localized: "unlimited") } /// Android `VpnTrafficUsage.usageText`: "used / limit", "(limit reached)" when limited, "–" without data. @@ -164,7 +164,7 @@ struct AccountView: View { } /// "used / limit", ∞ without limit; green below 70 %, yellow below 90 %, otherwise red. - private func quota(_ title: String, _ q: Me.Quota?) -> some View { + private func quota(_ title: LocalizedStringKey, _ q: Me.Quota?) -> some View { let used = Int(q?.used ?? 0) let text: String var color = Color.green @@ -179,7 +179,7 @@ struct AccountView: View { } @ViewBuilder - private func labeled(_ title: String, badge: String, color: Color? = nil) -> some View { + private func labeled(_ title: LocalizedStringKey, badge: String, color: Color? = nil) -> some View { LabeledContent(title) { Text(badge) .foregroundStyle(color ?? .primary) diff --git a/IPv64/Views/User/UserItemView.swift b/IPv64/Views/User/UserItemView.swift index d32932f..1e6ca19 100644 --- a/IPv64/Views/User/UserItemView.swift +++ b/IPv64/Views/User/UserItemView.swift @@ -29,7 +29,7 @@ struct UserItemView: View { .font(.title3) .fontWeight(.bold) .frame(maxWidth: .infinity, alignment: .leading) - Text(user.Information.isEmpty ? "No Information" : user.Information) + Text(user.Information.isEmpty ? String(localized: "No Information") : user.Information) .lineLimit(1) .multilineTextAlignment(.leading) .frame(maxWidth: .infinity, alignment: .leading) diff --git a/IPv64NotificationService/Localizable.xcstrings b/IPv64NotificationService/Localizable.xcstrings new file mode 100644 index 0000000..963c7a7 --- /dev/null +++ b/IPv64NotificationService/Localizable.xcstrings @@ -0,0 +1,26 @@ +{ + "sourceLanguage" : "en", + "strings" : { + "IPv64.net Notification" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv64.net-Benachrichtigung" + } + } + } + }, + "New notification received" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neue Benachrichtigung erhalten" + } + } + } + } + }, + "version" : "1.0" +} diff --git a/IPv64NotificationService/NotificationPayload.swift b/IPv64NotificationService/NotificationPayload.swift index f6ea79a..d3ba19d 100644 --- a/IPv64NotificationService/NotificationPayload.swift +++ b/IPv64NotificationService/NotificationPayload.swift @@ -34,6 +34,6 @@ struct NotificationPayload: Equatable, Sendable { } /// Shown until decryption succeeds (Android defaults). - static let defaultTitle = "IPv64.net Notification" - static let defaultBody = "New notification received" + static let defaultTitle = String(localized: "IPv64.net Notification") + static let defaultBody = String(localized: "New notification received") } diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/Contents.json new file mode 100644 index 0000000..e9e98ec --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,40 @@ +{ + "images" : [ + { + "filename" : "light@1x.png", + "idiom" : "tv-marketing", + "scale" : "1x" + }, + { + "filename" : "light@2x.png", + "idiom" : "tv-marketing", + "scale" : "2x" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "dark@1x.png", + "idiom" : "tv-marketing", + "scale" : "1x" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "dark@2x.png", + "idiom" : "tv-marketing", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/dark@1x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/dark@1x.png new file mode 100644 index 0000000..35082af Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/dark@1x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/dark@2x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/dark@2x.png new file mode 100644 index 0000000..79d7089 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/dark@2x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/light@1x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/light@1x.png new file mode 100644 index 0000000..25e3416 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/light@1x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/light@2x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/light@2x.png new file mode 100644 index 0000000..bc0f41c Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/light@2x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Contents.json new file mode 100644 index 0000000..3d73e5f --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Contents.json @@ -0,0 +1,14 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + }, + "layers" : [ + { + "filename" : "Front.imagestacklayer" + }, + { + "filename" : "Back.imagestacklayer" + } + ] +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/Contents.json new file mode 100644 index 0000000..e9e98ec --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,40 @@ +{ + "images" : [ + { + "filename" : "light@1x.png", + "idiom" : "tv-marketing", + "scale" : "1x" + }, + { + "filename" : "light@2x.png", + "idiom" : "tv-marketing", + "scale" : "2x" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "dark@1x.png", + "idiom" : "tv-marketing", + "scale" : "1x" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "dark@2x.png", + "idiom" : "tv-marketing", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/dark@1x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/dark@1x.png new file mode 100644 index 0000000..2659037 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/dark@1x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/dark@2x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/dark@2x.png new file mode 100644 index 0000000..8414a1e Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/dark@2x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/light@1x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/light@1x.png new file mode 100644 index 0000000..ca6f8e8 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/light@1x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/light@2x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/light@2x.png new file mode 100644 index 0000000..3e0f006 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/light@2x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/Contents.json new file mode 100644 index 0000000..3dec84c --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,40 @@ +{ + "images" : [ + { + "filename" : "light@1x.png", + "idiom" : "tv", + "scale" : "1x" + }, + { + "filename" : "light@2x.png", + "idiom" : "tv", + "scale" : "2x" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "dark@1x.png", + "idiom" : "tv", + "scale" : "1x" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "dark@2x.png", + "idiom" : "tv", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/dark@1x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/dark@1x.png new file mode 100644 index 0000000..b5d3b2c Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/dark@1x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/dark@2x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/dark@2x.png new file mode 100644 index 0000000..0bf1826 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/dark@2x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/light@1x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/light@1x.png new file mode 100644 index 0000000..23a96da Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/light@1x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/light@2x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/light@2x.png new file mode 100644 index 0000000..af68265 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/light@2x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Contents.json new file mode 100644 index 0000000..3d73e5f --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Contents.json @@ -0,0 +1,14 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + }, + "layers" : [ + { + "filename" : "Front.imagestacklayer" + }, + { + "filename" : "Back.imagestacklayer" + } + ] +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/Contents.json new file mode 100644 index 0000000..3dec84c --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,40 @@ +{ + "images" : [ + { + "filename" : "light@1x.png", + "idiom" : "tv", + "scale" : "1x" + }, + { + "filename" : "light@2x.png", + "idiom" : "tv", + "scale" : "2x" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "dark@1x.png", + "idiom" : "tv", + "scale" : "1x" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "dark@2x.png", + "idiom" : "tv", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/dark@1x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/dark@1x.png new file mode 100644 index 0000000..768ca30 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/dark@1x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/dark@2x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/dark@2x.png new file mode 100644 index 0000000..51312cd Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/dark@2x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/light@1x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/light@1x.png new file mode 100644 index 0000000..acb259d Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/light@1x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/light@2x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/light@2x.png new file mode 100644 index 0000000..2ccc2e2 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/light@2x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json new file mode 100644 index 0000000..f47ba43 --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json @@ -0,0 +1,32 @@ +{ + "assets" : [ + { + "filename" : "App Icon - App Store.imagestack", + "idiom" : "tv", + "role" : "primary-app-icon", + "size" : "1280x768" + }, + { + "filename" : "App Icon.imagestack", + "idiom" : "tv", + "role" : "primary-app-icon", + "size" : "400x240" + }, + { + "filename" : "Top Shelf Image Wide.imageset", + "idiom" : "tv", + "role" : "top-shelf-image-wide", + "size" : "2320x720" + }, + { + "filename" : "Top Shelf Image.imageset", + "idiom" : "tv", + "role" : "top-shelf-image", + "size" : "1920x720" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json new file mode 100644 index 0000000..3dec84c --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json @@ -0,0 +1,40 @@ +{ + "images" : [ + { + "filename" : "light@1x.png", + "idiom" : "tv", + "scale" : "1x" + }, + { + "filename" : "light@2x.png", + "idiom" : "tv", + "scale" : "2x" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "dark@1x.png", + "idiom" : "tv", + "scale" : "1x" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "dark@2x.png", + "idiom" : "tv", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/dark@1x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/dark@1x.png new file mode 100644 index 0000000..d5baa76 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/dark@1x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/dark@2x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/dark@2x.png new file mode 100644 index 0000000..75c5258 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/dark@2x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/light@1x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/light@1x.png new file mode 100644 index 0000000..a532b49 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/light@1x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/light@2x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/light@2x.png new file mode 100644 index 0000000..d3aafb2 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/light@2x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json new file mode 100644 index 0000000..3dec84c --- /dev/null +++ b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json @@ -0,0 +1,40 @@ +{ + "images" : [ + { + "filename" : "light@1x.png", + "idiom" : "tv", + "scale" : "1x" + }, + { + "filename" : "light@2x.png", + "idiom" : "tv", + "scale" : "2x" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "dark@1x.png", + "idiom" : "tv", + "scale" : "1x" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "dark@2x.png", + "idiom" : "tv", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/dark@1x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/dark@1x.png new file mode 100644 index 0000000..b0a4dc0 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/dark@1x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/dark@2x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/dark@2x.png new file mode 100644 index 0000000..3b11f02 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/dark@2x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/light@1x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/light@1x.png new file mode 100644 index 0000000..cab47ec Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/light@1x.png differ diff --git a/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/light@2x.png b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/light@2x.png new file mode 100644 index 0000000..3d19d73 Binary files /dev/null and b/IPv64TV/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/light@2x.png differ diff --git a/IPv64TV/Assets.xcassets/Contents.json b/IPv64TV/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/IPv64TV/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IPv64TV/DashboardView.swift b/IPv64TV/DashboardView.swift new file mode 100644 index 0000000..4805e32 --- /dev/null +++ b/IPv64TV/DashboardView.swift @@ -0,0 +1,269 @@ +import SwiftUI +import Charts +import IPv64 + +struct DashboardView: View { + @Environment(TVSession.self) private var session + @State private var range = Node64.DNS64Range.last24Hours + @State private var status: Node64.DNS64Blocking? + @State private var totals: Node64.DNS64SummaryTotals? + @State private var buckets: [Node64.DNS64TimelineBucket] = [] + /// Bar width from the node (1 h: 2 min, 24 h: 30 min, 7 d: 4 h). + @State private var stepMs = 1_800_000 + @State private var rows: [Node64.DNS64LogRow] = [] + @State private var errors: [String: String] = [:] + @State private var loaded = false + @State private var writing = false + @State private var writeError: String? + /// Bumped by every pause/resume; a refresh started before it must not overwrite the new state. + @State private var writes = 0 + /// Bumped when the pause countdown ends so the task reloads and the state flips back. + @State private var expiredTick = 0 + private enum Field { case filter, range } + /// Locks the range picker while the dashboard has no focus, but only after launch: locked from the first frame, + /// tvOS would start on the filter menu instead of the tab bar. + @State private var gatePicker = false + @FocusState private var focus: Field? + @AppStorage(TVSettings.keepAwake) private var keepAwake = true + @AppStorage(TVSettings.streamingMode) private var streaming = false + + private struct LoadKey: Equatable { let range: Node64.DNS64Range; let generation: Int; let tick: Int } + + private var paused: Bool { status?.paused == true } + + var body: some View { + // Anchored to the top, below the floating tab bar; chart and card share the remaining height. + VStack(alignment: .leading, spacing: 24) { + HStack { + Label(TVNode.name.map { Streaming.name($0, streaming: streaming) } ?? "Node64", systemImage: "server.rack").font(.largeTitle.bold()).lineLimit(1) + Spacer(minLength: 0) + if errors["status"] != nil { + Image(systemName: "exclamationmark.triangle.fill").foregroundStyle(.red) // filter state unknown + } + blockingButton + Picker("Range", selection: $range) { + Text("1 h").tag(Node64.DNS64Range.lastHour) + Text("24 h").tag(Node64.DNS64Range.last24Hours) + Text("7 d").tag(Node64.DNS64Range.last7Days) + } + .pickerStyle(.segmented) + .frame(width: 420) + // Coming down from the tab bar tvOS picks the range picker, and a Menu ignores defaultFocus: + // while nothing in the dashboard has focus, only the filter menu can take it. + .disabled(gatePicker && focus == nil) + .focused($focus, equals: .range) + } + tiles.fixedSize(horizontal: false, vertical: true) // never shrink the numbers; chart and card take the rest + HStack(alignment: .top, spacing: 50) { + chart + recentQueries.frame(width: 700) + } + } + .tvPage() + .focusSection() + // .userInitiated: also when the user moves down from the tab bar, not only on first appearance. + .defaultFocus($focus, .filter, priority: .userInitiated) + .task { + try? await Task.sleep(for: .seconds(1)) // the launch focus has settled on the tab bar by then + gatePicker = true + } + .overlay { if !loaded { ProgressView() } } + .alert("Error", isPresented: Binding(get: { writeError != nil }, set: { if !$0 { writeError = nil } })) { + Button("OK") {} + } message: { Text(writeError ?? "") } + .onAppear { UIApplication.shared.isIdleTimerDisabled = keepAwake } + .onChange(of: keepAwake) { UIApplication.shared.isIdleTimerDisabled = keepAwake } + .onDisappear { UIApplication.shared.isIdleTimerDisabled = false } + .onChange(of: session.activeId) { + // Another node: never show the previous node's numbers while the new one loads. + (totals, buckets, rows, status, errors, loaded) = (nil, [], [], nil, [:], false) + } + .task(id: LoadKey(range: range, generation: session.generation, tick: expiredTick)) { + while !Task.isCancelled { + await refresh() + try? await Task.sleep(for: .seconds(10)) + } + } + } + + // MARK: Blocking + + private var blockingButton: some View { + // System dropdown: the pause durations, or Resume while paused. + Menu { + if paused { + Button("Resume filtering", systemImage: "play.fill") { write { try await $0.resume() } } + } else { + Section("Pause filtering") { + Button("5 minutes") { write { try await $0.pause(minutes: 5) } } + Button("15 minutes") { write { try await $0.pause(minutes: 15) } } + Button("30 minutes") { write { try await $0.pause(minutes: 30) } } + Button("1 hour") { write { try await $0.pause(minutes: 60) } } + Button("Until resumed") { write { try await $0.pause(minutes: 0) } } + } + } + } label: { + // Ticks every second for the pause countdown. + TimelineView(.periodic(from: .now, by: 1)) { context in + let remaining = paused && status?.untilResumed != true ? status?.pausedUntil?.timeIntervalSince(context.date) : nil + Label(blockingTitle(remaining), systemImage: paused ? "pause.circle.fill" : "shield.fill") + .font(.callout.bold()) + // Darker shades on the bright focused glass, so the text stays readable. + .foregroundStyle(focus == .filter + ? (paused ? Color(red: 0.75, green: 0.1, blue: 0.1) : Color(red: 0.1, green: 0.5, blue: 0.2)) + : (paused ? Color.red : Color.green)) + .onChange(of: remaining.map { $0 <= 0 } ?? false) { _, ended in if ended { expiredTick += 1 } } + } + } + .focused($focus, equals: .filter) + .modifier(GlassButtonStyle()) + .disabled(writing) + } + + private func blockingTitle(_ remaining: TimeInterval?) -> String { + guard paused else { return String(localized: "Filter on") } + guard let remaining else { return String(localized: "Filter off") } + let t = max(0, Int(remaining.rounded(.up))) + let time = t >= 3600 ? String(format: "%d:%02d:%02d", t / 3600, t / 60 % 60, t % 60) : String(format: "%02d:%02d", t / 60, t % 60) + return String(localized: "Filter off · \(time)") + } + + private func write(_ action: @escaping (Node64.DNS64) async throws -> Node64.DNS64Blocking) { + guard let dns = session.client?.dns64 else { return } + writing = true + writes += 1 + Task { + defer { writing = false } + do { status = try await action(dns) } catch { writeError = Streaming.errorText(error, streaming: streaming) } + } + } + + // MARK: Tiles and chart + + private var tiles: some View { + let total = totals?.total ?? 0 + func percent(_ n: Int?) -> String { + total > 0 ? "\((Double(n ?? 0) / Double(total) * 100).formatted(.number.precision(.fractionLength(1)))) %" : "–" + } + return HStack(spacing: 24) { + tile("Queries", totals?.total, totals?.avgUpstreamMs.map { "Ø \($0.formatted(.number.precision(.fractionLength(0)))) ms" }, "globe", .ipv64) + tile("Blocked", totals?.blocked, percent(totals?.blocked), "hand.raised.fill", .red.opacity(0.75)) + tile("Cached", totals?.cached, percent(totals?.cached), "bolt.fill", .ipv64) + tile("Clients", totals?.clients, nil, "person.2.fill", .ipv64) + } + .overlay { if let e = errors["summary"] { Text(e).font(.caption).padding(8).background(.red, in: Capsule()) } } + } + + private func tile(_ title: LocalizedStringKey, _ value: Int?, _ subtitle: String?, _ icon: String, _ color: Color) -> some View { + VStack(alignment: .leading, spacing: 4) { + Label(title, systemImage: icon).font(.headline).foregroundStyle(color) + Text(value.map { $0.formatted() } ?? "–").font(.system(size: 48, weight: .bold)).minimumScaleFactor(0.5).lineLimit(1) + Text(subtitle ?? " ").font(.subheadline) + } + .padding(20) + .frame(maxWidth: .infinity, alignment: .leading) + .glassCard() + } + + private var allowedName: String { String(localized: "Allowed") } + private var blockedName: String { String(localized: "Blocked") } + + @ViewBuilder private var chart: some View { + if let e = errors["timeline"] { + Text(e).foregroundStyle(.red) + } else { + // Bars span the bucket (stepMs from the node, minus a small gap); Blocked is stacked on Allowed. + let width = Double(stepMs) / 1000 * 0.8 + Chart { + ForEach(Array(buckets.enumerated()), id: \.offset) { _, bucket in bars(bucket, width: width) } + } + .chartForegroundStyleScale([allowedName: Color.green, blockedName: Color.red]) + .chartLegend(position: .bottom) + .frame(minHeight: 200, maxHeight: .infinity) + } + } + + @ChartContentBuilder + private func bars(_ bucket: Node64.DNS64TimelineBucket, width: TimeInterval) -> some ChartContent { + if let date = bucket.date { + let blocked = bucket.blocked ?? 0 + let allowed = max(0, (bucket.total ?? 0) - blocked) + let end = date.addingTimeInterval(width) + RectangleMark(xStart: .value("Time", date), xEnd: .value("End", end), + yStart: .value("Queries", 0), yEnd: .value("Queries", allowed)) + .foregroundStyle(by: .value("Series", allowedName)) + RectangleMark(xStart: .value("Time", date), xEnd: .value("End", end), + yStart: .value("Queries", allowed), yEnd: .value("Queries", allowed + blocked)) + .foregroundStyle(by: .value("Series", blockedName)) + } + } + + // MARK: Recent queries + + private var recentQueries: some View { + VStack(alignment: .leading, spacing: 16) { + Text("Recent queries").font(.title3.bold()) + if let e = errors["log"] { + Text(e).foregroundStyle(.red) + } else if rows.isEmpty { + Text("Waiting for queries…").foregroundStyle(.secondary) + } + ForEach(Array(rows.enumerated()), id: \.offset) { _, row in TVLogRow(row: row) } + Spacer(minLength: 0) + } + .padding(30) + .frame(maxHeight: .infinity, alignment: .topLeading) + .glassCard() + .clipShape(RoundedRectangle(cornerRadius: 28)) + } + + // MARK: Loading + + private func refresh() async { + guard let dns = session.client?.dns64 else { return } + let writesAtStart = writes + async let s = catching { try await dns.summary(range: range) } + async let t = catching { try await dns.timeline(range: range) } + async let st = catching { try await dns.status() } + async let l = catching { try await dns.log(limit: 5) } // what fits the card on a 1080p canvas + let (sr, tr, str, lr) = await (s, t, st, l) + if Task.isCancelled { return } + func apply(_ key: String, _ r: Result, _ set: (T) -> Void) { + switch r { + case .success(let v): set(v); errors[key] = nil + case .failure(let e): errors[key] = Streaming.errorText(e, streaming: streaming) + } + } + apply("summary", sr) { totals = $0.summary } + apply("timeline", tr) { + buckets = $0.buckets ?? [] + stepMs = $0.stepMs ?? stepMs + } + if writesAtStart == writes { apply("status", str) { status = $0.blocking } } + apply("log", lr) { rows = $0.rows ?? [] } + loaded = true + } +} + +/// Liquid Glass on tvOS 26+, regular material before. +private extension View { + @ViewBuilder func glassCard() -> some View { + if #available(tvOS 26.0, *) { + glassEffect(.regular, in: RoundedRectangle(cornerRadius: 28)) + } else { + background(.regularMaterial, in: RoundedRectangle(cornerRadius: 28)) + } + } +} + +private struct GlassButtonStyle: ViewModifier { + func body(content: Content) -> some View { + if #available(tvOS 26.0, *) { content.buttonStyle(.glass) } else { content } + } +} + +/// `Result` of an async call. The async `Result { … }` initializer only exists in newer Swift standard +/// libraries (Xcode 27); this keeps the app building with older toolchains (CI runner). +private func catching(_ body: () async throws -> T) async -> Result { + do { return .success(try await body()) } catch { return .failure(error) } +} diff --git a/IPv64TV/IPv64TV.entitlements b/IPv64TV/IPv64TV.entitlements new file mode 100644 index 0000000..63f007b --- /dev/null +++ b/IPv64TV/IPv64TV.entitlements @@ -0,0 +1,22 @@ + + + + + aps-environment + development + com.apple.developer.icloud-container-identifiers + + iCloud.de.rpicloud.IPv64 + + com.apple.developer.icloud-services + + CloudKit + + keychain-access-groups + $(AppIdentifierPrefix)group.ipv64.net + com.apple.security.application-groups + + group.ipv64.net + + + diff --git a/IPv64TV/IPv64TVApp.swift b/IPv64TV/IPv64TVApp.swift new file mode 100644 index 0000000..b227618 --- /dev/null +++ b/IPv64TV/IPv64TVApp.swift @@ -0,0 +1,38 @@ +import SwiftUI + +@main +struct IPv64TVApp: App { + @State private var session = TVSession() + /// Start tab; only set by the launch argument `-tvInitialTab <0-3>` (screenshots), otherwise the dashboard. + @State private var showWhatsNew = false + @State private var tab = UserDefaults.standard.integer(forKey: "tvInitialTab") + + private static let build = Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "" + + var body: some Scene { + WindowGroup { + Group { + if session.client == nil { + NodeAccessView() + } else { + TabView(selection: $tab) { + Tab("Dashboard", systemImage: "house", value: 0) { DashboardView() } + Tab("Query log", systemImage: "list.bullet.rectangle", value: 1) { QueryLogView() } + Tab("Nodes", systemImage: "server.rack", value: 2) { NodeAccessView() } + Tab("Settings", systemImage: "gear", value: 3) { SettingsView() } + } + } + } + .environment(session) + .fullScreenCover(isPresented: $showWhatsNew, onDismiss: { + UserDefaults.standard.set(Self.build, forKey: TVSettings.lastWhatsNewBuild) + }) { TVWhatsNewView() } + // Once per new build, only when set up and not for the screenshot launch (-tvInitialTab). + .onChange(of: session.client != nil, initial: true) { _, ready in + guard ready, UserDefaults.standard.object(forKey: "tvInitialTab") == nil, UserDefaults.standard.string(forKey: TVSettings.lastWhatsNewBuild) != Self.build else { return } + showWhatsNew = true + } + .task { await session.loadCloudNodes() } // picks up key/address changes from the iPhone at launch + } + } +} diff --git a/IPv64TV/Info.plist b/IPv64TV/Info.plist new file mode 100644 index 0000000..dc7a216 --- /dev/null +++ b/IPv64TV/Info.plist @@ -0,0 +1,26 @@ + + + + + NSAppTransportSecurity + + + NSAllowsArbitraryLoads + + NSExceptionDomains + + ipv64.net + + NSIncludesSubdomains + + NSExceptionAllowsInsecureHTTPLoads + + + + + NSLocalNetworkUsageDescription + IPv64.net connects directly to your Node64 nodes in your local network. + SecureKeychainAccessGroup + $(AppIdentifierPrefix)group.ipv64.net + + diff --git a/IPv64TV/InfoPlist.xcstrings b/IPv64TV/InfoPlist.xcstrings new file mode 100644 index 0000000..f9f6ae4 --- /dev/null +++ b/IPv64TV/InfoPlist.xcstrings @@ -0,0 +1,22 @@ +{ + "sourceLanguage" : "en", + "strings" : { + "NSLocalNetworkUsageDescription" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv64.net verbindet sich direkt mit deinen Node64-Nodes in deinem lokalen Netzwerk." + } + }, + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "IPv64.net connects directly to your Node64 nodes in your local network." + } + } + } + } + }, + "version" : "1.0" +} diff --git a/IPv64TV/Localizable.xcstrings b/IPv64TV/Localizable.xcstrings new file mode 100644 index 0000000..4104147 --- /dev/null +++ b/IPv64TV/Localizable.xcstrings @@ -0,0 +1,856 @@ +{ + "sourceLanguage" : "en", + "strings" : { + "%@ ms" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ ms" + } + } + } + }, + "1 h" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1 Std." + } + } + } + }, + "1 hour" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1 Stunde" + } + } + } + }, + "15 minutes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "15 Minuten" + } + } + } + }, + "24 h" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "24 Std." + } + } + } + }, + "30 minutes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "30 Minuten" + } + } + } + }, + "5 minutes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "5 Minuten" + } + } + } + }, + "7 d" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "7 T" + } + } + } + }, + "About" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Über" + } + } + } + }, + "Add node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node hinzufügen" + } + } + } + }, + "Address" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Adresse" + } + } + } + }, + "Address and API key" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Adresse und API-Key" + } + } + } + }, + "All" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Alle" + } + } + } + }, + "Allow this domain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese Domain erlauben" + } + } + } + }, + "Allowed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erlaubt" + } + } + } + }, + "Block this domain" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese Domain blockieren" + } + } + } + }, + "Block this domain and its subdomains for all clients?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese Domain und ihre Subdomains für alle Clients blockieren?" + } + } + } + }, + "Blocked" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blockiert" + } + } + } + }, + "Blocked by %@. Allow this domain and its subdomains for all clients?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blockiert durch %@. Diese Domain und ihre Subdomains für alle Clients erlauben?" + } + } + } + }, + "Blocked. Allow this domain and its subdomains for all clients?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blockiert. Diese Domain und ihre Subdomains für alle Clients erlauben?" + } + } + } + }, + "Cached" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Cache" + } + } + } + }, + "Cancel" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Abbrechen" + } + } + } + }, + "Clients" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Clients" + } + } + } + }, + "Connect" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbinden" + } + } + } + }, + "Continue" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Weiter" + } + } + } + }, + "Could not connect" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbindung nicht möglich" + } + } + } + }, + "Could not load the log" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Log konnte nicht geladen werden" + } + } + } + }, + "DNS64 of your Node64 at a glance: queries, blocked share, a chart and the latest queries." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS64 deiner Node64 auf einen Blick: Anfragen, blockierter Anteil, ein Diagramm und die neuesten Anfragen." + } + } + } + }, + "DNS64 version" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS64-Version" + } + } + } + }, + "Dashboard" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dashboard" + } + } + } + }, + "Delete" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Löschen" + } + } + } + }, + "Delete %@?" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@ löschen?" + } + } + } + }, + "Edit" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bearbeiten" + } + } + } + }, + "Edit node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node bearbeiten" + } + } + } + }, + "Empty keeps the stored key" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Leer lässt den gespeicherten Key unverändert" + } + } + } + }, + "End" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ende" + } + } + } + }, + "Enter a valid address, e.g. http://192.168.1.10:8080/api" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib eine gültige Adresse ein, z. B. http://192.168.1.10:8080/api" + } + } + } + }, + "Enter a valid address. HTTP works with an IP address (e.g. 192.168.1.10 or a public IP) or a local name." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib eine gültige Adresse ein. HTTP funktioniert mit einer IP-Adresse (z. B. 192.168.1.10 oder einer öffentlichen IP) oder einem lokalen Namen." + } + } + } + }, + "Enter the address and API key of your Node64 node, as in the iPhone app under More → Nodes." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib Adresse und API-Key deines Node64-Nodes ein, wie in der iPhone-App unter Mehr → Nodes." + } + } + } + }, + "Enter the node API key." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib den API-Key des Nodes ein." + } + } + } + }, + "Error" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fehler" + } + } + } + }, + "Filter" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Filter" + } + } + } + }, + "Filter off" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Filter aus" + } + } + } + }, + "Filter off · %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Filter aus · %@" + } + } + } + }, + "Filter on" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Filter an" + } + } + } + }, + "German" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Deutsch" + } + } + } + }, + "Hides addresses, IPs, client names and domains while you stream or film the screen." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blendet Adressen, IPs, Clientnamen und Domains aus, während du streamst oder den Bildschirm filmst." + } + } + } + }, + "Hides addresses, IPs, client names and domains, e.g. while you stream or film the screen." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blendet Adressen, IPs, Clientnamen und Domains aus, z. B. beim Streamen oder Filmen des Bildschirms." + } + } + } + }, + "Keep the screen awake" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bildschirm wach halten" + } + } + } + }, + "Name" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Name" + } + } + } + }, + "Network error (%lld)" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Netzwerkfehler (%lld)" + } + } + } + }, + "No nodes from your iPhone yet. Turn on \"Sync with iCloud\" in the iPhone app under More → Nodes." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Noch keine Nodes von deinem iPhone. Aktiviere „Mit iCloud synchronisieren“ in der iPhone-App unter Mehr → Nodes." + } + } + } + }, + "Node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node" + } + } + } + }, + "Node API key" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node-API-Key" + } + } + } + }, + "Nodes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nodes" + } + } + } + }, + "Nodes from your iPhone" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nodes von deinem iPhone" + } + } + } + }, + "Nodes you connect in the iPhone app appear here via iCloud; no typing with the remote." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nodes, die du in der iPhone-App verbindest, erscheinen hier über iCloud – ohne Tippen mit der Fernbedienung." + } + } + } + }, + "OK" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "OK" + } + } + } + }, + "Pause filtering" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Filterung pausieren" + } + } + } + }, + "Queries" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anfragen" + } + } + } + }, + "Query log" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Query-Log" + } + } + } + }, + "Range" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bereich" + } + } + } + }, + "Recent queries" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Letzte Anfragen" + } + } + } + }, + "Recent queries, filter by blocked or allowed, and block or allow a domain right from the TV." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die letzten Anfragen, gefiltert nach blockiert oder erlaubt – und Domains direkt vom Fernseher aus blockieren oder erlauben." + } + } + } + }, + "Refresh" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aktualisieren" + } + } + } + }, + "Reload" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neu laden" + } + } + } + }, + "Remove from allow list" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Von der Erlaubtliste entfernen" + } + } + } + }, + "Remove from block list" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Von der Sperrliste entfernen" + } + } + } + }, + "Resume filtering" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Filterung fortsetzen" + } + } + } + }, + "Save" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Speichern" + } + } + } + }, + "Series" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Datenreihe" + } + } + } + }, + "Settings" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Einstellungen" + } + } + } + }, + "Sign in to iCloud on this Apple TV to see the nodes of your iPhone." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Melde dich auf diesem Apple TV bei iCloud an, um die Nodes deines iPhones zu sehen." + } + } + } + }, + "Streaming mode" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Streaming-Modus" + } + } + } + }, + "The app is now also available in German." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Die App gibt es jetzt auch auf Deutsch." + } + } + } + }, + "The node is removed from this Apple TV only." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Der Node wird nur von diesem Apple TV entfernt." + } + } + } + }, + "This domain is on your own block or allow list." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diese Domain steht auf deiner eigenen Block- oder Erlaubtliste." + } + } + } + }, + "Time" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zeit" + } + } + } + }, + "Type on your iPhone: tap the keyboard notification." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Eingabe am iPhone: Tippe auf die Tastatur-Benachrichtigung." + } + } + } + }, + "Until resumed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bis zur Fortsetzung" + } + } + } + }, + "Version" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Version" + } + } + } + }, + "Waiting for queries…" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Warte auf Anfragen…" + } + } + } + }, + "What's New" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neuigkeiten" + } + } + } + }, + "What's New in IPv64.net" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neu in IPv64.net" + } + } + } + }, + "node64_…" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "node64_…" + } + } + } + } + }, + "version" : "1.0" +} diff --git a/IPv64TV/NodeAccessView.swift b/IPv64TV/NodeAccessView.swift new file mode 100644 index 0000000..3d2297c --- /dev/null +++ b/IPv64TV/NodeAccessView.swift @@ -0,0 +1,229 @@ +import SwiftUI + +/// Node grid like the Home Screen: saved nodes (active one marked), nodes from the iPhone (iCloud) and a "+" tile +/// for manual entry. Long press on a saved node: edit or delete. +struct NodeAccessView: View { + @Environment(TVSession.self) private var session + @State private var connecting: String? + @State private var error: String? + @State private var editor: Editor? + @State private var deleting: TVNode.Saved? + @AppStorage(TVSettings.streamingMode) private var streaming = false + @FocusState private var focused: String? + + /// Manual entry sheet: a new node, or a saved one being edited. + struct Editor: Identifiable { + var node: TVNode.Saved? + var id: String { node?.id ?? "+" } + } + + /// iCloud nodes not saved here yet, one per node (the same node can come from two ipv64.net accounts). + private var suggestions: [NodeCloudStore.Node] { + var seen = Set(session.saved.map(\.id)).union(session.saved.map(\.url)) + return (session.cloudNodes ?? []).filter { seen.insert($0.nodeId).inserted && seen.insert($0.url).inserted } + } + + /// The Siri Remote starts on the first tile. + private var firstTile: String { session.saved.first?.id ?? suggestions.first?.id ?? "+" } + + var body: some View { + // Same header position as the dashboard (below the floating tab bar), Reload top right. + VStack(alignment: .leading, spacing: 24) { + HStack { + Label("Nodes", systemImage: "server.rack").font(.largeTitle.bold()) + Spacer(minLength: 0) + Button { Task { await session.loadCloudNodes() } } label: { + if session.loadingCloud { ProgressView() } else { Label("Reload", systemImage: "arrow.clockwise") } + } + } + ScrollView { + VStack(alignment: .leading, spacing: 30) { + LazyVGrid(columns: [GridItem(.adaptive(minimum: 380), spacing: 50)], spacing: 50) { + ForEach(session.saved) { node in + tile(title(node.name, node.url), shown(node.url), systemImage: "server.rack", active: node.id == session.activeId) { + TVNode.select(node.id) + session.reload() + } + .focused($focused, equals: node.id) + .contextMenu { + Button("Edit", systemImage: "pencil") { editor = Editor(node: node) } + Button("Delete", systemImage: "trash", role: .destructive) { deleting = node } + } + } + ForEach(suggestions) { node in + tile(title(node.name, node.url), shown(node.url), systemImage: "icloud", busy: connecting == node.id) { + Task { await connect(node) } + } + .focused($focused, equals: node.id) + } + tile(String(localized: "Add node"), String(localized: "Address and API key"), systemImage: "plus") { editor = Editor() } + .focused($focused, equals: "+") + } + footer + } + .padding(40) // room for the focused tile's lift + } + } + .tvPage() + .focusSection() + // .userInitiated: when the user moves down from the tab bar; closing a sheet or menu restores focus as usual. + .defaultFocus($focused, firstTile, priority: .userInitiated) + .onChange(of: session.cloudNodes?.count) { + // First launch: the iCloud list arrives after the screen appeared with only "Add node" to focus. + if focused == "+", firstTile != "+" { focused = firstTile } + } + .task { await session.loadCloudNodes() } + .alert("Could not connect", isPresented: Binding(get: { error != nil }, set: { if !$0 { error = nil } })) { + Button("OK") {} + } message: { Text(error ?? "") } + .fullScreenCover(item: $editor) { editor in ManualNodeView(node: editor.node) } + .confirmationDialog("Delete \(deleting.map { title($0.name, $0.url) } ?? "")?", + isPresented: Binding(get: { deleting != nil }, set: { if !$0 { deleting = nil } }), + titleVisibility: .visible, presenting: deleting) { node in + Button("Delete", role: .destructive) { + TVNode.forget(node.id) + session.reload() + } + } message: { _ in + Text("The node is removed from this Apple TV only.") + } + } + + /// iCloud state below the grid. + @ViewBuilder private var footer: some View { + Group { + if let cloudError = session.cloudError { + Text(cloudError) + } else if session.cloudNodes == nil { + ProgressView() + } else if session.cloudNodes?.isEmpty == true { + Text("No nodes from your iPhone yet. Turn on \"Sync with iCloud\" in the iPhone app under More → Nodes.") + } + } + .foregroundStyle(.secondary) + } + + private func tile(_ title: String, _ subtitle: String, systemImage: String, active: Bool = false, busy: Bool = false, + action: @escaping () -> Void) -> some View { + Button(action: action) { + VStack(alignment: .leading, spacing: 10) { + HStack { + Image(systemName: systemImage).font(.title2).foregroundStyle(Color.ipv64) + Spacer() + if busy { ProgressView() } else if active { Image(systemName: "checkmark.circle.fill").foregroundStyle(.green) } + } + Spacer(minLength: 0) + Text(title).font(.headline).lineLimit(1) + Text(subtitle).font(.caption).foregroundStyle(.secondary).lineLimit(1) + } + .padding(30) + .frame(width: 380, height: 220, alignment: .leading) + } + .buttonStyle(.card) + .disabled(connecting != nil) + } + + private func shown(_ url: String) -> String { streaming ? Streaming.maskURL(url) : url } + private func title(_ name: String?, _ url: String) -> String { name.map { Streaming.name($0, streaming: streaming) } ?? shown(url) } + + private func connect(_ node: NodeCloudStore.Node) async { + connecting = node.id + defer { connecting = nil } + do { + try await TVNode.connect(address: node.url, key: node.key, id: node.nodeId) + _ = TVNode.adopt([node]) // remembers this iCloud state as seen + error = nil + session.reload() + } catch { + self.error = "\(title(node.name, node.url)): \(Streaming.errorText(error, streaming: streaming))" + } + } +} + +/// Address and API key of a new node, or of a saved one (empty key keeps the stored key). Full screen: +/// explanation left, fields and a prominent Connect button right; Menu on the remote closes it. +struct ManualNodeView: View { + let node: TVNode.Saved? + @Environment(TVSession.self) private var session + @Environment(\.dismiss) private var dismiss + @State private var address = "" + @State private var key = "" + @State private var connecting = false + @State private var error: String? + @AppStorage(TVSettings.streamingMode) private var streaming = false + + var body: some View { + HStack(spacing: 100) { + VStack(alignment: .leading, spacing: 30) { + Image(systemName: node == nil ? "plus.circle.fill" : "pencil.circle.fill") + .font(.system(size: 120)) + .foregroundStyle(Color.ipv64) + Text(node == nil ? "Add node" : "Edit node").font(.largeTitle.bold()) + Text("Enter the address and API key of your Node64 node, as in the iPhone app under More → Nodes.") + Label("Type on your iPhone: tap the keyboard notification.", systemImage: "iphone") + .foregroundStyle(.secondary) + } + .frame(width: 650, alignment: .leading) + // Fields on a light card with their own capsules: tvOS draws unfocused fields without a platter. + VStack(alignment: .leading, spacing: 30) { + VStack(alignment: .leading, spacing: 12) { + Text("Address").font(.headline).foregroundStyle(.secondary) + // Streaming mode: the stored address is not prefilled; empty keeps it. + TextField(streaming && node != nil ? Streaming.maskURL(node!.url) : "e.g. 192.168.1.10", text: $address) + .textContentType(.URL) + .autocorrectionDisabled() + .textInputAutocapitalization(.never) + .background(.white.opacity(0.12), in: Capsule()) // unfocused tvOS fields draw no platter + } + VStack(alignment: .leading, spacing: 12) { + Text("Node API key").font(.headline).foregroundStyle(.secondary) + SecureField(node == nil ? "node64_…" : "Empty keeps the stored key", text: $key) + .background(.white.opacity(0.12), in: Capsule()) + } + Button { + Task { await connect() } + } label: { + Group { + if connecting { ProgressView() } else { Text(node == nil ? "Connect" : "Save").bold() } + } + .frame(maxWidth: .infinity) + } + .buttonStyle(.borderedProminent) + .tint(Color.ipv64) + .disabled(connecting) + Button { + dismiss() + } label: { + Text("Cancel").frame(maxWidth: .infinity) + } + } + .padding(50) + .frame(width: 850) + .background(.white.opacity(0.06), in: RoundedRectangle(cornerRadius: 40)) + } + .frame(maxWidth: .infinity, maxHeight: .infinity) + // A full-screen cover is transparent on tvOS: an opaque background hides the grid behind it. + .background { + LinearGradient(colors: [Color.ipv64.opacity(0.25), .black], startPoint: .top, endPoint: .center) + .background(.black) + .ignoresSafeArea() + } + .onAppear { if address.isEmpty && !streaming { address = node?.url ?? "" } } + .alert("Could not connect", isPresented: Binding(get: { error != nil }, set: { if !$0 { error = nil } })) { + Button("OK") {} + } message: { Text(error ?? "") } + } + + private func connect() async { + connecting = true + defer { connecting = false } + do { + // Streaming mode does not prefill the stored address: empty keeps it. Without it, empty stays an input error. + try await TVNode.connect(address: address.isEmpty && streaming ? node?.url ?? "" : address, key: key, replacing: node?.id) + session.reload() + dismiss() + } catch { + self.error = Streaming.errorText(error, streaming: streaming) + } + } +} diff --git a/IPv64TV/QueryLogView.swift b/IPv64TV/QueryLogView.swift new file mode 100644 index 0000000..d66d6c5 --- /dev/null +++ b/IPv64TV/QueryLogView.swift @@ -0,0 +1,172 @@ +import SwiftUI +import IPv64 + +/// One query of the log; shared with the dashboard's "Recent queries" card. +struct TVLogRow: View { + let row: Node64.DNS64LogRow + var detailed = false + @AppStorage(TVSettings.streamingMode) private var streaming = false + + private var color: Color { + switch row.status?.rawValue { + case "allowed", "cached": .green + case "blocked": .red + case "error": .orange + default: .gray + } + } + + /// Localized badge text; an unknown server status is shown as sent. + private var statusText: Text { + switch row.status?.rawValue { + case "allowed": Text("Allowed") + case "cached": Text("Cached") + case "blocked": Text("Blocked") + case "error": Text("Error") + default: Text(verbatim: (row.status?.rawValue ?? "?").capitalized) + } + } + + var body: some View { + HStack(spacing: 20) { + statusText + .font(.caption.bold()) + .lineLimit(1).minimumScaleFactor(0.6) + .foregroundStyle(.white) + .frame(width: 120) + .padding(.vertical, 6) + .background(color, in: Capsule()) + VStack(alignment: .leading, spacing: 2) { + Text(row.domain.map { streaming ? Streaming.mask($0) : $0 } ?? "–").lineLimit(1) + Text((row.clientName ?? row.client).map { streaming ? Streaming.mask($0) : $0 } ?? "–") + .font(.caption).foregroundStyle(.secondary).lineLimit(1) + } + Spacer(minLength: 12) + if detailed { + Text(row.qtype ?? "").font(.caption).foregroundStyle(.secondary) + if let ms = row.ms { Text("\(ms.formatted(.number.precision(.fractionLength(0)))) ms").font(.caption).foregroundStyle(.secondary) } + } + if let date = row.date { + Text(date, format: .dateTime.hour().minute().second()).monospacedDigit().foregroundStyle(.secondary) + } + } + } +} + +struct QueryLogView: View { + @Environment(TVSession.self) private var session + @State private var rows: [Node64.DNS64LogRow] = [] + @State private var filter: Node64.DNS64QueryStatus? + @State private var error: String? + @State private var loading = false + /// Refresh and retry restart the one load task, so a slow older load can't land after a filter change. + @State private var reloads = 0 + @State private var denied = Set() + @State private var allowed = Set() + @State private var selected: Node64.DNS64LogRow? + @State private var actionError: String? + @AppStorage(TVSettings.streamingMode) private var streaming = false + + private struct LoadKey: Equatable { let filter: Node64.DNS64QueryStatus?; let reloads: Int; let generation: Int } + + var body: some View { + // Same header position as the dashboard (below the floating tab bar), filter and refresh on the right. + VStack(alignment: .leading, spacing: 24) { + HStack(spacing: 30) { + Label("Query log", systemImage: "list.bullet.rectangle").font(.largeTitle.bold()).lineLimit(1) + Spacer(minLength: 0) + Picker("Filter", selection: $filter) { + Text("All").tag(Node64.DNS64QueryStatus?.none) + Text("Blocked").tag(Node64.DNS64QueryStatus?.some(.blocked)) + Text("Allowed").tag(Node64.DNS64QueryStatus?.some(.allowed)) + } + .pickerStyle(.segmented) + .frame(width: 520) + Button { reloads += 1 } label: { + if loading { ProgressView() } else { Label("Refresh", systemImage: "arrow.clockwise") } + } + } + .focusSection() // up from any row reaches filter and Refresh on the right + if let error { + ContentUnavailableView { + Label("Could not load the log", systemImage: "exclamationmark.triangle") + } description: { + Text(error) + } + } else { + // Own focus look (TVRowButtonStyle): the system list platter washes out the coloured badges. + ScrollView { + LazyVStack(spacing: 6) { + ForEach(Array(rows.enumerated()), id: \.offset) { _, row in + Button { if row.domain != nil { selected = row } } label: { TVLogRow(row: row, detailed: true) } + .buttonStyle(TVRowButtonStyle()) + } + } + .padding(.vertical, 12) + } + .tvFocusRoom() + } + } + .tvPage() + .confirmationDialog(selected?.domain.map { streaming ? Streaming.mask($0) : $0 } ?? "", isPresented: Binding(get: { selected != nil }, set: { if !$0 { selected = nil } }), + titleVisibility: .visible, presenting: selected) { row in + let domain = row.domain ?? "" + let blocked = row.status?.rawValue == "blocked" + if denied.contains(domain) { + Button("Remove from block list") { change(domain) { try await $0.denylist.remove(domain) } } + } else if blocked { + Button("Allow this domain") { change(domain) { _ = try await $0.allowlist.add(domain) } } + } + if allowed.contains(domain) { + Button("Remove from allow list") { change(domain) { try await $0.allowlist.remove(domain) } } + } else if !blocked && !denied.contains(domain) { + Button("Block this domain", role: .destructive) { change(domain) { _ = try await $0.denylist.add(domain) } } + } + Button("Cancel", role: .cancel) {} + } message: { row in + if denied.contains(row.domain ?? "") || allowed.contains(row.domain ?? "") { + Text("This domain is on your own block or allow list.") + } else if row.status?.rawValue == "blocked" { + // The reason can name a list URL: hidden in streaming mode. + if let reason = row.reason, !streaming { + Text("Blocked by \(reason). Allow this domain and its subdomains for all clients?") + } else { + Text("Blocked. Allow this domain and its subdomains for all clients?") + } + } else { + Text("Block this domain and its subdomains for all clients?") + } + } + .alert("Error", isPresented: Binding(get: { actionError != nil }, set: { if !$0 { actionError = nil } })) { + } message: { Text(actionError ?? "") } + .task(id: LoadKey(filter: filter, reloads: reloads, generation: session.generation)) { await load() } + } + + private func load() async { + guard let client = session.client else { return } + loading = true + defer { if !Task.isCancelled { loading = false } } // a cancelled load must not hide the new load's spinner + do { + let dns = client.dns64 + async let log = dns.log(status: filter, limit: 100) + async let deny = dns.denylist.list() + async let allow = dns.allowlist.list() + // The lists only drive the dialog: an older node without them still shows the log. + let (d, a) = (((try? await deny) ?? []), ((try? await allow) ?? [])) + rows = try await log.rows ?? [] + denied = Set(d.compactMap(\.domain)) + allowed = Set(a.compactMap(\.domain)) + error = nil + } catch { + if Task.isCancelled { return } + self.error = Streaming.errorText(error, streaming: streaming) + } + } + + private func change(_ domain: String, _ action: @escaping (Node64.DNS64) async throws -> Void) { + guard let dns = session.client?.dns64 else { return } + Task { + do { try await action(dns); reloads += 1 } catch { actionError = Streaming.errorText(error, streaming: streaming) } + } + } +} diff --git a/IPv64TV/SettingsView.swift b/IPv64TV/SettingsView.swift new file mode 100644 index 0000000..ecee7fd --- /dev/null +++ b/IPv64TV/SettingsView.swift @@ -0,0 +1,47 @@ +import SwiftUI +import IPv64 + +struct SettingsView: View { + @Environment(TVSession.self) private var session + @AppStorage(TVSettings.keepAwake) private var keepAwake = true + @AppStorage(TVSettings.streamingMode) private var streaming = false + @State private var dnsVersion: String? + @State private var showWhatsNew = false + + private var appVersion: String { + let info = Bundle.main.infoDictionary + return "\(info?["CFBundleShortVersionString"] as? String ?? "–") (\(info?["CFBundleVersion"] as? String ?? "–"))" + } + + var body: some View { + VStack(alignment: .leading, spacing: 24) { + Label("Settings", systemImage: "gear").font(.largeTitle.bold()) + Form { + Section("Dashboard") { + Toggle("Keep the screen awake", isOn: $keepAwake) + } + Section { + Toggle("Streaming mode", isOn: $streaming) + } footer: { + Text("Hides addresses, IPs, client names and domains, e.g. while you stream or film the screen.") + } + Section("Node") { + LabeledContent("Name", value: TVNode.name.map { Streaming.name($0, streaming: streaming) } ?? "–") + LabeledContent("Address", value: TVNode.url.map { streaming ? Streaming.maskURL($0) : $0 } ?? "–") + LabeledContent("DNS64 version", value: dnsVersion ?? "–") + } + Section("About") { + LabeledContent("Version", value: appVersion) + Button("What's New") { showWhatsNew = true } + } + } + .tvFocusRoom() + } + .tvPage() + .fullScreenCover(isPresented: $showWhatsNew) { TVWhatsNewView() } + .task(id: session.generation) { + dnsVersion = nil + dnsVersion = try? await session.client?.dns64.status().version + } + } +} diff --git a/IPv64TV/TVNode.swift b/IPv64TV/TVNode.swift new file mode 100644 index 0000000..da34e09 --- /dev/null +++ b/IPv64TV/TVNode.swift @@ -0,0 +1,146 @@ +import Foundation +import Observation +import CloudKit +import CryptoKit +import IPv64 + +/// Nodes saved on this Apple TV. Stored like the iOS app's direct access (`LocalNodeStore`: URL in +/// UserDefaults, key in the Keychain) under the owner "tv"; one of them is active (dashboard, query log). +nonisolated enum TVNode { + private static let owner = "tv" + private static let activeKey = "TV_ACTIVE_NODE" + + struct Failure: LocalizedError { + let message: String + var errorDescription: String? { message } + } + + struct Saved: Identifiable, Hashable { + let id: String + let name: String? + let url: String + } + + static var saved: [Saved] { + LocalNodeStore.list(owner: owner).map { Saved(id: $0, name: LocalNodeStore.name($0), url: LocalNodeStore.url($0) ?? "") } + } + + /// The selected node, else the first saved one. + static var activeId: String? { + let ids = LocalNodeStore.list(owner: owner) + return UserDefaults.standard.string(forKey: activeKey).flatMap { ids.contains($0) ? $0 : nil } ?? ids.first + } + + static var url: String? { activeId.flatMap(LocalNodeStore.url) } + static var name: String? { activeId.flatMap(LocalNodeStore.name) } + + static func client() -> Node64? { + activeId.flatMap { LocalNodeStore.get($0, owner: owner) }.flatMap(NodeClientFactory.client(for:)) + } + + static func select(_ id: String) { UserDefaults.standard.set(id, forKey: activeKey) } + + /// Checks address and key against the node (DNS64 must answer) and saves it. A new node becomes active. + /// `id`: the id the iPhone knows it by (iCloud tile); `replacing`: the saved node being edited (empty key keeps its key). + static func connect(address: String, key rawKey: String, id knownId: String? = nil, replacing: String? = nil) async throws { + let typed = rawKey.trimmingCharacters(in: .whitespacesAndNewlines) + let key = typed.isEmpty ? (replacing.flatMap { LocalNodeStore.get($0, owner: owner)?.key } ?? "") : typed + guard let url = LocalNodeURL.normalizeLocalNodeUrl(address), + let client = NodeClientFactory.client(url: url, key: key) else { + throw Failure(message: LocalNodeURL.invalidInputMessage(address)) + } + guard !key.isEmpty else { throw Failure(message: String(localized: "Enter the node API key.")) } + let status = try await client.node.status() + _ = try await client.dns64.status() + let id = knownId ?? status.node?.id?.trimmingCharacters(in: .whitespaces).nilIfEmpty ?? url + let wasActive = replacing == nil || replacing == activeId + try LocalNodeStore.save(id: id, url: url, key: key, owner: owner, name: status.node?.name) + if let replacing, replacing != id { LocalNodeStore.remove(replacing) } + if wasActive { select(id) } + } + + /// Takes over URL, key or name of saved nodes only when the iPhone changed them since the last look, + /// so an address or key the user set on this TV is not overwritten on every visit. `true` if anything changed. + static func adopt(_ all: [NodeCloudStore.Node]) -> Bool { + // One record per node: the same node can come from two ipv64.net accounts; the lowest account wins, + // so two differing copies can't overwrite each other on every load. + let nodes = Dictionary(grouping: all, by: \.nodeId).values.compactMap { $0.min { $0.account < $1.account } } + let cloudIds = Set(nodes.map(\.nodeId)) + var ids = Set(LocalNodeStore.list(owner: owner)) + var changed = false + // A node saved here under another id (manual entry without node id, early test builds) but with the same + // address as an iPhone node moves to the iPhone's id, keeping the key entered here. Never another iPhone + // node's entry, or two iPhone nodes with one address would swap on every load. + for node in nodes where !ids.contains(node.nodeId) { + guard let match = ids.first(where: { !cloudIds.contains($0) && LocalNodeStore.url($0) == node.url }), + let stored = LocalNodeStore.get(match, owner: owner) else { continue } + let wasActive = activeId == match + guard (try? LocalNodeStore.save(id: node.nodeId, url: stored.url, key: stored.key, owner: owner, + name: LocalNodeStore.name(match) ?? node.name)) != nil else { continue } + forget(match) + if wasActive { select(node.nodeId) } + ids.remove(match) + ids.insert(node.nodeId) + changed = true + } + for node in nodes where ids.contains(node.nodeId) { + let seenKey = "TV_CLOUD_SEEN.\(node.nodeId)" + let fingerprint = SHA256.hash(data: Data("\(node.url)|\(node.key)|\(node.name ?? "")".utf8)).description + let seen = UserDefaults.standard.string(forKey: seenKey) + UserDefaults.standard.set(fingerprint, forKey: seenKey) + guard let seen, seen != fingerprint else { continue } + try? LocalNodeStore.save(id: node.nodeId, url: node.url, key: node.key, owner: owner, name: node.name) + changed = true + } + return changed + } + + static func forget(_ id: String) { + LocalNodeStore.remove(id) + UserDefaults.standard.removeObject(forKey: "TV_CLOUD_SEEN.\(id)") + } +} + +/// Saved nodes, the active client and the iCloud list for all screens; `reload()` after any change. +@Observable final class TVSession { + private(set) var client: Node64? = TVNode.client() + private(set) var saved = TVNode.saved + private(set) var activeId = TVNode.activeId + /// Bumped on every reload so screens restart their loads for the new node. + private(set) var generation = 0 + + func reload() { + client = TVNode.client() + saved = TVNode.saved + activeId = TVNode.activeId + generation += 1 + } + + /// Nodes the iPhone app mirrored to iCloud (`NodeCloudStore`); `nil` until loaded. + private(set) var cloudNodes: [NodeCloudStore.Node]? + private(set) var cloudError: String? + + /// Shown as the spinner on Reload; also keeps a second fetch from starting. + private(set) var loadingCloud = false + + /// One fetch at a time (launch and the Nodes tab both ask), so an older result can't land last. + func loadCloudNodes() async { + guard !loadingCloud else { return } + loadingCloud = true + defer { loadingCloud = false } + do { + let nodes = try await NodeCloudStore.fetchAll() + cloudNodes = nodes + cloudError = nil + if TVNode.adopt(nodes) { reload() } + } catch let error as CKError where error.code == .notAuthenticated { + cloudError = String(localized: "Sign in to iCloud on this Apple TV to see the nodes of your iPhone.") + } catch { + cloudError = error.localizedDescription + } + } +} + +private extension String { + nonisolated var nilIfEmpty: String? { isEmpty ? nil : self } +} diff --git a/IPv64TV/TVStreaming.swift b/IPv64TV/TVStreaming.swift new file mode 100644 index 0000000..969aa6e --- /dev/null +++ b/IPv64TV/TVStreaming.swift @@ -0,0 +1,63 @@ +import Foundation + +/// Streaming mode (Settings): replaces addresses, IPs, client names and domains on screen with plausible fakes, +/// e.g. while the TV is streamed or filmed. Only the display changes; requests use the real values. +/// The fake is derived from a stable hash (FNV-1a, not `Hasher`), so the same input shows the same fake on every launch. +nonisolated enum Streaming { + private static let prefixes = ["cdn", "api", "static", "img", "edge", "sync", "telemetry", "stream", "auth", "www", "assets", "media", "push", "dl"] + private static let companies = ["northwind", "contoso", "fabrikam", "tailspin", "litware", "wingtip", "proseware", "woodgrove", "adatum", "lucerne", "alpine", "margie", "humongous", "trey"] + private static let suffixes = ["", "-media", "-cloud", "-labs", "-systems", "-net"] + private static let tlds = ["com", "net", "io", "org", "de", "app"] + private static let places = ["Living-Room", "Kitchen", "Office", "Bedroom", "Garage", "Hallway", "Mia", "Paul", "Lena", "Tom", "Emma", "Jonas"] + private static let devices = ["TV", "iPad", "PC", "Laptop", "Phone", "Printer", "Console", "Speaker", "NAS", "Watch"] + private static let localSuffixes = [".fritz.box", ".lan", ".local", ".home", ".home.arpa", ".internal", ".localdomain"] + + /// Domain "spade.twitch.tv" → "cdn.northwind-media.com", device "iPhone-von-X.fritz.box" or "localhost" → "Kitchen-iPad.lan", + /// IPv4 "192.168.1.10" → "10.141.7.52", IPv6 "fe80::1" → "fd3a:91c2:07be::5d". + static func mask(_ text: String) -> String { + let lower = text.lowercased() + let h = fnv(lower) + if lower.contains(":") { return "fd" + hex(h, 0, 2) + ":" + hex(h, 8, 4) + ":" + hex(h, 24, 4) + "::" + String(pick(1..<256, h, 40), radix: 16) } + let labels = lower.split(separator: ".", omittingEmptySubsequences: false) + if labels.count == 4, labels.allSatisfy({ !$0.isEmpty && $0.allSatisfy(\.isNumber) }) { + return "10.\(pick(0..<256, h, 0)).\(pick(0..<256, h, 8)).\(pick(1..<255, h, 16))" + } + if labels.count == 1 || localSuffixes.contains(where: lower.hasSuffix) { + return "\(pick(places, h, 0))-\(pick(devices, h, 12)).lan" + } + // The fake TLD never equals the real one, so nothing of the input survives. + let tld = tlds.filter { $0 != labels.last! } + return "\(pick(prefixes, h, 0)).\(pick(companies, h, 8))\(pick(suffixes, h, 20)).\(pick(tld, h, 28))" + } + + /// "http://192.168.1.10:8080/api" → "http://10.141.7.52" (port, path and user info hidden too); + /// "https://node.example.com" → "https://api.contoso-cloud.io"; "http://[fd00::1]:8080" → "http://[fd3a:91c2:07be::5d]". + static func maskURL(_ url: String) -> String { + guard let components = URLComponents(string: url), let scheme = components.scheme, let host = components.host else { return "http://node.lan" } + let fake = mask(host) + return "\(scheme)://" + (fake.contains(":") ? "[\(fake)]" : fake) + } + + /// Node names stay readable unless they look like a host name or address ("Homelab" stays, "nas.fritz.box" is masked). + static func name(_ name: String, streaming: Bool) -> String { + streaming && (name.contains(".") || name.contains(":")) ? mask(name) : name + } + + /// Error text for the screen: network errors can name the host (e.g. certificate errors), so streaming mode + /// shows only their code. + static func errorText(_ error: any Error, streaming: Bool) -> String { + if streaming, let error = error as? URLError { return String(localized: "Network error (\(error.code.rawValue))") } + return error.localizedDescription + } + + private static func fnv(_ s: String) -> UInt64 { + s.utf8.reduce(14695981039346656037) { ($0 ^ UInt64($1)) &* 1099511628211 } + } + private static func pick(_ items: C, _ h: UInt64, _ shift: UInt64) -> C.Element where C.Index == Int { + items[items.startIndex + Int((h >> shift) % UInt64(items.count))] + } + private static func hex(_ h: UInt64, _ shift: UInt64, _ digits: Int) -> String { + let s = String(h >> shift & 0xFFFF, radix: 16) + return String(repeating: "0", count: max(0, digits - s.count)) + s.suffix(digits) + } +} diff --git a/IPv64TV/TVStyle.swift b/IPv64TV/TVStyle.swift new file mode 100644 index 0000000..537ded8 --- /dev/null +++ b/IPv64TV/TVStyle.swift @@ -0,0 +1,57 @@ +import SwiftUI + +extension Color { + /// IPv64 orange (app icon, Display P3). + static let ipv64 = Color(.displayP3, red: 0.945, green: 0.604, blue: 0.220) +} + +extension View { + /// Same header position on every tab, just below the floating tab bar. Each tab gets a different top + /// inset from tvOS (tabs with a scroll view sit lower), so the page ignores it and uses a fixed padding. + func tvPage() -> some View { + padding(.horizontal, 60) + .padding(.top, 180) + .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .top) + .ignoresSafeArea(edges: .top) + } + + /// A List/Form clips at its edges, which cut the grown focused row left and right (on tvOS it ignores + /// `contentMargins`). Clipping is turned off; the mask clips again only above and below (12 pt for the lift), + /// so scrolled rows don't draw over the header, while the sides stay open for the focus effect. + func tvFocusRoom() -> some View { + scrollClipDisabled() + .mask { Rectangle().padding(.horizontal, -80).padding(.vertical, -12) } + } +} + +/// Focusable list row with its own focus look: white rounded platter, slight lift and shadow. The system list +/// platter renders coloured content in focused rows washed out; here colours stay as they are. +struct TVRowButtonStyle: ButtonStyle { + func makeBody(configuration: Configuration) -> some View { Row(configuration: configuration) } + + private struct Row: View { + let configuration: ButtonStyleConfiguration + @Environment(\.isFocused) private var focused + + var body: some View { + configuration.label + .padding(.horizontal, 24) + .padding(.vertical, 10) + .foregroundStyle(focused ? Color.black : Color.primary) + .background { if focused { Capsule().fill(.white).shadow(color: .black.opacity(0.35), radius: 16, y: 8) } } + .scaleEffect(configuration.isPressed ? 0.98 : focused ? 1.03 : 1) + .animation(.easeOut(duration: 0.15), value: focused) + .animation(.easeOut(duration: 0.1), value: configuration.isPressed) + } + } +} + +/// `@AppStorage` keys of the Settings tab. +enum TVSettings { + /// Keep the Apple TV awake (no screensaver) while the dashboard is on screen. Default on. + static let keepAwake = "tvKeepAwake" + /// Streaming mode: mask addresses, IPs, client names and domains on screen (`Streaming`). Default off. + static let streamingMode = "tvStreamingMode" + /// Build number whose "What's New" screen was last dismissed. + static let lastWhatsNewBuild = "tvLastWhatsNewBuild" +} diff --git a/IPv64TV/TVWhatsNew.swift b/IPv64TV/TVWhatsNew.swift new file mode 100644 index 0000000..b985ceb --- /dev/null +++ b/IPv64TV/TVWhatsNew.swift @@ -0,0 +1,73 @@ +import SwiftUI + +/// Introduction shown once per new build (and from Settings → About). The TV app ships first with 2.3.0. +struct TVWhatsNewView: View { + @Environment(\.dismiss) private var dismiss + @FocusState private var focused: Bool + + private struct Entry: Identifiable { + let icon: String, title: LocalizedStringKey, subtitle: LocalizedStringKey + var id: String { icon } + } + + private let entries = [ + Entry(icon: "house", title: "Dashboard", subtitle: "DNS64 of your Node64 at a glance: queries, blocked share, a chart and the latest queries."), + Entry(icon: "list.bullet.rectangle", title: "Query log", subtitle: "Recent queries, filter by blocked or allowed, and block or allow a domain right from the TV."), + Entry(icon: "icloud", title: "Nodes from your iPhone", subtitle: "Nodes you connect in the iPhone app appear here via iCloud; no typing with the remote."), + Entry(icon: "eye.slash", title: "Streaming mode", subtitle: "Hides addresses, IPs, client names and domains while you stream or film the screen."), + Entry(icon: "character.bubble", title: "German", subtitle: "The app is now also available in German."), + ] + + var body: some View { + VStack(spacing: 24) { + Text("What's New in IPv64.net").font(.title.bold()) + // Rows are focusable: on tvOS a scroll view only moves with focus, so longer lists stay reachable. + ScrollView { + VStack(alignment: .leading, spacing: 6) { + ForEach(entries) { entry in + EntryRow(entry: entry).focusable() + } + } + .frame(maxWidth: 1400, alignment: .leading) + .frame(maxWidth: .infinity) + .padding(.vertical, 8) + } + Button("Continue") { dismiss() } + .focused($focused) + } + .padding(.horizontal, 60) + .padding(.vertical, 40) + .frame(maxWidth: .infinity, maxHeight: .infinity) + // A full-screen cover is transparent on tvOS: an opaque background hides the tabs behind it. + .background { + LinearGradient(colors: [Color.ipv64.opacity(0.25), .black], startPoint: .top, endPoint: .center) + .background(.black) + .ignoresSafeArea() + } + .defaultFocus($focused, true) + } + + private struct EntryRow: View { + let entry: Entry + @Environment(\.isFocused) private var focused + + var body: some View { + HStack(spacing: 24) { + Image(systemName: entry.icon) + .font(.system(size: 38)) + .foregroundStyle(Color.ipv64) + .frame(width: 64) + VStack(alignment: .leading, spacing: 2) { + Text(entry.title).font(.headline) + Text(entry.subtitle).font(.callout).foregroundStyle(.secondary) + .fixedSize(horizontal: false, vertical: true) + } + Spacer(minLength: 0) + } + .padding(.horizontal, 20) + .padding(.vertical, 12) + .background(.white.opacity(focused ? 0.12 : 0), in: RoundedRectangle(cornerRadius: 20)) + .animation(.easeOut(duration: 0.15), value: focused) + } + } +} diff --git a/IPv64Widget/DNS64Intents.swift b/IPv64Widget/DNS64Intents.swift index 17bd339..bd97cbc 100644 --- a/IPv64Widget/DNS64Intents.swift +++ b/IPv64Widget/DNS64Intents.swift @@ -48,7 +48,7 @@ nonisolated enum DNS64Nodes { guard let owner = owner() else { return [] } return LocalNodeStore.list(owner: owner).filter(LocalNodeStore.dnsActive).map { DNS64NodeEntity(id: $0, name: LocalNodeStore.name($0)?.trimmingCharacters(in: .whitespaces).nilIfEmpty - ?? "Node …" + String($0.suffix(4))) + ?? String(localized: "Node …") + String($0.suffix(4))) } } diff --git a/IPv64Widget/Localizable.xcstrings b/IPv64Widget/Localizable.xcstrings new file mode 100644 index 0000000..5ec0000 --- /dev/null +++ b/IPv64Widget/Localizable.xcstrings @@ -0,0 +1,568 @@ +{ + "sourceLanguage" : "en", + "strings" : { + "%@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%@" + } + } + } + }, + "%lld blocked · 24 h" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld blockiert · 24 Std." + } + } + } + }, + "%lld queries" : { + "localizations" : { + "de" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Abfrage" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld Abfragen" + } + } + } + } + } + } + }, + "1 h" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "1 Std." + } + } + } + }, + "15 min" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "15 Min." + } + } + } + }, + "Active" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aktiv" + } + } + } + }, + "Blocking" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blockierung" + } + } + } + }, + "Blocking status of a DNS64 node." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blockierstatus eines DNS64-Nodes." + } + } + } + }, + "Blocking status of a directly connected node; chart and pause/resume in the medium and large sizes." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Blockierstatus eines direkt verbundenen Nodes; Diagramm und Pause/Fortsetzen in der mittleren und großen Größe." + } + } + } + }, + "Choose healthchecks in Edit Widget" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wähle Healthchecks unter „Widget bearbeiten“" + } + } + } + }, + "Choose up to 10 healthchecks: small shows 2, medium 4, large 10." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Wähle bis zu 10 Healthchecks: klein zeigt 2, mittel 4, groß 10." + } + } + } + }, + "Clear Widget Cache" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Widget-Cache leeren" + } + } + } + }, + "Configuration" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Konfiguration" + } + } + } + }, + "Connect a node with DNS64 in the app first." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbinde zuerst in der App einen Node mit DNS64." + } + } + } + }, + "Connect a node with DNS64 in the app." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Verbinde in der App einen Node mit DNS64." + } + } + } + }, + "DNS64" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS64" + } + } + } + }, + "DNS64 Blocking" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS64-Blockierung" + } + } + } + }, + "DNS64 node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS64-Node" + } + } + } + }, + "Enter a valid address, e.g. http://192.168.1.10:8080/api" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib eine gültige Adresse ein, z. B. http://192.168.1.10:8080/api" + } + } + } + }, + "Enter a valid address. HTTP works with an IP address (e.g. 192.168.1.10 or a public IP) or a local name." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Gib eine gültige Adresse ein. HTTP funktioniert mit einer IP-Adresse (z. B. 192.168.1.10 oder einer öffentlichen IP) oder einem lokalen Namen." + } + } + } + }, + "Favorite Emoji" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Lieblings-Emoji" + } + } + } + }, + "HC 1" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 1" + } + } + } + }, + "HC 10" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 10" + } + } + } + }, + "HC 2" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 2" + } + } + } + }, + "HC 3" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 3" + } + } + } + }, + "HC 4" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 4" + } + } + } + }, + "HC 5" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 5" + } + } + } + }, + "HC 6" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 6" + } + } + } + }, + "HC 7" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 7" + } + } + } + }, + "HC 8" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 8" + } + } + } + }, + "HC 9" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "HC 9" + } + } + } + }, + "Healthcheck" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Healthcheck" + } + } + } + }, + "Healthchecks" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Healthchecks" + } + } + } + }, + "Keine Auswahl" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Keine Auswahl" + } + } + } + }, + "Minutes" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Minuten" + } + } + } + }, + "No entry" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Kein Eintrag" + } + } + } + }, + "Node" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node" + } + } + } + }, + "Node not reachable" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node nicht erreichbar" + } + } + } + }, + "Node …" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Node …" + } + } + } + }, + "Pause DNS64 Blocking" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS64-Blocking pausieren" + } + } + } + }, + "Pause or resume DNS64 blocking." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS64-Blocking pausieren oder fortsetzen." + } + } + } + }, + "Paused" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pausiert" + } + } + } + }, + "Paused until %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pausiert bis %@" + } + } + } + }, + "Paused until resumed" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pausiert, bis es fortgesetzt wird" + } + } + } + }, + "Queries" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anfragen" + } + } + } + }, + "Queries of the last 24 hours, %lld bars, maximum %@" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Anfragen der letzten 24 Stunden, %lld Balken, Maximum %@" + } + } + } + }, + "Resume" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fortsetzen" + } + } + } + }, + "Resume DNS64 Blocking" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS64-Blocking fortsetzen" + } + } + } + }, + "Set DNS64 Blocking" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "DNS64-Blocking festlegen" + } + } + } + }, + "Show up to 2 (small), 4 (medium) or 10 (large) healthchecks." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zeigt bis zu 2 (klein), 4 (mittel) oder 10 (groß) Healthchecks." + } + } + } + }, + "This is an example widget." : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dies ist ein Beispiel-Widget." + } + } + } + }, + "Time" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Zeit" + } + } + } + }, + "Updated" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aktualisiert" + } + } + } + }, + "Waiting for update" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Warte auf Update" + } + } + } + }, + "max %@ · 24 h" : { + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "max. %@ · 24 Std." + } + } + } + } + }, + "version" : "1.0" +} diff --git a/Tests/ProxyStatsTests.swift b/Tests/ProxyStatsTests.swift new file mode 100644 index 0000000..732b4a8 --- /dev/null +++ b/Tests/ProxyStatsTests.swift @@ -0,0 +1,20 @@ +// Run: Tests/run-proxy-stats-tests.sh — checks the hourly gap filling and the "answered" formula of the Proxy64 chart. +import Foundation + +@main +struct ProxyStatsTests { + static func main() { + let now = Date(timeIntervalSince1970: 1_000_000 * 3600 + 1234) // inside hour 1_000_000 + let hour = Date(timeIntervalSince1970: 999_998 * 3600) + let row = ProxyStats.Row(hour: hour, requests: 100, c4: 5, c5: 2, bytes: 10, bytesIn: 3, blocked: 20, decoy: 7, connBlocked: 4) + let pts = ProxyStats.series([row], hours: 4, now: now) + precondition(pts.count == 4 && pts.last?.time == Date(timeIntervalSince1970: 1_000_000 * 3600)) + precondition(pts[0].time == Date(timeIntervalSince1970: 999_997 * 3600) && pts[0].ok == 0 && pts[0].bytes == 0) // gap + // ok = 100 - (20 - 4) - 7 - 5 - 2 = 70 + precondition(pts[1].ok == 70 && pts[1].blocked == 20 && pts[1].up == 3 && pts[1].err == 2) + precondition(pts[2].requests == 0 && pts[3].ok == 0) + // Old hours that counted rejected under 4xx never go negative. + let old = ProxyStats.Row(hour: hour, requests: 1, c4: 5) + precondition(ProxyStats.series([old], hours: 3, now: now)[1].ok == 0) + } +} diff --git a/Tests/run-proxy-stats-tests.sh b/Tests/run-proxy-stats-tests.sh new file mode 100755 index 0000000..8910b30 --- /dev/null +++ b/Tests/run-proxy-stats-tests.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -euo pipefail +PROJECT_DIR="$(cd "$(dirname "$0")/.." && pwd)" +TEST_DIR="$(mktemp -d /tmp/ipv64-proxy-stats-tests.XXXXXX)" +trap 'rm -rf "$TEST_DIR"' EXIT +xcrun swiftc -parse-as-library -swift-version 5 -module-cache-path "$TEST_DIR/module-cache" \ + "$PROJECT_DIR/IPv64/Helpers/Proxy/ProxyStats.swift" "$PROJECT_DIR/Tests/ProxyStatsTests.swift" \ + -o "$TEST_DIR/proxy-stats-tests" +"$TEST_DIR/proxy-stats-tests"