Ejemplo n.º 1
0
        public void updateTextTrans()
        {
            this.Text = Translations.getInstance().getTranslation(TextId.TITLE_CHAMPIONS);

            // dataGridViewChempions[0, dataGridViewChempions.CurrentCell.RowIndex].Na = Translations.getInstance().getTranslation(TextId.NAME);
            // dataGridViewChempions = Translations.getInstance().getTranslation(TextId.LEVEL);
            // dataGridViewChempions = Translations.getInstance().getTranslation(TextId.TIME);
        }
Ejemplo n.º 2
0
        public void updateTextTrans()
        {
            this.Text = Translations.getInstance().getTranslation(TextId.YOU_WIN);

            labelTimeGame.Text   = Translations.getInstance().getTranslation(TextId.TIME_GAME);
            labelDificLevel.Text = Translations.getInstance().getTranslation(TextId.DIFIC_LEVEL_WIN);
            labelWinName.Text    = Translations.getInstance().getTranslation(TextId.NAME_WIN_USER);
        }
Ejemplo n.º 3
0
        // Translate form TEXT
        public void updateTextTrans()
        {
            this.Text = Translations.getInstance().getTranslation(TextId.SAPER_TITLE);

            FileMenuForm.Text     = Translations.getInstance().getTranslation(TextId.FILE);
            NewGameMenuForm.Text  = Translations.getInstance().getTranslation(TextId.NEW_GAME);
            SettingsMenuForm.Text = Translations.getInstance().getTranslation(TextId.SETINGS);
            ExitMenuForm.Text     = Translations.getInstance().getTranslation(TextId.EXIT);

            DifLevel.Text     = Translations.getInstance().getTranslation(TextId.DIF_LAVAL_GAME);
            languageMenu.Text = Translations.getInstance().getTranslation(TextId.LANG_MENU);

            level1.Text = Translations.getInstance().getTranslation(TextId.LEVEL_1);
            level2.Text = Translations.getInstance().getTranslation(TextId.LEVEL_2);
            level3.Text = Translations.getInstance().getTranslation(TextId.LEVEL_3);

            english.Text = Translations.getInstance().getTranslation(TextId.ENGLISH);
            uk.Text      = Translations.getInstance().getTranslation(TextId.UA);
            ru.Text      = Translations.getInstance().getTranslation(TextId.RU);

            championsMenuForm.Text = Translations.getInstance().getTranslation(TextId.CHAMPIONS);
        }
Ejemplo n.º 4
0
 public void updateTextTrans()
 {
     this.Text            = Translations.getInstance().getTranslation(TextId.NEW_USER_TITLE);
     labelUserName.Text   = Translations.getInstance().getTranslation(TextId.NEW_USER_NAME_LABEL);
     buttonStartGame.Text = Translations.getInstance().getTranslation(TextId.NEW_USER_OK_BTN);
 }