Author: simoneg
Date: Mon Oct 19 22:20:45 2009
New Revision: 826838
URL: http://svn.apache.org/viewvc?rev=826838&view=rev
Log:
Small package to display flags and switch locale
Added:
labs/magma/trunk/website-localeswitcher/pom.xml
labs/magma/trunk/website-localeswitcher/src/
labs/magma/trunk/website-localeswitcher/src/main/
labs/magma/trunk/website-localeswitcher/src/main/java/
labs/magma/trunk/website-localeswitcher/src/main/java/org/
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/AddLocaleSwitcherToDefaultTemplate.aj
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/InstallLocaleSwitcherHandler.aj
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/LocaleSwitcherHandler.java
labs/magma/trunk/website-localeswitcher/src/main/resources/
labs/magma/trunk/website-localeswitcher/src/main/resources/META-INF/
labs/magma/trunk/website-localeswitcher/src/main/resources/META-INF/magma.default.properties
labs/magma/trunk/website-localeswitcher/src/main/resources/org/
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ar_SA.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ca_AD.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ca_ES.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/cs_CZ.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/de_DE.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/el_GR.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/en_US.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/es_ES.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/fa_IR.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/fi_FI.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/fr_FR.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/hu_HU.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/it_IT.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ja_JP.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ko_KR.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/nb_NO.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/nl_NL.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/pl_PL.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/pt_BR.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/pt_PT.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ru_RU.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/showFlags.vm
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/sv_SE.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/tr_TR.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/vi_VN.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/zh_CN.png
(with props)
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/zh_TW.png
(with props)
Added: labs/magma/trunk/website-localeswitcher/pom.xml
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/pom.xml?rev=826838&view=auto
==============================================================================
--- labs/magma/trunk/website-localeswitcher/pom.xml (added)
+++ labs/magma/trunk/website-localeswitcher/pom.xml Mon Oct 19 22:20:45 2009
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.magma</groupId>
+ <artifactId>magma-parent</artifactId>
+ <version>2</version>
+ </parent>
+ <groupId>org.apache.magma</groupId>
+ <artifactId>website-localeswitcher</artifactId>
+ <name>Magma Website Locale Switcher</name>
+ <version>0.0.2-SNAPSHOT</version>
+ <description />
+ <packaging>magma</packaging>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.magma</groupId>
+ <artifactId>foundation-website</artifactId>
+ <version>0.0.2-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.magma</groupId>
+ <artifactId>foundation-i18n</artifactId>
+ <version>0.0.2-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.magma</groupId>
+ <artifactId>website-velocity</artifactId>
+ <version>0.0.2-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+</project>
Added:
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/AddLocaleSwitcherToDefaultTemplate.aj
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/AddLocaleSwitcherToDefaultTemplate.aj?rev=826838&view=auto
==============================================================================
---
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/AddLocaleSwitcherToDefaultTemplate.aj
(added)
+++
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/AddLocaleSwitcherToDefaultTemplate.aj
Mon Oct 19 22:20:45 2009
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.magma.website.localeswitcher;
+
+import org.apache.magma.website.templating.DefaultTemplate;
+import org.apache.magma.website.templating.Template;
+
+public privileged aspect AddLocaleSwitcherToDefaultTemplate {
+
+ after(Template t) : execution(public void
DefaultTemplate.layoutFooter()) && this(t) {
+ t.byDefault(LocaleSwitcherHandler.class,
t.root().handleLocales().doShowFlags());
+ }
+
+}
Added:
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/InstallLocaleSwitcherHandler.aj
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/InstallLocaleSwitcherHandler.aj?rev=826838&view=auto
==============================================================================
---
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/InstallLocaleSwitcherHandler.aj
(added)
+++
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/InstallLocaleSwitcherHandler.aj
Mon Oct 19 22:20:45 2009
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.magma.website.localeswitcher;
+
+import org.apache.magma.website.RootWebHandler;
+
+public aspect InstallLocaleSwitcherHandler {
+
+ public LocaleSwitcherHandler RootWebHandler.handleLocales() {
+ return new LocaleSwitcherHandler();
+ }
+
+}
Added:
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/LocaleSwitcherHandler.java
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/LocaleSwitcherHandler.java?rev=826838&view=auto
==============================================================================
---
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/LocaleSwitcherHandler.java
(added)
+++
labs/magma/trunk/website-localeswitcher/src/main/java/org/apache/magma/website/localeswitcher/LocaleSwitcherHandler.java
Mon Oct 19 22:20:45 2009
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.magma.website.localeswitcher;
+
+import org.apache.magma.i18n.CurrentLocale;
+import org.apache.magma.settings.Settings;
+import org.apache.magma.website.HtmlProducer;
+import org.apache.magma.website.WebHandler;
+import org.apache.magma.website.producers.TemplatingProducer;
+
+public class LocaleSwitcherHandler extends WebHandler {
+
+ private String session_magma_locale;
+
+ public HtmlProducer doShowFlags() {
+ String locales = Settings.get("website.locales");
+ if (locales == null) locales = "en_US,it_IT";
+ return new TemplatingProducer().addParameter("flags",
locales.split(","));
+ }
+
+ public HtmlProducer doChangeLocale(String locale) {
+ session_magma_locale = locale;
+ CurrentLocale.setLocale(locale);
+ return doShowFlags();
+ }
+
+}
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/META-INF/magma.default.properties
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/META-INF/magma.default.properties?rev=826838&view=auto
==============================================================================
---
labs/magma/trunk/website-localeswitcher/src/main/resources/META-INF/magma.default.properties
(added)
+++
labs/magma/trunk/website-localeswitcher/src/main/resources/META-INF/magma.default.properties
Mon Oct 19 22:20:45 2009
@@ -0,0 +1,15 @@
+#Licensed to the Apache Software Foundation (ASF) under one or more
+#contributor license agreements. See the NOTICE file distributed with
+#this work for additional information regarding copyright ownership.
+#The ASF licenses this file to You under the Apache License, Version 2.0
+#(the "License"); you may not use this file except in compliance with
+#the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+#Unless required by applicable law or agreed to in writing, software
+#distributed under the License is distributed on an "AS IS" BASIS,
+#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#See the License for the specific language governing permissions and
+#limitations under the License.
+website.locales=en_US,it_IT
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ar_SA.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ar_SA.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ar_SA.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ca_AD.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ca_AD.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ca_AD.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ca_ES.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ca_ES.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ca_ES.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/cs_CZ.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/cs_CZ.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/cs_CZ.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/de_DE.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/de_DE.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/de_DE.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/el_GR.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/el_GR.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/el_GR.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/en_US.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/en_US.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/en_US.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/es_ES.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/es_ES.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/es_ES.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/fa_IR.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/fa_IR.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/fa_IR.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/fi_FI.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/fi_FI.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/fi_FI.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/fr_FR.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/fr_FR.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/fr_FR.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/hu_HU.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/hu_HU.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/hu_HU.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/it_IT.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/it_IT.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/it_IT.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ja_JP.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ja_JP.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ja_JP.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ko_KR.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ko_KR.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ko_KR.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/nb_NO.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/nb_NO.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/nb_NO.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/nl_NL.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/nl_NL.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/nl_NL.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/pl_PL.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/pl_PL.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/pl_PL.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/pt_BR.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/pt_BR.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/pt_BR.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/pt_PT.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/pt_PT.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/pt_PT.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ru_RU.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ru_RU.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/ru_RU.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/showFlags.vm
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/showFlags.vm?rev=826838&view=auto
==============================================================================
---
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/showFlags.vm
(added)
+++
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/showFlags.vm
Mon Oct 19 22:20:45 2009
@@ -0,0 +1,20 @@
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+
+<div class="MagmaFlags">
+#foreach ($flag in $flags)
+<a href="changeLocale!$flag"><img src="${flag}.png"/></a>
+#end
+</div>
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/sv_SE.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/sv_SE.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/sv_SE.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/tr_TR.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/tr_TR.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/tr_TR.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/vi_VN.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/vi_VN.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/vi_VN.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/zh_CN.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/zh_CN.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/zh_CN.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/zh_TW.png
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/zh_TW.png?rev=826838&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
labs/magma/trunk/website-localeswitcher/src/main/resources/org/apache/magma/website/localeswitcher/zh_TW.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]