fix(windows): normalize Windows file paths with leading slash and add i18n to link safety dialog
Strip spurious leading slash from Windows drive-letter paths (/D:/foo → D:/foo) in parseLocalFileTarget so that workspace-relative comparison succeeds and local files can be opened correctly. Display the normalized path in the confirmation dialog. Internationalize all link safety dialog and toast strings across 10 locales.
This commit is contained in:
@@ -1556,6 +1556,21 @@
|
||||
"thoughtForFewSeconds": "Nachgedacht",
|
||||
"thoughtForSeconds": "Nachgedacht"
|
||||
},
|
||||
"linkSafety": {
|
||||
"localFileTitle": "Lokale Datei öffnen?",
|
||||
"externalLinkTitle": "Externen Link öffnen?",
|
||||
"localFileDescription": "Sie sind dabei, eine lokale Datei im Dateipanel zu öffnen.",
|
||||
"externalLinkDescription": "Sie sind dabei, eine externe Website zu besuchen.",
|
||||
"cancel": "Abbrechen",
|
||||
"opening": "Wird geöffnet…",
|
||||
"openFile": "Datei öffnen",
|
||||
"openLink": "Link öffnen",
|
||||
"errorCannotOpen": "Lokale Datei kann nicht geöffnet werden",
|
||||
"errorNoWorkspace": "Es ist kein Arbeitsbereichsordner aktiv.",
|
||||
"errorOutsideWorkspace": "Die Datei befindet sich außerhalb des aktuellen Arbeitsbereichsordners.",
|
||||
"errorFailedOpen": "Lokale Datei konnte nicht geöffnet werden",
|
||||
"errorFailedLink": "Link konnte nicht geöffnet werden"
|
||||
},
|
||||
"messageList": {
|
||||
"attachedResources": "Angehängte Ressourcen",
|
||||
"loading": "Lädt...",
|
||||
|
||||
Reference in New Issue
Block a user