Skip to content

Commit 8feb3ff

Browse files
committed
UI: remove English strings from other languages
Signed-off-by: Samuel Lotfey <[email protected]>
1 parent 3365487 commit 8feb3ff

19 files changed

+1
-895
lines changed

Sources/WireGuardApp/LocalizationHelper.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import Foundation
55

6-
/// Gets the English string from the Base.lproj bundle, which can be used as a fallback when the translation for a certain language is missing.
6+
/// Gets the English string from Base.lproj as a fallback for missing translations.
77
func tr_base(_ key: String) -> String {
88
let baseBundlePath: String? = Bundle.main.path(forResource: "Base", ofType: "lproj")
99
let baseBundle: Bundle? = Bundle(path: baseBundlePath ?? "") ?? nil

Sources/WireGuardApp/ca.lproj/Localizable.strings

-178
Original file line numberDiff line numberDiff line change
@@ -95,181 +95,3 @@
9595
"macMenuManageTunnels" = "Gestiona túnels";
9696
"macMenuCut" = "Talla";
9797
"macMenuCopy" = "Copia";
98-
"newTunnelViewTitle" = "New configuration";
99-
"macMenuDeleteSelected" = "Delete Selected";
100-
"alertSystemErrorMessageTunnelConfigurationInvalid" = "The configuration is invalid.";
101-
"tunnelPeerEndpoint" = "Endpoint";
102-
"tunnelInterfaceMTU" = "MTU";
103-
"alertInvalidInterfaceMessageListenPortInvalid" = "Interface’s listen port must be between 0 and 65535, or unspecified";
104-
"addPeerButtonTitle" = "Add peer";
105-
"tunnelHandshakeTimestampSystemClockBackward" = "(System clock wound backwards)";
106-
"macMenuTitle" = "WireGuard";
107-
"macAlertNoInterface" = "Configuration must have an ‘Interface’ section.";
108-
"macNameFieldExportZip" = "Export tunnels to:";
109-
"editTunnelViewTitle" = "Edit configuration";
110-
"alertSystemErrorMessageTunnelConfigurationUnknown" = "Unknown system error.";
111-
"macEditDiscard" = "Discard";
112-
"macSheetButtonExportZip" = "Save";
113-
"macWindowTitleManageTunnels" = "Manage WireGuard Tunnels";
114-
"tunnelsListTitle" = "WireGuard";
115-
"macConfirmAndQuitAlertInfo" = "If you close the tunnels manager, WireGuard will continue to be available from the menu bar icon.";
116-
"macUnusableTunnelInfo" = "In case this tunnel was created by another user, only that user can view, edit, or activate this tunnel.";
117-
"alertTunnelActivationErrorTunnelIsNotInactiveMessage" = "The tunnel is already active or in the process of being activated";
118-
"alertTunnelActivationSetNetworkSettingsMessage" = "Unable to apply network settings to tunnel object.";
119-
"macMenuExportTunnels" = "Export Tunnels to Zip…";
120-
"macMenuShowAllApps" = "Show All";
121-
"alertCantOpenInputConfFileTitle" = "Unable to import from file";
122-
"macMenuHideApp" = "Hide WireGuard";
123-
"macDeleteTunnelConfirmationAlertInfo" = "You cannot undo this action.";
124-
"macDeleteTunnelConfirmationAlertButtonTitleDeleting" = "Deleting…";
125-
"tunnelPeerPersistentKeepalive" = "Persistent keepalive";
126-
"alertSystemErrorMessageTunnelConnectionFailed" = "The connection failed.";
127-
"macButtonEdit" = "Edit";
128-
"macAlertPublicKeyInvalid" = "Public key is invalid";
129-
"tunnelOnDemandOptionWiFiOnly" = "Wi-Fi only";
130-
"macNameFieldExportLog" = "Save log to:";
131-
"alertSystemErrorOnAddTunnelTitle" = "Unable to create tunnel";
132-
"macConfirmAndQuitAlertMessage" = "Do you want to close the tunnels manager or quit WireGuard entirely?";
133-
"alertTunnelActivationSavedConfigFailureMessage" = "Unable to retrieve tunnel information from the saved configuration.";
134-
"tunnelOnDemandOptionOff" = "Off";
135-
"tunnelOnDemandSectionTitleSelectedSSIDs" = "SSIDs";
136-
"macAlertInfoUnrecognizedInterfaceKey" = "Valid keys are: ‘PrivateKey’, ‘ListenPort’, ‘Address’, ‘DNS’ and ‘MTU’.";
137-
"macLogColumnTitleTime" = "Time";
138-
"actionOK" = "OK";
139-
"alertTunnelNameEmptyMessage" = "Cannot create tunnel with an empty name";
140-
"alertInvalidInterfaceMessageMTUInvalid" = "Interface’s MTU must be between 576 and 65535, or unspecified";
141-
"tunnelOnDemandWiFi" = "Wi-Fi";
142-
"alertTunnelNameEmptyTitle" = "No name provided";
143-
"alertUnableToWriteLogMessage" = "Unable to write logs to file";
144-
"macToggleStatusButtonActivating" = "Activating…";
145-
"macMenuQuit" = "Quit WireGuard";
146-
"macMenuAddEmptyTunnel" = "Add Empty Tunnel…";
147-
"tunnelStatusDeactivating" = "Deactivating";
148-
"alertInvalidInterfaceTitle" = "Invalid interface";
149-
"tunnelSectionTitleStatus" = "Status";
150-
"macDeleteTunnelConfirmationAlertButtonTitleDelete" = "Delete";
151-
"alertTunnelActivationFailureTitle" = "Activation failure";
152-
"macLogButtonTitleClose" = "Close";
153-
"tunnelOnDemandSSIDViewTitle" = "SSIDs";
154-
"tunnelOnDemandOptionCellularOnly" = "Cellular only";
155-
"tunnelEditPlaceholderTextOptional" = "Optional";
156-
"settingsExportZipButtonTitle" = "Export zip archive";
157-
"tunnelSectionTitleOnDemand" = "On-Demand Activation";
158-
"deleteTunnelsConfirmationAlertButtonTitle" = "Delete";
159-
"alertInvalidInterfaceMessageNameRequired" = "Interface name is required";
160-
"tunnelEditPlaceholderTextAutomatic" = "Automatic";
161-
"macViewPrivateData" = "view tunnel private keys";
162-
"alertInvalidPeerMessageEndpointInvalid" = "Peer’s endpoint must be of the form ‘host:port’ or ‘[host]:port’";
163-
"alertTunnelActivationErrorTunnelIsNotInactiveTitle" = "Activation in progress";
164-
"addTunnelMenuImportFile" = "Create from file or archive";
165-
"deletePeerConfirmationAlertButtonTitle" = "Delete";
166-
"addTunnelMenuQRCode" = "Create from QR code";
167-
"alertInvalidPeerMessagePreSharedKeyInvalid" = "Peer’s preshared key must be a 32-byte key in base64 encoding";
168-
"macAppExitingWithActiveTunnelInfo" = "The tunnel will remain active after exiting. You may disable it by reopening this application or through the Network panel in System Preferences.";
169-
"macMenuEdit" = "Edit";
170-
"donateLink" = "♥ Donate to the WireGuard Project";
171-
"macMenuWindow" = "Window";
172-
"tunnelStatusRestarting" = "Restarting";
173-
"tunnelHandshakeTimestampNow" = "Now";
174-
"alertTunnelActivationFailureMessage" = "The tunnel could not be activated. Please ensure that you are connected to the Internet.";
175-
"tunnelInterfaceListenPort" = "Listen port";
176-
"tunnelOnDemandOptionEthernetOnly" = "Ethernet only";
177-
"macMenuHideOtherApps" = "Hide Others";
178-
"alertCantOpenInputZipFileMessage" = "The zip archive could not be read.";
179-
"alertInvalidInterfaceMessagePrivateKeyInvalid" = "Interface’s private key must be a 32-byte key in base64 encoding";
180-
"deleteTunnelButtonTitle" = "Delete tunnel";
181-
"alertInvalidInterfaceMessageDNSInvalid" = "Interface’s DNS servers must be a list of comma-separated IP addresses";
182-
"tunnelStatusInactive" = "Inactive";
183-
"macAlertPrivateKeyInvalid" = "Private key is invalid.";
184-
"deleteTunnelConfirmationAlertMessage" = "Delete this tunnel?";
185-
"macDeleteTunnelConfirmationAlertButtonTitleCancel" = "Cancel";
186-
"alertSystemErrorMessageTunnelConfigurationDisabled" = "The configuration is disabled.";
187-
"alertInvalidPeerMessagePersistentKeepaliveInvalid" = "Peer’s persistent keepalive must be between 0 to 65535, or unspecified";
188-
"macMenuNetworksNone" = "Networks: None";
189-
"tunnelOnDemandSSIDsKey" = "SSIDs";
190-
"alertCantOpenOutputZipFileForWritingMessage" = "Could not open zip file for writing.";
191-
"macMenuSelectAll" = "Select All";
192-
"alertInvalidPeerMessagePublicKeyInvalid" = "Peer’s public key must be a 32-byte key in base64 encoding";
193-
"tunnelOnDemandCellular" = "Cellular";
194-
"macConfirmAndQuitAlertQuitWireGuard" = "Quit WireGuard";
195-
"alertSystemErrorOnRemoveTunnelTitle" = "Unable to remove tunnel";
196-
"macFieldOnDemand" = "On-Demand:";
197-
"macMenuCloseWindow" = "Close Window";
198-
"macSheetButtonExportLog" = "Save";
199-
"tunnelOnDemandOptionWiFiOrCellular" = "Wi-Fi or cellular";
200-
"alertSystemErrorOnModifyTunnelTitle" = "Unable to modify tunnel";
201-
"alertSystemErrorMessageTunnelConfigurationReadWriteFailed" = "Reading or writing the configuration failed.";
202-
"macMenuEditTunnel" = "Edit…";
203-
"macButtonImportTunnels" = "Import tunnel(s) from file";
204-
"macAppExitingWithActiveTunnelMessage" = "WireGuard is exiting with an active tunnel";
205-
"alertSystemErrorMessageTunnelConfigurationStale" = "The configuration is stale.";
206-
"tunnelPeerPreSharedKey" = "Preshared key";
207-
"alertTunnelDNSFailureMessage" = "One or more endpoint domains could not be resolved.";
208-
"alertInvalidInterfaceMessageAddressInvalid" = "Interface addresses must be a list of comma-separated IP addresses, optionally in CIDR notation";
209-
"alertNoTunnelsInImportedZipArchiveTitle" = "No tunnels in zip archive";
210-
"alertTunnelDNSFailureTitle" = "DNS resolution failure";
211-
"macLogButtonTitleSave" = "Save…";
212-
"macMenuToggleStatus" = "Toggle Status";
213-
"macMenuMinimize" = "Minimize";
214-
"deletePeerButtonTitle" = "Delete peer";
215-
"alertCantOpenInputZipFileTitle" = "Unable to read zip archive";
216-
"alertSystemErrorOnListingTunnelsTitle" = "Unable to list tunnels";
217-
"settingsVersionKeyWireGuardForIOS" = "WireGuard for iOS";
218-
"macMenuPaste" = "Paste";
219-
"macAlertMultipleInterfaces" = "Configuration must have only one ‘Interface’ section.";
220-
"macAppStoreUpdatingAlertMessage" = "App Store would like to update WireGuard";
221-
"macUnusableTunnelMessage" = "The configuration for this tunnel cannot be found in the keychain.";
222-
"macToolTipEditTunnel" = "Edit tunnel (⌘E)";
223-
"tunnelEditPlaceholderTextStronglyRecommended" = "Strongly recommended";
224-
"macMenuZoom" = "Zoom";
225-
"alertBadArchiveTitle" = "Unable to read zip archive";
226-
"macExportPrivateData" = "export tunnel private keys";
227-
"alertTunnelAlreadyExistsWithThatNameTitle" = "Name already exists";
228-
"iosViewPrivateData" = "Authenticate to view tunnel private keys.";
229-
"tunnelPeerLastHandshakeTime" = "Latest handshake";
230-
"macAlertPreSharedKeyInvalid" = "Preshared key is invalid";
231-
"alertBadConfigImportTitle" = "Unable to import tunnel";
232-
"macEditSave" = "Save";
233-
"macConfirmAndQuitAlertCloseWindow" = "Close Tunnels Manager";
234-
"macMenuFile" = "File";
235-
"tunnelStatusActivating" = "Activating";
236-
"macToolTipToggleStatus" = "Toggle status (⌘T)";
237-
"macTunnelsMenuTitle" = "Tunnels";
238-
"alertTunnelActivationSystemErrorTitle" = "Activation failure";
239-
"alertInvalidInterfaceMessagePrivateKeyRequired" = "Interface’s private key is required";
240-
"alertNoTunnelsToExportTitle" = "Nothing to export";
241-
"scanQRCodeTipText" = "Tip: Generate with `qrencode -t ansiutf8 < tunnel.conf`";
242-
"alertNoTunnelsToExportMessage" = "There are no tunnels to export";
243-
"macMenuImportTunnels" = "Import Tunnel(s) from File…";
244-
"macMenuViewLog" = "View Log";
245-
"macAlertInfoUnrecognizedPeerKey" = "Valid keys are: ‘PublicKey’, ‘PresharedKey’, ‘AllowedIPs’, ‘Endpoint’ and ‘PersistentKeepalive’";
246-
"tunnelOnDemandNoSSIDs" = "No SSIDs";
247-
"deleteTunnelConfirmationAlertButtonTitle" = "Delete";
248-
"tunnelEditPlaceholderTextOff" = "Off";
249-
"addTunnelMenuHeader" = "Add a new WireGuard tunnel";
250-
"macUnusableTunnelButtonTitleDeleteTunnel" = "Delete tunnel";
251-
"tunnelEditPlaceholderTextRequired" = "Required";
252-
"tunnelStatusReasserting" = "Reactivating";
253-
"macMenuTunnel" = "Tunnel";
254-
"alertTunnelAlreadyExistsWithThatNameMessage" = "A tunnel with that name already exists";
255-
"macLogColumnTitleLogMessage" = "Log message";
256-
"iosExportPrivateData" = "Authenticate to export tunnel private keys.";
257-
"macMenuAbout" = "About WireGuard";
258-
"macSheetButtonImport" = "Import";
259-
"alertScanQRCodeNamePromptTitle" = "Please name the scanned tunnel";
260-
"alertUnableToRemovePreviousLogMessage" = "The pre-existing log could not be cleared";
261-
"alertTunnelActivationBackendFailureMessage" = "Unable to turn on Go backend library.";
262-
"settingsSectionTitleExportConfigurations" = "Export configurations";
263-
"alertBadArchiveMessage" = "Bad or corrupt zip archive.";
264-
"settingsVersionKeyWireGuardGoBackend" = "WireGuard Go Backend";
265-
"macFieldOnDemandSSIDs" = "SSIDs:";
266-
"deletePeerConfirmationAlertMessage" = "Delete this peer?";
267-
"alertCantOpenOutputZipFileForWritingTitle" = "Unable to create zip archive";
268-
"tunnelStatusActive" = "Active";
269-
"tunnelStatusWaiting" = "Waiting";
270-
"alertNoTunnelsInImportedZipArchiveMessage" = "No .conf tunnel files were found inside the zip archive.";
271-
"alertTunnelActivationFileDescriptorFailureMessage" = "Unable to determine TUN device file descriptor.";
272-
"addTunnelMenuFromScratch" = "Create from scratch";
273-
"tunnelOnDemandOptionWiFiOrEthernet" = "Wi-Fi or ethernet";
274-
"macToggleStatusButtonActivate" = "Activate";
275-
"macAlertNameIsEmpty" = "Name is required";

Sources/WireGuardApp/de.lproj/Localizable.strings

-1
Original file line numberDiff line numberDiff line change
@@ -441,4 +441,3 @@
441441
// Donation
442442

443443
"donateLink" = "♥ Spende an das WireGuard Projekt";
444-
"macTunnelsMenuTitle" = "Tunnels";

Sources/WireGuardApp/es.lproj/Localizable.strings

-36
Original file line numberDiff line numberDiff line change
@@ -356,39 +356,3 @@
356356
// Donation
357357

358358
"donateLink" = "♥ Donar al Proyecto WireGuard";
359-
"macAlertNoInterface" = "Configuration must have an ‘Interface’ section.";
360-
"macConfirmAndQuitAlertInfo" = "If you close the tunnels manager, WireGuard will continue to be available from the menu bar icon.";
361-
"macUnusableTunnelInfo" = "In case this tunnel was created by another user, only that user can view, edit, or activate this tunnel.";
362-
"alertTunnelActivationErrorTunnelIsNotInactiveMessage" = "The tunnel is already active or in the process of being activated";
363-
"alertTunnelActivationSetNetworkSettingsMessage" = "Unable to apply network settings to tunnel object.";
364-
"macMenuExportTunnels" = "Export Tunnels to Zip…";
365-
"alertCantOpenInputConfFileTitle" = "Unable to import from file";
366-
"macConfirmAndQuitAlertMessage" = "Do you want to close the tunnels manager or quit WireGuard entirely?";
367-
"macAlertInfoUnrecognizedInterfaceKey" = "Valid keys are: ‘PrivateKey’, ‘ListenPort’, ‘Address’, ‘DNS’ and ‘MTU’.";
368-
"alertTunnelNameEmptyMessage" = "Cannot create tunnel with an empty name";
369-
"alertTunnelNameEmptyTitle" = "No name provided";
370-
"macMenuAddEmptyTunnel" = "Add Empty Tunnel…";
371-
"macViewPrivateData" = "view tunnel private keys";
372-
"alertTunnelActivationErrorTunnelIsNotInactiveTitle" = "Activation in progress";
373-
"macAppExitingWithActiveTunnelInfo" = "The tunnel will remain active after exiting. You may disable it by reopening this application or through the Network panel in System Preferences.";
374-
"macMenuHideOtherApps" = "Hide Others";
375-
"macAlertPrivateKeyInvalid" = "Private key is invalid.";
376-
"macMenuNetworksNone" = "Networks: None";
377-
"alertSystemErrorMessageTunnelConfigurationReadWriteFailed" = "Reading or writing the configuration failed.";
378-
"macAppExitingWithActiveTunnelMessage" = "WireGuard is exiting with an active tunnel";
379-
"alertSystemErrorMessageTunnelConfigurationStale" = "The configuration is stale.";
380-
"alertTunnelDNSFailureMessage" = "One or more endpoint domains could not be resolved.";
381-
"alertSystemErrorOnListingTunnelsTitle" = "Unable to list tunnels";
382-
"macAlertMultipleInterfaces" = "Configuration must have only one ‘Interface’ section.";
383-
"macMenuZoom" = "Zoom";
384-
"macExportPrivateData" = "export tunnel private keys";
385-
"alertTunnelAlreadyExistsWithThatNameTitle" = "Name already exists";
386-
"iosViewPrivateData" = "Authenticate to view tunnel private keys.";
387-
"macTunnelsMenuTitle" = "Tunnels";
388-
"alertTunnelAlreadyExistsWithThatNameMessage" = "A tunnel with that name already exists";
389-
"iosExportPrivateData" = "Authenticate to export tunnel private keys.";
390-
"alertTunnelActivationBackendFailureMessage" = "Unable to turn on Go backend library.";
391-
"settingsVersionKeyWireGuardGoBackend" = "WireGuard Go Backend";
392-
"alertNoTunnelsInImportedZipArchiveMessage" = "No .conf tunnel files were found inside the zip archive.";
393-
"alertTunnelActivationFileDescriptorFailureMessage" = "Unable to determine TUN device file descriptor.";
394-
"macAlertNameIsEmpty" = "Name is required";

0 commit comments

Comments
 (0)