i18n-js 0.1.6 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +49 -0
- data/README.rdoc +24 -11
- data/Rakefile +9 -38
- data/i18n-js.gemspec +26 -0
- data/lib/i18n-js/version.rb +3 -3
- data/source/i18n.js +301 -266
- data/spec/i18n_spec.js +686 -0
- data/spec/i18n_spec.rb +169 -0
- data/{test → spec}/resources/custom_path.yml +0 -0
- data/{test → spec}/resources/default.yml +0 -0
- data/{test → spec}/resources/locales.yml +0 -0
- data/spec/resources/multiple_conditions.yml +6 -0
- data/{test → spec}/resources/multiple_files.yml +0 -0
- data/{test → spec}/resources/no_scope.yml +0 -0
- data/{test → spec}/resources/simple_scope.yml +0 -0
- data/{test/test_helper.rb → spec/spec_helper.rb} +6 -13
- metadata +103 -40
- data/init.rb +0 -1
- data/install.rb +0 -7
- data/test/i18n-test.html +0 -50
- data/test/i18n-test.js +0 -692
- data/test/i18n_js_test.rb +0 -154
- data/test/jsunittest/jsunittest.js +0 -1017
- data/test/jsunittest/unittest.css +0 -54
@@ -1,54 +0,0 @@
|
|
1
|
-
body, div, p, h1, h2, h3, ul, ol, span, a, table, td, form, img, li {
|
2
|
-
font-family: sans-serif;
|
3
|
-
}
|
4
|
-
|
5
|
-
body {
|
6
|
-
font-size:0.8em;
|
7
|
-
}
|
8
|
-
|
9
|
-
#log {
|
10
|
-
padding-bottom: 1em;
|
11
|
-
border-bottom: 2px solid #000;
|
12
|
-
margin-bottom: 2em;
|
13
|
-
}
|
14
|
-
|
15
|
-
.logsummary {
|
16
|
-
margin-top: 1em;
|
17
|
-
margin-bottom: 1em;
|
18
|
-
padding: 1ex;
|
19
|
-
border: 1px solid #000;
|
20
|
-
font-weight: bold;
|
21
|
-
}
|
22
|
-
|
23
|
-
.logtable {
|
24
|
-
width:100%;
|
25
|
-
border-collapse: collapse;
|
26
|
-
border: 1px dotted #666;
|
27
|
-
}
|
28
|
-
|
29
|
-
.logtable td, .logtable th {
|
30
|
-
text-align: left;
|
31
|
-
padding: 3px 8px;
|
32
|
-
border: 1px dotted #666;
|
33
|
-
}
|
34
|
-
|
35
|
-
.logtable .passed {
|
36
|
-
background-color: #cfc;
|
37
|
-
}
|
38
|
-
|
39
|
-
.logtable .failed, .logtable .error {
|
40
|
-
background-color: #fcc;
|
41
|
-
}
|
42
|
-
|
43
|
-
.logtable .warning {
|
44
|
-
background-color: #FC6;
|
45
|
-
}
|
46
|
-
|
47
|
-
.logtable td div.action_buttons {
|
48
|
-
display: inline;
|
49
|
-
}
|
50
|
-
|
51
|
-
.logtable td div.action_buttons input {
|
52
|
-
margin: 0 5px;
|
53
|
-
font-size: 10px;
|
54
|
-
}
|