Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message Preview when opening the non coding file #102

Merged
merged 15 commits into from
Mar 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CodeEdit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
04ADA0CA27E5D41F00BF00B2 /* be */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = be; path = be.lproj/Localizable.strings; sourceTree = "<group>"; };
04F2BF0E27DBB28E0024EAB1 /* SettingsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsView.swift; sourceTree = "<group>"; };
04F2BF1127DBB3C10024EAB1 /* GeneralSettingsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeneralSettingsView.swift; sourceTree = "<group>"; };
20F8067027E65A5200EB7827 /* af */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = af; path = af.lproj/Localizable.strings; sourceTree = "<group>"; };
2805D9E827E5ED180032BC56 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Localizable.strings; sourceTree = "<group>"; };
286620A427E4AB6900E18C2B /* BreadcrumbsComponent.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BreadcrumbsComponent.swift; sourceTree = "<group>"; };
2875A46C27E3BE5B007805F8 /* BreadcrumbsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BreadcrumbsView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -373,6 +374,7 @@
ru,
be,
de,
af,
);
mainGroup = B658FB2327DA9E0F00EA4DBD;
productRefGroup = B658FB2D27DA9E0F00EA4DBD /* Products */;
Expand Down Expand Up @@ -523,6 +525,7 @@
04ADA0C827E5D29000BF00B2 /* ru */,
04ADA0CA27E5D41F00BF00B2 /* be */,
2805D9E827E5ED180032BC56 /* de */,
20F8067027E65A5200EB7827 /* af */,
);
name = Localizable.strings;
sourceTree = "<group>";
Expand Down
44 changes: 44 additions & 0 deletions CodeEdit/Localization/af.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
"Hello, world!"="Hi, wereld!";

// Settings - General Tab
"General"="Algemeen";

// Settings - File Icon Style
"File Icon Style"="Lêer-ikoonstyl";
"Color"="Kleur";
"Monochrome"="Monochroom";

// Settings - Appearance
"Appearance"="Voorkoms";
"System"="Stelsel";
"Light"="Lig";
"Dark"="Donker";

// Settings - Reopen Behavior
"Reopen Behavior"="Heropen Gedrag";
"Welcome Screen"="Welkom Skerm";
"Open Panel"="Maak Paneel Oop";
"New Document"="Nuwe Dokument";

// Settings - Editor Theme
"Editor Theme"="Redakteur Tema";

// Welcome Screen
"Welcome to CodeEdit"="Welkom tot CodeEdit";
"Version %@ (%@)"="Weergawe %@ (%@)";
"No Recent Projects"="Geen Onlangse Projekte Nie";

// Welcome Screen - New File
"Create a new file"="Skep 'n nuwe lêer";
"Clone an exisiting project"="Kloon 'n bestaande projek";

// Welcome Screen - SCM
"Start working on something from a Git repository"="Begin werk aan iets vanaf 'n Git-bewaarplek";
"Open a project or file"="Maak 'n projek of lêer oop";

// Welcome Screen - Workspaces
"Open an existing project or file on your Mac"="Maak 'n bestaande projek of lêer op jou Mac oop";
"Show this window when CodeEdit launches"="Wys hierdie venster wanneer CodeEdit begin";

//Editor Screen
"CodeEdit cannot open this file because its file type is not supported." = "CodeEdit kan nie hierdie lêer oopmaak nie omdat die lêertipe nie ondersteun word nie.";
3 changes: 3 additions & 0 deletions CodeEdit/Localization/be.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@
// Welcome Screen - Workspaces
"Open a project or file"="Адкрыйце праект або файл";
"Open an existing project or file on your Mac"="Адкрыйце існуючы праект або файл на вашым Mac";

//Editor Screen
"CodeEdit cannot open this file because its file type is not supported." = "CodeEdit не можа адчыніць гэты файл, таму што яго тып не падтрымліваецца ";
3 changes: 3 additions & 0 deletions CodeEdit/Localization/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@
// Welcome Screen - Workspaces
"Open an existing project or file on your Mac"="Vorhandenes Projekt oder Datei auf Mac öffnen";
"Show this window when CodeEdit launches"="Zeigen wenn CodeEdit geöffnet wird";

//Editor Screen
"CodeEdit cannot open this file because its file type is not supported." = "CodeEdit kann diese Datei nicht öffnen, da ihr Dateityp nicht unterstützt wird.";
3 changes: 3 additions & 0 deletions CodeEdit/Localization/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@
// Welcome Screen - Workspaces
"Open an existing project or file on your Mac"="Open an existing project or file on your Mac";
"Show this window when CodeEdit launches"="Show this window when CodeEdit launches";

//Editor Screen
"CodeEdit cannot open this file because its file type is not supported." = "CodeEdit cannot open this file because its file type is not supported.";
3 changes: 3 additions & 0 deletions CodeEdit/Localization/ru.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@
// Welcome Screen - Workspaces
"Open a project or file"="Откройте проект или файл";
"Open an existing project or file on your Mac"="Откройте существующий проект или файл на вашем Mac";

//Editor Screen
"CodeEdit cannot open this file because its file type is not supported." = "CodeEdit не может открыть этот файл, потому что его тип не поддерживается";
2 changes: 1 addition & 1 deletion CodeEdit/SideBar/SideBarItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct SideBarItem: View {
}
}
} else {
Text("File cannot be opened")
Text("CodeEdit cannot open this file because its file type is not supported.")
}
}
.onAppear { workspace.openFile(item: item) }
Expand Down