mirror of
https://github.com/discourse/discourse.git
synced 2025-06-17 14:55:06 +08:00
Re-enable integrity check
This commit is contained in:
@ -21,7 +21,7 @@ describe "i18n integrity checks" do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
pending "does not overwrite another language" do
|
it "does not overwrite another language" do
|
||||||
Dir["#{Rails.root}/config/locales/*.yml"].each do |f|
|
Dir["#{Rails.root}/config/locales/*.yml"].each do |f|
|
||||||
locale = /.*\.([^.]{2,})\.yml$/.match(f)[1] + ':'
|
locale = /.*\.([^.]{2,})\.yml$/.match(f)[1] + ':'
|
||||||
IO.foreach(f) do |line|
|
IO.foreach(f) do |line|
|
||||||
|
Reference in New Issue
Block a user