public
Created

a localization hook

  • Download Gist
localization-hook.patch
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
commit 2d8dfb68d4678d0e8009c36c2cf887ce1c788245
Author: Raymond Auge <raymond.auge@liferay.com>
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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.