public static void Translate(Editor_TPWolf_Form Form) { Form.label1.Text = i18n.__("TP_Editor_Level"); Form.label2.Text = i18n.__("TP_Editor_Hearts"); Form.label5.Text = i18n.__("TP_Editor_Minimum_Health"); Form.button1.Text = i18n.__("TP_Editor_Save"); Form.button2.Text = i18n.__("TP_Editor_Cancel"); Form.button3.Text = i18n.__("TP_Editor_SaveAs"); }
private void appDataEditorToolStripMenuItem_Click(object sender, EventArgs e) { switch (Current_NFC_ID) { case "01030000-024F0902": Editor_TPWolf_Form Form = new Editor_TPWolf_Form(); Form.Current_File_Bin = Path.Combine(Current_Folder, listView1.SelectedItems[0].Text.Trim()); Form.ShowDialog(); break; default: MessageBox.Show(i18n.__("Message_No_AppData_Editor"), this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information); break; } }