package org.jetbrains.jps.incremental.scala;


import com.intellij.AbstractBundle;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.PropertyKey;

/**
 * User: Dmitry.Krasilschikov
 * Date: 02.10.2006
 *
 */
public class JpsBundle extends AbstractBundle {
    @NonNls
    private static final String BUNDLE = "messages.ScalaJpsBundle";

    private static final JpsBundle INSTANCE = new JpsBundle();

    private JpsBundle() {
        super(BUNDLE);
    }

    @Nls
    public static String message(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key, @NotNull Object... params) {
        return INSTANCE.getMessage(key, params);
    }
}
@@ -44,44 +44,8 @@
 ;%0A%0A%0A
-import com.intellij.AbstractBundle;%0A
 impo
@@ -206,16 +206,63 @@
 ertyKey;
+%0Aimport org.jetbrains.jps.api.JpsDynamicBundle;
 %0A%0A/**%0A *
@@ -351,16 +351,18 @@
 nds 
-Abstract
+JpsDynamic
 Bund

use JpsDynamicBundle to have localized messages in the jps process