haml-i18n-extractor 0.2.0 → 0.2.1
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.
- checksums.yaml +8 -8
- data/README.md +3 -1
- data/bin/haml-i18n-extractor +7 -1
- data/lib/haml-i18n-extractor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZDE3ZjJhMzg1OGM5MTIxYjJjZjljMWE0NDMzMjZkNmNkNDJjZGU0OA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YzBhODViNGViM2VlYjM4YzY1ZjhmMjM2YTJmNzkxNWViMzI1Y2EzZQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZDE0ZDFkYjZkOTg2Y2Q3MTRhOGY4ZWUwN2UzOTliMWExYTIxNGY5ZTBhOTE4
|
|
10
|
+
YmY3YTg2MmY1YTQ3MzdmMmQwMDA3YjQ0ZDZhZDBlYmE4ZThjZDU0Y2M5OGY3
|
|
11
|
+
MTBmNDViNzc2NzU0MGIxYWI0YWI4ZmNkYmIwZjY4ZjlkZTdiNzY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NDEzZjMyODk1YWM5YWU2ZGI0OWE0NmVmYWVmNjQxYzVhMjE1ZjZlODg1Yzg0
|
|
14
|
+
MzY5MDI0ZDYyZGY0YmM3MGQyMWQ2NTBlYzJkMGIwMzM5Mzc4YjgzN2FlYmQ1
|
|
15
|
+
MjFlZDUxMThmMDE3MWE3NjZhZjI1NTc2OGY5ZjZlOWU4YzBhOWQ=
|
data/README.md
CHANGED
|
@@ -33,10 +33,12 @@ Check out the quite brief movie/swf file demo of this lib's executable in `demo/
|
|
|
33
33
|
|
|
34
34
|
[Demo](http://shairosenfeld.com/haml-i18n-extractor-demo.swf)
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
The demo will probably be outdated at some point, but the main idea holds. Some of the stuff not in there:
|
|
37
37
|
|
|
38
38
|
- A "tag" functionality, which enables you to tag a line you want to review for later, if you are unsure you want to replace it. It will create a list of /file/path:42 tags for you to go and revisit later.
|
|
39
39
|
- You can use "Next" if you're in the middle of processing a file and go to the next file.
|
|
40
|
+
- Option parsing.
|
|
41
|
+
- Other stuff that will come up.
|
|
40
42
|
|
|
41
43
|
Have any other ideas? Let me know or better yet, submit a pull request.
|
|
42
44
|
|
data/bin/haml-i18n-extractor
CHANGED
|
@@ -5,10 +5,16 @@ require 'haml-i18n-extractor'
|
|
|
5
5
|
@prompter = Haml::I18n::Extractor::Prompter.new
|
|
6
6
|
|
|
7
7
|
option_parser = Trollop::Parser.new do
|
|
8
|
+
banner <<-EOB
|
|
9
|
+
|
|
10
|
+
haml-i18n-extractor -p <path> [--interactive|--non-interactive] [--other-options]
|
|
11
|
+
|
|
12
|
+
See options list:
|
|
13
|
+
EOB
|
|
8
14
|
version "Current version: #{Haml::I18n::Extractor::VERSION}"
|
|
15
|
+
opt :path, "path", :type => String
|
|
9
16
|
opt :interactive, "interactive mode", :short => 'i'
|
|
10
17
|
opt :non_interactive, "non interactive mode", :short => 'n'
|
|
11
|
-
opt :path, "path", :type => String
|
|
12
18
|
opt :yaml_file, "yaml file, defaults to en", :type => String
|
|
13
19
|
end
|
|
14
20
|
|