i18n implementation (#55)

This commit is contained in:
Athou
2013-05-12 12:38:56 +02:00
parent ca47270db1
commit 98aeccbb66
23 changed files with 353 additions and 124 deletions

View File

@@ -1,11 +1,13 @@
package com.commafeed.frontend.model;
import java.io.Serializable;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import com.google.api.client.util.Maps;
import com.wordnik.swagger.annotations.ApiClass;
@SuppressWarnings("serial")
@@ -15,6 +17,7 @@ import com.wordnik.swagger.annotations.ApiClass;
public class ServerInfo implements Serializable {
private String announcement;
private Map<String, String> supportedLanguages = Maps.newHashMap();
public String getAnnouncement() {
return announcement;
@@ -24,4 +27,12 @@ public class ServerInfo implements Serializable {
this.announcement = announcement;
}
public Map<String, String> getSupportedLanguages() {
return supportedLanguages;
}
public void setSupportedLanguages(Map<String, String> supportedLanguages) {
this.supportedLanguages = supportedLanguages;
}
}