/usr/share/doc/ruby-locale-rails/examples/app/views/samples/index_uz_UZ.html.erb is in ruby-locale-rails 2.0.5-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <h1>Ruby-Locale and Ruby on Rails 2.2 sample</h1>
<p><a href ="http://locale.rubyforge.org/svn/trunk/locale_rails/sample">[source code]</a></p>
<h2>The values from Rails</h2>
<table border="1" cellspacing="0" cellpadding="2">
<tr><th>Variables</th><th>Values</th></tr>
<tr><td>HTTP_ACCEPT_LANGUAGE</td><td> <%= request.accept_language %></td></tr>
<tr><td>HTTP_ACCEPT_CHARSET</td><td> <%= request.accept_charset %></td></tr>
<tr><td>QUERY_STRING</td><td> <%= request.query_string %></td></tr>
<tr><td>params[:lang]</td><td><%= params[:lang] %></td></tr>
<tr><td>cookies[:lang]</td><td> <%= cookies[:lang] %></td></tr>
<tr><td>I18n.t :hello (*1)</td><td> <%= I18n.t :hello %></td></tr>
</table>
<p style="color:red">This page is for uz_UZ only. See app/views/samples/index_uz_UZ.html.erb.</p>
<p><%= link_to "[BACK]", samples_path %></p>
|