Method | Description | |
---|---|---|
MainForm ( ) : System |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
BuildErrorMessageText ( TeamXBMC.TranslatorCore.TranslatorException exception ) : string |
Construct an error message text from a TranslatorException
|
|
ClearListView ( |
Removes items from a listview
|
|
EnableMenuItems ( bool enabled ) : void |
Disables/enalbes the menu items
|
|
Initialize ( ) : bool |
Initializes the user interface
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
Main ( ) : void | ||
MainForm_Closing ( object sender, CancelEventArgs e ) : void |
Check if we have to save the language file
|
|
MainForm_Load ( object sender, System e ) : void |
Loaded the last edited language, if any
|
|
Reset ( ) : void |
Resets the user interface
|
|
SaveLanguageFile ( ) : void |
Saves the active language file
|
|
ShouldSaveLanguageFile ( ) : DialogResult |
Asks the user if he wants to save the language file is it's modified
|
|
ShowEditForm ( |
Shows the EditStringForm for a certain listview
|
|
ShowFolderBrowser ( ) : bool |
Opens a folder browser to choose the language folder. It also tests if the folder selected contains the english folder, if not it will prompt again. Returns false if the user cancels out.
|
|
ShowMessageBox ( string message, MessageBoxIcon icon ) : void |
Shows a predefined error message box
|
|
UpdateListView ( |
Update a listview with its strings
|
|
UpdateListViews ( ) : void |
Update all listviews with its strings
|
|
listView_DoubleClick ( object sender, System e ) : void |
Shows the EditStringForm when a listview is double clicked
|
|
listView_KeyPress ( object sender, |
Shows the EditStringForm when enter is pressed in a listview
|
|
menuItemAbout_Click ( object sender, System e ) : void |
Shows the AboutForm
|
|
menuItemConvert_Click ( object sender, System e ) : void |
Converts a language file to the new format
|
|
menuItemExit_Click ( object sender, System e ) : void |
Exits the application
|
|
menuItemFindNext_Click ( object sender, System e ) : void |
Searches the active listView for the search criteria set with the FindForm.
|
|
menuItemFind_Click ( object sender, System e ) : void |
Shows the FindForm to search in the active listView
|
|
menuItemHelp_Click ( object sender, System e ) : void |
Opens the standard webbrowser and shows the help page of the online manual
|
|
menuItemLanguageFolder_Click ( object sender, System e ) : void |
Sets the language folder
|
|
menuItemLanguageInfo_Click ( object sender, System e ) : void |
Edits the langinfo of the current language
|
|
menuItemNew_Click ( object sender, System e ) : void |
Creates a new language
|
|
menuItemOpen_Click ( object sender, System e ) : void |
Opens a language
|
|
menuItemSave_Click ( object sender, System e ) : void |
Saves the language file
|
|
menuItemUserName_Click ( object sender, System e ) : void |
Shows the UserForm where the name and email of the translator can be set
|
|
menuItemValidateFile_Click ( object sender, System e ) : void |
Checks if a language file is valid
|