diff --git a/src/main/resources/messages.properties b/src/main/resources/messages.properties new file mode 100644 index 0000000..9aaf6ef --- /dev/null +++ b/src/main/resources/messages.properties @@ -0,0 +1,9 @@ +navbar.language = Language +navbar.signin = Sign in +navbar.signup = Sign up +navbar.logout = Logout +navbar.my_animals = My animals +navbar.cares_and_behaviors = Care and Behaviors + +footer.license = Application under {0} license +footer.source_code = Source code \ No newline at end of file diff --git a/src/main/resources/messages_en.properties b/src/main/resources/messages_en.properties new file mode 100644 index 0000000..c4bb5f0 --- /dev/null +++ b/src/main/resources/messages_en.properties @@ -0,0 +1,9 @@ +navbar.language = Language +navbar.signin = Sign in +navbar.signup = Sign up +navbar.logout = Logout +navbar.my_animals = My animals +navbar.cares_and_behaviors = Care and Behaviors + +footer.source_code=Source code +footer.license=Application under {0} license diff --git a/src/main/resources/messages_fr.properties b/src/main/resources/messages_fr.properties new file mode 100644 index 0000000..5bcd9ab --- /dev/null +++ b/src/main/resources/messages_fr.properties @@ -0,0 +1,9 @@ +navbar.language = Langue +navbar.signin = Connexion +navbar.signup = Cr\u00e9er un compte +navbar.logout = D\u00e9connexion +navbar.my_animals = Mes animaux +navbar.cares_and_behaviors = Soins et Comportements + +footer.source_code=Code source +footer.license=Application sous licence {0} diff --git a/src/main/webapp/vue/animal_behavior.jsp b/src/main/webapp/vue/animal_behavior.jsp index 070db67..4efddc2 100644 --- a/src/main/webapp/vue/animal_behavior.jsp +++ b/src/main/webapp/vue/animal_behavior.jsp @@ -2,9 +2,10 @@ <%@page import="java.util.List"%> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> -<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ page isELIgnored="false" %> +<%@ include file="base/language.jsp" %> +
diff --git a/src/main/webapp/vue/animal_care.jsp b/src/main/webapp/vue/animal_care.jsp index f875ae5..5be6311 100644 --- a/src/main/webapp/vue/animal_care.jsp +++ b/src/main/webapp/vue/animal_care.jsp @@ -2,9 +2,10 @@ <%@page import="java.util.List"%> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> -<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ page isELIgnored="false" %> +<%@ include file="base/language.jsp" %> + diff --git a/src/main/webapp/vue/animal_cares_and_behaviors.jsp b/src/main/webapp/vue/animal_cares_and_behaviors.jsp index f06ee05..3ffa70d 100644 --- a/src/main/webapp/vue/animal_cares_and_behaviors.jsp +++ b/src/main/webapp/vue/animal_cares_and_behaviors.jsp @@ -9,6 +9,8 @@