Sha256: 2ca8011a9d85fd590e466d108c7fc8020740d36074871fb4042472cfdc539856

Contents?: true

Size: 846 Bytes

Versions: 36

Compression:

Stored size: 846 Bytes

Contents

<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>
<%
  require 'hellolib'
	require 'cgi'
  lib = HelloLib.new
%>
<h1><%= _("Hello World") %> - <%= @domainname %></h1>
<p><%= description %></p>
<div class="locale">
<p><%= _("locale") %>: <%= Locale.get %></p>
<p><%= _("output_charset") %>: <%= GetText.output_charset %></p>
<p><%= _("QUERY_STRING") %>: <%= cgi.query_string %></p>
</div>
<p><%= _("Call a library method which has another textdomain.") %></p>
<div class="locale"><%=  lib.hello %></div>
<p><a href="/"><%= _("Back") %></a></p>

<div class="copyright">
Copyright (C) 2005 Masao Mutoh
</div>
</body>
</html>

Version data entries

36 entries across 36 versions & 5 rubygems

Version Path
experteer-gettext-2.0.4.1 samples/cgi/helloerb.rhtml
experteer-gettext-2.0.4.2 samples/cgi/helloerb.rhtml
experteer-gettext-2.0.4 samples/cgi/helloerb.rhtml
grosser-gettext-2.0.0 samples/cgi/helloerb.rhtml
gettext-2.2.1 samples/cgi/helloerb.rhtml
gettext-2.2.0 samples/cgi/helloerb.rhtml
ofm_gettext-2.0.1 samples/cgi/helloerb.rhtml
ofm_gettext-2.0.0 samples/cgi/helloerb.rhtml
fair-gettext-2.0.7 samples/cgi/helloerb.rhtml
fair-gettext-2.0.6 samples/cgi/helloerb.rhtml
fair-gettext-2.0.5 samples/cgi/helloerb.rhtml
fair-gettext-2.0.4 samples/cgi/helloerb.rhtml
fair-gettext-2.0.3 samples/cgi/helloerb.rhtml
fair-gettext-2.0.2 samples/cgi/helloerb.rhtml
fair-gettext-2.0.1 samples/cgi/helloerb.rhtml
fair-gettext-2.0.0 samples/cgi/helloerb.rhtml
gettext-2.1.0 samples/cgi/helloerb.rhtml
gettext-1.10.0-mswin32 samples/cgi/helloerb.rhtml
gettext-1.9.0-mswin32 samples/cgi/helloerb.rhtml
gettext-1.8.0-mswin32 samples/cgi/helloerb.rhtml