Add a linter for PO files
显示
- Gemfile 2 个添加, 0 个删除Gemfile
- Gemfile.lock 2 个添加, 0 个删除Gemfile.lock
- lib/gitlab/po_linter.rb 168 个添加, 0 个删除lib/gitlab/po_linter.rb
- lib/gitlab/utils.rb 4 个添加, 0 个删除lib/gitlab/utils.rb
- lib/tasks/gettext.rake 40 个添加, 0 个删除lib/tasks/gettext.rake
- scripts/static-analysis 2 个添加, 1 个删除scripts/static-analysis
- spec/fixtures/fuzzy.po 27 个添加, 0 个删除spec/fixtures/fuzzy.po
- spec/fixtures/invalid.po 25 个添加, 0 个删除spec/fixtures/invalid.po
- spec/fixtures/newlines.po 32 个添加, 0 个删除spec/fixtures/newlines.po
- spec/fixtures/valid.po 1136 个添加, 0 个删除spec/fixtures/valid.po
- spec/lib/gitlab/po_linter_spec.rb 245 个添加, 0 个删除spec/lib/gitlab/po_linter_spec.rb
- spec/lib/gitlab/utils_spec.rb 7 个添加, 1 个删除spec/lib/gitlab/utils_spec.rb
... | @@ -349,6 +349,8 @@ group :development, :test do | ... | @@ -349,6 +349,8 @@ group :development, :test do |
gem 'activerecord_sane_schema_dumper', '0.2' | gem 'activerecord_sane_schema_dumper', '0.2' | ||
gem 'stackprof', '~> 0.2.10', require: false | gem 'stackprof', '~> 0.2.10', require: false | ||
gem 'simple_po_parser', '~> 1.1.2', require: false | |||
end | end | ||
group :test do | group :test do | ||
... | ... |
lib/gitlab/po_linter.rb
0 → 100644
spec/fixtures/fuzzy.po
0 → 100644
spec/fixtures/invalid.po
0 → 100644
spec/fixtures/newlines.po
0 → 100644
spec/fixtures/valid.po
0 → 100644
spec/lib/gitlab/po_linter_spec.rb
0 → 100644
想要评论请 注册 或 登录