1 package com.ranfa.main;
3 import java.util.Locale;
4 import java.util.ResourceBundle;
6 import org.slf4j.LoggerFactory;
11 public enum Messages {
15 MSGAlbumTypeBeingCalculated,
16 MSGNarrowingDownSongs,
21 MSGBelowSpecificLevel,
25 MSGCompleteNarrowDown,
29 MSGTwitterIntegration,
30 MSGUsingThisAppPhrase,
32 MSGTwitterPlayOtherwisePhrase,
33 MSGTwitterPlayOnlyPhrase,
34 MSGTwitterIntegrationConfirm,
38 MSGInternalYpdateNotDoneYet,
39 MSGNarrowDownProcedure,
42 MSGManualUpdateNotCompleteYet;
46 public String toString() {
48 return ResourceBundle.getBundle("com.ranfa.languages.List", Locale.getDefault()).getString(this.name());
49 } catch(Exception e) {
50 LoggerFactory.getLogger(Messages.class).error("Exception was thrown while processing automatic translation.", e);