radiant-turkish_language_pack-extension 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,137 @@
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: TurkishLanguagePackExtension</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">TurkishLanguagePackExtension</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/turkish_language_pack_extension_rb.html">
59
+ turkish_language_pack_extension.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Radiant::Extension
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="method-list">
86
+ <h3 class="section-bar">Methods</h3>
87
+
88
+ <div class="name-list">
89
+ <a href="#M000001">activate</a>&nbsp;&nbsp;
90
+ </div>
91
+ </div>
92
+
93
+ </div>
94
+
95
+
96
+ <!-- if includes -->
97
+
98
+ <div id="section">
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <!-- if method_list -->
108
+ <div id="methods">
109
+ <h3 class="section-bar">Public Instance methods</h3>
110
+
111
+ <div id="method-M000001" class="method-detail">
112
+ <a name="M000001"></a>
113
+
114
+ <div class="method-heading">
115
+ <a href="TurkishLanguagePackExtension.src/M000001.html" target="Code" class="method-signature"
116
+ onclick="popupCode('TurkishLanguagePackExtension.src/M000001.html');return false;">
117
+ <span class="method-name">activate</span><span class="method-args">()</span>
118
+ </a>
119
+ </div>
120
+
121
+ <div class="method-description">
122
+ </div>
123
+ </div>
124
+
125
+
126
+ </div>
127
+
128
+
129
+ </div>
130
+
131
+
132
+ <div id="validator-badges">
133
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
134
+ </div>
135
+
136
+ </body>
137
+ </html>
@@ -0,0 +1,18 @@
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>
7
+ <head>
8
+ <title>activate (TurkishLanguagePackExtension)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File turkish_language_pack_extension.rb, line 6</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">activate</span>
15
+
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1 @@
1
+ Sun, 28 Aug 2011 02:13:18 +0300
@@ -0,0 +1,115 @@
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>Sun Aug 28 02:00:03 +0300 2011</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
+ <h1>I18n Tr</h1>
73
+ <p>
74
+ Turkish language pack for Radiant. Translation consists of admin UI strings
75
+ and description of radiant tags.
76
+ </p>
77
+ <h2>Yapılacaklar (TO-DO&#8216;s)</h2>
78
+ <p>
79
+ Tags in config/locales/tr_available_tags.yml will be translated in Turkish.
80
+ config/locales/tr_available_tags.yml dosyası full türkçeye çevirilecek
81
+ dikkat edilerek.
82
+ </p>
83
+
84
+ </div>
85
+
86
+
87
+ </div>
88
+
89
+
90
+ </div>
91
+
92
+
93
+ <!-- if includes -->
94
+
95
+ <div id="section">
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+ <!-- if method_list -->
105
+
106
+
107
+ </div>
108
+
109
+
110
+ <div id="validator-badges">
111
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
112
+ </div>
113
+
114
+ </body>
115
+ </html>
@@ -0,0 +1,259 @@
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: Rakefile</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>Rakefile</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>Rakefile
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Sun Aug 28 02:00:03 +0300 2011</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
+ # I think this is the one that should be moved to the extension Rakefile
74
+ template
75
+ </p>
76
+ <p>
77
+ # In rails 1.2, plugins aren&#8216;t available in the path until
78
+ they&#8216;re loaded. # Check to see if the rspec plugin is installed first
79
+ and require # it if it is. If not, use the gem version.
80
+ </p>
81
+ <p>
82
+ # Determine where the RSpec plugin is by loading the boot unless defined?
83
+ RADIANT_ROOT
84
+ </p>
85
+ <pre>
86
+ ENV[&quot;RAILS_ENV&quot;] = &quot;test&quot;
87
+ case
88
+ when ENV[&quot;RADIANT_ENV_FILE&quot;]
89
+ require File.dirname(ENV[&quot;RADIANT_ENV_FILE&quot;]) + &quot;/boot&quot;
90
+ when File.dirname(__FILE__) =~ %r{vendor/radiant/vendor/extensions}
91
+ require &quot;#{File.expand_path(File.dirname(__FILE__) + &quot;/../../../../../&quot;)}/config/boot&quot;
92
+ else
93
+ require &quot;#{File.expand_path(File.dirname(__FILE__) + &quot;/../../../&quot;)}/config/boot&quot;
94
+ end
95
+ </pre>
96
+ <p>
97
+ end
98
+ </p>
99
+ <p>
100
+ require &#8216;rake&#8217; require &#8216;rake/rdoctask&#8217; require
101
+ &#8216;rake/testtask&#8216;
102
+ </p>
103
+ <p>
104
+ rspec_base = File.expand_path(RADIANT_ROOT +
105
+ &#8217;/vendor/plugins/rspec/lib&#8217;) $LOAD_PATH.unshift(rspec_base) if
106
+ File.exist?(rspec_base) require &#8216;spec/rake/spectask&#8217; require
107
+ &#8216;cucumber&#8217; require &#8216;cucumber/rake/task&#8216;
108
+ </p>
109
+ <p>
110
+ # Cleanup the RADIANT_ROOT constant so specs will load the environment
111
+ Object.send(:remove_const, :RADIANT_ROOT)
112
+ </p>
113
+ <p>
114
+ extension_root = File.expand_path(File.dirname(<em>FILE</em>))
115
+ </p>
116
+ <p>
117
+ task :default =&gt; :spec task :stats =&gt; &quot;spec:statsetup&quot;
118
+ </p>
119
+ <p>
120
+ desc &quot;Run all specs in spec directory&quot;
121
+ Spec::Rake::SpecTask.new(:spec) do |t|
122
+ </p>
123
+ <pre>
124
+ t.spec_opts = ['--options', &quot;\&quot;#{extension_root}/spec/spec.opts\&quot;&quot;]
125
+ t.spec_files = FileList['spec/**/*_spec.rb']
126
+ </pre>
127
+ <p>
128
+ end
129
+ </p>
130
+ <p>
131
+ task :features =&gt; &#8216;spec:integration&#8216;
132
+ </p>
133
+ <p>
134
+ namespace :spec do
135
+ </p>
136
+ <pre>
137
+ desc &quot;Run all specs in spec directory with RCov&quot;
138
+ Spec::Rake::SpecTask.new(:rcov) do |t|
139
+ t.spec_opts = ['--options', &quot;\&quot;#{extension_root}/spec/spec.opts\&quot;&quot;]
140
+ t.spec_files = FileList['spec/**/*_spec.rb']
141
+ t.rcov = true
142
+ t.rcov_opts = ['--exclude', 'spec', '--rails']
143
+ end
144
+
145
+ desc &quot;Print Specdoc for all specs&quot;
146
+ Spec::Rake::SpecTask.new(:doc) do |t|
147
+ t.spec_opts = [&quot;--format&quot;, &quot;specdoc&quot;, &quot;--dry-run&quot;]
148
+ t.spec_files = FileList['spec/**/*_spec.rb']
149
+ end
150
+
151
+ [:models, :controllers, :views, :helpers].each do |sub|
152
+ desc &quot;Run the specs under spec/#{sub}&quot;
153
+ Spec::Rake::SpecTask.new(sub) do |t|
154
+ t.spec_opts = ['--options', &quot;\&quot;#{extension_root}/spec/spec.opts\&quot;&quot;]
155
+ t.spec_files = FileList[&quot;spec/#{sub}/**/*_spec.rb&quot;]
156
+ end
157
+ end
158
+
159
+ desc &quot;Run the Cucumber features&quot;
160
+ Cucumber::Rake::Task.new(:integration) do |t|
161
+ t.fork = true
162
+ t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'pretty')]
163
+ # t.feature_pattern = &quot;#{extension_root}/features/**/*.feature&quot;
164
+ t.profile = &quot;default&quot;
165
+ end
166
+
167
+ # Setup specs for stats
168
+ task :statsetup do
169
+ require 'code_statistics'
170
+ ::STATS_DIRECTORIES &lt;&lt; %w(Model\ specs spec/models)
171
+ ::STATS_DIRECTORIES &lt;&lt; %w(View\ specs spec/views)
172
+ ::STATS_DIRECTORIES &lt;&lt; %w(Controller\ specs spec/controllers)
173
+ ::STATS_DIRECTORIES &lt;&lt; %w(Helper\ specs spec/views)
174
+ ::CodeStatistics::TEST_TYPES &lt;&lt; &quot;Model specs&quot;
175
+ ::CodeStatistics::TEST_TYPES &lt;&lt; &quot;View specs&quot;
176
+ ::CodeStatistics::TEST_TYPES &lt;&lt; &quot;Controller specs&quot;
177
+ ::CodeStatistics::TEST_TYPES &lt;&lt; &quot;Helper specs&quot;
178
+ ::STATS_DIRECTORIES.delete_if {|a| a[0] =~ /test/}
179
+ end
180
+
181
+ namespace :db do
182
+ namespace :fixtures do
183
+ desc &quot;Load fixtures (from spec/fixtures) into the current environment's database. Load specific fixtures using FIXTURES=x,y&quot;
184
+ task :load =&gt; :environment do
185
+ require 'active_record/fixtures'
186
+ ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym)
187
+ (ENV['FIXTURES'] ? ENV['FIXTURES'].split(/,/) : Dir.glob(File.join(RAILS_ROOT, 'spec', 'fixtures', '*.{yml,csv}'))).each do |fixture_file|
188
+ Fixtures.create_fixtures('spec/fixtures', File.basename(fixture_file, '.*'))
189
+ end
190
+ end
191
+ end
192
+ end
193
+ </pre>
194
+ <p>
195
+ end
196
+ </p>
197
+ <p>
198
+ desc &#8216;Generate documentation for the de extension.&#8217;
199
+ Rake::RDocTask.new(:rdoc) do |rdoc|
200
+ </p>
201
+ <pre>
202
+ rdoc.rdoc_dir = 'rdoc'
203
+ rdoc.title = 'I18nDeExtension'
204
+ rdoc.options &lt;&lt; '--line-numbers' &lt;&lt; '--inline-source'
205
+ rdoc.rdoc_files.include('README')
206
+ rdoc.rdoc_files.include('lib/**/*.rb')
207
+ </pre>
208
+ <p>
209
+ end
210
+ </p>
211
+ <p>
212
+ # For extensions that are in transition desc &#8216;Test the de
213
+ extension.&#8217; Rake::TestTask.new(:test) do |t|
214
+ </p>
215
+ <pre>
216
+ t.libs &lt;&lt; 'lib'
217
+ t.pattern = 'test/**/*_test.rb'
218
+ t.verbose = true
219
+ </pre>
220
+ <p>
221
+ end
222
+ </p>
223
+ <p>
224
+ # Load any custom rakefiles for extension Dir[File.dirname(<em>FILE</em>) +
225
+ &#8217;/tasks/*.rake&#8217;].sort.each { |f| require f }
226
+ </p>
227
+
228
+ </div>
229
+
230
+
231
+ </div>
232
+
233
+
234
+ </div>
235
+
236
+
237
+ <!-- if includes -->
238
+
239
+ <div id="section">
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+ <!-- if method_list -->
249
+
250
+
251
+ </div>
252
+
253
+
254
+ <div id="validator-badges">
255
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
256
+ </div>
257
+
258
+ </body>
259
+ </html>