import java.util.Locale;
import java.util.ResourceBundle;
+import org.slf4j.LoggerFactory;
+
/*
* ja_JPはUTF-16BE
*/
public enum Messages {
MSGCalcStart,
- MSGDatabaseNotExist;
+ MSGDatabaseNotExist,
+ MSGAlbumTypeBeingCalculated,
+ MSGNarrowingDownSongs,
+ MSGTitle,
+ MSGSelectDifficulty,
+ MSGNonSelected,
+ MSGSongLevel,
+ MSGBelowSpecificLevel,
+ MSGOverSpecificLevel,
+ MSGLevelCheckboxInfo,
+ MSGUpdatingDatabase,
+ MSGCompleteNarrowDown,
+ MSGNumberOfSongs,
+ MSGThisPhrase,
+ MSGPlayPhrase,
+ MSGTwitterIntegration,
+ MSGUsingThisAppPhrase,
+ MSGNotPlayYet,
+ MSGTwitterPlayOtherwisePhrase,
+ MSGTwitterPlayOnlyPhrase,
+ MSGTwitterIntegrationConfirm,
+ MSGStringLength,
+ MSGCompletePost,
+ MSGTerminate,
+ MSGInternalYpdateNotDoneYet,
+ MSGNarrowDownProcedure,
+ MSGCurrentAlbumType,
+ MSGManualUpdate,
+ MSGManualUpdateNotCompleteYet;
+
@Override
public String toString() {
try {
- return ResourceBundle.getBundle("com.ranfa.languages.List", Locale.getDefault()).getString(name());
+ return ResourceBundle.getBundle("com.ranfa.languages.List", Locale.getDefault()).getString(this.name());
} catch(Exception e) {
- e.printStackTrace();
+ LoggerFactory.getLogger(Messages.class).error("Exception was thrown while processing automatic translation.", e);
System.exit(-1);
return null;
}