~jbvanpuyvelde-deactivatedaccount/syncany/fix-wizard

« back to all changes in this revision

Viewing changes to syncany/src/org/syncany/connection/plugins/s3/S3ConfigPanel.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.connection.plugins.s3;
19
19
 
20
 
import java.util.Locale;
21
20
import java.util.ResourceBundle;
22
21
 
23
22
import javax.swing.DefaultComboBoxModel;
24
23
import org.jets3t.service.model.S3Bucket;
25
 
import org.syncany.Constants;
 
24
import org.syncany.config.Config;
26
25
import org.syncany.connection.plugins.ConfigPanel;
27
26
 
28
27
/**
36
35
    /** Creates new form S3ConfigPanel2 */
37
36
    public S3ConfigPanel(S3Connection connection) {
38
37
        super(connection);
39
 
        resourceBundle = ResourceBundle.getBundle(Constants.RESOURCE_BUNDLE, Locale.getDefault());
 
38
        resourceBundle = Config.getInstance().getResourceBundle();
40
39
            initComponents();
41
40
                
42
41
            DefaultComboBoxModel locModel = new DefaultComboBoxModel();