Created
October 5, 2011 22:41
-
-
Save rotty3000/1265957 to your computer and use it in GitHub Desktop.
a localization hook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 2d8dfb68d4678d0e8009c36c2cf887ce1c788245 | |
Author: Raymond Auge <[email protected]> | |
Date: Wed Oct 5 18:41:05 2011 -0400 | |
localization-hook | |
diff --git a/hooks/localizations-hook/build.xml b/hooks/localizations-hook/build.xml | |
new file mode 100644 | |
index 0000000..6167bd2 | |
--- /dev/null | |
+++ b/hooks/localizations-hook/build.xml | |
@@ -0,0 +1,6 @@ | |
+<?xml version="1.0"?> | |
+<!DOCTYPE project> | |
+ | |
+<project name="localizations-hook" basedir="." default="deploy"> | |
+ <import file="../build-common-hook.xml" /> | |
+</project> | |
\ No newline at end of file | |
diff --git a/hooks/localizations-hook/docroot/WEB-INF/liferay-hook.xml b/hooks/localizations-hook/docroot/WEB-INF/liferay-hook.xml | |
new file mode 100644 | |
index 0000000..d00882f | |
--- /dev/null | |
+++ b/hooks/localizations-hook/docroot/WEB-INF/liferay-hook.xml | |
@@ -0,0 +1,6 @@ | |
+<?xml version="1.0"?> | |
+<!DOCTYPE hook PUBLIC "-//Liferay//DTD Hook 6.1.0//EN" "http://www.liferay.com/dtd/liferay-hook_6_1_0.dtd"> | |
+ | |
+<hook> | |
+ <language-properties>content/Language.properties</language-properties> | |
+</hook> | |
\ No newline at end of file | |
diff --git a/hooks/localizations-hook/docroot/WEB-INF/liferay-plugin-package.properties b/hooks/localizations-hook/docroot/WEB-INF/liferay-plugin-package.properties | |
new file mode 100644 | |
index 0000000..199256d | |
--- /dev/null | |
+++ b/hooks/localizations-hook/docroot/WEB-INF/liferay-plugin-package.properties | |
@@ -0,0 +1,9 @@ | |
+name=Localizations Hook | |
+module-group-id=liferay | |
+module-incremental-version=1 | |
+tags= | |
+short-description= | |
+change-log= | |
+page-url=http://www.liferay.com | |
+author=Liferay, Inc. | |
+licenses=LGPL | |
\ No newline at end of file | |
diff --git a/hooks/localizations-hook/docroot/WEB-INF/src/content/Language.properties b/hooks/localizations-hook/docroot/WEB-INF/src/content/Language.properties | |
new file mode 100644 | |
index 0000000..16908cb | |
--- /dev/null | |
+++ b/hooks/localizations-hook/docroot/WEB-INF/src/content/Language.properties | |
@@ -0,0 +1 @@ | |
+category.our.super.awesome.gadgets=Our Super Awesome Gadgets | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment