mack-localization 0.6.0.1 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/{localization → mack-localization}/configuration.rb +0 -0
- data/lib/{localization → mack-localization}/content_cache.rb +0 -0
- data/lib/{localization → mack-localization}/errors.rb +3 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/base.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/bp.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/de.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/en.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/es.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/fr.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/it.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/engine_registry.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/base.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/bp.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/de.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/en.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/es.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/fr.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/it.rb +0 -0
- data/lib/{localization → mack-localization}/formatter.rb +0 -0
- data/lib/{localization → mack-localization}/helpers/view_helpers/l10n_helpers.rb +0 -0
- data/lib/{localization → mack-localization}/translator.rb +9 -9
- data/lib/mack-localization.rb +1 -1
- metadata +23 -84
- data/doc/classes/Mack/Localization/Configuration.html +0 -118
- data/doc/classes/Mack/Localization/ContentCache.html +0 -111
- data/doc/classes/Mack/Localization/DateFormatEngine/BP.html +0 -217
- data/doc/classes/Mack/Localization/DateFormatEngine/Base.html +0 -237
- data/doc/classes/Mack/Localization/DateFormatEngine/DE.html +0 -217
- data/doc/classes/Mack/Localization/DateFormatEngine/EN.html +0 -218
- data/doc/classes/Mack/Localization/DateFormatEngine/ES.html +0 -217
- data/doc/classes/Mack/Localization/DateFormatEngine/FR.html +0 -217
- data/doc/classes/Mack/Localization/DateFormatEngine/IT.html +0 -217
- data/doc/classes/Mack/Localization/Errors/FormatEngineNotFound.html +0 -153
- data/doc/classes/Mack/Localization/Errors/InvalidArgument.html +0 -146
- data/doc/classes/Mack/Localization/Errors/InvalidConfiguration.html +0 -117
- data/doc/classes/Mack/Localization/Errors/InvalidMethodName.html +0 -153
- data/doc/classes/Mack/Localization/Errors/LanguageFileNotFound.html +0 -117
- data/doc/classes/Mack/Localization/Errors/UnknownStringKey.html +0 -153
- data/doc/classes/Mack/Localization/Errors/UnsupportedEncoding.html +0 -153
- data/doc/classes/Mack/Localization/Errors/UnsupportedFeature.html +0 -152
- data/doc/classes/Mack/Localization/Errors/UnsupportedLanguage.html +0 -153
- data/doc/classes/Mack/Localization/FormatEngineRegistry.html +0 -245
- data/doc/classes/Mack/Localization/Formatter.html +0 -392
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/BP.html +0 -196
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/Base.html +0 -250
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/DE.html +0 -196
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/EN.html +0 -196
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/ES.html +0 -196
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/FR.html +0 -196
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/IT.html +0 -196
- data/doc/classes/Mack/Localization/Translator.html +0 -275
- data/doc/classes/Mack/ViewHelpers/L10NHelpers/Context.html +0 -278
- data/doc/classes/Mack/ViewHelpers/L10NHelpers.html +0 -402
- data/doc/classes/Mack.html +0 -194
- data/doc/classes/Object.html +0 -236
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -107
- data/doc/files/lib/localization/configuration_rb.html +0 -110
- data/doc/files/lib/localization/content_cache_rb.html +0 -101
- data/doc/files/lib/localization/errors_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/base_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/bp_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/de_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/en_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/es_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/fr_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/it_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/engine_registry_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/base_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/bp_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/de_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/en_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/es_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/fr_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/it_rb.html +0 -101
- data/doc/files/lib/localization/formatter_rb.html +0 -101
- data/doc/files/lib/localization/helpers/view_helpers/l10n_helpers_rb.html +0 -101
- data/doc/files/lib/localization/translator_rb.html +0 -101
- data/doc/files/lib/mack-localization_rb.html +0 -109
- data/doc/fr_class_index.html +0 -58
- data/doc/fr_file_index.html +0 -49
- data/doc/fr_method_index.html +0 -107
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
data/doc/classes/Mack.html
DELETED
@@ -1,194 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Module: Mack</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">Mack</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/localization/configuration_rb.html">
|
59
|
-
lib/localization/configuration.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
<a href="../files/lib/localization/content_cache_rb.html">
|
63
|
-
lib/localization/content_cache.rb
|
64
|
-
</a>
|
65
|
-
<br />
|
66
|
-
<a href="../files/lib/localization/errors_rb.html">
|
67
|
-
lib/localization/errors.rb
|
68
|
-
</a>
|
69
|
-
<br />
|
70
|
-
<a href="../files/lib/localization/format_engine/df_engines/base_rb.html">
|
71
|
-
lib/localization/format_engine/df_engines/base.rb
|
72
|
-
</a>
|
73
|
-
<br />
|
74
|
-
<a href="../files/lib/localization/format_engine/df_engines/bp_rb.html">
|
75
|
-
lib/localization/format_engine/df_engines/bp.rb
|
76
|
-
</a>
|
77
|
-
<br />
|
78
|
-
<a href="../files/lib/localization/format_engine/df_engines/de_rb.html">
|
79
|
-
lib/localization/format_engine/df_engines/de.rb
|
80
|
-
</a>
|
81
|
-
<br />
|
82
|
-
<a href="../files/lib/localization/format_engine/df_engines/en_rb.html">
|
83
|
-
lib/localization/format_engine/df_engines/en.rb
|
84
|
-
</a>
|
85
|
-
<br />
|
86
|
-
<a href="../files/lib/localization/format_engine/df_engines/es_rb.html">
|
87
|
-
lib/localization/format_engine/df_engines/es.rb
|
88
|
-
</a>
|
89
|
-
<br />
|
90
|
-
<a href="../files/lib/localization/format_engine/df_engines/fr_rb.html">
|
91
|
-
lib/localization/format_engine/df_engines/fr.rb
|
92
|
-
</a>
|
93
|
-
<br />
|
94
|
-
<a href="../files/lib/localization/format_engine/df_engines/it_rb.html">
|
95
|
-
lib/localization/format_engine/df_engines/it.rb
|
96
|
-
</a>
|
97
|
-
<br />
|
98
|
-
<a href="../files/lib/localization/format_engine/engine_registry_rb.html">
|
99
|
-
lib/localization/format_engine/engine_registry.rb
|
100
|
-
</a>
|
101
|
-
<br />
|
102
|
-
<a href="../files/lib/localization/format_engine/nc_engines/base_rb.html">
|
103
|
-
lib/localization/format_engine/nc_engines/base.rb
|
104
|
-
</a>
|
105
|
-
<br />
|
106
|
-
<a href="../files/lib/localization/format_engine/nc_engines/bp_rb.html">
|
107
|
-
lib/localization/format_engine/nc_engines/bp.rb
|
108
|
-
</a>
|
109
|
-
<br />
|
110
|
-
<a href="../files/lib/localization/format_engine/nc_engines/de_rb.html">
|
111
|
-
lib/localization/format_engine/nc_engines/de.rb
|
112
|
-
</a>
|
113
|
-
<br />
|
114
|
-
<a href="../files/lib/localization/format_engine/nc_engines/en_rb.html">
|
115
|
-
lib/localization/format_engine/nc_engines/en.rb
|
116
|
-
</a>
|
117
|
-
<br />
|
118
|
-
<a href="../files/lib/localization/format_engine/nc_engines/es_rb.html">
|
119
|
-
lib/localization/format_engine/nc_engines/es.rb
|
120
|
-
</a>
|
121
|
-
<br />
|
122
|
-
<a href="../files/lib/localization/format_engine/nc_engines/fr_rb.html">
|
123
|
-
lib/localization/format_engine/nc_engines/fr.rb
|
124
|
-
</a>
|
125
|
-
<br />
|
126
|
-
<a href="../files/lib/localization/format_engine/nc_engines/it_rb.html">
|
127
|
-
lib/localization/format_engine/nc_engines/it.rb
|
128
|
-
</a>
|
129
|
-
<br />
|
130
|
-
<a href="../files/lib/localization/formatter_rb.html">
|
131
|
-
lib/localization/formatter.rb
|
132
|
-
</a>
|
133
|
-
<br />
|
134
|
-
<a href="../files/lib/localization/helpers/view_helpers/l10n_helpers_rb.html">
|
135
|
-
lib/localization/helpers/view_helpers/l10n_helpers.rb
|
136
|
-
</a>
|
137
|
-
<br />
|
138
|
-
<a href="../files/lib/localization/translator_rb.html">
|
139
|
-
lib/localization/translator.rb
|
140
|
-
</a>
|
141
|
-
<br />
|
142
|
-
</td>
|
143
|
-
</tr>
|
144
|
-
|
145
|
-
</table>
|
146
|
-
</div>
|
147
|
-
<!-- banner header -->
|
148
|
-
|
149
|
-
<div id="bodyContent">
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
<div id="contextContent">
|
154
|
-
|
155
|
-
<div id="description">
|
156
|
-
<p>
|
157
|
-
<a href="Mack.html">Mack</a> Localization‘s main configuration. When
|
158
|
-
loaded it will try to load localization.yml file from
|
159
|
-
{config_dir}/localization/ inside the application directory. If the file
|
160
|
-
doesn‘t exist then it will just load default configuration.
|
161
|
-
</p>
|
162
|
-
|
163
|
-
</div>
|
164
|
-
|
165
|
-
|
166
|
-
</div>
|
167
|
-
|
168
|
-
|
169
|
-
</div>
|
170
|
-
|
171
|
-
|
172
|
-
<!-- if includes -->
|
173
|
-
|
174
|
-
<div id="section">
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
<!-- if method_list -->
|
184
|
-
|
185
|
-
|
186
|
-
</div>
|
187
|
-
|
188
|
-
|
189
|
-
<div id="validator-badges">
|
190
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
191
|
-
</div>
|
192
|
-
|
193
|
-
</body>
|
194
|
-
</html>
|
data/doc/classes/Object.html
DELETED
@@ -1,236 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Object</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Object</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/localization/configuration_rb.html">
|
59
|
-
lib/localization/configuration.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
<a href="../files/lib/localization/content_cache_rb.html">
|
63
|
-
lib/localization/content_cache.rb
|
64
|
-
</a>
|
65
|
-
<br />
|
66
|
-
<a href="../files/lib/localization/formatter_rb.html">
|
67
|
-
lib/localization/formatter.rb
|
68
|
-
</a>
|
69
|
-
<br />
|
70
|
-
<a href="../files/lib/localization/translator_rb.html">
|
71
|
-
lib/localization/translator.rb
|
72
|
-
</a>
|
73
|
-
<br />
|
74
|
-
</td>
|
75
|
-
</tr>
|
76
|
-
|
77
|
-
<tr class="top-aligned-row">
|
78
|
-
<td><strong>Parent:</strong></td>
|
79
|
-
<td>
|
80
|
-
<a href="Object.html">
|
81
|
-
Object
|
82
|
-
</a>
|
83
|
-
</td>
|
84
|
-
</tr>
|
85
|
-
</table>
|
86
|
-
</div>
|
87
|
-
<!-- banner header -->
|
88
|
-
|
89
|
-
<div id="bodyContent">
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
<div id="contextContent">
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
</div>
|
98
|
-
|
99
|
-
<div id="method-list">
|
100
|
-
<h3 class="section-bar">Methods</h3>
|
101
|
-
|
102
|
-
<div class="name-list">
|
103
|
-
<a href="#M000002">l10n_cache</a>
|
104
|
-
<a href="#M000001">l10n_config</a>
|
105
|
-
<a href="#M000003">l10n_formatter</a>
|
106
|
-
<a href="#M000004">l10n_translator</a>
|
107
|
-
</div>
|
108
|
-
</div>
|
109
|
-
|
110
|
-
</div>
|
111
|
-
|
112
|
-
|
113
|
-
<!-- if includes -->
|
114
|
-
|
115
|
-
<div id="section">
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
<!-- if method_list -->
|
125
|
-
<div id="methods">
|
126
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
127
|
-
|
128
|
-
<div id="method-M000002" class="method-detail">
|
129
|
-
<a name="M000002"></a>
|
130
|
-
|
131
|
-
<div class="method-heading">
|
132
|
-
<a href="#M000002" class="method-signature">
|
133
|
-
<span class="method-name">l10n_cache</span><span class="method-args">()</span>
|
134
|
-
</a>
|
135
|
-
</div>
|
136
|
-
|
137
|
-
<div class="method-description">
|
138
|
-
<p><a class="source-toggle" href="#"
|
139
|
-
onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
|
140
|
-
<div class="method-source-code" id="M000002-source">
|
141
|
-
<pre>
|
142
|
-
<span class="ruby-comment cmt"># File lib/localization/content_cache.rb, line 9</span>
|
143
|
-
9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">l10n_cache</span>
|
144
|
-
10: <span class="ruby-constant">Mack</span><span class="ruby-operator">::</span><span class="ruby-constant">Localization</span><span class="ruby-operator">::</span><span class="ruby-constant">ContentCache</span>
|
145
|
-
11: <span class="ruby-keyword kw">end</span>
|
146
|
-
</pre>
|
147
|
-
</div>
|
148
|
-
</div>
|
149
|
-
</div>
|
150
|
-
|
151
|
-
<div id="method-M000001" class="method-detail">
|
152
|
-
<a name="M000001"></a>
|
153
|
-
|
154
|
-
<div class="method-heading">
|
155
|
-
<a href="#M000001" class="method-signature">
|
156
|
-
<span class="method-name">l10n_config</span><span class="method-args">()</span>
|
157
|
-
</a>
|
158
|
-
</div>
|
159
|
-
|
160
|
-
<div class="method-description">
|
161
|
-
<p>
|
162
|
-
Give access to the mack l10n config object from anywhere inside the
|
163
|
-
application
|
164
|
-
</p>
|
165
|
-
<p><a class="source-toggle" href="#"
|
166
|
-
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
|
167
|
-
<div class="method-source-code" id="M000001-source">
|
168
|
-
<pre>
|
169
|
-
<span class="ruby-comment cmt"># File lib/localization/configuration.rb, line 37</span>
|
170
|
-
37: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">l10n_config</span>
|
171
|
-
38: <span class="ruby-identifier">app_config</span>
|
172
|
-
39: <span class="ruby-keyword kw">end</span>
|
173
|
-
</pre>
|
174
|
-
</div>
|
175
|
-
</div>
|
176
|
-
</div>
|
177
|
-
|
178
|
-
<div id="method-M000003" class="method-detail">
|
179
|
-
<a name="M000003"></a>
|
180
|
-
|
181
|
-
<div class="method-heading">
|
182
|
-
<a href="#M000003" class="method-signature">
|
183
|
-
<span class="method-name">l10n_formatter</span><span class="method-args">()</span>
|
184
|
-
</a>
|
185
|
-
</div>
|
186
|
-
|
187
|
-
<div class="method-description">
|
188
|
-
<p><a class="source-toggle" href="#"
|
189
|
-
onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
|
190
|
-
<div class="method-source-code" id="M000003-source">
|
191
|
-
<pre>
|
192
|
-
<span class="ruby-comment cmt"># File lib/localization/formatter.rb, line 115</span>
|
193
|
-
115: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">l10n_formatter</span>
|
194
|
-
116: <span class="ruby-constant">Mack</span><span class="ruby-operator">::</span><span class="ruby-constant">Localization</span><span class="ruby-operator">::</span><span class="ruby-constant">Formatter</span>.<span class="ruby-identifier">instance</span>
|
195
|
-
117: <span class="ruby-keyword kw">end</span>
|
196
|
-
</pre>
|
197
|
-
</div>
|
198
|
-
</div>
|
199
|
-
</div>
|
200
|
-
|
201
|
-
<div id="method-M000004" class="method-detail">
|
202
|
-
<a name="M000004"></a>
|
203
|
-
|
204
|
-
<div class="method-heading">
|
205
|
-
<a href="#M000004" class="method-signature">
|
206
|
-
<span class="method-name">l10n_translator</span><span class="method-args">()</span>
|
207
|
-
</a>
|
208
|
-
</div>
|
209
|
-
|
210
|
-
<div class="method-description">
|
211
|
-
<p><a class="source-toggle" href="#"
|
212
|
-
onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
|
213
|
-
<div class="method-source-code" id="M000004-source">
|
214
|
-
<pre>
|
215
|
-
<span class="ruby-comment cmt"># File lib/localization/translator.rb, line 105</span>
|
216
|
-
105: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">l10n_translator</span>
|
217
|
-
106: <span class="ruby-constant">Mack</span><span class="ruby-operator">::</span><span class="ruby-constant">Localization</span><span class="ruby-operator">::</span><span class="ruby-constant">Translator</span>.<span class="ruby-identifier">instance</span>
|
218
|
-
107: <span class="ruby-keyword kw">end</span>
|
219
|
-
</pre>
|
220
|
-
</div>
|
221
|
-
</div>
|
222
|
-
</div>
|
223
|
-
|
224
|
-
|
225
|
-
</div>
|
226
|
-
|
227
|
-
|
228
|
-
</div>
|
229
|
-
|
230
|
-
|
231
|
-
<div id="validator-badges">
|
232
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
233
|
-
</div>
|
234
|
-
|
235
|
-
</body>
|
236
|
-
</html>
|
data/doc/created.rid
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Fri, 18 Jul 2008 16:09:57 -0400
|
data/doc/files/README.html
DELETED
@@ -1,107 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: README</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>README</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>README
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Fri Jul 18 16:07:34 -0400 2008</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<p>
|
73
|
-
<a href="../classes/Mack.html">Mack</a>-Localization
|
74
|
-
</p>
|
75
|
-
|
76
|
-
</div>
|
77
|
-
|
78
|
-
|
79
|
-
</div>
|
80
|
-
|
81
|
-
|
82
|
-
</div>
|
83
|
-
|
84
|
-
|
85
|
-
<!-- if includes -->
|
86
|
-
|
87
|
-
<div id="section">
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
<!-- if method_list -->
|
97
|
-
|
98
|
-
|
99
|
-
</div>
|
100
|
-
|
101
|
-
|
102
|
-
<div id="validator-badges">
|
103
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
104
|
-
</div>
|
105
|
-
|
106
|
-
</body>
|
107
|
-
</html>
|
@@ -1,110 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: configuration.rb</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>configuration.rb</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/localization/configuration.rb
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Fri Jul 18 16:07:34 -0400 2008</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<p>
|
73
|
-
<a href="../../../classes/Mack.html">Mack</a> Localization‘s main
|
74
|
-
configuration. When loaded it will try to load localization.yml file from
|
75
|
-
{config_dir}/localization/ inside the application directory. If the file
|
76
|
-
doesn‘t exist then it will just load default configuration.
|
77
|
-
</p>
|
78
|
-
|
79
|
-
</div>
|
80
|
-
|
81
|
-
|
82
|
-
</div>
|
83
|
-
|
84
|
-
|
85
|
-
</div>
|
86
|
-
|
87
|
-
|
88
|
-
<!-- if includes -->
|
89
|
-
|
90
|
-
<div id="section">
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
<!-- if method_list -->
|
100
|
-
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
|
105
|
-
<div id="validator-badges">
|
106
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
107
|
-
</div>
|
108
|
-
|
109
|
-
</body>
|
110
|
-
</html>
|