~jbvanpuyvelde-deactivatedaccount/syncany/fix-wizard

« back to all changes in this revision

Viewing changes to syncany/src/org/syncany/gui/wizard/EncryptionPanel.java

  • Committer: Philipp Heckel
  • Date: 2011-06-05 21:26:56 UTC
  • Revision ID: philipp.heckel@gmail.com-20110605212656-8lono0p5pz326611
internationalization

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 */
18
18
package org.syncany.gui.wizard;
19
19
 
20
 
import java.util.Locale;
21
20
import java.util.ResourceBundle;
22
21
import java.util.logging.Level;
23
22
import java.util.logging.Logger;
24
23
 
25
 
import org.syncany.Constants;
 
24
import org.syncany.config.Config;
26
25
import org.syncany.config.Encryption;
27
26
import org.syncany.config.Profile;
28
27
import org.syncany.config.Repository;
39
38
    
40
39
    /** Creates new form EncryptionPanel */
41
40
    public EncryptionPanel(Profile profile) {
42
 
        resourceBundle = ResourceBundle.getBundle(Constants.RESOURCE_BUNDLE, Locale.getDefault());
 
41
        resourceBundle = Config.getInstance().getResourceBundle();
43
42
        initComponents();
44
43
 
45
44
        pnlAdvancedSettings.setVisible(false);