Skip to content

Commit

Permalink
v5.0 - changes to localization and FCTB project as per v5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ljnath committed Oct 18, 2023
1 parent 29f149c commit b7086f1
Show file tree
Hide file tree
Showing 15 changed files with 512 additions and 144 deletions.
2 changes: 1 addition & 1 deletion FastColoredTextBox/SyntaxHighlighter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ public void InitStyleSchema(Language lang)
CommentStyle = ForestGreenStyle;
NumberStyle = CrimsonStyle;
KeywordStyle = DodgerBlueStyle;
ClassNameStyle = BlueStyle;
ClassNameStyle = MagentaStyle;
break;
}
}
Expand Down
40 changes: 30 additions & 10 deletions Localization/Models/Text/ChangeHistory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class ChangeHistory
{
private static string[] change100Texts = new string[]
{
"Version 1.0.0 | Built on : 09th March 2013, 16:39:20 Hrs.",
"Version 1.0 | Built on : 09th March 2013, 16:39:20 Hrs.",
"First release",
"Added a basic editor with features to open and save files",
"Added support to store setting and user preferences locally",
Expand All @@ -35,7 +35,7 @@ public class ChangeHistory
};

private static string[] change110Texts = new string[] {
"Version 1.1.0 | Built on : 23rd March 2013 , 12:45:28 Hrs.",
"Version 1.1 | Built on : 23rd March 2013 , 12:45:28 Hrs.",
"Added support for entering custom arguments for assembler and linker",
"Added option to wrap text in the code-editor",
"Added option to display statistics",
Expand All @@ -53,14 +53,14 @@ public class ChangeHistory

private static string[] change120Texts = new string[]
{
"Version 1.2.0 | Built on : 23rd March 2013 , 13:52:42 Hrs.",
"Version 1.2 | Built on : 23rd March 2013 , 13:52:42 Hrs.",
"Prevented user from compiling, linking, running executables with an un-saved file",
"Added support to view change logs"
};

private static string[] change130Texts = new string[]
{
"Version 1.3.0 | Built on : 25th March 2013 , 11:10:17 Hrs.",
"Version 1.3 | Built on : 25th March 2013 , 11:10:17 Hrs.",
"Spell-checked",
"Redesigned 'View change log' form",
"Redesigned the main window",
Expand All @@ -76,7 +76,7 @@ public class ChangeHistory

private static string[] change200Texts = new string[]
{
"Version 2.0.0 | Built on : 06th September 2013, 20:41:38 Hrs.",
"Version 2.0 | Built on : 06th September 2013, 20:41:38 Hrs.",
"Fixed form display bug",
"Fixed multiple 'save dialog' display bug",
"Fixed bug related to unsaved notification at first launch",
Expand Down Expand Up @@ -113,7 +113,7 @@ public class ChangeHistory

private static string[] change210Texts = new string[]
{
"Version 2.1.0 | Built on : 10th October 2013, 04:42:37 Hrs.",
"Version 2.1 | Built on : 10th October 2013, 04:42:37 Hrs.",
"Fixed buggy message displaying at compilation, build and run time",
"Fixed bug message and labels.",
"Fixed bug encountered while trying to launch a missing executable",
Expand Down Expand Up @@ -147,7 +147,7 @@ public class ChangeHistory

private static string[] change220Texts = new string[]
{
"Version 2.2.0 | Built on : 31st January 2014, 20:38:44 Hrs.",
"Version 2.2 | Built on : 31st January 2014, 20:38:44 Hrs.",
"Fixed bug related to EULA bypass as in previous version.",
"Changed shortcut for new tab.", "Modularised application using Dynamic Data Library.",
"Added OS Detection feature to warn 64-bit users about incompatibility of Turbo Assembler and Linker beforehand.",
Expand All @@ -159,14 +159,14 @@ public class ChangeHistory

private static string[] change230Texts = new string[]
{
"Version 2.3.0 | Built on : 02nd July 2014, 21:46:29 Hrs.",
"Version 2.3 | Built on : 02nd July 2014, 21:46:29 Hrs.",
"Removed company homepage link.",
"Edited developer homepage link."
};

private static string[] change300Texts = new string[]
{
"Version 3.0.0 | Built on : 14th March 2015, 18:20:55 Hrs.",
"Version 3.0 | Built on : 14th March 2015, 18:20:55 Hrs.",
"Added full support for 64-bit machine; comes with 64-bit binaries.",
"Added 64-bit support for Borland Turbo Assembler and Turbo Linker using DOSBox.",
"Added multilingual feature.",
Expand All @@ -192,7 +192,7 @@ public class ChangeHistory

private static string[] change400Texts = new string[]
{
"Version 4.0.0 | Built on : 16th September 2023, 22:06:34 Hrs.",
"Version 4.0 | Built on : 18th September 2023, 00:04:02 Hrs.",
"Added localized text support for German and Polish.",
"Added support for restoring any broken settings with a single click.",
"Added support to run custom assemble and build commands for advance user",
Expand Down Expand Up @@ -227,6 +227,25 @@ public class ChangeHistory
"Upgraded to the new and improved guiTasmX64 based on DOSBox 0.74-3, featuring silent execution capabilities."
};

private static string[] change500Texts = new string[]
{
"Version 5.0 | Built on : 19th October 2023, 02:27:15 Hrs.",
"Added support for docking code editors and other tabs for maximum developer efficiency",
"Added Terminal to allow users to directly type and run commands in the IDE",
"Added support for debugging code using Turbo Debugger",
"Added support to customize the Visual Studio 2015-based theme in the IDE. Supported themes include Blue, Dark, and Light",
"Added support for macros",
"Added support to open and edit .INC file",
"Added support to customize the code editor mode for Dark and Light.",
"Added support to preserve the docked layout",
"Enhanced the update notification to prompt the user before navigating to the download page",
"Removed support for Font Family and editor color customization",
"Removed the 'View Usage Info' functionality",
"Removed Custom Assemble and Custom Build feature",
"Revamped the About section",
"Updated icons and fonts"
};

public string Title { get; set; } = "Change History";
public string Version { get; set; } = "Version";
public string[] Change100 { get; set; } = change100Texts;
Expand All @@ -240,5 +259,6 @@ public class ChangeHistory
public string[] Change300 { get; set; } = change300Texts;
public string[] Change301 { get; set; } = change301Texts;
public string[] Change400 { get; set; } = change400Texts;
public string[] Change500 { get; set; } = change500Texts;
}
}
47 changes: 31 additions & 16 deletions Localization/Models/Text/IDE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,26 @@ public class IDE
public string AssembleSkipped { get; set; } = "The code assemble process has been skipped.";
public string AssembleSucessful { get; set; } = "The code assemble process completed successfully.";
public string AssembleToObjectFile { get; set; } = "Assembling source code to object file using arguments";
public string AssembleToObjectFileCustomCmd { get; set; } = "Assembling source code with custom command";
public string BuildAbortByUser { get; set; } = "The code build process has been aborted by the user.";
public string BuildFailedDueToIntegrity { get; set; } = "The code build process is aborted due to failed integrity test.";
public string BuildFailedDueToSubProcess { get; set; } = "The code build process failed due to a sub-process failure.";
public string BuildFailedWithError { get; set; } = "The code build process failed with errors.";
public string BuildFileAndProceedPromptMsg { get; set; } = "The current code has not been built. Would you like to build and proceed?";
public string BuildObjectFileToExe { get; set; } = "Building object file to executable file using arguments";
public string BuildObjectFileCustomCmd { get; set; } = "Building object file with custom command";
public string BuildSkipped { get; set; } = "The code build process has been skipped.";
public string BuildSucessful { get; set; } = "The code build process completed successfully.";
public string Character { get; set; } = "Character";
public string Close { get; set; } = "Close";
public string CurrentVersion { get; set; } = "Current Version";
public string Custom { get; set; } = "Custom";
public string CustomCommandText { get; set; } = "Enter complete command including filename (check guide for help)";
public string CustomAssembleFailed { get; set; } = "Custom assembly task failed to invoke because no custom command was specified.";
public string CustomizeBuildFailed { get; set; } = "Custom build task failed to invoke because no custom command was specified.";
public string DebugAbortByUser { get; set; } = "The debugging of the executable has been aborted by the user.";
public string DebugExecutable { get; set; } = "Debugging the executable file.";
public string DebugFailed { get; set; } = "The debugging of the executable process has encountered a failure.";
public string DebugFailedDueToIntegrity { get; set; } = "The debugging of the executable has been aborted due to a failed integrity test.";
public string DebugFailedDueToSubProcess { get; set; } = "The debugging of the executable failed due to a sub-process failure.";
public string DebugSkipped { get; set; } = "The debugging of the executable has been skipped.";
public string DebugSucessful { get; set; } = "The debugging of the executable completed successfully.";
public string DroppedFileErrorMsg { get; set; } = "The dropped file cannot be opened in the editor. Please contact the developer for assistance.";
public string ExecutingCmd { get; set; } = "Executing command";
public string FileAlreadyOpenedMsg { get; set; } = "This file is already open";
Expand All @@ -57,7 +61,6 @@ public class IDE
public string FindAndReplace { get; set; } = "Find And Replace";
public string FindNext { get; set; } = "Find next";
public string GoToLine { get; set; } = "Go to Line";
public string HideLogConsole { get; set; } = "Hide log console";
public string InvalidFileExtension { get; set; } = "The chosen file has an unsupported extension; only .asm files are accepted.";
public string InvalidFilenameCharacter { get; set; } = "Filename cannot contain spaces or the following characters:";
public string InvalidFilenameLength { get; set; } = "Filename cannot exceed 8 characters.";
Expand All @@ -77,6 +80,7 @@ public class IDE
public string MenuBarCommentCodeText { get; set; } = "Toggle comments for selected code";
public string MenuBarCopyText { get; set; } = "&Copy";
public string MenuBarCutText { get; set; } = "Cu&t";
public string MenuBarDebugText { get; set; } = "Debug the executable";
public string MenuBarDecreaseZoomText { get; set; } = "Decrease zoom level";
public string MenuBarDeleteText { get; set; } = "Delete";
public string MenuBarExitText { get; set; } = "&Quit";
Expand All @@ -91,7 +95,7 @@ public class IDE
public string MenuBarPropertiesText { get; set; } = "View file properties";
public string MenuBarRedoText { get; set; } = "&Redo";
public string MenuBarResetZoomText { get; set; } = "Reset the zoom level";
public string MenuBarRunText { get; set; } = "Run the program";
public string MenuBarRunText { get; set; } = "Run the executable";
public string MenuBarSaveAsText { get; set; } = "Save the current file as a new file";
public string MenuBarSaveText { get; set; } = "Save the current file";
public string MenuBarUndoText { get; set; } = "&Undo";
Expand All @@ -101,22 +105,20 @@ public class IDE
public string MenuChangeCaseToUppercase { get; set; } = "UPPERCASE";
public string MenuCheckForUpdate { get; set; } = "Check for update";
public string MenuClearAll { get; set; } = "&Clear All";
public string MenuClearLogConsole { get; set; } = "Clear log console";
public string MenuClose { get; set; } = "&Close";
public string MenuCloseActive { get; set; } = "C&lose Active";
public string MenuCloseAll { get; set; } = "Close &All";
public string MenuCloseOthers { get; set; } = "Close &Others";
public string MenuDebug { get; set; } = "&Debug";
public string MenuDownloadLatestVersion { get; set; } = "Download &latest version";
public string MenuEdit { get; set; } = "&Edit";
public string MenuExamples { get; set; } = "&Examples";
public string MenuExamples { get; set; } = "E&xamples";
public string MenuFile { get; set; } = "&File";
public string MenuHelp { get; set; } = "&Help";
public string MenuLogConsole { get; set; } = "Log console";
public string MenuMakeDonation { get; set; } = "Make a donation";
public string MenuNew { get; set; } = "&New";
public string MenuNewTab { get; set; } = "&New Tab";
public string MenuOpen { get; set; } = "&Open";
public string MenuOpenContainingFolder { get; set; } = "Open containing folder";
public string MenuOpenContainingFolder { get; set; } = "Open folder in file explorer";
public string MenuPrint { get; set; } = "&Print";
public string MenuPrintPreview { get; set; } = "Print preview";
public string MenuRecentFiles { get; set; } = "&Recent files";
Expand All @@ -126,13 +128,21 @@ public class IDE
public string MenuSaveAs { get; set; } = "Save As";
public string MenuSelectAll { get; set; } = "Select &All";
public string MenuTools { get; set; } = "&Tools";
public string MenuView { get; set; } = "&View";
public string MenuViewChangeHistory { get; set; } = "&View change history";
public string MenuViewEditorTheme { get; set; } = "Editor Theme";
public string MenuViewEditorThemeDark { get; set; } = "Dark";
public string MenuViewEditorThemeLight { get; set; } = "Light";
public string MenuViewFileProperties { get; set; } = "&View file properties";
public string MenuViewUsage { get; set; } = "View &usage information";
public string MenuViewOuptutWindow { get; set; } = "Output Window";
public string MenuViewStatusBar { get; set; } = "Status Bar";
public string MenuViewTerminalWindow { get; set; } = "Terminal Window";
public string MenuViewToolBar { get; set; } = "Tool Bar";
public string MenuVisitDeveloperHomepage { get; set; } = "Visit developer's page";
public string MenuVisitProductHomepage { get; set; } = "Visit &product page";
public string MenuWindows { get; set; } = "&Window";
public string NewUpdateTitle { get; set; } = "New Update";
public string NewUpdateTitle { get; set; } = "Update Available";
public string NewVersion { get; set; } = "New Version";
public string NotFound { get; set; } = "Not found";
public string NoUpdateMsg { get; set; } = "You are already using the latest version.";
public string NoUpdateTitle { get; set; } = "No update";
Expand All @@ -141,7 +151,8 @@ public class IDE
public string OpenFolder { get; set; } = "Open Folder";
public string OpenFolderError { get; set; } = "The folder of the unsaved file cannot be opened. Please save the file and then try again";
public string OpeningFile { get; set; } = "Opening file";
public string ProgramExecutedSuccessfully { get; set; } = "Program executed successfully";
public string OutputFrom { get; set; } = "Output from";
public string OutputWindowTitle { get; set; } = "Output";
public string PropertiesCreatedOn { get; set; } = "Created on";
public string PropertiesFileLocation { get; set; } = "File location";
public string PropertiesLastAccessedOn { get; set; } = "Last accessed on";
Expand All @@ -162,9 +173,11 @@ public class IDE
public string SaveTabPromptMsg { get; set; } = "The current tab has been modified and is unsaved. Would you like to save it?";
public string SavingFile { get; set; } = "Saving file";
public string SavingFileAs { get; set; } = "Saving file as";
public string ShowLogConsole { get; set; } = "Show log console";
public string SourceFile { get; set; } = "Source file";
public string SuccessullyRestoredLastSession { get; set; } = "Your last session has been successfully restored.";
public string TargetFile { get; set; } = "Target file";
public string TerminalWelcomeMsg { get; set; } = "Enter valid Turbo command and press [ENTER] to execute.\nNOTE: Working directory for new file is set to the installation directory, for saved files, it will be the location of the file. The working directory cannot be altered and is limited to the directory and its sub-directories.";
public string TerminalWindowTitle { get; set; } = "Terminal";
public string TotalCharacters { get; set; } = "Total characters";
public string TotalLines { get; set; } = "Total lines";
public string UnAssembledCode { get; set; } = "Unassembled Code";
Expand All @@ -173,7 +186,9 @@ public class IDE
public string UnsavedTabTitle { get; set; } = "Unsaved Tab";
public string UpdateCheckFailedMsg { get; set; } = "An error occurred while checking for application updates.";
public string UpdateCheckFailedTitle { get; set; } = "Update Error";
public string UpdateHasBeenReleased { get; set; } = "is released and available for download";
public string UpdateMessage { get; set; } = "A new version of GUI Turbo Assembler is available for download.";
public string WordWrap { get; set; } = "Word Wrap";
public string UpdateConfirmation { get; set; } = "Do you want to navigate to the download page ?";
}
}

1 change: 1 addition & 0 deletions Localization/Models/Text/Others.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public class Others
public string ThankYou { get; set; } = "Thank You";
public string TurboAssembler { get; set; } = "Turbo Assembler";
public string TurboLinker { get; set; } = "Turbo Linker";
public string VisitGithub { get; set; } = "Visit GitHub page";
public string WelcomeTo { get; set; } = "Welcome to";
public string Yes { get; set; } = "Yes";
}
Expand Down
Loading

0 comments on commit b7086f1

Please sign in to comment.