expose changeBasePath method
[jSite2.git] / src / net / pterodactylus / jsite / gui / ProjectPanel.java
index 3201e55..ae0fcc0 100644 (file)
@@ -238,7 +238,7 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable {
        /**
         * Lets the user select a new base path and repopulates the file list.
         */
-       private void changeBasePath() {
+       void changeBasePath() {
                JFileChooser fileChooser = new JFileChooser(project.getBasePath());
                fileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
                fileChooser.setApproveButtonText(I18n.get("projectPanel.button.approve.name"));
@@ -284,6 +284,8 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable {
        public void updateI18n() {
                nameLabel.updateI18n();
                descriptionLabel.updateI18n();
+               changeBasePathAction.updateI18n();
+               editFilesAction.updateI18n();
        }
 
        //