diff options
author | Robin Houston <robin@lenny.robin> | 2011-06-09 12:54:05 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-06-09 12:54:05 +0100 |
commit | 4d077dc48fb0589dbf401a131d524b23ab0d2258 (patch) | |
tree | 680b12febc448827ee937039d38e97020b4c5df9 /vendor/gems/gettext-2.1.0/samples/cgi/other.rhtml | |
parent | cb67f4d0ef9feae96a90ea5bba63c939268b1224 (diff) |
Bundle the locale and gettext gems
Diffstat (limited to 'vendor/gems/gettext-2.1.0/samples/cgi/other.rhtml')
-rw-r--r-- | vendor/gems/gettext-2.1.0/samples/cgi/other.rhtml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/gems/gettext-2.1.0/samples/cgi/other.rhtml b/vendor/gems/gettext-2.1.0/samples/cgi/other.rhtml new file mode 100644 index 000000000..2dd2ce968 --- /dev/null +++ b/vendor/gems/gettext-2.1.0/samples/cgi/other.rhtml @@ -0,0 +1,20 @@ +<html> +<head> + <meta http-equiv="content-type" content="text/html; charset=<%= GetText.output_charset %>"> + <link rel="stylesheet" type="text/css" href="gettext.css" media="all"> +<title><%= _("Sample script for CGI/ERB and Ruby-GetText-Package") %></title> +</head> +<body> +<h1><%= _("Another sample") %> - <%= @domainname %></h1> +<p><%= _("This sample(other.rhtml) is the another ERB file of helloerb1.cgi.") %></p> +<div class="locale"> +<p><%= _("locale") %>: <%= Locale.get %></p> +<p><%= _("output_charset") %>: <%= GetText.output_charset %></p> +<p><%= _("QUERY_STRING") %>: <%= CGI.escapeHTML(cgi.query_string) %></p> +</div> +<p><a href="/"><%= _("Back") %></a></p> +<div class="copyright"> +Copyright (C) 2005 Masao Mutoh +</div> +</body> +</html> |