mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
Preparations for the language changes
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1782 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
0ace8c2ccf
commit
d6c608bf65
4 changed files with 8 additions and 50 deletions
|
@ -27,16 +27,15 @@ namespace GreenshotOCR {
|
|||
/// Description of SettingsForm.
|
||||
/// </summary>
|
||||
public partial class SettingsForm : Form {
|
||||
private ILanguage language = Language.GetInstance();
|
||||
private OCRConfiguration config;
|
||||
|
||||
|
||||
public SettingsForm(string [] languages, OCRConfiguration config) {
|
||||
//
|
||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||
//
|
||||
this.config = config;
|
||||
InitializeComponent();
|
||||
this.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon();
|
||||
this.Icon = GreenshotResources.getGreenshotIcon();
|
||||
initializeComponentText();
|
||||
|
||||
comboBox_languages.Items.Clear();
|
||||
|
@ -61,8 +60,8 @@ namespace GreenshotOCR {
|
|||
}
|
||||
|
||||
private void initializeComponentText() {
|
||||
this.label_language.Text = language.GetString(LangKey.language);
|
||||
this.checkBox_orientImage.Text = language.GetString(LangKey.orient_image);
|
||||
this.label_language.Text = Language.GetString("ocr", LangKey.language);
|
||||
this.checkBox_orientImage.Text = Language.GetString("ocr", LangKey.orient_image);
|
||||
}
|
||||
|
||||
void ButtonCancelClick(object sender, EventArgs e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue