Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Bulgarian language. #12

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added lang/bulgarian.lang
Binary file not shown.
Binary file modified lang/english.lang
Binary file not shown.
4 changes: 4 additions & 0 deletions test/test_whatlanguage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ def test_russian
assert_equal :russian, @wl.language("Все новости в хронологическом порядке")
end

def test_bulgarian
assert_equal :bulgarian, @wl.language("Ако поискаш спри и погледни назад, аз съм твоя сянка, твоя грях, ако поискаш спри и остани да погледна в теб...")
end

def test_nothing
assert_nil @wl.language("")
end
Expand Down
Loading