mack-localization 0.7.1 → 0.7.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. metadata +2 -63
  2. data/doc/classes/ActiveSupport.html +0 -101
  3. data/doc/classes/Mack.html +0 -194
  4. data/doc/classes/Mack/Localization/Configuration.html +0 -118
  5. data/doc/classes/Mack/Localization/DateFormatEngine/BP.html +0 -217
  6. data/doc/classes/Mack/Localization/DateFormatEngine/Base.html +0 -237
  7. data/doc/classes/Mack/Localization/DateFormatEngine/DE.html +0 -217
  8. data/doc/classes/Mack/Localization/DateFormatEngine/EN.html +0 -218
  9. data/doc/classes/Mack/Localization/DateFormatEngine/ES.html +0 -217
  10. data/doc/classes/Mack/Localization/DateFormatEngine/FR.html +0 -217
  11. data/doc/classes/Mack/Localization/DateFormatEngine/IT.html +0 -217
  12. data/doc/classes/Mack/Localization/Errors/FormatEngineNotFound.html +0 -153
  13. data/doc/classes/Mack/Localization/Errors/InvalidArgument.html +0 -146
  14. data/doc/classes/Mack/Localization/Errors/InvalidConfiguration.html +0 -117
  15. data/doc/classes/Mack/Localization/Errors/InvalidMethodName.html +0 -153
  16. data/doc/classes/Mack/Localization/Errors/LanguageFileNotFound.html +0 -152
  17. data/doc/classes/Mack/Localization/Errors/UnknownStringKey.html +0 -153
  18. data/doc/classes/Mack/Localization/Errors/UnsupportedEncoding.html +0 -153
  19. data/doc/classes/Mack/Localization/Errors/UnsupportedFeature.html +0 -152
  20. data/doc/classes/Mack/Localization/Errors/UnsupportedLanguage.html +0 -153
  21. data/doc/classes/Mack/Localization/FormatEngineRegistry.html +0 -245
  22. data/doc/classes/Mack/Localization/Formatter.html +0 -392
  23. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/BP.html +0 -196
  24. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/Base.html +0 -250
  25. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/DE.html +0 -196
  26. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/EN.html +0 -196
  27. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/ES.html +0 -196
  28. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/FR.html +0 -196
  29. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/IT.html +0 -196
  30. data/doc/classes/Mack/Localization/Translator.html +0 -275
  31. data/doc/classes/Mack/ViewHelpers/L10NHelpers.html +0 -402
  32. data/doc/classes/Mack/ViewHelpers/L10NHelpers/Context.html +0 -278
  33. data/doc/classes/Object.html +0 -236
  34. data/doc/created.rid +0 -1
  35. data/doc/files/README.html +0 -107
  36. data/doc/files/lib/mack-localization/configuration_rb.html +0 -110
  37. data/doc/files/lib/mack-localization/content_cache_rb.html +0 -101
  38. data/doc/files/lib/mack-localization/errors_rb.html +0 -101
  39. data/doc/files/lib/mack-localization/format_engine/df_engines/base_rb.html +0 -101
  40. data/doc/files/lib/mack-localization/format_engine/df_engines/bp_rb.html +0 -101
  41. data/doc/files/lib/mack-localization/format_engine/df_engines/de_rb.html +0 -101
  42. data/doc/files/lib/mack-localization/format_engine/df_engines/en_rb.html +0 -101
  43. data/doc/files/lib/mack-localization/format_engine/df_engines/es_rb.html +0 -101
  44. data/doc/files/lib/mack-localization/format_engine/df_engines/fr_rb.html +0 -101
  45. data/doc/files/lib/mack-localization/format_engine/df_engines/it_rb.html +0 -101
  46. data/doc/files/lib/mack-localization/format_engine/engine_registry_rb.html +0 -101
  47. data/doc/files/lib/mack-localization/format_engine/nc_engines/base_rb.html +0 -101
  48. data/doc/files/lib/mack-localization/format_engine/nc_engines/bp_rb.html +0 -101
  49. data/doc/files/lib/mack-localization/format_engine/nc_engines/de_rb.html +0 -101
  50. data/doc/files/lib/mack-localization/format_engine/nc_engines/en_rb.html +0 -101
  51. data/doc/files/lib/mack-localization/format_engine/nc_engines/es_rb.html +0 -101
  52. data/doc/files/lib/mack-localization/format_engine/nc_engines/fr_rb.html +0 -101
  53. data/doc/files/lib/mack-localization/format_engine/nc_engines/it_rb.html +0 -101
  54. data/doc/files/lib/mack-localization/formatter_rb.html +0 -101
  55. data/doc/files/lib/mack-localization/helpers/view_helpers/l10n_helpers_rb.html +0 -101
  56. data/doc/files/lib/mack-localization/translator_rb.html +0 -101
  57. data/doc/files/lib/mack-localization_rb.html +0 -144
  58. data/doc/fr_class_index.html +0 -58
  59. data/doc/fr_file_index.html +0 -49
  60. data/doc/fr_method_index.html +0 -109
  61. data/doc/index.html +0 -24
  62. data/doc/rdoc-style.css +0 -208
@@ -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/mack-localization/configuration_rb.html">
59
- lib/mack-localization/configuration.rb
60
- </a>
61
- <br />
62
- <a href="../files/lib/mack-localization/content_cache_rb.html">
63
- lib/mack-localization/content_cache.rb
64
- </a>
65
- <br />
66
- <a href="../files/lib/mack-localization/formatter_rb.html">
67
- lib/mack-localization/formatter.rb
68
- </a>
69
- <br />
70
- <a href="../files/lib/mack-localization/translator_rb.html">
71
- lib/mack-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="#M000003">l10n_cache</a>&nbsp;&nbsp;
104
- <a href="#M000002">l10n_config</a>&nbsp;&nbsp;
105
- <a href="#M000004">l10n_formatter</a>&nbsp;&nbsp;
106
- <a href="#M000005">l10n_translator</a>&nbsp;&nbsp;
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-M000003" class="method-detail">
129
- <a name="M000003"></a>
130
-
131
- <div class="method-heading">
132
- <a href="#M000003" 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('M000003-source');return false;">[Source]</a></p>
140
- <div class="method-source-code" id="M000003-source">
141
- <pre>
142
- <span class="ruby-comment cmt"># File lib/mack-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-M000002" class="method-detail">
152
- <a name="M000002"></a>
153
-
154
- <div class="method-heading">
155
- <a href="#M000002" 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('M000002-source');return false;">[Source]</a></p>
167
- <div class="method-source-code" id="M000002-source">
168
- <pre>
169
- <span class="ruby-comment cmt"># File lib/mack-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-M000004" class="method-detail">
179
- <a name="M000004"></a>
180
-
181
- <div class="method-heading">
182
- <a href="#M000004" 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('M000004-source');return false;">[Source]</a></p>
190
- <div class="method-source-code" id="M000004-source">
191
- <pre>
192
- <span class="ruby-comment cmt"># File lib/mack-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-M000005" class="method-detail">
202
- <a name="M000005"></a>
203
-
204
- <div class="method-heading">
205
- <a href="#M000005" 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('M000005-source');return false;">[Source]</a></p>
213
- <div class="method-source-code" id="M000005-source">
214
- <pre>
215
- <span class="ruby-comment cmt"># File lib/mack-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
- Mon, 08 Sep 2008 10:58:05 -0400
@@ -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>Mon Sep 08 10:32:47 -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/mack-localization/configuration.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Mon Sep 08 10:32:47 -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&#8216;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&#8216;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>